Uart3 and Uart4 cann't work normally on MX6D platform

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

Uart3 and Uart4 cann't work normally on MX6D platform

559 Views
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.

0 Kudos
2 Replies

391 Views
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 Kudos

391 Views
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 Kudos