Hi, I am attempting to setup CAN communication between Hitec CAN enabled Servos and Jetson Orin Nano through the J17 pins and a WaveShare SN65HVD230 transceiver. I followed the instructions on CAN Setup Guide and got the loopback test working. Unfortunately I am unable to communicate with my motors and need help.
System:
Package: nvidia-jetpack
Version: 6.2.1+b38
Priority: standard
It seems you’ve verified loopback test for CAN so that the pinnux and the device tree configurations should be fine.
I’m not clear about your custom python script.
As your connections look good to me, could you also check if adding sjw 4 as following can help for your case to communicate with your motor? Jetson AGX Orin Dev kit CAN not working - #7 by KevinFFF
You can also get a scope to measure if there’s the signal when you send the data from Orin Nano to your motor.
Since we don’t have a CAN-enabled motor to verify this locally, I can only rely on my experience. Some users in online forums have successfully enabled them by configuring a different sjw value, so it might be worth a try.
Hi @KevinFFF Thanks for your reply. I am currently in contact with people at Hitec as well. I will try your suggestions and update the status of this issue once resolved.
Hi @kayccc I apologize for not updating the status. We were able to resolve the issue. Our setup as discussed earlier was correct. The problem was the CAN message format being incorrect. We used the logs of the software shared by Hitec for their motor calibration and used the messages sent out by their software as a key. We were then able to format our commands correctly for our use.