Other Parts Discussed in Thread: C2000WARE
I'm running the example but it's not working correctly. It says
This example configures EPWM1A to run at 10 KHz (period = 0.1 ms) to
//! trigger a start-of-conversion on ADC channel A0. This channel will,
//! in turn, sample EPWM4A which is set to run at 1KHz.
//! At the end-of-conversion the ADC interrupt is fired. The interrupt signal
//! will be used to trigger a CLA task that runs an FIR filter. The filter
//! is designed to be low pass with a cutoff frequency of 1KHz; it will remove
//! the odd harmonics in the input signal smoothing the square wave to a
//! sinusoidal shape.
But odd harmonics are still there and the wave is square.
It also says
//! \b External \b Connections \n
//! - connect A0 to EPWM4A
From this what I understand is I need to connect Pin number 70 ( ADCINA0) to pin number 78 (EPWM4A).
What am I doing wrong? Can you help me out?