Go Down

Topic: Interrupts (Read 496 times) previous topic - next topic

jonnygainz

Jan 06, 2019, 12:53 pm Last Edit: Jan 06, 2019, 01:13 pm by jonnygainz
I'm working on a DC to AC three phase inverter, and I've already figured out how to configure the microcontroller to generate complementary PWM outputs on three synchronized channels. What I'm trying to figure out is how to generate an interrupt at the end of a PWM period so that I could use that interrupt to formulate an ISR where I could increment a counter so that I could change the duty cycles of each channel. Can anyone help me with this?

Go Up