Hi,
I found this thread while searching for answer to my question: "why the hardware flow-control does not work for UART3?".
I use kernel linux-3.0.35 release, where I want to use UART3 and its RTS/CTS flow-control.
So, I configured (added) the pins as follows to mx6q_common_pads structure:
static iomux_v3_cfg_t MX6NAME(common_pads)[] = {
/*.....*/
/* UART3 */
MX6PAD(EIM_D24__UART3_TXD),
MX6PAD(EIM_D25__UART3_RXD),
MX6PAD(EIM_D31__UART3_RTS),
MX6PAD(EIM_D23__UART3_CTS),
/*....*/
}
then, in the board code, I set flag for my uart and initialized it:
static const struct imxuart_platform_data uart2_data __initconst = {
.flags = IMXUART_HAVE_RTSCTS,
};
imx6q_add_imx_uart(2, &uart2_data);
Unfortunately, the RTS/CTS flow-control does not seem to work.
When I set 'crtscts' option to ttymxc2 via stty command, I cannot transfer anything. On the other hand if I use '-crtscts' the transmission works fine.
Am I missing something in pin configuration?
Best regards,
Rafal