This manual describes the motor control software development kit (STSW-STM32100) designed for and to be used with STM32F MCUs microcontrollers.
This document provides an advanced developer's guide for the STM32F PMSM single/dual FOC software library (STSW-STM32100). It focuses on the object-oriented programming (OOP) implementation used to develop the motor control library, detailing the architecture, classes, and relationships within the C language code.
The guide covers generic class structures, inheritance implementation, and derived classes for various functions such as current reading, speed feedback, and temperature sensing. It also describes the motor control tasks, interrupt handling, and how to create user-defined classes to customize the library for specific applications.
The library is written in C language.
When deployed with STM32F103, STM32F2, STM32F303 or STM32F4 devices, the library allows simultaneous dual FOC.
The ST MC Workbench allows a complete and easy customization of the PMSM FOC library.