You are here

DIY VESC 6 "DRV" FAULT

3 posts / 0 new
Last post
a.dahhak
Offline
Last seen: 5 months 2 weeks ago
Joined: 2020-02-27 12:04
Posts: 17
DIY VESC 6 "DRV" FAULT

Hello guys,

I redesigned a version of VESC based on the HW VESC 6 (by slightly modifying a few things, notably the 3.3V power supply to an LDO).



I was able to switch on the VESC at first, All the power seems correct (24V, 5V, 3.3V). I flashed my STM32 with the VESC 6 firmware (the default on the github).



Nevertheless excited to be able to try it a first time, as soon as I launch an identification of parameters R, L and flux linkage, I receive an error message telling me to "enter R manually".



I tried another way, I took the configuration of my motor identified with an official VESC 6, then I loaded it on my own DIY Vesc. As soon as I try to run it (DCY, Current, RPM), nothing happens and I see on the error messages "DRV"

The only thing missing on my VESC compared to the architecture of the official is the wiring of the SPI (I did not use it thinking that it was an additional protocol which I did not need), can this be the source of my problem? because I don't think so (I did a test on a VESC CheapFOCer which also uses the DRV by disconnecting the SPI pins, and it still works well).

I look forward to your help my friends,

Thank you very much

Photos of my architecture below

Capture d’écran 2020-06-11 à 20.31.16.png

Capture d’écran 2020-06-11 à 21.07.09.png

TechAUmNu
Offline
Last seen: 1 week 3 days ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 575

Did you mean to use 1mohm shunts and ad8417? That only gives you 55A of current range.

I would look at what the default configuration is on the drv chip, without spi you cant change the settings on the device and it might not work with vesc 6 firmware if its expecting it to be there. 

 

a.dahhak
Offline
Last seen: 5 months 2 weeks ago
Joined: 2020-02-27 12:04
Posts: 17

Thanks for the answer TechAUmNu,

I'l actually using a 0.5mohm and an AD8418 just like vesc 6 in real.

Oh, I didn't know that we can write configurations into the DRV...So without SPI i supose that I cannot read the configuration on it ? 

 

Abdelilah