about flexcan on p1010rdb-pb board

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

about flexcan on p1010rdb-pb board

Jump to solution
749 Views
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 Kudos
1 Solution
594 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
595 Views
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 Kudos
594 Views
tcguchengjie
Contributor II

Thank you for your help

0 Kudos