GPIO Analog Input or ADC Analog Input (LPC55S06-EVK)

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

GPIO Analog Input or ADC Analog Input (LPC55S06-EVK)

1,311件の閲覧回数
caden013
Contributor III

Hello, all

I am trying to use the headers on my board (J13) to take in analog input; however, it appears that the GPIO pins are only for digital input/output. In the MCUXpresso SDK API Reference Manual, the only accessible GPIO "pin directions" are kGPIO_DigitalInput and kGPIO_DigitalOutput.

I want to setup a pin as an analog input, but do I accomplish this by using the GPIO method? If not, do I have to use the ADC instead?

Thanks in advance.

0 件の賞賛
返信
1 返信

1,296件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello caden013,

What function do you want to use about the analog signal?

Only the below pins can used as analog function:

 

Alice_Yang_0-1623052857917.png

And please pay attention the configuration:

Alice_Yang_1-1623053209883.png

 

 

BR

Alice

 

 

0 件の賞賛
返信