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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,310 Views
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 Kudos
Reply
1 Reply

1,295 Views
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 Kudos
Reply