A problem for my board to change port of UART

cancel
Showing results for 
Search instead for 
Did you mean: 

A problem for my board to change port of UART

Jump to solution
357 Views
zhangzhiyong1
Contributor III

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!

Labels (1)
0 Kudos
1 Solution
172 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi zhangzhiyong

please follow porting guidelines in attached Porting Guide, Chapter 1
Porting U-Boot, Chapter 3 Registering a New UART Driver

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

View solution in original post

2 Replies
173 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi zhangzhiyong

please follow porting guidelines in attached Porting Guide, Chapter 1
Porting U-Boot, Chapter 3 Registering a New UART Driver

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

172 Views
zhangzhiyong1
Contributor III

I will have a try thank you

0 Kudos