Firmware failure? Updating BLE trough SWD fails
Forums:
Hi Frank and Benjamin
- Read more about Firmware failure? Updating BLE trough SWD fails
- 3 comments
- Log in or register to post comments
Hi Frank and Benjamin
I am using the integrated current sense amps in the DRV8301 in addition to a seperate low-side current sense ampin order to measure all 3 phase currents. I accidentally swapped the SNA and SPA traces on the DRV8301. TI had actually swapped the names of these pins for the newer DRV8353 and I made the mistake of assuming it was the same for the older DRV. So now I'm looking to compensate for this in the code. Does anyone know off the top of their head where in the code I can simply change the polarity of the measured current for these phases?
Hello,
Can anyone please explain the algorithm used in sensorless FOC control? How is the position of the rotor estimated? Where can I find the algorithm for sensorless FOC control?
I am looking to implement a new absolute encoder via the hardware SPI interface.
For encoder details see: https://www.rls.si/eng/orbis-true-absolute-rotary-encoder
What is the recommended way to implement that:
Thanks,
Toma
Hello,
After really long time I have finally completed Paltatech v.02 logic board. And I have troubles getting firmware for it.
I was following this guide: https://github.com/paltatech/VESC-controller
But I can not find any mention of paltatech v0.2 hardware in HW selection in conf_general.h. Just axiom and other hw versions.
Hi all,
i have a custom app, to control the motor for my underwater diving scooter. This scooter has a trigger button for run/stop and a rotary encoder to set power from 10% to 100%
At the moment i control the motor just with mc_interface_set_duty(0..1)
Is this enough ? or do i have to set something more ? maybe current ? all other apps do so much more :)
Thanks
Georg
I was riding my skateboard the otherday when it suddenly lost power and wouldnt reboot. It now only displays a blue light when on (no green like my other working vesc). From my research I found that this could perhaps be a firmware or bootloader issue so I have been trying to redo it using a raspberry pi running openocd and the GPIO pins connected to the vesc.

What is the physical meaning of current KI and current KP in FOC mode?
Motor resistance and inductance not use for motor spinning, but it need to calculate current KI and current KP coefficient using time constant.
Also VESC measure L and R values not correct, real motor phase inductanse 90uH, VESC measure 50uH, real R is 150mOhm, VESC measure 100mOhm.
How to choose a time constant to calculate KP and Ki? Need I use VESC's measurements R and L or RLC meter values?
Hi Friends.
I am reading VESC code from Benjamin open source (BLDC master). But, it is very difficult to understand although I basically understand bldc motor control algorithm.
So do you have any guide or tutorial to read mcpwm_foc and mcpwm code and understand it?
Thank you so much.