0 Replies Latest reply on Aug 18, 2014 7:10 AM by ArvindK_86

    How to avoid glitches in PWM output


      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