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

Where should the SPI master enable definition be set? (nRF51 SDK v9)

The nRF51 SDK (version 9) documentation tells to activate SPI using the SPI_MASTER_0_ENABLE and SPI_MASTER_1_ENABLE macros. Where should these definitions be made? Other components seem to use nrf_drv_config.h for their configuration but spi_master does not include this file. Why is SPI treated differently?

Update: In the meantime, SDK version 10 was released. There, the issue has been resolved and the new SPI driver offers a very easy way of configuration and usage. Further, both synchronous (blocking) and asynchronous (callback event) SPI operations are supported an SS handling of the driver can be disabled.

Parents Reply Children
No Data
Related