sdk:3.0.6
In the da14580.h file , I #define CFG_EXT_SLEEP,
but the program stop at
/************************************************************************
************** 关闭射频 **************
************************************************************************/
rwip_rf.sleep();
而(!ble_deep_sleep_stat_getf()); // stop at here ,
//check and wait till you may disable the radio. 32.768KHz XTAL must be running!
//(debug note: use BLE_CNTL2_REG:MON_LP_CLK bit to check (write 0, should be set to 1 by the BLE))
而( !(GetWord32(BLE_CNTL2_REG) & RADIO_PWRDN_ALLOW) ) {};
,I don't know why .
Thanks .
(I had download the program in the eeprom,it still doesn't work .).
Device:
Hi Stone_wang,
Can you give me more info about your code. What is the example that you are based to build your project and what is the development kit you are using. When you ve downloaded the code by using keil is the device operating ? Also can you please try to use a newer SDK just to have a test ? The ble_deep_sleep_stat_getf() should wait and return that the BLE Core is not in Sleep, and it seems that is sleeping and the low power clock is running. I dont think that you can do much by software in order to have this problem.
Thanks MT_dialog
Hi,Dialog,
I use example proxm.... project.And I use another chip it runs Ok. May be the chip is damage ?
Hi Stone_wang,
I also encounter the same problem with you.I want to know if it is ok when you #undef CFG_EXT_SLEEP to make it run in active mode.
Hi Stone_wang,
If you used another chip and it works, thats the most probable explanation.
Thanks MT_dialog
Hi Stone_wang,
I also encounter the same problem with you.I want to know if it is ok when you #undef CFG_EXT_SLEEP to make it run in active mode.