electronicsman
Full Member level 5
I am facing this problem. I have configured my pwm for 20khz and implementing the logic of space vector modulation in the interrupt routine in pwm interrupt. The problem is the hall sensors are analog and given as input to comparator of controller to convert to digital. But sometimes i am finding that controller is missing to generate the pulses in between and randomly around one hall change. Is it because of the high frequency of the pwm interrupt? The micro is dspic33ev256gm106.