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.

TMS320F28377D: ADC - selection of 12/16 bits mode

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Hi,

Best wishes for this new year.

In the documentation spruhm8i.pdf in paragraph 11.4.2, it is written:

"The resolution can be changed at any time when the ADC is idle (no active or pending SOCs)."

But when I perform the selection of the resolution and of the signal mode AFTER the Power-up sequence indicated in paragraph 11.12:
-enable ADC clock
-set prescaler
-power-up ADC
-delay
the behavior ot the ADC is not correct.

It works correctly only if the selection of the resolution and of the signal mode is performed BETWEEN the phases "set prescaler" and "power-up ADC".
In both cases, no SOC is pending and no ADC conversion is triggered.

=> Q1- Why this behavior is in contradiction with the paragraph 11.4.2 ?
=> Q2- What are the constraints between the ADC power-up sequence and the resolution/signal mode selection ?

Thanks a lot for your help.

Regards.

  • Hello Philippe,

    => Q1- Why this behavior is in contradiction with the paragraph 11.4.2 ?

    This specific quote is referring to after the ADC has already been configured; at any point later in the program, the resolution can be changed. Based on the setup steps you listed, I'm not sure if this was done correctly.

    => Q2- What are the constraints between the ADC power-up sequence and the resolution/signal mode selection ?

    Please refer to an ADC example in C2000Ware to see how it is recommended to set up the ADC: