My board doesn't run on RS232C DTE mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My board doesn't run on RS232C DTE mode

573 Views
naokinishioka
Contributor I

My board doesn't run on RS232C DTE mode.

I connect UART1_TXD to CSI0_DATA10(pad M1) and connect UART1_RXD to CSI0_DATA11(pad M3).
I also connect UART1_CTS to EI_D19(pad G21) and connect UART1_RTS to EIM_D20(pad G20).
I think that UART1_CTS is input signal, and UART1_RTS is output signal to i.mx6 on RS232C DTE mode.

Without flow control, my board runs normally.

I also set registers as below.
UART1_UFCR[DCEDTE]=1        (DTE mode selected)
IOMUXC_UART1_UART_RTS_B_SELECT_INPUT[DAISY]=00  (selecting ALT4 mode of pad EIM_D19 for UAET1_CTS_B)
IOMUX_SW_MUX_CTL_PAD_EIM_DATA19[MUX_MODE]=100  (select signal UART1_CTS_B)
IOMUX_SW_MUX_CTL_PAD_EIM_DATA20[MUX_MODE]=100  (Select signal UART1_RTS_B)

Are there any problems about my circuit connectons or register setting?

Labels (1)
0 Kudos
2 Replies

360 Views
Yuri
NXP Employee
NXP Employee

I hope the following post clarifies the issue.

“i.MX6: What does the DTE/DCE in i.MX6's UART do and how are RTS and CTS affected by the UARTxUFCR[DTEDCE] bit?”

https://community.freescale.com/docs/DOC-97509 


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

360 Views
naokinishioka
Contributor I

Thank you, Yuri Muhin!

I understand my circuit connection was wrong.
I will fix it.

0 Kudos