AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 51

no-image

AN1905

Manufacturer Part Number
AN1905
Description
St7mc Three-phase BLDC Motor Control Software Library
Manufacturer
ST Microelectronics, Inc.
Datasheet
6 CODE EXAMPLE
This section gives a very simple code example. Once an action on the start button is detected,
the motor starts and runs in open loop voltage sensorless mode with a duty cycle of 25%; once
an action on the stop button is detected, an active brake procedure is engaged for 2 seconds
with a duty cycle of 17%, then the power stage is switched off.
Warning:
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
This code example assumes that correct settings have been entered
for the alignment phase and ramp data. Modifications may be done
using the Graphical User Interface provided with the demokit (by
clicking on the ‘generate *.h files’ icon).
51/77

Related parts for AN1905