I'm using nRF52+SDK11.0.0+S132 with an application based on the ble_hrs example.
In main()
, if I call a blocking nrf_drv_spi_transfer()
to configure some SPI sensors before calling ble_advertising_start()
, then my code spins in spi_xfer()
's while (!nrf_spi_event_check(p_spi, NRF_SPI_EVENT_READY)) {}
. If I swap the two calls, the SPI function does not spin. What is the issue?