Hi Freescale,
We are using UART2 on imx6 with hardware flow control to communicate with gps module.
The hardware pin connection now is:
MX6Q_PAD_SD3_DAT4__UART2_RXD ----------- GPS TXD
MX6Q_PAD_SD3_DAT5__UART2_TXD ----------- GPS RXD
MX6Q_PAD_SD3_CLK__UART2_RTS ----------- GPS CTS
MX6Q_PAD_SD3_CMD__UART2_CTS ----------- GPS RTS
But as we read in imx6 ref manual and some web pages, should the connection be as below?
UART2_RXD ----------- GPS TXD
UART2_TXD ----------- GPS RXD
UART2_CTS ----------- GPS CTS
UART2_RTS ----------- GPS RTS
Is that right? If that is right, can we config the uart pins by software as below to handle this?
MX6Q_PAD_SD3_DAT4__UART2_RXD ----------- GPS TXD
MX6Q_PAD_SD3_DAT5__UART2_TXD ----------- GPS RXD
MX6Q_PAD_SD3_CLK__UART2_CTS ----------- GPS CTS
MX6Q_PAD_SD3_CMD__UART2_RTS ----------- GPS RTS
Thanks and best regard.
Hi all,
Somebody help me solve it, please?
Thanks
Hi,
I believe the information found in this document How to enable BT on board imx6q_sabresd RevC. can be very helpful.
Best Regards,
Alejandro
Hi Alejandro,
Thanks for your answer,
From your link, I can see that the hardware for uart should be. But is there any software solution to workaround my issue as my first post:
Can we config the uart pins by software as below to handle this?
MX6Q_PAD_SD3_DAT4__UART2_RXD ----------- GPS TXD
MX6Q_PAD_SD3_DAT5__UART2_TXD ----------- GPS RXD
MX6Q_PAD_SD3_CLK__UART2_CTS ----------- GPS CTS
MX6Q_PAD_SD3_CMD__UART2_RTS ----------- GPS RTS
Thanks and best regard.
Chen.
Hi Alejandro,
Can you help me to workaround it by software?
Thanks.
Chen.
Hi Chen,
You may tray to change the mode DCE or DTE.
This can be changed in UARTx_UFCR register.
I have not tried this yet, please let me know how it goes.
Best Regards,
Alejandro