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

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

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

683 次查看
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 回复

668 次查看
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 项奖励
回复