about flexcan on p1010rdb-pb board

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

about flexcan on p1010rdb-pb board

ソリューションへジャンプ
754件の閲覧回数
tcguchengjie
Contributor II

I use a cable to connect  CAN1 interface with CAN0 interface on a p1010rdb-pb board.But the can interface can only receive the message from itself

root@p1010rdb-pb:~# cantest can1 &

[1] 2560

root@p1010rdb-pb:~# cantest can1 123#12

flexcan ffe1d000.can can1: XMIT done

read 16 bytes

123  [1] 12

[1]+  Done                    cantest can1

root@p1010rdb-pb:~# cantest can0 & 

[1] 2556

root@p1010rdb-pb:~# cantest can0 123#12

flexcan ffe1c000.can can0: XMIT done

read 16 bytes

123  [1] 12

[1]+  Done                    cantest can0

root@p1010rdb-pb:~# cantest can1 &

[1] 2551

root@p1010rdb-pb:~# cantest can0 123#12

flexcan ffe1c000.can can0: XMIT done

root@p1010rdb-pb:~# cantest can1 &

[2] 2553

root@p1010rdb-pb:~# cantest can0 123#12

flexcan ffe1c000.can can0: XMIT done

root@p1010rdb-pb:~# cantest can1 123#12

flexcan ffe1d000.can can1: XMIT done

read 16 bytes

123  [1] 12

read 16 bytes

123  [1] 12

[1]-  Done                    cantest can1

[2]+  Done                    cantest can1

0 件の賞賛
1 解決策
599件の閲覧回数
Pavel
NXP Employee
NXP Employee

Check CAN0 and CAN1 setting in your .dts file.

See the following page:

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


Have a great day,
Pavel

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
600件の閲覧回数
Pavel
NXP Employee
NXP Employee

Check CAN0 and CAN1 setting in your .dts file.

See the following page:

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


Have a great day,
Pavel

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

0 件の賞賛
599件の閲覧回数
tcguchengjie
Contributor II

Thank you for your help

0 件の賞賛