How to avoid glitches in PWM output | Cypress Semiconductor
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.
A workaround to this is presented in the following document: http://www.cypress.com/?rID=2801