This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I've inherited a half complete project, my first in the C2000 family, and I can't find reference materials for setting up the control registers for the on-board ADCs.
ADCINA0 through ADCINA7 are working fine, but I'm getting '0' output from ADCINB0 through ADCINB7. I'm using the 80-pin version of the TMS320F28069, so I understand that some of the ADCs are not available (A3, A7, B3, and B7). I'm looking for output from ADCINB0, ADCINB5, and ADCINB6, so that's not the problem.
I suspect the problem lies in configuration/initialization, but I can't find published info. Can someone help me understand how to configure all the pertinent registers? Maybe point me to an app note describing it?
Any help would be greatly appreciated.
Thanks,
Robin
Also refer to the F2806x Technical Reference Manual (TRM). It can be found on the F28069 product page:
http://www.ti.com/product/tms320f28069
Thanks to Brett and Guatam for leading me to helpful documentation. My main weakness in working with TI DSP products is locating the right documentation. It's hard work to sift through the volumes available to find the exact thing I need. I'm sure as I gain experience in the process, I'll get better at it.
Anyway, here's the fix:
The ADCs were configured to use software to force the SOC process. All was working for ADC channels 0-7, but 8-15 were dark.
The line of code that forced the SOC WAS written as:
AdcRegs.ADCSOCFRC1.all = 0xFF;
But that only addressed ADC channels 0-7.
After changing it to:
AdcRegs.ADCSOCFRC1.all = 0xFFFF;
all is well.
Thanks to both of you for the guidance.