Part Number: TMS320F280049
Hi ,
I have a design in which I wish to use the internal reference I have the following code to configure Vref to 2.5V:-
ADC_setVREF(ADCA_BASE, ADC_REFERENCE_INTERNAL, ADC_REFERENCE_2_5V);
ADC_setVREF(ADCB_BASE, ADC_REFERENCE_INTERNAL, ADC_REFERENCE_2_5V);
ADC_setVREF(ADCC_BASE, ADC_REFERENCE_INTERNAL, ADC_REFERENCE_2_5V);
//
// Set the DAC gain to 2
//
DAC_setGainMode(DACA_BASE, DAC_GAIN_ONE);
//
// DACREFSEL = 1 VREFHI
//
DAC_setReferenceVoltage(DACA_BASE, DAC_REF_ADC_VREFHI);
//
// Load count value for DAC on next SYSCLK
//
DAC_setLoadMode(DACA_BASE, DAC_LOAD_SYSCLK);
//
// Enable DAC output
//
DAC_enableOutput(DACA_BASE);
however I see no voltage on the VREFHIA/B/C pin. My understanding from the datasheet is that this pin should be driven when the internal reference is selected. The VREFHI pin is connected only to a 2.2uF capacitor and has no external drive source. What am I missing?
Thanks,
Richard.