2016-06-25 10:06 PM
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.