MX53 UART2(3) not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MX53 UART2(3) not working

1,282件の閲覧回数
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.
タグ(1)
0 件の賞賛
5 返答(返信)

825件の閲覧回数
mbp
Contributor V

Did you get UART2 & 3 working?   How?

0 件の賞賛

825件の閲覧回数
mbp
Contributor V

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

0 件の賞賛

825件の閲覧回数
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 件の賞賛

825件の閲覧回数
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 件の賞賛

825件の閲覧回数
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 件の賞賛