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:
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