AnsweredAssumed Answered

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

Question asked by robin singh on Apr 12, 2016
Latest reply on Apr 12, 2016 by igorpadykov

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

Outcomes