is it possible to swap UART4 RTS and CTS on IMXDL ?

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

is it possible to swap UART4 RTS and CTS on IMXDL ?

881 Views
robinsingh
Contributor III

HI All,

I have a question on UART4  RTS and CTS pin ( IMX6DL platform) . based on our hardware design we need to switch the RTS and CTS pin and we want to avoid that we want to change it in software , can somebody share more light on it whether can do it or not.

here is our current setting :

MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B      0x1b0b1

MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B      0x1b0b1

we want to set CSI0_DATA16 as CTS and CSI0_DATA17 as RTS. is it possible ?

based on the infromation from header file(arch/arm/boot/dts/imx6dl-pinfunc.h)

i can see some MACRO as below:

#define MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B          0x064 0x378 0x910 0x3 0x0

#define MX6QDL_PAD_CSI0_DAT16__UART4_CTS_B          0x064 0x378 0x000 0x3 0x0

#define MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B          0x068 0x37c 0x000 0x3 0x0

#define MX6QDL_PAD_CSI0_DAT17__UART4_RTS_B          0x068 0x37c 0x910 0x3 0x1

please give us your feedback,  I already tried it by using above macro, but does not work, are we missing something/do we need to set some other register too?

Thanks

Robin

Labels (4)
0 Kudos
1 Reply

629 Views
igorpadykov
NXP Employee
NXP Employee

Hi Robin

it is not possible, however depending on DTE/DCE mode direction

can be changed according to Table 89. UART I/O Configuration vs. Mode i.MX6SDL Datasheet

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6SDLCEC.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos