STM32G431 + Turnigy 3536

Hi All,
So I have been trying to control a Turnigy 3536 using an STM32G431.
For some unknown reason, it seems like it doesn’t rotate at all.
Below is my code:

#include <SimpleFOC.h>
BLDCMotor motor = BLDCMotor(11);
BLDCDriver6PWM driver = BLDCDriver6PWM(PA8, PC13, PA9, PA12, PA10, PB15);

float target = 4.0 ;

void serialLoop(){
static String received_chars;

while (Serial.available()){
char inChar = (char) Serial.read();
received_chars += inChar;
if (inChar == ‘\n’){
target = received_chars.toFloat();
Serial.print("Target = "); Serial.println(target);
received_chars = “”;
}
}
}

void setup() {
Serial.begin(115200);

// pwm frequency to be used [Hz]

driver.pwm_frequency = 50000;
// Max DC voltage allowed - default voltage_power_supply
driver.voltage_limit = 12;
// power supply voltage [V]
driver.voltage_power_supply = 12;
// driver init
driver.init();

motor.linkDriver(&driver);
motor.voltage_limit = 4;
motor.velocity_limit = 20;
motor.init();

delay(1000);
}

void loop() {
serialLoop();

motor.move(target);

}

Not sure what am I doing wrong.
Regards

Are you using the MCU STM32G431 or the STM demo BLDC board? If you are using the MCU, which driver board do you use? Did you check the leads if you get any PWM signal out with an oscilloscope?