How to avoid glitches in PWM output

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ArvindK_86
Employee
Employee
10 sign-ins 5 sign-ins 10 solutions authored

PSoC digital blocks can operate as 8-bit pulse width modulators (PWM). Due to the special design of the PSoC, these modules do not incorporate glitch-free hardware logic but instead logic must be considered in software.

   

 

   

As seen from the image below, the problem lies in the absense of hysterisis in the comparisons taking place to generate the digital output.

   

 

   

      Glitch free PWM

   

 

   

A workaround to this is presented in the following document: http://www.cypress.com/?rID=2801

   

 

   

Regards,

   

Arvind

0 Likes
0 Replies