ADC input

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

ADC input

639 Views
jacopoagostini
Contributor I

Hi, I'm trying to configure the internal ADC for i.MX6ULL. How I can configure pin by software. I use the command echo 1 > /sys/class/gpio/export for digital I/O. Is there something similar?

Labels (1)
0 Kudos
1 Reply

474 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jacopo

please look at available options described in sect.53.3.3 Programming Interface

attached Linux Manual. Pins can be configured using dts pinctrl_adc1: adc1grp entry:

http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/boot/dts/imx6ull-14x14-ddr3-ar... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos