config-pin P9_24 can
config-pin P9_26 can
sudo modprobe can
sudo modprobe can-dev
sudo modprobe can-raw
sudo ip link set can0 up
sudo ifconfig can0 up
debian@beaglebone:~/Desktop/can_code$ ifconfig can0
can0: flags=193<UP,RUNNING,NOARP> mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 169
cansend can0 5A1#01.02.03.04.05
candump can0
rx:
ip link set can0 type can bitrate 500000
ifconfig can0 up
candump can0
tx:
ip link set can0 type can bitrate 500000
ifconfig can0 up
cansend can0 123#DEADBEEF
ip link set can0 type can bitrate 500000 triple-sampling on #bitrate can be 125000 or 500000 ifconfig can0 up cansend can0 5A1#11.22.33.44.55.66.77.88 candump can0
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1b45dbec-4aca-42b0-ae06-7cbf6801dc04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.