UART2 not working

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

UART2 not working

1,280件の閲覧回数
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?

ラベル(3)
0 件の賞賛
返信
1 返信

877件の閲覧回数
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 件の賞賛
返信