I'm been trying to get a small motor to spin with the FOC firmware with a demo driver board from MPS.
Looking at the datasheet for the IC https://www.monolithicpower.com/en/docu ... t_id/6883/
Each phase has an enable pin and a PWM pin for the high side.
Anyone got any pointers/insight to the code that might be helpful?
Stm32-sine for 3 channel and 3 enable (FOC)
- Bigpie
- Posts: 1774
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 82 times
- Been thanked: 424 times
Stm32-sine for 3 channel and 3 enable (FOC)
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
- Bigpie
- Posts: 1774
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 82 times
- Been thanked: 424 times
Re: Stm32-sine for 3 channel and 3 enable (FOC)
Actually, I've stumbled upon this https://github.com/michalnand/brushless ... /tree/main they're just tying all the enabled pins together, so I'll have to give that a look over.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
FOCCCI CCS