ST10 PWM Driver Application Note AN2499

Presents API specifications of the PWM driver in ST10 electric motor control library


ST10 PWM Driver Application Note AN2499 - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
13
File format
PDF
File size
109 KB
Published
06 August, 2012
Updated
30 September, 2023
Model
ST10
MD5 checksum
25754672F25D02B103083DE00481924B

About this manual

STMicroelectronics provides a library of electric motor control functions included in the ST10 Electric Motor Control Library (EMCL). This document details the set of API functions used to manage PWM signals for driving a 3-phase electric motor with the desired voltage via an inverter.

The note explains how to use and configure ST10 peripherals to produce PWM signals with adjustable pulse width at the beginning of each new PWM period. It covers the PWM overview, including the inverter structure and output waveforms, and provides a specification for the available API functions such as PWM_Init, PWM_start, and PWM_Register.

What's inside

  • Functions set overview
  • PWM overview
  • API specification
  • PWM_Init
  • PWM_start
  • PWM_Register
  • Revision history

Specifications

MicrocontrollerST10
Motor Type3-phase electric motor
PWM ModeCenter Aligned Mode
PWM Pin Channel 0P7.0
PWM Pin Channel 1P7.1
PWM Pin Channel 2P7.2
XPWM Pin Channel 0P8.0
XPWM Pin Channel 1P8.1
XPWM Pin Channel 2P8.2

Frequently asked questions

What is the purpose of the PWM_Init function?

It initializes the Pulse Width Modulation (PWM) Module and the XPWM Module, selecting three channels for each module in Center Aligned Mode with default values.

How are the PWM and XPWM modules configured?

They are configured in Center Aligned Mode with default values for semi period and pulse width, and interrupts are enabled from PWM channel 0.

What is the role of the PWM_Register function?

It is used to change the pulse width of the output signals simultaneously at every PWM period.

Download PDF (109 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →