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!
-----------------------------------------------------------------------------------------------------------------------