hello, Dialog. When I use ext mode sleep ,my Timer0 couldn't work . when the da14580 enter into sleep , whether the timer associated register will be clean?
我有厕所ked the AN-B-025 and the UM-B-006. I know that when the da14580 enter into the ext sleep, the time0(Is it the BLE Timer?)is aliving. So why it doesn't work? (note that : when I emulate the project in the keil MDK the timer0 works well .But when I burn the .img into the external Flash the timer0 couldn't work. but the other functions works well)
OK ,thanks !!! . while the timer0 is switched off in sleep mode . An other question: I thought the timer0 could used to be a RTC (although it may not precise ),but now it doesn't work. Could I find some other solutions to instead of it. how about the API lld_evt_time_get() ? I find it get counter for the addr 0x4000001C ,Is it based on a timer?
我有厕所ked the AN-B-025 and the UM-B-006. I know that when the da14580 enter into the ext sleep, the time0(Is it the BLE Timer?)is aliving. So why it doesn't work? (note that : when I emulate the project in the keil MDK the timer0 works well .But when I burn the .img into the external Flash the timer0 couldn't work. but the other functions works well)
can you tell me why?
Hello Liyang,
Timer0 is switched off in deep sleep and extended sleep mode.
There is a good thread below about using timer in sleep mode .
http://support.dialog-semiconductor.com/smarttag-ref-design-sleep-mode-during-advertising-vs-timer
BR JE_Dialog
OK ,thanks !!! .
while the timer0 is switched off in sleep mode . An other question: I thought the timer0 could used to be a RTC (although it may not precise ),but now it doesn't work. Could I find some other solutions to instead of it. how about the API lld_evt_time_get() ? I find it get counter for the addr 0x4000001C ,Is it based on a timer?
ok! I think you have solve my issue .on #4 floor .
THANK YOU !
Hello Liyang, can you tell us what you are trying to achieve with timer and then we might be able to advise you faster ?
BR JE_Dialog
haha,I think you have solve all my questions on floor #4!
Can I keep periph on to enable timer0 working during ext sleep? for example:
SetBits16(PMU_CTRL_REG, PERIPH_SLEEP, 0);