Hello,
I am having a strange issue with ADC of Piccolo tms320f28027. The ADC values are not stable and fluctuating a lot. When I am using this configuration
ADC_setSocChanNumber (myAdc, ADC_SocNumber_1, ADC_SocChanNumber_A7); //set SOC1 channel select to ADCINA7
ADC_setSocTrigSrc(myAdc, ADC_SocNumber_1, ADC_SocTrigSrc_EPWM1_ADCSOCA); //
ADC_setSocSampleWindow(myAdc, ADC_SocNumber_1, ADC_SocSampleWindow_15_cycles);
the adcvalues fluctuates a lot. Suppose when i connect the adc pin to 3v3 using internal reference, the adc values fluctuates from 4000 to 4095. And on the other pin the values change from 3097 to 4045. This making my output closed loop unstable ! and i am not sure if the output voltage is right or not !
Thank you.