UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 523 of 841
25.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.
25.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.
25.3 Pin description
Table 453 lists the MCPWM pins.
UM10360
Chapter 25: LPC176x/5x Motor control PWM
Rev. 3 — 19 December 2013 User manual
Table 453. Pin summary
Pin Type Description
MCOA0, MCOA1, MCOA2 O Output A for channels 0, 1, 2
MCOB0, MCOB1, MCOB2 O Output B for channels 0, 1, 2
MCABORT
I Low-active Fast Abort
MCI0, MCI1, MCI2 I Input for channels 0, 1, 2