P2040 UART issue

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

P2040 UART issue

585件の閲覧回数
gouravjain
Contributor IV

Hi All,

P2040 supports two UARTs.

I'm trying to get the data in both the UART simultaneously but at present i'm able to to get data in either first or second via following changes,

1) RCW file

2) P2041rdb.c board file

3) And root=/dev/ram rw console=$consoledev in uboot. [where consoledev : ttyS0 / ttyS1]

Would be very thankful if someone pls let me know how to get the data on both the UART.

regards,

Gourav Jain

0 件の賞賛
返信
1 返信

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

The P2041 u-boot can use UART0 or UART1 as console.

Set the CONFIG_CONS_INDEX to 2 in the /include/configs/P2041RDB.h file in the u-boot source if USRT1 is needed as console.

 

For using both UART under Linux use the following command:

cat /proc/interrupts

 

Is there interrupt from both UARTs?


Have a great day,
Pavel Chubakov

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

0 件の賞賛
返信