imx8qm m4 lpuart3

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

imx8qm m4 lpuart3

340 Views
songhongliang
Contributor II

HI,

    I want use imx8qm lpuart3, but the lpuart3 tx rx gpio is IMX8QM_M41_GPIO0_01_DMA_UART3_TX IMX8QM_M41_GPIO0_00_DMA_UART3_RX.

I set up the dts:

&lpuart3 { /* MKbus */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart3>;
status = "okay";
};

I modified  status = "disabled";   -->  status = "okay";

But it didn't work,

I modified lpuart2 status = "disabled";   -->  status = "okay"; the lpuart2 can work.

pinctrl_lpuart3: lpuart3grp {
      fsl,pins = <
      IMX8QM_M41_GPIO0_00_DMA_UART3_RX 0x06000020
      IMX8QM_M41_GPIO0_01_DMA_UART3_TX 0x06000020
   >;
};

lpuart3 and M4 core are related, how can I modify it to use lpuart3 normally.

now, use dts is imx8qm-mek.dts. L5.4.47 version

 

 

0 Kudos
1 Reply

323 Views
joanxie
NXP TechSupport
NXP TechSupport

lpuart3 is for M4, first you need to  remove the uart3  pins config from SCFW that was assigning it for M4, then enable it in the dts file

0 Kudos