Hi, i need to calculate the frequency of two PWM.
When it comes to frequency calculation, the counter function is the best solution, i think.
i'm using SDK 6.0.0 for my project.
i tried to calculate the frequency by timer. but the 'APP_TIMER_TICKS(1000, APP_TIMER_PRESCALER)' can make 1ms timer interrupt as a minimum clock.
actually, the highest PWM frequency is up to 5kHz so, 1ms timer interrupt is so slow to capture the 5kHz PWM
- how can i get some example about counter??
- or how can i make more faster timer interrupt??
thanks!