I use HAL drivers and I would like to measure the duty cycle of 10 x 25 kHz (asynchronus) PWM signal, but I'm not sure which peripheral should I use:
- if I use timer with capture mode then I get 2 x 10 x 25000 interrupts a second (might be too much?)
- I could use RC elements to convert the signals to analog and use the ADC (converting from digital to analog then back to digital again, sounds like unnecessary tasks to me)
What would you do in my case?
Thank you in advance!