UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
866 of 1269
NXP Semiconductors
UM10503
Chapter 30: LPC43xx Motor Control PWM (MOTOCONPWM)
30.7 Register description
“Control” registers and “interrupt” registers have separate read, set, and clear addresses.
Reading such a register’s read address (e.g. MCCON) yields the state of the register bits.
Writing ones to the set address (e.g. MCCON_SET) sets register bit(s), and writing ones
to the clear address (e.g. MCCON_CLR) clears register bit(s).
The Capture registers (MCCAP) are read-only, and the write-only MCCAP_CLR address
can be used to clear one or more of them. All the other MCPWM registers (MCTIM,
MCPER, MCPW, MCDEADTIME, and MCCP) are normal read-write registers.
Table 697. MOTOCON PWM pin description
Pin function
Type
Description
MCOA0/1/2
O
Output A for channels 0, 1, 2
MCOB0/1/2
O
Output B for channels 0, 1, 2
MCABORT
I
Low-active Fast Abort
MCI0/1/2
I
Input for channels 0, 1, 2
Table 698. Register overview: Motor Control Pulse Width Modulator (MCPWM) (base address 0x400A 0000)
Name
Access
Address
offset
Description
Reset value
Reference
CON
RO
0x000
PWM Control read address
0
CON_SET
WO
0x004
PWM Control set address
-
CON_CLR
WO
0x008
PWM Control clear address
-
CAPCON
RO
0x00C
Capture Control read address
0
CAPCON_SET
WO
0x010
Capture Control set address
-
CAPCON_CLR
WO
0x014
Event Control clear address
-
TC0
R/W
0x018
Timer Counter register, channel 0
0
TC1
R/W
0x01C
Timer Counter register, channel 1
0
TC2
R/W
0x020
Timer Counter register, channel 2
0
LIM0
R/W
0x024
Limit register, channel 0
0xFFFF FFFF
LIM1
R/W
0x028
Limit register, channel 1
0xFFFF FFFF
LIM2
R/W
0x02C
Limit register, channel 2
0xFFFF FFFF
MAT0
R/W
0x030
Match register, channel 0
0xFFFF FFFF
MAT1
R/W
0x034
Match register, channel 1
0xFFFF FFFF
MAT2
R/W
0x038
Match register, channel 2
0xFFFF FFFF
DT
R/W
0x03C
Dead time register
0x3FFF FFFF
MCCP
R/W
0x040
Communication Pattern register
0
CAP0
RO
0x044
Capture register, channel 0
0
CAP1
RO
0x048
Capture register, channel 1
0
CAP2
RO
0x04C
Capture register, channel 2
0
INTEN
RO
0x050
Interrupt Enable read address
0
INTEN_SET
WO
0x054
Interrupt Enable set address
-
INTEN_CLR
WO
0x058
Interrupt Enable clear address
-
CNTCON
RO
0x05C
Count Control read address
0