Hello,
The first point I would advise is to be sure that you clicked on Update button at generation stage ( instead of generate button). If you open the IOC generated by the workbench with cubeMX, you must see the M1_PWM_INPUT at PA15.
In order to make the motor spin, the ESC state machine must be in ESC_ARMED state.
To reach ESC_ARMED state, the ESC must stay in ESC_ARMING state for ARMING_TIME. (ARMING_TIME is set to 200, it is a number of iteration inside the ESC_ARMING state)
ESC_ARMING state is reached when Ton is between 900 us and 1060 us.
This is a safety measure, to not be injured by the propeller in case of a full scale PWM target is applied from no signal.
So, if from no signal you apply directly 1060 us or more, you will not reach the ESC_ARMED state.
If you have a live debugger, I advise you to look at the ESC_M1 variable, and to look at the sm_state member.
If you have never seen your motor spinning before, you can also try without the PWM control, just with the monitor tool, but in order to do so, you have to comment in the main.c file the following two lines :
esc_boot(&ESC_M1);
esc_pwm_control(&ESC_M1);
Let me know if it helps.
Regards
Cedric