How to enable UART CTS and RTS in IMX93 custom board on yocto scarthgap

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

How to enable UART CTS and RTS in IMX93 custom board on yocto scarthgap

1,209 次查看
arka
Contributor III

How to enable UART CTS and RTS in yocto scarhgap IMX93 

Below I have added the DTS changes for UART CTS and RTS.

pinctrl_uart7: uart7grp {
fsl,pins = <
MX93_PAD_GPIO_IO08__LPUART7_TX 0x31e
MX93_PAD_GPIO_IO09__LPUART7_RX 0x31e
MX93_PAD_GPIO_IO10__LPUART7_CTS_B 0x31e
MX93_PAD_GPIO_IO11__LPUART7_RTS_B 0x31e
>;
};

&lpuart7 {
/* M.2 KEY-E */ /* On board BT */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart7>;
status = "okay";

bluetooth {
/*compatible = "nxp,88w8997-bt";*/
};
};

Can you help to fix the issue?

Commands to test UART CTS and RTS :-
--> stty -F /dev/ttyLP6 crtscts 
--> cat /dev/ttyLP6 &
--> echo "ABCD" > /dev/ttyLP6

Failed to send and receive date.

Connection tx -> rx , CTS-> RTS .
 
标签 (2)
0 项奖励
回复
3 回复数

1,185 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Could you try this:

 

/*bluetooth {
compatible = "nxp,88w8997-bt";
};*/

 

Also, what is your silicon revision?

Regards

0 项奖励
回复

1,147 次查看
arka
Contributor III

I have made the above changes then also i could not able to send and receive date through UART CTS and RTS ,

&lpuart7 {
/* M.2 KEY-E */ /* On board BT */
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart7>;
fsl,uart-has-rtscts;
status = "okay";
};

how to fix the error,

I have two imx93 module :-

Connection:-
Tx->Rx
Rx->Tx
Cts->rts
Rts->cts




标记 (1)
0 项奖励
回复

1,127 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

1. The added property is from another driver, it isn't needed.

fsl,uart-has-rtscts;

2.  When you issue the following command are any logged errors? Does the execution take a considerable amount of time?

# stty -F /dev/ttyLPX crtscts

 3. I would like to ask again for the processor part number, is it A0 or A1?

There aren't any issues addressed right now, SW patches should be already integrated to LF6.6, like this one. And the silicon revision should be A1 since you are working in such BSP.

Could you try to reproduce the missing signals on other UARTs?

Regards

 

 

0 项奖励
回复