⚠️
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.
2 posts / 0 new
Last post
MADHUSF
Offline
Last seen:2 weeks 1 day ago
加入:2018-01-15 09:22
Timers

Hi Dialog,

I want to know how the timers are used in 585 and also i checked the file app_easy_timer file..

i m unable to crack the flow..can you please tell me timer0 and timer2 how they are used

BLE stack which timer is using?

I want to use the timers for my controller part..how can use that?

Device:
PM_Dialog
Offline
Last seen:1 day 18 hours ago
工作人员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

The timer0 and timer2 are hardware timers. The app_easy_timer is implemented with kernel timers, please check Figure 11: Application Architecture ofUM-B-079 DA14585 & DA14586 Software Platform Reference (SDK 6.0.8)document. According to section 5.6 of the aforementioned document, the DA14585/586 kernel provides timer services to create and delete a timer event. Regarding the HW timers, you could read section 19 General Purpose Timers of the DA14585 datasheet. Moreover, you could find example code for both timer0 and timer0 under 6.0.10.511\projects\target_apps\peripheral_examples SDK path.

Thanks, PM_Dialog