Hi all
I want to use UART2 for BT module, the BT module have RTS/CTS.
UART2_TXD----------->BT_UART_RX
UART2_RXD<-----------BT_UART_TX
UART2_RTS----------->BT_UART_CTS
UART2_CTS<-----------BT_UART_RTS
My uart2 configuration in kernel as bellow:
static const struct imxuart_platform_data mx6_uart1_data __initconst = {
.flags = IMXUART_HAVE_RTSCTS | IMXUART_USE_DCEDTE | IMXUART_SDMA,
.dma_req_rx = MX6Q_DMA_REQ_UART2_RX,
.dma_req_tx = MX6Q_DMA_REQ_UART2_TX,
};
imx6q_add_imx_uart(1, &mx6_octpath_uart1_data);
But, after doing this, the UART2_RTS pin is always high, which should be low i think to tell BT module to send data.
Is there other setting for this?
Thank you.