I am a newbie to TI's DSP. Working with TMS320F28335 to find Harmonics in 50 Hz signal and generate PWM accordingly. Tride example program _RFFT_ADC_RT in CCS6. Measured sampling period by toggling pin and it is coming 1.136 KHz(?). Also getting integer value in bin [0]=258.221008.(?). The AC signal is shifted by 1.5 V DC and given to the ADC. If I plot waveform from the samples it is perfectly coming as a shifted sine wave.Need some suggestions what I am doing wrong?