This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Transfer data over SPI asynchronous in mbed on nRF51DK

I am trying to read data from SPI slave on the nRF51DK using mbed online compiler. To do this the mbed SPI library (class) includes a method called transfer. When I try to use this method I get a compile error indicating that the transfer method does not exist. This is due to the fact that the nRF51DK device.h file does not set the DEVICE_SPI_ASYNCH flag (i.e. #define DEVICE_SPI_ASYNCH 1). Is there a reason for this? I would expect the nRF51DK to support this but that might not be the case? If not, will nRF52 support this?

Parents Reply Children
No Data
Related