Is the FreeRTOS SPI interface "thr...

ohm8 wrote on Tuesday, February 16, 2010:

Hello. I am developing code the EVK1100 Eval Board using FreeRTOS and AVR32 Studio, and wanted to know if the SPI interface is thread-safe. Especially things like writing to the display, serial transaction, etc. Is the FreeRTOS SPI interafce threadsafe, or does each task need to implement resource-locking when dealing with the SPI interface?

rtel wrote on Tuesday, February 16, 2010:

No idea on that one I’m afraid.  You would have to take a look at the Atmel Software Framework source code.

Regards.

juku_59 wrote on Thursday, February 25, 2010:

The Atmel Software Framework has its own mutex built in. If you use built in calls (spi_unselectChip() etc) and have FREERTOS_USED defined, you’ll use it.