5 years, 1 month ago.

PWM pins on F411-RE

I need to commutate a BLDC motor. It requires 6 input PWM signals.

https://i.imgur.com/5USiUu8.png Here are the input siganls for the inverter in my circuit.

I understand that the PWM pins of my F411-RE share channels and timers and not all of them can be used for each input PWM signal.

So which pins can I use?

EDIT: I have 3 hall sensor inputs aswell.

Here is my pin configuration:

HU - D7 - PWM1/1

HV - D13 - PWM2/1

HW - D5 - PWM3/1

LU - D8 - PWM1/2

LV - D3 - PWM2/2

LW - D4 - PWM3/2

H1 - D15 - PWM4/3

H2 - D14 - PWM4/4

H3 - D10 - PWM4/1

1 Answer

5 years, 1 month ago.

There is some information and library here:

https://os.mbed.com/teams/TVZ-Mechatronics-Team/code/BLDCmotorDriver/

This is specific to one drive, I am making my own controller for a BLDC.

I figured it out however, the high side and low side inputs have to be on different channels.

posted by I K 06 Mar 2019