IMX8Quad Max board : Multiple uart port

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

IMX8Quad Max board : Multiple uart port

跳至解决方案
1,151 次查看
hihanna
Contributor II

 

Hello

As I konw, i.MX8QuadMax board has multiple UART interfaces available.

How can I choose and use multiple uart port?

标记 (2)
0 项奖励
回复
1 解答
1,118 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @hihanna ,

I hope you are doing well.

i.MX8QuadMax MEK Board has multiple UART interfaces.

LPUART0 => FTDI DEBUG for ARM Cortex-A
LPUART1 => BLUETOOTH
LPUART2 => DEBUG CONSOLE on base board
LPUART3 => MIKROBUS on base board
LPUART4 => AUDIN connector.

Other uarts are assigned to SCU and M4 cores.

To use the uart port,
One has to define the device tree node with pinctrl properties in dts file.
/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
uart port is available in userspace as /dev/ttyLPx

Please refer to the below-mentioned documents for more information.
4.11 Low Power Universal Asynchronous Receiver/Transmitter (LPUART) in i.MX Linux Reference Manual
 
Thanks & Regards,
Sanket Parekh

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,119 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @hihanna ,

I hope you are doing well.

i.MX8QuadMax MEK Board has multiple UART interfaces.

LPUART0 => FTDI DEBUG for ARM Cortex-A
LPUART1 => BLUETOOTH
LPUART2 => DEBUG CONSOLE on base board
LPUART3 => MIKROBUS on base board
LPUART4 => AUDIN connector.

Other uarts are assigned to SCU and M4 cores.

To use the uart port,
One has to define the device tree node with pinctrl properties in dts file.
/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
uart port is available in userspace as /dev/ttyLPx

Please refer to the below-mentioned documents for more information.
4.11 Low Power Universal Asynchronous Receiver/Transmitter (LPUART) in i.MX Linux Reference Manual
 
Thanks & Regards,
Sanket Parekh
0 项奖励
回复