OM11027 NXP Semiconductors, OM11027 Datasheet - Page 47

BOARD EVAL LPC2939

OM11027

Manufacturer Part Number
OM11027
Description
BOARD EVAL LPC2939
Manufacturer
NXP Semiconductors
Type
MCUr
Datasheet

Specifications of OM11027

Contents
Board
For Use With/related Products
LPC2939
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-4787
NXP Semiconductors
LPC2939_3
Product data sheet
Fig 10. PWM block diagram
APB system bus
IRQ capt_match
6.15.5.2 Synchronizing the PWM counters
IRQ pwm
The PWM block diagram in
functionality is split into two major parts, a APB domain and a PWM domain, both of which
run on clocks derived from the BASE_MSCSS_CLK. This split into two domains affects
behavior from a system-level perspective. The actual PWM and prescale counters are
located in the PWM domain but system control takes place in the APB domain.
The actual PWM consists of two counters; a 16-bit prescale counter and a 16-bit PWM
counter. The position of the rising and falling edges of the PWM outputs can be
programmed individually. The prescale counter allows high system bus frequencies to be
scaled down to lower PWM periods. Registers are available to capture the PWM counter
values on external events.
Note that in the Modulation and Sampling SubSystem, each PWM has its individual clock
source CLK_MSCSS_PWMx (x runs from 0 to 3). Both the prescale and the timer
counters within each PWM run on this clock CLK_MSCSS_PWMx, and all time references
are related to the period of this clock. See
these clocks.
A mechanism is included to synchronize the PWM period to other PWMs by providing a
sync input and a sync output with programmable delay. Several PWMs can be
synchronized using the trans_enable_in/trans_enable_out and sync_in/sync_out ports.
See
LPC2939. PWM 0 can be master over PWM 1; PWM 1 can be master over PWM 2, etc.
Figure 8
REGISTERS
CONTROL
PWM
&
for details of the connections of the PWM modules within the MSCSS in the
All information provided in this document is subject to legal disclaimers.
PWM counter value
Rev. 03 — 7 April 2010
capture data
config data
APB DOMAIN
update
Figure 10
IRQs
shows the basic architecture of each PWM. PWM
ARM9 microcontroller with CAN, LIN, and USB
PWM DOMAIN
Section 6.16
sync_in
sync_out
REGISTERS
PRESCALE
COUNTER,
COUNTER
SHADOW
PWM,
transfer_enable_in
for information on generation of
transfer_enable_out
&
LPC2939
© NXP B.V. 2010. All rights reserved.
match outputs
capture inputs
trap input
carrier inputs
002aad837
47 of 99

Related parts for OM11027