AnsweredAssumed Answered

A problem for my board to change port of UART

Question asked by zhangzhiyong on May 16, 2017
Latest reply on May 17, 2017 by zhangzhiyong

I usd MCIMX6Q6AVT10AD in my design.

I want change my UART1,to SD3_DAT6、SD3_DAT7 port , I change the Uboot .Uboot is from mx6q_sabresd.

The file board\freescale\mx6q_sabresd\mx6q_sabresd.c

Before:

      

289:    //mxc_iomux_v3_setup_pad(MX6Q_PAD_CSI0_DAT10__UART1_TXD);

293:    //mxc_iomux_v3_setup_pad(MX6Q_PAD_CSI0_DAT11__UART1_RXD);

 

After:

                //mxc_iomux_v3_setup_pad(MX6Q_PAD_CSI0_DAT10__UART1_TXD);      

                 mxc_iomux_v3_setup_pad(MX6Q_PAD_SD3_DAT7__UART1_TXD);

             

                 //mxc_iomux_v3_setup_pad(MX6Q_PAD_CSI0_DAT11__UART1_RXD);

                   mxc_iomux_v3_setup_pad(MX6Q_PAD_SD3_DAT6__UART1_RXD);

When I Connected to a serial port ,My board start anomalies,The  serial port without output 。THEN I disconnect the  receiver,connect sender

,The  serial port have output.but show me the execution interrupt in half.

what`s wrong ? what can I do?

Please help me and thank you!

Outcomes