Timer control register gives zero as a value

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
DanielAcosta11
Offline
Last seen: 1 year 7 months ago
Joined: 2021-01-22 21:15
Timer control register gives zero as a value

Hello:

I am wondering why TIMER1_CTRL_REG is outputting 0's. Here is the example code I used.

All the best,

Daniel

Keywords: 
Attachment: 
Device: 
PM_Dialog
Offline
Last seen: 6 months 3 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi DanielAcosta11,

Hi DanielAcosta11,

Thanks for your forum post. Can you please try to enable the PD_TIM power domain before using the Timer1?

SetBits16(PMU_CTRL_REG, TIM_SLEEP, 0);

We have a Timer1 SW example on the DA14531 support page, but we are working to update it. An updated version will be released soon.

Thanks, PM_Dialog