Hi,
I need to have RTS/CTS enabled on UART2 of DM6446 based custom board.
I already had UART2 send/receive working ok.
Did following in kernel to enable flow control :
1. Enabled "U2FLO" bit in pinmux1 to enable flow control.
2. In MCR for register for UART2 enabled bits 1 and 5(UART2_MCR |= 0x22;). Did this in 8250.c autoconfig().
3. In serial_platform_data[] for serial devices added flag UPF_CONS_FLOW for UART2.
After enabling UART2 flow control through above steps. I made CTS line of UART2 as high through external pull-up register.
And then tried to send data though UART2. Since CTS line is high I was hoping that send data will be blocked.
But DaVinci just sends data despite of CTS line being high.
In the uart test application I open uart device with "O_RDWR" flag(iUartDevFd = open(UART2_DEV, O_RDWR);).
I see the same issue on Dm6446 EVM board as well.
Has any one got RTS/CTS to work ok with UART2 on DaVinci ?
Appreciate any help on this.
Thanks,
Snehal