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.
Hello caden013,
What function do you want to use about the analog signal?
Only the below pins can used as analog function:
And please pay attention the configuration:
BR
Alice