Stm32 Nucleo-64 using the Arduino Simple FOC Shield
On this page
The SimpleFOCShield, being Arduino UNO shield, is compatible with any type of board with the same headers and one of them are STM32 Nucleo-64 boards.
Here is the Arduino SimpleFOCShield connection scheme:

Connector types
- Terminal connectors
- motor phase lines
a,bandc - power supply cables (12V to 24V)
- motor phase lines
- Encoder connector
- Integrated configurable pull-ups
More information on this link: Arduino Simple FOC Shield.
Encoder
- Channels
AandBare connected to the encoder connectorP_ENC, terminalsAandB. - If your encoder has
indexsignal you can connect it to the encoder connector as well, terminalI.
NOTE
Any digital pin can be external interrupt pin on STM32 boards.
Motor
- Motor phases
a,bandcare connected directly the motor terminal connectorTB_M1
Example connection

Copyright © 2026. Distributed by an MIT license.