
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
494 of 808
1.
Introduction
The Motor Control PWM (MCPWM) is optimized for three-phase AC and DC motor control
applications, but can be used in many other applications that need timing, counting,
capture, and comparison.
2.
Description
The MCPWM contains three independent channels, each including:
•
a 32-bit Timer/Counter (TC)
•
a 32-bit Limit register (LIM)
•
a 32-bit Match register (MAT)
•
a 10-bit dead-time register (DT) and an associated 10-bit dead-time counter
•
a 32-bit capture register (CAP)
•
two modulated outputs (MCOA and MCOB) with opposite polarities
•
a period interrupt, a pulse-width interrupt, and a capture interrupt
Input pins MCI0-2 can trigger TC capture or increment a channel’s TC. A global Abort
input can force all of the channels into “A passive” state and cause an interrupt.
3.
Pin description
lists the MCPWM pins.
UM10360
Chapter 25: LPC17xx Motor Control PWM
Rev. 00.06 — 5 June 2009
User manual
Table 435. Pin summary
Pin
Type
Description
MCOA0-2
O
Channel 0-2 output A
MCOB0-2
O
Channel 0-2 output B
MCABORT
I
Low-active Fast Abort
MCI0-2
I
Inputs 0-2