booting after deep sleep

2 posts / 0 new
Last post
xf622
Offline
Last seen:4 years 4 months ago
加入:2015-05-08 08:13
booting after deep sleep

HI:

1. If I use the jtag download the progam to the RAM in DA14580,then it get into deep sleep, When the DA14580 wake up from the deep sleep,and the OTP is empty,
no serial flash or other device connect to it ,what will happen?

I see in the datasheet: after wakeup from the deep sleep,DA14580 will booting from OTP or other serial device,is it right?
But in the Smarttag project ,I set the Advertisment interval to 3 second, download the progam through jtag(keil+jlink), and the SPI flash is empty,
wait few minutes(I can see DA Advertise every 3 seconds from the LED ),I also can connet to it . how it booting?

2. what is the different between GPIO_ConfigurePin and GPIO_SetInactive() ,is it different in sleep mode?

Device:
MT_dialog
Offline
Last seen:1 week 22 hours ago
工作人员
加入:2015-06-08 34
Hi xf622,

Hi xf622,

You are in Development mode right? When in development mode sysram doesn't shut down so thats why your device boots normally even without a written OTP. The measurments that you see in the Smart Snippets (in deep sleep the consumption you get when the OTP is copied in the sysram) is simulated. The explanation of the functions of GPIO_ConfigurePin and GPIO_SetInactive are located in the doc UM-B-004 Peripheral Drivers.

Thanks MT_dialog