Page 1 of 1

Stm32-sine for 3 channel and 3 enable (FOC)

Posted: Mon Jun 16, 2025 9:34 am
by Bigpie
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?

Re: Stm32-sine for 3 channel and 3 enable (FOC)

Posted: Mon Jun 16, 2025 9:55 am
by Bigpie
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.