During an execution of a winbond w25q64jv command (any command) during a BLE_GATTS_EVT_WRITE event the SPI bus goes inactive after the command is sent:

There is apparently no issue if I do any NVM operation outside a BLE_GATTS_EVT_WRITE event.
During an execution of a winbond w25q64jv command (any command) during a BLE_GATTS_EVT_WRITE event the SPI bus goes inactive after the command is sent:

There is apparently no issue if I do any NVM operation outside a BLE_GATTS_EVT_WRITE event.
Hello,
What does the logic analyzer look like if you do it outside the BLE_GATTS_EVT_WRITE?
And what does it look like in your implementation? Can you please share the snippet where you are using the SPI? Are you trying to send more data than the 0x66, 0xE6 directly from the interrupt? Or are you waiting for some sort of callback before you are trying to send the rest of the data?
Best regards,
Edvin
Hello,
What does the logic analyzer look like if you do it outside the BLE_GATTS_EVT_WRITE?
And what does it look like in your implementation? Can you please share the snippet where you are using the SPI? Are you trying to send more data than the 0x66, 0xE6 directly from the interrupt? Or are you waiting for some sort of callback before you are trying to send the rest of the data?
Best regards,
Edvin