A problem for my board to change port of UART

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

A problem for my board to change port of UART

ソリューションへジャンプ
819件の閲覧回数
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 解決策
634件の閲覧回数
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 返答(返信)
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!
-----------------------------------------------------------------------------------------------------------------------

634件の閲覧回数
zhangzhiyong1
Contributor III

I will have a try thank you

0 件の賞賛