Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
Hi,
The code i am reffering to is C2000Ware_3_01_00_00\device_support\f2837xd\examples\cpu1\adc_soc_continuous.I have worked with this code a year ago it worked fine. Now i re-run the example code from C2000 WARE , but the output is very unpredictable. I am using the same board i used previuosly.
The input is 200Hz sine wave 0.8V software generated. The output is not as expected in the AdcaResults buffer , it shows some random signals. I have changed the adc channel from A0, to A1and A3 , but the problem just persists.
Sometimes the ADCINFLG.bit.ADCINT3 bit is not set and the code is stuck inside infinite while loop.
When i connect the A0(pin30) to 3.3v (of J1) the output is perfect dc of 4096(1.5V) , but again the ADCINFLG.bit.ADCINT3 is not getting set after a few cycles. I dont know really where i am going wrong because i am using an unaltered example code.
I have added _LAUNCHXL_F28379D in properties/Build/C2000 Compiler/Advanced options/Predefined symbols .But that did not help much.
I am not understanding where i am going wrong. Is there a possibility that the Delfino board has a problem , if so is there way to check. i used the same board and same code and the out put was perfect.
I am currently using ccsv8. .
Thanks and Regards,
Ashwin

