Skip to main content
Associate
Nov 9, 2026 8:27 AM UTC
Solved

Electronic Speed Control with STSPIN32G0A2

Hello,

I am Designing a custom motor control board using the STSPIN32G0A2.

In the MC Workbench with the Board Designer I can select the function Electronic Speed Control an connect it with PA15.

When I create a new project the function is no longer available.

For me it seems like a bug that the controller is not capable for this function. But then inside the board designer it should not be allowed to select the function.
ST Eval Board with this controller do not support ESC function.

There was a similar question with a different controller, but there was no answer.

What is the reason for this behaviour?

Thank you very much.

GMA
GMABest answer
ST Technical Moderator
Nov 10, 2026 12:41 PM UTC

Hello ​@psaal,

It is not mentioned in the documentation, and we are sorry about that, but the ESC feature is supported by the MC Workbench only on the STM32G4 and STM32F3 series with a fixed input and timer.
Adapt your STSPIN32G0A2 project from a project generated for the B-G431B-ESC1 board with ESC enabled feature.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA

2 replies

GMA
GMABest answer
ST Technical Moderator
Nov 10, 2026 12:41 PM UTC

Hello ​@psaal,

It is not mentioned in the documentation, and we are sorry about that, but the ESC feature is supported by the MC Workbench only on the STM32G4 and STM32F3 series with a fixed input and timer.
Adapt your STSPIN32G0A2 project from a project generated for the B-G431B-ESC1 board with ESC enabled feature.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA
psaalAuthor
Associate
Nov 10, 2026 1:46 PM UTC

Hello ​@GMA,

thank you for the information. That was all I needed.