Hello,
I am working with nRF5 SDK v17.1.0 and using nRF52832DK board. I want to use the hardware timer in continuous mode and also want to use all 6 compare channels of the timer. But I am only able to get interrupts for 0 to 3 compare channels i.e for only 4 compare channels. My code is below
The above code is working fine. But when I just add NRF_TIMER_EVENT_COMPARE4 in init and in IRQ, I have the below observations:
1. Not getting interrupt for NRF_TIMER_EVENT_COMPARE4
2. for CC0, CC1, CC2, and CC3 I get interrupted only once (not getting continuous)
Please help to enable CC4 & CC5 and let me know what corrections need to be done in the code so that my timer will work in continuous mode for all 6 compared channels.
Best Regards,
Sanket Chadawar