MKM35 ADC and internal reference

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

MKM35 ADC and internal reference

777 次查看
dporada
Contributor III

I am trying to use the internal reference with the ADC.  I am trying the code on a TWR-KM35Z75M board the rule out a hardware problem.  I modified the demo twrkm35z75m_adc16_interrupt to enable VREF.  The voltage reads 1.2 VDC on the Vref pin, but I get a full scale AD reading at around 0.6VDC on the input. The result is correct if I use Vdda for reference. 

0 项奖励
回复
1 回复

770 次查看
dporada
Contributor III

I found the problem.  I was using the 10 configuration of REFSEL, but it gives me the correct reading if I use the 01 configuration.

0 项奖励
回复