I am a biginner, so I used usual examples of sprc097.zip
My task is to make the active rectifier. But there is a real problem on my way: AdcRegs.ADCRESULT0 and AdcRegs.ADCRESULT1 are not working properly.
AdcRegs.ADCRESULT0 is giving value of 4672 all the time and AdcRegs.ADCRESULT1 is working in range from 4672 up to about 32000.
As I know, the value of these reg`s should be between 0 and 4096. Please, find above example test code with changed lines FROM
AdcRegs.ADCCHSELSEQ1.bit.CONV00 = 0x3; // Setup ADCINA3 as 1st SEQ1 conv.
AdcRegs.ADCCHSELSEQ1.bit.CONV01 = 0x2; // Setup ADCINA2 as 2nd SEQ1 conv.
TO
AdcRegs.ADCCHSELSEQ1.bit.CONV00 = 0x0; // Setup ADCINA1 as 1st SEQ1 conv.
AdcRegs.ADCCHSELSEQ1.bit.CONV01 = 0x1; // Setup ADCINA2 as 2nd SEQ1 conv.
Other Regs are returning zero value.
that is the way it works.
Hardware is eZDSP TMS 320 F 2812. By the way, my F2812 is quite hot! Is it normal?
THANK YOU IN ADVANCE