Is the 1.2V internal reference always enabled?
I'm using the ADC16_DRV_Init() function (Kinetis SDK) for ADC module initialization. In the parameter refVoltSrc I'm using the value kAdc16RefVoltSrcOfValt. Is it enough to use the internal 1.2V as ADC reference?
adcUserConfig.refVoltSrc = kAdc16RefVoltSrcOfValt;
Thank you
Glaucio Guia.
Hi GLAUCIO GUIA
VREF is a module that has to be enable, hence, it is not always enable, if you want to do this in KSDK you can do it with CLOCK_SYS_EnableVrefClock(0); before you initialize your ADC: NOTE: PMC_REGSC[BGEN] bit must be set if the VREF regulator is required to remain operating in VLPx modes
Since VREF is not related with VREFH and VREFL pins, so yes, there is not problem if you use it as ADC reference.
Hope this help!
Have a great day,
Jorge Alcala
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------