ucc_uart loopback test

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

ucc_uart loopback test

939件の閲覧回数
naveennaga
Contributor I

Hi ,

I want to do loopback test for ucc uart in the p1025rbd board. I configured ucc3 and ucc7 for ucc_uart. In the ucc_uart.c code i am enabled "LOOPBACK" macro . Inserting the ucc_uart.ko module , two dev nodes where created ttyQE0 and ttyQE1 .

With user space application program im trying to write and read the data for loopback test. But it didnt worked. For loopback how the terimos is to be configured and  any sample code for read and write.

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

709件の閲覧回数
Pavel
NXP Employee
NXP Employee

Look at the following page:

http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F2151457.html

Test UCC loopback mode using UCC UART setting from this page.


Have a great day,
Pavel

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

0 件の賞賛
返信

709件の閲覧回数
naveennaga
Contributor I

Hi,

In the ucc_uart.c driver they have given option for soft-uart . I'm enabled the soft-uart mode in dts and during probe call back function call im getting the error "ucc_uart ffe82600.ucc: unknown CPU model" can you tell which lines need to be added in dts for solving this.

How does the normal uart differ from soft-uart ?

0 件の賞賛
返信