This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Timer doesn't work with two compare events in 52832

Hi, all,

I confuse with the function of shortcuts register  while I'm using timer with two compare events in 52832.

In main() , I use API: nrfx_timer_extended_compare to configure two CC registers without enabling interrupt

Then I want to enable CHANNEL0 interrupt  while CHANNEL1 is always disabled and start timer

As a response, the timer doesn't work.

But what confused me, when I changed the codes and the timer works

Maybe I can't set COMPARE1_CLEAR even if COMPARE1 interrupt is not be enabled, but I don't find anything about this in nRF5 SDK v15 document.

Can someone provide me something about this?

Thank you!

Corey