IMX6Q UART2 ENABLING PROBLEM

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

IMX6Q UART2 ENABLING PROBLEM

519 Views
mustafabakircio
Contributor IV

Hello ;

I ' m working on Wandboard Quad which has iMX6Q processor on it . I  opened it 's UART2 features from it 's  imx6q-wandboard.dts but I have some problem about it and my mind is confused if I did right or missed something while enabling the UART2 . 

 

I can  send data from the  UART2_TX  but even if  I set up the both console and ttymxc1 (UART2) baudrates same , I recieve nonsense character 's  .

 

And I enabled from  im6q-wandboard.dts adding ;

 

&uart2 {

               pinctrl-names = "default";

               pinctrl-0 = <&pinctrl_uart2_1>;

               status = "okay" ;

};

 

Did  I missing something or did I do something wrong about it ? 

 

 

Thanks for your help ...

0 Kudos
1 Reply

361 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mustafa

to quickly know possible reason one can printf register

IOMUXC_UART2_UART_RX_DATA_SELECT_INPUT, described in

sect.36.4.581 Select Input Register (IOMUXC_UART2_UART_RX_DATA_SELECT_INPUT)

i.MX6DQ Reference Manual

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

and check signal on pad with oscilloscope.

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

0 Kudos