Solved
Delayed in PWM and interrupt
- March 15, 2024
- 2 replies
- 2579 views
Hi
I'm implemented the most simple pwm generation and using interruptions in F401RE with TIM1. But a delay has been in the PWM generation and the update event interrupt (underflow and overflow) the most large pulse is the PWM and the another the when interrupt occours. I tested in diferent frequencys and in another timer and the error persists.
Above has my code, i want centralize the interruption in the middle of pwm pulse.
Thanks.
