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:
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.