You are here

Can't get Dual drive/CAN bus working

12 posts / 0 new
Last post
Xadiant
Offline
Last seen: 5 years 1 week ago
Joined: 2019-09-22 18:32
Posts: 1
Can't get Dual drive/CAN bus working

I have 2X VESC 4.12 and am having trouble with CAN bus.  I have only the two middle wires connected and just flashed new firmware and setup motor config on each.

Individually the motors work fine, but the wizards are not picking up (or giving me options) to select other connected VESCs.  I manually went into the app and made sure they have different VESC ID numbers (0 and 1), have the same status and baud rates, and slave sends status CAN_STATUS_1 at 50Hz.

Also when I attempt to go to connection and scan the CAN bus I get "CAN bus support is not enabled in this build of VESC Tool.) which I tracked down to being a compiler preprocessor being turned off?  I got this tool today from the website precompiled.

 

Please help.

matas
Offline
Last seen: 4 years 11 months ago
Joined: 2019-10-15 01:18
Posts: 1

I have got the same issue.

Does this mean we have to buy the paid version of vesc tool or that the firmware for our vesc does not support CAN ?

frank
Offline
Last seen: 1 week 21 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Has nothing to do with the version. Do you use Linux or Windows VESC-Tool?

itsrow
Offline
Last seen: 1 month 3 weeks ago
VESC Free
Joined: 2019-10-15 18:14
Posts: 2

I use windows but I have mint if it will fix the problem?

paul guy
Offline
Last seen: 3 years 6 months ago
Joined: 2019-11-13 22:01
Posts: 1

Same problem here is there a fix was going out on board today but looks like im not.........

 

logfans
Offline
Last seen: 4 years 1 month ago
Joined: 2020-08-12 00:33
Posts: 1

Has anyone been able to solve this issue? I can't get CAN bus working and I've been losing my mind over it. I've been able to use UART to set the current of a single motor but have not been able to control both and when ever I try and scan for CAN bus I get the message: "CAN bus support is not enabled in this build of VESC Tool." How can I drive both motors using a single UART input?

 

Logan Fansler

beaubaby
Offline
Last seen: 8 months 1 week ago
Joined: 2020-04-22 12:43
Posts: 1

Hi, 

Im having the same problem. Have you found a way to fix the problem? 

 

Thanks 

bertrandroggenh...
Offline
Last seen: 3 years 5 months ago
Joined: 2020-09-14 19:09
Posts: 1

I have the same problem, how can we fix it?

madfires
Offline
Last seen: 3 years 4 months ago
Joined: 2021-05-10 22:12
Posts: 1

anyone??, same problem

t.mcguire.1986@...
Offline
Last seen: 3 years 4 months ago
Joined: 2021-05-15 02:01
Posts: 1

Same or similar issue. One of my ESCs is failing to upgrade from 5.1 to 5.2, but my can connection is going in and out. I have VESC 3.0, my other ESC upgraded to 5.2 but no matter what ESC is master or slave, the CAN connection is not even there most of the time. 

 

WTF VESC, bet no one can guess what my email is....just post it for the world to see.....

Offline
Offline
Last seen: 1 year 7 months ago
Joined: 2020-06-24 10:35
Posts: 8

most propperly the CAN tranceiver IC is dead, do you have access to a scope or logic analyzer ? then sniff TX / RX on the tranceiver IC, where its TTL level

Kokonenen
Offline
Last seen: 1 year 5 months ago
Joined: 2023-02-16 08:41
Posts: 12

Same issue, the setup FOC runs both motors simultaneously without issue, I can select them under CAN-devices and rev them individually but no form of controllable can forwarding works. I can't spin both motors with the vesc tool on my own.