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?
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.