Timer CanNot Work As I Want

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
2455321262
Offline
Last seen:2 years 6 months ago
加入:2017-01-22 06:43
Timer CanNot Work As I Want

Hi Dialog Team,
I wakeup my DA14580 by wkupct.After 14580 wakeup, I set a timer use to make LED flash, but it doesn't call the callback function sometime. I call the function which is ke_timer_active, it return the timer is active.Can you timer whtat's the problem?
谢谢。

Device:
STS_Dialog(not verified)
Hi 2455321262,

Hi 2455321262,

Please provide me more information about what is exactly the problem that you are facing.

Thanks,

STS_Dialog.

2455321262
Offline
Last seen:2 years 6 months ago
加入:2017-01-22 06:43
Now I can provide only

Now I can provide only information:
1, the timer is set after the system sleep wake-up
2, the timer is active
3, the current timer I set in a second will trigger the callback function, when I described above the exception, the callback function will not be called after a second, after the second, the callback function will be Trigger, here a few seconds I did not go to test.

2455321262
Offline
Last seen:2 years 6 months ago
加入:2017-01-22 06:43
The timer callback function

The timer callback function will eventually be called, I feel there is something to hinder the timer timer, can you give me some suggestions

STS_Dialog(not verified)
Hi 2455321262,

Hi 2455321262,

Please check UM-B-51 about kernel timer (app_easy_timer) in Documents tab in Software development kit section. Additionally, another option to use is the peripheral example which located in ble_examples( it uses the app_easytimer) in SDK 5.0.4 and check the bellow link:

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/appeasytimer.

Thanks,

STS_Dialog.