Hello,
I am trying to make sense of the ADC self test section in the TMS570LS31x/21x TRM (SPNU499 Sept 2011). I hope you can clarify!
Firstly I think table 18-3 is wrong. S5 should surely be 0 when in self test mode.
Table 18-4 is also extremely confusing. In the last row, how can a conversion result be unknown? I think it probably means "none of the above".
The term "ADC Input Channel" is also confusing in section 18.8.2.1 because I am fairly sure the TRM is referring to the input to the ADC Core, not to the input to the ADC multiplexer. Otherwise I can't see how a short at the multiplexed input would cause a conversion of a reference voltage to be wrong.
Finally, the implication is that for the self test to work as described in section 18.8.2.1 you have to know in advance what the input voltage is.
Thanks,
Richard