2020-03-19 12:15 PM
Hi All,
I am using "blueNRG-2" MCU, I want to configure it to enter the deep sleep mode.
The issue is when the BLE stack is initialized sometimes I can enter the deep sleep and sometimes I can not.
I noticed that whenever I can not enter the deep sleep the register "BLUE_CTRL->TIMEOUT"
holds the value 0x3000042
and in order to work around this issue I wrote a marker on variable when I found this issue and then force a SW_reset and check the variable value in the function "__low_level_init" .
This change generates a hardfault sometimes can you please help me with this issue ?
Is there any issues with this approach?
Can you provide a better solution please ?
Thanks in advance