Deepsleep and flash writes

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi 

   

I am building a project in which I go into deepsleep, wakeup upon a slow advertisement of 4000ms, take an adc sample and save an average to flash every 15 samples. 

   

My issue is that following writing to flash the BLE module isnt waking up from deepsleep after 4 seconds anymore.

   

I understand that writing to flash affects the clocks and so I have called CyBLE_Stop() and CyBle_Start(StackEventHandler) before and after writing to flash.

   

I'm also concerned that the clocks are not being reinitialized following the flash write which could cause issues waking up on a BLE stack event.

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

   

We need to review your firmware for further analysis.

   

Please create a Tech Support case with us.

   

Regards,

   

- Madhu Sudhan

0 Likes