I am using NRF52810 in : In advertising mode not able to erase or write to flash sd_flash_page_erase. hungs up
via processing commands from nrfx_twis_state_machine

I am using NRF52810 in : In advertising mode not able to erase or write to flash sd_flash_page_erase. hungs up
via processing commands from nrfx_twis_state_machine

Hi,
In advertising mode not able to erase or write to flash sd_flash_page_erase.
What do you mean by in advertising mode? From what context is sd_flash_page_erase called? Interrupt context?
regards
Jared
Here Advertising mode -is beaconing mode , I2C commands are sent from host to nordic chip, to erase flash.
Same works in non beacon mode
Hi,
Could you share some of your code that shows where you call sd_flash_page_erase()
Please refer to the attached screenshot
Sorry, I should have been more specific. I'm not quite sure what exactly you're trying to do. Could you share more of your code and explain exactly what the issue is? It seems that you're trying to write to flash in a TWIS callback handler while advertising? Is this correct?