i.MX8qxp can't config ADC_IN as GPIO output

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

i.MX8qxp can't config ADC_IN as GPIO output

跳至解决方案
1,360 次查看
hansung_jung
Contributor III

Hi,

My question is, when I try to config ADC_IN1 as GPIO1_IO09, I cannot control it.

This is my dts file.

hansung_jung_0-1712309651963.png

or

hansung_jung_1-1712309722524.png

When I set HIGH or LOW with GPIO1_IO09, it doesn't change.

Below is what I tried to do.

hansung_jung_2-1712309973884.png

 

Even I read below article already, however it isn't help me.

Solved: i.MX8 ADC_IN0 pin can't set as GPIO function - NXP Community

 

 

0 项奖励
回复
1 解答
1,300 次查看
hansung_jung
Contributor III

I solved this.

Due to incorrect pinctrl group, I couldn't.

I referred below.

hansung_jung_0-1712560258762.png

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,301 次查看
hansung_jung
Contributor III

I solved this.

Due to incorrect pinctrl group, I couldn't.

I referred below.

hansung_jung_0-1712560258762.png

 

0 项奖励
回复
1,342 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @hansung_jung 

 

Could you please share what BSP are you using?

 

Also, if possible, send the device tree file.

 

Best regards.

 

Salas.

0 项奖励
回复
1,308 次查看
hansung_jung
Contributor III

Hello Alejandro,

Thanks for your reply.

I am using custom BSP using IMX8QXP.

And I send to you device tree file attached.

Please check "pinctrl_mipi_dsi_rst" part.

0 项奖励
回复