I am using tirtos_simplelink_2_13_00_06 on a CC2640. My custom board has 2 SPI devices. My app has 2 tasks. Each of these tasks is reading and writing to one of these SPI devices. Both of these devices share the same SPI bus.
The SPI access to each device works fine individually, but not when accessed simultaneously from each task. So this lead me to believe that the SPI driver can't handle this use case properly.
What is the recommended practice to access the SPI driver from multiple tasks? Is it possible to use 2 SPI channels, that both use the same physical SPI pins or should the SPI driver access be protected by a Semaphore?
Thanks.