I'm working on a NRF52832 project with SDK V15.2, using S132 Softdevice. before connecting, nrf_fstorage_write/nrf_fstorage_erase/sd_flash_write/sd_flash_page_erase all are work perfectly. But once connected with a device, all the operations to flash can't work. it'll stuck in wait_for_flash_ready, return of nrf_fstorage_write & nrf_fstorage_erase are NRF_SUCCESS. If I call nrf_sdh_disable_request() before nrf_fstorage_write & nrf_fstorage_erase, the operations can be done correctly. Never goes into fstorage_evt_handler() after connected to a device.
Please help me figure out this issue, thanks in advanced.
Please check below debug information from our Android APP. The connection interval is 100ms.
I see. It should not be a problem then, at least not with writes. Page erase might be tough, though (maximum time to erase a flash page is 89.7 ms, and there needs to be some margin when scheduling).
Do you see problems with only writes also, when the connection interval is 100 ms? Can you upload your code so that I can look at it?
Can I have your Email pleasse? I'll send the project to you via Email. Thanks.
We prefer to keep all communication on DevZone as that ensures that the information is properly handled. You can create a new private case by selecting PRIVATE Tech Support and share the code there if you do not want it to be public. Please refer to this thread in the private case.
Good, I'll upload my code there.