imx53 uart2 can tx data, but not rx data?

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

imx53 uart2 can tx data, but not rx data?

ソリューションへジャンプ
1,438件の閲覧回数
潘紫东
Contributor III

follow is uart2 iomux  and configuration:

in arch/arm/plat-mxc/include/mach/iomux-mx53.h

 

#define MX53_PAD_EIM_D26__UART2_TXD_MUX           (_MX53_PAD_EIM_D26__UART2_TXD_MUX | MUX_PAD_CTRL(NO_PAD_CTRL))
#define MX53_PAD_EIM_D27__UART2_RXD_MUX           (_MX53_PAD_EIM_D27__UART2_RXD_MUX | MUX_PAD_CTRL(NO_PAD_CTRL))

in arch/arm/mach-mx5/serial.h

/* UART 2 configuration */

#define UART2_UCR4_CTSTL        -1

#define UART2_DMA_ENABLE        0

#define UART2_DMA_RXBUFSIZE     512

#define UART2_UFCR_RXTL         16

#define UART2_UFCR_TXTL         16

and i sure  that  EIM_D27   not be Pin mux  to other function   in kernel sourec.

and URAT1 UART3 UART4  UART5 is ok;but UART2 is not work normal.


ラベル(2)
0 件の賞賛
返信
1 解決策
1,118件の閲覧回数
潘紫东
Contributor III

#define  __MX53_PAD_EIM_D27__UART2_RXD_MUX  IOMUX_PAD(0x490,0x148,2,0x880,1,0)

#define  __MX53_PAD_EIM_D26__UART2_RXD_MUX  IOMUX_PAD(0x48c,0x144,2,0x880,0,0)

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,119件の閲覧回数
潘紫东
Contributor III

#define  __MX53_PAD_EIM_D27__UART2_RXD_MUX  IOMUX_PAD(0x490,0x148,2,0x880,1,0)

#define  __MX53_PAD_EIM_D26__UART2_RXD_MUX  IOMUX_PAD(0x48c,0x144,2,0x880,0,0)

0 件の賞賛
返信
1,118件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Pan,

      Please paste all iomux pins(iomux structure) here , let me see .

weidong

0 件の賞賛
返信
1,118件の閲覧回数
潘紫东
Contributor III

thank you ! I solved the problem.

0 件の賞賛
返信
1,118件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

ok Pan,

      good job !

weidong

0 件の賞賛
返信