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.

TMS320F280039C: ADC External Reference issue

Part Number: TMS320F280039C
Other Parts Discussed in Thread: TMDSHSECDOCK, , TMDSCNCD280039C, C2000WARE, SYSCONFIG

Tool/software:

Good Morning TI Support team,

I am using a TMDSCNCD280039C (TMS320F280039C evaluation module C2000 MCU) with the TMDSHSECDOCK (HSEC180 controlCARD baseboard docking station).

On this evaluation board I am trying to use the ADC with an External Reference.

I first tested the ADC with Internal Reference, this is the initialization code (regarding the ASYSCTL):

This worked smoothly giving values form {0, 4095} with a input voltage range of {0, 3.3}V.

However when changing to External Reference, initialization code below:

The ADC return 4096 regardless of the input Voltage of the ADC or the Voltage on PIN 45 VREFHIABC (PIN 43 VREFLO is connected to ground).

I found this thread regarding this same topic, but nothing solved my issue:

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1239050/tms320f280039c-adc-reference-issue

While debugging I can confirm that the ANAREFCTL register is set (meaning External Reference is defined).

Is there anything else that has to be set to enable the External Reference?

Regards,

Edu.