My homebrew vesc plus doesn't work

Nice to meet you. I am new to this forum. Also my English is a little strange, but please forgive me.

I already asked vesc forum and esk8 forum.
But anyone didn’t answer my ask.So I came here.

I started to create Vesc6.5 (vesc plus) which is mentioned in the document for studying my circuit. Also, when creating this circuit, we are trying to reduce costs and cutting some functions. (Nrf, mpu9250, etc.)

Then I soldered the parts, turned on the power, and wrote the firmware. And when I turned it on, the red LED on my vesc flashed 3 times. If you connect to VESC TOOL and enter “fault” in the terminal, “FULRT_CODE_DRV” will be displayed, and if you enter “drv8301_print_faults”, "| FETLC_OC | FETHC_OC | FETLB_OC | FETHB_OC | FETLA_OC | FETHA_OC | OTW | OTSD | P VDD_UV | | "Is displayed.

I looked at various forums and rewrote the firmware and replaced the DRV chips (I changed 4 DRV chips).

I wrote farmware “60” to stm32.

What should i do?

I will give you an image for reference.
Thank you.

5 Likes

sounds like something @skyart uses

12 Likes

Sorry I’m a little banned by a baby on the other forum…

I wanted to ask if you are sure you have soldered the DRV Correctly?
Looks pretty shorted to me.

6 Likes

Yeah the four pins at the top right end

@ OP did you do a bunch of continuity tests/probing to make sure there’s no board shorts

3 Likes

There’s a few more after that xD.

Oh, double checked the schematic, they’re supposed to be shorted.

5 Likes

Yes , I tests my board.
And this pin is same function.
So it is ok to short

4 Likes

Can you scope out the SPI?

2 Likes

What means “scope out”?

Use an oscilloscope to measure the values / signal on the SPI bus

4 Likes

Logic analyzer*

5 Likes

The drv and stm pins are very small and difficult to measure.

solder breakout wires to the corresponding pins

3 Likes

Ok.understood. I will do that.

Are there any other possible issues?

1 Like

It’s pretty hard to pinpoint the cause by the provided information, but my first guess is that something is either shorted or not soldered correctly (floating). Solder job looks a bit rough to me.

The worst-case scenario is that every time you replace a new DRV chip it gets fried because of a short somewhere.

2 Likes

This component looks a little burnt

2 Likes

Sorry. That was too much heat gun.
The other parts don’t seem to be a problem.
The soldering situation has been redone many times.

1 Like

I google searched some of these, and found some troubleshooting suggestions.
Here,
Here,
And here.

3 Likes

Those mean
FET Low phase C: OverCurrent
FET High phase C: OverCurrent
FET Low phase B: OverCurrent
FET High phase B: OverCurrent
FET Low phase A: OverCurrent
FET High phase A: OverCurrent

4 Likes

are you one of those people who can type like a motherfucker?

4 Likes