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
808 of 1269
28.1 How to read this chapter
The SCT is available on all LPC43xx parts.
28.2 Basic configuration
The SCT is configured as follows:
•
See
for clocking and power control.
•
The SCT is reset by the SCT_RST (reset #37).
•
Connect inputs and outputs of the SCT through the GIMA (see
•
The SCT combined interrupt is connected to slot # 10 in the NVIC. SCT outputs 2, 6,
14 are ORed with timer match channels and connected to slots # 13, 14, 16 in the
Event router (see
•
To connect the SCT outputs 0 and 1 to the GPDMA, use the DMAMUX register in the
CREG block (see
).
•
The SCT outputs are ORed with various timer match outputs if bit CTOUTCTRL in
CREG6 is zero (see
; this is the default). Set the CTOUTCTRL bit to one to
use the SCT outputs without interference from the timers.
28.3 Features
•
Two 16-bit counters or one 32-bit counter.
•
Counters clocked by bus clock or selected input.
•
Up counters or up-down counters.
•
State variable allows sequencing across multiple counter cycles.
•
The following conditions define an event: a counter match condition, an input (or
output) condition, a combination of a match and/or and input/output condition in a
specified state.
•
Events control outputs, interrupts, and DMA requests.
•
Selected events can limit, halt, start, or stop a counter.
•
Supports:
–
8 inputs
–
16 outputs
–
16 match/capture registers
–
16 events
UM10503
Chapter 28: LPC43xx State Configurable Timer (SCT)
Rev. 1.3 — 6 July 2012
User manual
Table 644. SCT clocking and power control
Base clock
Branch clock
Operating
frequency
SCT
BASE_M4_CLK
CLK_M4_SCT
up to 204 MHz