MKM35 ADC and internal reference

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MKM35 ADC and internal reference

338件の閲覧回数
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 返信

331件の閲覧回数
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 件の賞賛
返信