cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32F10x] Timer 1 overflow/underflow not correctly

nguyenxuanuoc0905
Associate
Posted on June 26, 2016 at 07:06

Hi everyone,

I'm building a BLDC motor control project which use 6 steps for control. And now, i wanna sample ADC on timer1 overflow when PWM-ON (PWM run in PWM mode 1 and Center-Aligned3). I get an issue: Timer 1 overflow/underflow not correctly. Timer overflow isnt between in 2 times TCNT match Compare value (offset about 2us) and underflow the same. My pwm run at 20kHz.

Have you get the same problem?

Thank you very much.
0 REPLIES 0