I have been recently trying to control a Maytech Superfoc 6.8 with a MCU over CAN. It took me a while to realize but no matter what I changed on VESC TOOL, the the Superfoc 6.8 was running canbus at 500kbps. I have looked at the connections section in the vesctool but that shows up empty and changing the can bus speed in the general section does nothing, regardless of which can bus speed option I choose, the devices responds when my MCU is configured at 500kbps. My entire system runs at 1MBPS so is there a way to change the can bus speed on the Superfoc 6.8?
What is the exact VESC model you use?
https://maytech.cn/collections/speed-controllers/products/maytech-superf...
VESC HW 60 FW 6.02
That is no VESC HW but a third party offer. They might have used a different, cheaper CAN chip with 500K support only. You can locate the chip and try to find the datasheet.
The can ic on the superfoc is the TJA1051. Datasheet says it supports upto 5MBPS (in reference to CAN FD). So should be fine for 1 MBPS limit for CAN right? What else can it be? Could you tell me how can speed is changed from the vesc tool? maybe i am doing it wrong
App Setting >> General, change CAN baude rate and write with A↓. All devices on the bus must have the same baude rate.