PWM with multiple interrupts at different frequencies
Hi,
I am using a STM32L452RET6 (without any RTOS) and I would like to use the same timer for both:
- drive a sounder on PWM at 4KHz (but ideally also other changing frequencies above and below 1ms time period so it can make more elaborate sounds which)
- generate and also 1ms interrupt to check other tasks.
What would be the best way to configure and use the micro to implement that?
Thank you as always :)
