Search found 1 match
- Wed Sep 30, 2020 5:37 pm
- Forum: ESP-IDF
- Topic: SPI Master Driver with multiple tasks and one physical device; clarification on thread-safety.
- Replies: 2
- Views: 3803
SPI Master Driver with multiple tasks and one physical device; clarification on thread-safety.
Hello, I am slightly confused by the SPI Master Driver documentation. It is warned that "if multiple tasks try to access the same SPI Device, the driver is not thread-safe." and the recommended workaround are mutexes or refactoring the application as to let the SPI peripheral be only accessed by one...