imx93 gpio problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,033件の閲覧回数
xiang_1001
Contributor III

Using gpio2-22 as the earphone interrupt pin, hot plug the earphone during u-boot, and the level detection is correct. After entering the system, the hot plug earphone and the detection pin are always at high level.
Excuse me, is there a problem with the detection pin configuration?

 

xiang_1001_0-1729679596392.png

xiang_1001_1-1729679611190.png

 

0 件の賞賛
返信
1 解決策
991件の閲覧回数
xiang_1001
Contributor III

Thank you, this problem has been solved.

After shielding these two sentences, the level detection of plugging and unplugging headphones is correct.

 

xiang_1001_0-1729735880857.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,004件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @xiang_1001 

 

I hope you are doing very well.

 

Just to clarify, are you using the same Device Tree in U-boot and Kernel, right?

 

Also, could you please check with memtool the register 443C_0068h? that register belongs to the MUX of the GPIO_IO22, I want to see if is selected the GPIO2_IO22 in that PAD.

 

 

Best regards,

Salas.

0 件の賞賛
返信
992件の閲覧回数
xiang_1001
Contributor III

Thank you, this problem has been solved.

After shielding these two sentences, the level detection of plugging and unplugging headphones is correct.

 

xiang_1001_0-1729735880857.png

 

0 件の賞賛
返信