PWM modulation | Cypress Semiconductor
Hi - I'm trying to use PWM to generate an arbitrary sine wave output. The PWM signal is output to a digital pin, which then passes through a second-order, external analog filter. If I duty cycle correctly, this should allow me to create any waveform. Right? I'm not quite familiar with PWM modulation and not sure if PSoC creator already supports an arbitrary waveform generator component. I would appreciate any example code.
I've tried using the DAC AWG component, but there appear to be some impedance problems. Whenever I connect the analog pin to an external load, the voltage level drop significantly. The output voltage is supposed to be between 0-3V.