LPC2925 NXP Semiconductors, LPC2925 Datasheet - Page 38

no-image

LPC2925

Manufacturer Part Number
LPC2925
Description
(LPC2921 - LPC2925) ARM9 microcontroller
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LPC2925FBD100
Manufacturer:
TOS
Quantity:
2
Part Number:
LPC2925FBD100,551
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
LPC2921_2923_2925_0
Preliminary data sheet
www.DataSheet4U.com
6.14.5.2 Synchronizing the PWM counters
6.14.5.3 Master and slave mode
6.14.5.4 Pin description
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
LPC2921/2923/2925. PWM 0 can be master over PWM 1; PWM 1 can be master over
PWM 2, etc.
A PWM module can provide synchronization signals to other modules (also called Master
mode). The signal sync_out is a pulse of one clock cycle generated when the internal
PWM counter (re)starts. The signal trans_enable_out is a pulse synchronous to sync_out,
generated if a transfer from system registers to PWM shadow registers occurred when the
PWM counter restarted. A delay may be inserted between the counter start and
generation of trans_enable_out and sync_out.
A PWM module can use input signals trans_enable_in and sync_in to synchronize its
internal PWM counter and the transfer of shadow registers (Slave mode).
Each of the four PWM modules in the MSCSS has the following pins. These are combined
with other functions on the port pins of the LPC2921/2923/2925.
PWM0 to PWM3 pins (n = 0 to 3).
Table 21.
Symbol
PWMn CAP[0]
PWMn CAP[1]
PWMn CAP[2]
PWMn MAT[0]
PWMn MAT[1]
PWMn MAT[2]
PWMn MAT[3]
PWMn MAT[4]
PWMn MAT[5]
PWMn TRAP
Figure 5
PWM pins
for details of the connections of the PWM modules within the MSCSS in the
PCAPn[0]
PCAPn[1]
PCAPn[2]
Pin name
PMATn[0]
PMATn[1]
PMATn[2]
PMATn[3]
PMATn[4]
PMATn[5]
TRAPn
Rev. 00.01 — 24 October 2008
Direction
IN
IN
IN
OUT
OUT
OUT
OUT
OUT
OUT
IN
Section 6.15
Description
PWM n capture input 0
PWM n capture input 1
PWM n capture input 2
PWM n match output 0
PWM n match output 1
PWM n match output 2
PWM n match output 3
PWM n match output 4
PWM n match output 5
PWM n trap input (on the LPC2921/2923/2925
n = 2, 3)
ARM9 microcontroller with CAN and LIN
LPC2921/2923/2925
for information on generation of
Table 21
© NXP B.V. 2008. All rights reserved.
shows the
38 of 81

Related parts for LPC2925