This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Creation of 3 edge aligned PWMs

Hello, 

   I  was going through standard output examples  -  PWM, 3 channels with different PWM frequencies, using MCMP used in HET IDE . I am not understanding - why all 3 PWMs are not  edge aligned ?  Is it because of sequential execution of  instructions ?

Regards,

Suyog

  • The difference is not because of sequential execution of the HET instructions, the outputs do not change until the loop resolution clock. When the three PWMs are different frequencies the edges will shift in relation to each other unless the frequency of one PWM is an exact multiple of the other.