UART2 not working

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

UART2 not working

799 Views
mathew_k_t
Contributor II

Hi

Following is the result of loop back test in uart2.uart not working.png

I have used the default configuration in dts file except "fsl,uart-has-rtscts;"(I commented it). Why it is not working? Whats the error in default configuration?

Labels (3)
0 Kudos
1 Reply

396 Views
b36401
NXP Employee
NXP Employee

When you are performing "echo hello" you sending this text into system console and as the console is associated with ttymxc0 UART the text finally arrives at the PC.
When you are performing "echo hello > /dev/ttymxc0" you sending the data into UART directly as ttymxc0 device not as a console.
And you are getting the same result. The text arrives at the PC.
However in case of "echo hello > /dev/ttymxc1" the text goes to UART2 however nothing is listening to UART2 device.

Have a great day,
Victor

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

0 Kudos