Uart3 and Uart4 cann't work normally on MX6D platform

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

Uart3 and Uart4 cann't work normally on MX6D platform

832件の閲覧回数
tangyuan
Contributor III

Hi:

I am using uart3 and uart4 on mx6d platform.But uart3 and uart4 cann't send and receive data all the time!

I already check the definition in board_mx6q_sabresd.h:

MX6Q_PAD_EIM_D24__UART3_TXD,
MX6Q_PAD_EIM_D25__UART3_RXD,
MX6Q_PAD_EIM_D23__UART3_CTS,
MX6Q_PAD_EIM_D31__UART3_RTS,

At the same time ,i found the function register as follows:

  imx6q_add_imx_uart(4, NULL);
  imx6q_add_imx_uart(3, NULL);
  imx6q_add_imx_uart(2, NULL);
  imx6q_add_imx_uart(1, NULL);
  imx6q_add_imx_uart(0, NULL);

Can anyone help me ,uart3 and uart4 cann't send and receive data.

ラベル(7)
0 件の賞賛
返信
2 返答(返信)

664件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi tang

uart4 is used on sabre auto board, please check uboot/include/configs/mx6qsabreauto.h

uboot-imx.git - Freescale i.MX u-boot Tree 

use linux build imx6qsabreauto configuration as in attached Yocto Guide

sect.5.1 Build configurations

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

664件の閲覧回数
tangyuan
Contributor III

HI,

      igorpadykov

             My kernel is linux3.0.35.

             I doubt now whether the definition of multi - functional pin multiplexing is wrong.

             Can you check it for me?

             

             #define _MX6Q_PAD_EIM_D25__UART3_RXD \
IOMUX_PAD(0x03CC, 0x00B8, 2, 0x0930, 1, 0)

            #define _MX6Q_PAD_EIM_D24__UART3_TXD \
IOMUX_PAD(0x03C8, 0x00B4, 2, 0x0000, 0, 0)

0 件の賞賛
返信