Hi! I'm configuring my linux bsp for the starter kit in order to use the can bus. As stated in "kernel_drivers.txt" I enabled the following in kernel configuration: CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y CONFIG_CAN=y I enabled the CAN driver for the integrated controller and installed iproute2 and canutils for testing purposes. Now I can enable CAN communication this way: ip link set can0 type can bitrate 500000 ifconfig can0 up I should be able to send packets this way: cansend can0 5A1#11.22.33.44.55.66.77.88 but it doesn't work! If I sniff the traffic using an arduino (and a CAN shield) I receive nothing. So I probed the output of the CAN pins on the RZA1H board and all I can see is this packet repeating all the time: (the top trace is the rx signal, and the bottom trace is the tx signal on CANL, I copied the image from another site, but it's the very same trace I see on my oscilloscope, of course the CANH signal is the same as CANL but mirrored ) Even if I change the PID or the message of the packet, the output is always that. I suppose the kernel and buildroot configuration are ok, because if I turn down the can0 interface the output stops, and if i turn it on again it stays off until I give a cansend. If I generate random packets from the arduino and I try to dump the traffic on the board with "candump" I can't see any packet. I can't figure out what's wrong, thanks in advance for all your help! Best Regards, Tobo
↧