12-08-2020 12:18 AM
I am currently in the process of putting the CAN driver for my AXI CAN IP cores into operation. If I use the standard commands:
-ip link set canX type can bitrate 500000
-ip link set canX up
the CAN channel is still in SLEEPING state. Does anyone now why? Screenshot is attached.
If I deactivate the channel with "ip link set canX down" and activate it again with "ip link set canX up" the following message appears:
"RTNETLINK: No such device". Does anyone know why?
Thanks in advance!
12-10-2020 12:05 AM
Looks it is in sleep state can you please change the state to Loopback and check the can state is getting changed or not.
ip link set canX type can bitrate 100000 loopback on
If it is is not changing please let me know. Before that the make sure that you configure for the same node and the bus is formed.
12-10-2020 12:31 AM - edited 12-10-2020 12:33 AM
Thanks for your answer!
The picture is from CAN2, but my other channels are showing the same issue.
Now the following details are set (however SLEEPING is still there):
12-16-2020 05:38 AM - edited 12-16-2020 05:40 AM
Sorry for the late response...
I am using:
Kernel : https://github.com/mathworks/xilinx-linux.git (Version: mathworks_zynq_R20.2.0)
Uboot: https://github.com/mathworks/xilinx-uboot.git (Version: mathworks_zynq_R20.2.0)
It is included in a buildroot buildsystem provided by mathworks. But the base configuration is from XILINX. I included the dts-files & boot files generated out of my Vivado project from the .xsa file.