Other Parts Discussed in Thread: LAUNCHXL-F280039C
Hi,
I am using a LAUNCHXL-F280039C and I want to configure the ADCs to use external reference voltage from VREFHI. I am calling ADC_setVREF(..) before any kind of ADC initialization, but it does not work. All of the ADC result registers are zero, but the SOC must be triggered as I have ISRs triggered by the ADC conversion complete events.
I have noticed, that the ADCs are working just fine with ADC_setVREF(ADCx_BASE, ADC_REFERENCE_INTERNAL, ADC_REFERENCE_3_3V), but if I choose the 2.5V reference voltage, the same issue came up: all results registers are zero. I can switch between the internal reference voltage levels during debugging by changing the ANAREF2P5SEL bit and the conversion is ok if I use ANAREF2P5SEL=0, but it is not if I use ANAREF2P5SEL=1. I can measure the 2.5V reference voltage on the VREFHI pin if ANAREF2P5SEL=1.
I saw no info regarding this in the errata sheet. Is there something else to do to select different reference voltage level?