You are here

VESC Firmware

200kHz PWM

Submitted by c10yas on Sun, 2019-09-22 17:06

Hi,

I'm trying to use VESC for a wide bandgap motor controller that I am designing but am concerned that the F405 cannot operate its control loop at 200kHz. Is it fast enough to do this? Should I look into porting the code base for the H7 series which can reach 480MHz? Alternatively, is it an option to run the control loop at a lower frequency (20kHz) and have the switching occur at 10x the speed. This would result in the PWM changing its duty cycle only every 10 cycles. Are there any issues that anyone can think of if I were to do this?

- Chai

Problems with flashing firmware to FLIPSKY ESC

Submitted by xx11xx on Wed, 2019-08-14 18:10

Dear All,

I followed this instruction to set up the environment for the VESC:

https://vesc-project.com/node/310

I had a problem at the "make upload" step. I tried for 3 days but I cannot solve it.

Could you please tell me any solutions for this problem.?

Thank you so much.

 

I use ST-Link v2 ISOLATION.

SWD: GND, RST, CLK, SWDIO.

The ESC is powered by a 6S Lipo battery.

 

Add serial port

Submitted by CTSchorsch on Wed, 2019-08-14 15:30

Hi all,

i have a custom PCB based on the public VESC6 schematic. I removed the fixed NRF Hardware and add a few solder pins instead to use the CPU Pins for some other stuff.

Now i want to use two of the pins as serial interface. Can i configure some kind of soft-uart ?

Thanks in advance

Georg

Problem report: VESC keeps running at full reverse throttle after PPM input returns to mid-stick

Submitted by chunkulator on Sun, 2019-08-11 00:34

Hi All,

I have been using VESCs for some time now but am stuck on a problem I haven't seen before. I suppose I've discovered a bug in the VESC firmware. Basically the issue is everything appears to be working fine, until I yank the throttle up to full reverse (1 ms input PPM pulse length). After that it stays running at full reverse throttle even after I've returned the throttle to mid-stick position (1.5ms pulse length).

what do you guys think about this "curr_samp_volt "?

Submitted by jem on Thu, 2019-08-08 14:45

i have seen that this question in this vesc forums.
jennyxcy2008' question:
1:switch (comm_step) {
      case 1: curr_samp_volt = (1 << 0) || (1 << 2); break; 
      case 2: curr_samp_volt = (1 << 1) || (1 << 2); break;
      case 3: curr_samp_volt = (1 << 1) || (1 << 2); break;
      case 4: curr_samp_volt = (1 << 0) || (1 << 1); break;
      case 5: curr_samp_volt = (1 << 0) || (1 << 1); break;

Help setting up dual vesc via CANBUS

Submitted by Jaystro16 on Sun, 2019-08-04 01:39

I have 2 vesc 4.12s with the latest vesc tool. I cant seem to figure out how to connect them together. i have done everthing that I have seen and I got it to work by chance. Then I turn off the power and turn it on again and it quits working. if anyone know how to do this it would be greatly appreciated I have been fighting this for 2 days now.

VESC Firmware update not working

Submitted by timhermanson94 on Wed, 2019-07-31 18:42

Hi - 

 

I recently bought a new pre-built Trampa board with 2 VESC 6s. One is on firmware 3.48 and the other on 3.57 and I am trying to set them up using the new VESC tool 1.16. It tells me that I need to update the firmware everytime they connect, but every time I update it secussfully goes through but then when it reboots it's on the same exact firmware and not updating. Is there anything else I can try? 

 

Thanks,

Tim 

Cant seem to update my firmware on my VECS.

Submitted by mackattack on Tue, 2019-07-30 16:23

So i bought my VESC from DIYectricskatebaords and when i connect it to my PC i get this error “The connect VESC has to old firmware. Since the connect VESC has firmware with bootloader support, it can be update from the firmware page. Until then limited communication mode will be used where only the firmware can be changed. I then go into the firmware page and update it which takes around 10 seconds. When the update is done i get the message that the update has been successful. This is the message " Firmware upload finished!

Pages

Subscribe to RSS - VESC Firmware