ADC input

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

ADC input

1,631 次查看
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?

标签 (1)
0 项奖励
回复
1 回复

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