I am having trouble with CAN escs (UAS125UVC) - changed settings on KDE with updated firmware to have IDs and have CAN control. Changed pixhawk settings:
CAN_P1_DRIVER =1,
CAN_D1_PROTOCOL = 2
Current setup I only have one ESC connected - just to get telemetry working etc.
ESC connected to CAN2 and another set of lines with a 120 ohm on high/low.
No telem data seen on mission planner. Tried the KDECAN_sniffer as well and don’t see anything…Any ideas what to try/check?
@rmackay9 Yes I followed both sets of instructions. One thing I wasn’t sure on is in the KDE GUI there is the option to switch from PWM sync to CANBUS for KDECAN control. I did change to CAN BUS not sure if that was right call - guess I can test in both options.
My configuration currently only has one ESC wired in as I wanted to confirm CAN was working before moving to the other five. I can make a datalog once back at testing rig.
The KDE CAN sniffer example also showed nothing. I have a KVASER that I planned to hook-up which might make debugging this a tad easier.
Strange…does the KDE code live on 3.6? I’ve uploaded the KDE sniffer example…wouldn’t that imply I’m on the right branch? I guess I’ll check once back at my computer
Params look good. Can you set ARMING_CHECK and LOG_DISARMED to 1 and send a new log?
Also, if you can look at what is going on the bus, it would be very helpful.
One thing you can try is setting the ESC ID to a higher number, then run the enumeration (Initial Setup -> CAN, then rotate the propeller/motor - it should make a noise, I can’t remember if before or after you rotate). If communication on the bus is working, it should then have the ESC ID changed to 2.