AnsweredAssumed Answered

Modify UART1 as DTE mode for IMX6Q using Android 4.4.2 BSP

Question asked by Public Account on Mar 16, 2015
Latest reply on Apr 1, 2015 by Yuri Muhin

BSP version: Android 4.4.2, kernel 3.0.35

 

Hello:

 

As title, I must be choose UART1 console debug port from DCE mode to DTE mode for my custom board,

my TX and RX and connection method as follow:

 

CPU            PC

TX<---------- TX

RX----------> RX

 

Pin difinition:

MX6Q_PAD_SD3_DAT7__UART1_TXD,

MX6Q_PAD_SD3_DAT6__UART1_RXD,

 

And register mapping:

#define _MX6Q_PAD_SD3_DAT6__UART1_RXD IOMUX_PAD(0x0694, 0x02AC, 1, 0x0920, 3, 0)

#define _MX6Q_PAD_SD3_DAT7__UART1_TXD IOMUX_PAD(0x0690, 0x02A8, 1, 0, 0, 0)

 

my modified pin definition to be DTE mode as follow:

#define _MX6Q_PAD_SD3_DAT6__UART1_RXD IOMUX_PAD(0x0694, 0x02AC, 1, 0x0920, 3, 0)

#define _MX6Q_PAD_SD3_DAT7__UART1_TXD IOMUX_PAD(0x0690, 0x02A8, 1, 0x0920, 2, 0)

 

but my uart1 still not work, maybe I have a wrong way to modify registers, how could I fix this issue?

 

thanks.

Outcomes