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

Question on multiple channels in timers in nrf52

I am trying to understand the use of multiple channels in the timer. Looks like the use of the multiple channels is for PWM/ sequencing type applications. It is not intended for generating interrupts at specific intervals i.e. channel0 generates an interrupt every 200ms, channel1 generates an interrupt every 300ms and channel2 for every 400ms. Looks like this is not how the channels in the timers are supposed to be used? Is my understanding correct?

Also apart from PWM what other applications can the multiple channels in the timer be used for? Also for the sequence i described above looks like RTC and application timer is the way to go. Is this correct?

Parents
  • My question still stands. I understands not to use TIMERx for slow less precision activities. But main question is on the multiple channels in a single TIMERx. Seems like PWM is the main use case for these channels and these channels are not independent channels. independent i.e you cannot setup a channel for 200ms, another for 300ms and another for 400ms and get interrupts every 200ms, 300ms and 400ms. Looks like they are more for sequencing. Is this a correct assumption of the HW feature?

Reply
  • My question still stands. I understands not to use TIMERx for slow less precision activities. But main question is on the multiple channels in a single TIMERx. Seems like PWM is the main use case for these channels and these channels are not independent channels. independent i.e you cannot setup a channel for 200ms, another for 300ms and another for 400ms and get interrupts every 200ms, 300ms and 400ms. Looks like they are more for sequencing. Is this a correct assumption of the HW feature?

Children
No Data
Related