Dw1000 deepsleep configuration lost issue

Hi all,

I wrote my sleep code as below:

sleep_mode = (DWT_LOADEUI | DWT_PRESRV_SLEEP | DWT_CONFIG | DWT_TANDV);
dwt_configuresleep(sleep_mode, DWT_WAKE_WK | DWT_WAKE_CS | DWT_SLP_EN);
dwt_entersleep();
port_wakeup_dw1000();

After port_wakeup_dw1000() is called, all the configuration for dw1000 is lost, it seems that dw1000 failed to load configuration from AON memory automatically.
any suggestions are appreciated!

Hi
Please look at our example code to see how waking up the IC is done.
In particular example ex_01b_tx_sleep.
Make sure the you use low SPI speed (< 3Mhz) and maybe you should give up the waking up a bit more time to wake up also.
But please read the example code and the notes on the bottom of each of the examples.
The sample code can be downloaded from our website. https://www.decawave.com/content/all-software.

/L