Hardware needed to interface the adc for KL43z?

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

Hardware needed to interface the adc for KL43z?

464件の閲覧回数
christopherira
Contributor III

Hello,

I'm using the KL43z, trying to do ad-conversion. I'm using processor expert. I've written this code:

pastedImage_0.png

Though, when I vary the voltage to ADC0_SE0/PTE20, it results in only three different values. I am varying the voltage between 0 and 5 V and I am only getting back three or four different values at various spots.

I'm wondering if I need to put in a capacitor or some sort of hardware circuit to interface the adc.

Thanks!

-Chris

0 件の賞賛
1 返信

326件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

I would recommend customer to refer below potentiometer circuit:

2016-03-22_10-49-48.jpg

Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛