MX53 UART2(3) not working

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

MX53 UART2(3) not working

1,692 Views
xuqing
Contributor I
HI everyone, Could you please let us know the issue with UART2 and UART3. IOMUX define as follows: #define MX53_PAD_EMI_D27__UART2_RXD IOMUX_PAD(0x490, 0x148, 2, 0x888, 1, MX53_UART_PAD_CTRL) #define MX53_PAD_EMI_D26__UART2_TXD IOMUX_PAD(0x48C, 0x144, 2, 0x888, 0, MX53_UART_PAD_CTRL) #define MX53_PAD_EMI_D24__UART3_TXD IOMUX_PAD(0x484, 0x13C, 2, 0x888, 0, MX53_UART_PAD_CTRL) #define MX53_PAD_EMI_D25__UART3_RXD IOMUX_PAD(0x488, 0x140, 2, 0x888, 1, MX53_UART_PAD_CTRL) tx is ok ,but rx can not receive data. Please advise us asap. We have stuck since long time.
Tags (1)
0 Kudos
Reply
5 Replies

1,235 Views
mbp
Contributor V

Did you get UART2 & 3 working?   How?

0 Kudos
Reply

1,235 Views
mbp
Contributor V

Lily is correct.  The mx51 iomux header file must be updated to correct the UART2 pin settings...

0 Kudos
Reply

1,235 Views
LilyZhang
Contributor I

Please remove daisy setting for TX PINs. For example:

#define MX53_PAD_EMI_D27__UART2_RXD IOMUX_PAD(0x490, 0x148, 2, 0x888, 1, MX53_UART_PAD_CTRL)
#define MX53_PAD_EMI_D26__UART2_TXD IOMUX_PAD(0x48C, 0x144, 0, 0, 0, MX53_UART_PAD_CTRL)


#define MX53_PAD_EMI_D24__UART3_TXD IOMUX_PAD(0x484, 0x13C, 2, 0x888, 0, MX53_UART_PAD_CTRL)
#define MX53_PAD_EMI_D25__UART3_RXD IOMUX_PAD(0x488, 0x140, 0, 0, 0, MX53_UART_PAD_CTRL)

0 Kudos
Reply

1,235 Views
JerryFan
NXP Employee
NXP Employee
It is  a little bit strange that  the UART2 and UART3 share the same daisy chain register(0x888), I thinks for UART2 the daisy chain register should be  0x880. please double check it.
0 Kudos
Reply

1,235 Views
JasonZhang1z
Contributor II

Maybe cased by DMA, please change arch/arm/mach-mx5/serial.h diable the DMA of these ports.

By the way, what's you version ?

0 Kudos
Reply