Hi! I'm using the fatfs library to read/write data from/to an SD-card. I noticed the following behaviour:
When I try to write or read data directly after receiving a BLE-event, the nrf_blk_dev_init function in the FATFS library will return NRF_ERROR_BUSY, but whenever I move those read/write operations back into the infinite loop in my main(), right after the idle_state_handle(), it performs as expected.
Currently, my workaround is queueing these operations/working with some buffers but I was curious as to why it was behaving like this.