freeRTOS + LPC210x + SPI driver

I’m new to freeRTOS. I saw that there isn’t a SPI driver for LPC210x and freeRTOS. If i start to write it, i shoud follow some driver interface specifications? I yes, where i can try this specs? Hi.

freeRTOS + LPC210x + SPI driver

Hi, The function naming convention is detailed here http://www.freertos.org/a00017.html#NamingConventions There is no formal functionality or interface convention.  It is best to write the driver to be optimal for your own application  if other people then use it they have the option to tinker with it to optimize it for their application  creating a flexible system. You can use the serial port code as a template for an interrupt driven driver.  An SPI driver would be slightly different in that the serial port driver is a single stream of characters, whereas an SPI driver may contain distinct messages within the stream.  I will be writing an I2C driver for the LPC2000 in the next few days.  This will be similar – probably a queue of messages, each of which is a sequence of characters.  I can send you the code (pre release) when complete if you like. Best regards, Richard.

freeRTOS + LPC210x + SPI driver

OK, thank you!

freeRTOS + LPC210x + SPI driver

I’ve written a SPI bus driver for the LPC2114 + FreeRTOS last week. It works on an LPC210x as well except for the 2nd SPI device of course ;) I’m willing to share it with you if you are interested. Due to the fact that I am currently missing the required debug hardware it is not working yet. There are probably just a few bugs that need to be solved. This should be completed within a fair amount of time, but of course any help is very much appreciated. With kind regards, Teun

freeRTOS + LPC210x + SPI driver

Hi Richard, I working on AT91SAM7X256_ROWLEY. Do you have any support code for SPI? can you please send me the code if you have any or the I2C driver will do as well. Many Thanks Regards H