A problem for my board to change port of UART

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

A problem for my board to change port of UART

跳至解决方案
820 次查看
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!

标签 (1)
0 项奖励
1 解答
635 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
636 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

635 次查看
zhangzhiyong1
Contributor III

I will have a try thank you

0 项奖励