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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
Thank you for your help