FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2004 Threads] freeRTOS + LPC210x + SPI driverPosted by altraqua on October 24, 2004 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.
RE: freeRTOS + LPC210x + SPI driverPosted by Richard on October 25, 2004 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.
RE: freeRTOS + LPC210x + SPI driverPosted by altraqua on October 25, 2004 OK, thank you!
RE: freeRTOS + LPC210x + SPI driverPosted by Teun on October 25, 2004 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
RE: freeRTOS + LPC210x + SPI driverPosted by Allure99 on March 26, 2008 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
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|