Internal Vref for ADC in MK10

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Internal Vref for ADC in MK10

1,236 次查看
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

标签 (1)
1 回复

1,112 次查看
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