AN2115 - Generate Triangle and Trapezoid Waveforms with a Switched Capacitor Integrator | Cypress Semiconductor
AN2115 - Generate Triangle and Trapezoid Waveforms with a Switched Capacitor Integrator
Trapezoid and triangle waveforms can be generated by modulating the input to a switched capacitor block configured as an integrator. This application note shows how to configure the SCBlock User Module as an integrator. It also demonstrates the analog modulator feature of the PSoC® device to generate trapezoid and triangle waveforms with this integrator.
Many applications require ramped waveforms. These are often generated by controlling a digital to analog converter (DAC) with software. However, this places a significant load on the CPU. Another technique that produces a controlled ramp is driving an integrator with a waveform generated by simple digital logic. The PSoC device can be configured with switched capacitor integrators driven by digital pulse-width modulators.