Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
How to use SPI.transfer()?
I want to use asynchronous SPI functions SPI.transfer, but the compiler says it's not a member of SPI class. https://developer.mbed.org/users/mbed_official/code/mbed/docs/7cff1c4259d7/SPI_8h_source.html I tried to do #define DEVICE_SPI_ASYNCH 1, but it doesn't work.
1 Answer
9 years, 4 months ago.
Only the Silicon Labs platforms currently support this. Setting DEVICE_SPI_ASYNCH only works if the platform actually supports it.