Hello, I’m here for some questions about connections between motor and jetson nano using can communication.
Recently, I’m trying to control t motor (AK70-10 made by Cubemars) using jetson nano developer kit B01 (jetpack 4.6.1)
As jetson nano has no CAN pin in board, so I used Rubik link USB to CAN & UART convertor (made by Cubemars).
I connected USB and cheked the activation of /dev/ttyUSB0.
Also, I activated can0 and checked with “ifconfig -a” and “ip link show can0”
But, when i input “ip link show can0”, it said → ‘can0: <NOARP, UP LOWER_UP. mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10’
So, here is my questions
How can I solve “state UNKNOWN”?
Is it okay to use Rubik link or should I buy CAN communcation board?
I really need your helps…
Thanks
P.S. the baud rate of serial port is 9600. | the bitrate for motor is 1M and baud rate is 921600
I already change the baud rate of usb serial using “stty -F /dev/USB0 921600” but it didn’t work…
You can just use connect the board to the host and use SDKM to flash the devkit.
More people use MCP2515 for CAN transaction since they may design their custom board with this component on their board.
USB to CAN convertor should be easily to be used, but we don’t have that adapter to verify for you.
Could you share the block diagram of your connection?
and also the full dmesg for further check.
Could you share the result of ifconfig after you configuring the CAN?
I’m not clear about what this command is doing.
Why it need to connect serial interface to your CAN device(AK70-10)?
Maybe your vendor would know more details of the related setup and issues.