imx93 gpio problem

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

imx93 gpio problem

Jump to solution
1,131 Views
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 Kudos
Reply
1 Solution
1,089 Views
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

 

View solution in original post

0 Kudos
Reply
2 Replies
1,102 Views
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 Kudos
Reply
1,090 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1980122%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx93%20gpio%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1980122%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EUsing%20gpio2-22%20as%20the%20earphone%20interrupt%20pin%2C%20hot%20plug%20the%20earphone%20during%20u-boot%2C%20and%20the%20level%20detection%20is%20correct.%20After%20entering%20the%20system%2C%20the%20hot%20plug%20earphone%20and%20the%20detection%20pin%20are%20always%20at%20high%20level.%3CBR%20%2F%3EExcuse%20me%2C%20is%20there%20a%20problem%20with%20the%20detection%20pin%20configuration%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xiang_1001_0-1729679596392.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22xiang_1001_0-1729679596392.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306395i7F087B25EE972B28%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22xiang_1001_0-1729679596392.png%22%20alt%3D%22xiang_1001_0-1729679596392.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xiang_1001_1-1729679611190.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22xiang_1001_1-1729679611190.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306396iC59BD48037946A59%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22xiang_1001_1-1729679611190.png%22%20alt%3D%22xiang_1001_1-1729679611190.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1980647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20gpio%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1980647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EThank%20you%2C%20this%20problem%20has%20been%20solved.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAfter%20shielding%20these%20two%20sentences%2C%20the%20level%20detection%20of%20plugging%20and%20unplugging%20headphones%20is%20correct.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xiang_1001_0-1729735880857.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22xiang_1001_0-1729735880857.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306562i8B119DA23AA44659%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22xiang_1001_0-1729735880857.png%22%20alt%3D%22xiang_1001_0-1729735880857.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1980457%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20imx93%20gpio%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1980457%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242171%22%20target%3D%22_blank%22%3E%40xiang_1001%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20hope%20you%20are%20doing%20very%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EJust%20to%20clarify%2C%20are%20you%20using%20the%20same%20Device%20Tree%20in%20U-boot%20and%20Kernel%2C%20right%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAlso%2C%20could%20you%20please%20check%20with%20memtool%20the%20register%20443C_0068h%3F%20that%20register%20belongs%20to%20the%20MUX%20of%20the%20GPIO_IO22%2C%20I%20want%20to%20see%20if%20is%20selected%20the%20GPIO2_IO22%20in%20that%20PAD.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ESalas.%3C%2FP%3E%3C%2FLINGO-BODY%3E