Internal Vref for ADC in MK10

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Internal Vref for ADC in MK10

861 Views
ssarathkumar916
Contributor II

Hi,

We are using MK10DX256xxx7 controllers. and We use Rowley cross works IDE for programming. 

We want to use 1.2V Internal VREF for ADC.

As per datasheet,we tried setting ADC_SC2->REFSEL 

and VREF_SC->VREFEN

we probed VREF_OUT pin using Oscilloscope, but  no voltage got generated. 

Please guide us to generate internal 1.2V VREF.

Please share any code or schematics for reference.

Thanks,

Sarathkumar S

#MK10DX256xxx7 

 #ADC

 #Internal Verf

Labels (1)
1 Reply

737 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello ssarathkumar916@gmail.com

I suggest you to leave the bit REFSEL of the register ADC_SC2 as 0x01.

For the VREF status a control register please set 0x01 at the following bits: VREFEN, REGEN, ICOMPEN and MODE_LV.

 

Please let me know if this is helpful.

Best regards,

Omar