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 .