FRDM-KL27 ADC DEMO

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

FRDM-KL27 ADC DEMO

1,484件の閲覧回数
profitt
Contributor I

I am using the frdm-kl27z with adc16 interrupt driver demo to test ADC.
In the debug serial output, when I hold any key, the sample value increased slowly and at last reached 4095.
I changed the sample channel to temp sensor got the same result.
What is the problem in my test. THANKS!

1 返信

1,353件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Mel,

I suppose that you do not connect the ADC ananlog pin to a GND or VDD or a divider, you have the ADC analog pin float, which leads to the ADC sample indeterminate.

Pls connect the analog ADC pin to GND or VDD or to a divider, have a try.

If you still have issue, pls post your code so that we have a review.

Hope it can help you

BR

Xiangjun Rong