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

SPI from BLE event

Hi, I am using SDK14.1 with nrf52832 and want to write to eeprom memory over SPI from BLE characteristic call.

My spi module works and everything was working fine until i tried to write something to eeprom over BLE.

This is my SPI function

_xfer_done = false;
APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, extendedTxBuffer, totalLength, NULL, 0));
while (!_xfer_done);

When this function is called from BLE _xfer_done state never changes. So i guess i never get a handler call.

What should i do in this situation?

Parents Reply Children
No Data
Related