FRDM93 IMX9352 P11(GPIO_IO00 to GPIO_IO29) under linux control How can I keep off under linux?

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

FRDM93 IMX9352 P11(GPIO_IO00 to GPIO_IO29) under linux control How can I keep off under linux?

1,080 Views
Gutenberg-coder
Contributor I

Hi, I'm using FRDM93 , I want to free pin of P11 (GPIO_IO00 to GPIO_IO29) from linux to use them with core M33 and to initializate them by my C code. I'm using the file imx93-11x11-frdm.dtb and image LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX9. I tried with file dtbo, but without success.How can I do ?

Labels (3)
0 Kudos
Reply
1 Reply

1,030 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @Gutenberg-coder 

 

You can let the M33 own the P11 header pins (GPIO_IO00...GPIO_IO29) , you need to

1. stop Linux from touching those pads (disable any Linux drivers/pinctl groups that use them)

2. Make sure M33 has permission to the IOMUXC/GPIO blocks (TRDC settings)

3 Mux and initialize from M33 C code.

 

 

Regards

Daniel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2159042%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFRDM93%20IMX9352%20P11(GPIO_IO00%20to%20GPIO_IO29)%20under%20linux%20control%20How%20can%20I%20keep%20off%20under%20linux%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159042%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20I'm%20using%20FRDM93%20%2C%20I%20want%20to%20free%20pin%20of%20P11%20(GPIO_IO00%20to%20GPIO_IO29)%20from%20linux%20to%20use%20them%20with%20core%20M33%20and%20to%20initializate%20them%20by%20my%20C%20code.%20I'm%20using%20the%20file%20imx93-11x11-frdm.dtb%20and%20image%20LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX9.%20I%20tried%20with%20file%20dtbo%2C%20but%20without%20success.How%20can%20I%20do%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2159042%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFRDM-Training%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYocto%20Project%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2160932%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FRDM93%20IMX9352%20P11(GPIO_IO00%20to%20GPIO_IO29)%20under%20linux%20control%20How%20can%20I%20keep%20off%20under%20linux%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2160932%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F245785%22%20target%3D%22_blank%22%3E%40Gutenberg-coder%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20can%20let%20the%20M33%20own%20the%20P11%20header%20pins%20(GPIO_IO00...GPIO_IO29)%20%2C%20you%20need%20to%3C%2FP%3E%0A%3CP%3E1.%20stop%20Linux%20from%20touching%20those%20pads%20(disable%20any%20Linux%20drivers%2Fpinctl%20groups%20that%20use%20them)%3C%2FP%3E%0A%3CP%3E2.%20Make%20sure%20M33%20has%20permission%20to%20the%20IOMUXC%2FGPIO%20blocks%20(TRDC%20settings)%3C%2FP%3E%0A%3CP%3E3%20Mux%20and%20initialize%20from%20M33%20C%20code.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E