Hello,
We use the TMS320F28069 and are having some strange behavior with the ADC after we started using the AdcOffsetSelfCal() function (as recommended by the data sheet and TRM).
Basically when we reconfigure back to our normal ADC configuration (after running AdcOffsetSelfCal()), it doesn't seem like it should run at all (we weren't setting ADCINTSOCSELn back to 0). This is based on the register description for ADCINTSOCSELn, which states that if it is set to anything other than 0, TRIGSEL is ignored (page 506-607 in the TRM). However if TRIGSEL is ignored, our ADC should not be sampling at all. Additionally, Figure 8-2 on page 486 shows that the TRIGEL input and the ADCINTSOCSELn input are OR'd together, which conflicts with the statements made on page 506, but would make sense why our ADC still runs.
I found this post that discusses it, but never got confirmation:
http://e2e.ti.com/support/microcontrollers/c2000/f/171/p/43844/170847.aspx#170847
So when TRIGSEL is configured, and ADCINTSOCSELn is configured for an ADCINTn response...are both inputs used, or is only the ADCINTn trigger?
Thanks.
- James