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

NRF_EVT_FLASH_OPERATION_SUCCESS fired only if Radio notifications enabled.

Hello, Before writing here I made some forum search and didn't find the answer. Previously I used radio notifications to sync ADC measurements with radio events. Now I need to disable radio notifications in the project and noticed that firmware become working unstable. The BLE connection breaks ocasionally and the flash write operations stuck. Softdevice used S110. I do not use pstorage but use own functions. Flash operation states are read from SD_EVT_IRQHandler (SWI2) ( NRF_EVT_FLASH_OPERATION_SUCCESS and NRF_EVT_FLASH_OPERATION_ERROR ). Noticed that no interrupt fired after flash operation (sd_flash_write()) . What could cause such behaviour? Why enabling Radio notifications make flashoperation working?

P.S. I read the errata for softdevice but do not see the link with my issue.

Parents
  • Hi, nrf51822 rev3, s110 v.8. I disabled radio functionality in the project. So initialization routine doesnt compile. The project is big and commercial so I did not allowed to share it. However I could share some parts of ble initialization if needed. I use sd_ble... functions for it, no SDK ones. Till now made some research, enabled radio notifications but disabled any code in handler. Everithing works, at 3620us but fails at 800us.

Reply
  • Hi, nrf51822 rev3, s110 v.8. I disabled radio functionality in the project. So initialization routine doesnt compile. The project is big and commercial so I did not allowed to share it. However I could share some parts of ble initialization if needed. I use sd_ble... functions for it, no SDK ones. Till now made some research, enabled radio notifications but disabled any code in handler. Everithing works, at 3620us but fails at 800us.

Children
No Data
Related