NXP Semiconductors LPC2919 Synchronization and trigger features of the MSCSS, DLPC2917/19

Models: LPC2917 LPC2919

1 68
Download 68 pages 2.51 Kb
Page 32
Image 32
8.7.2.1Synchronization and trigger features of the MSCSS

NXP Semiconductors

DRAFT

D

D

 

AFT

RAFT

RAFT AFT

 

 

 

DR

DR

DLPC2917/19

ARM9 microcontrollerRAFT withDRAFTCANDRAFTand LINDRAFT

T

DRAFT

 

 

T

 

DRA

 

DRA

 

DR

F

 

 

 

F

 

or following a PWM). The capture inputs of both timers can also be used toDRAFTcaptureDRAFTthe

DRAF

control. Several other trigger possibilities are provided for the ADCs (external, cascaded

 

 

 

start pulse of the ADCs.

DRAFT DRAFT

 

 

 

 

 

 

The PWMs can be used to generate waveforms in which the frequency, duty cycle and

 

 

D

 

 

 

DRAFT

 

rising and falling edges can be controlled very precisely. Capture inputs are provided to

 

 

 

measure event phases compared to the main counter. Depending on the applications,

 

 

DRA

these inputs can be connected to digital sensor motor outputs or digital external signals.

 

 

 

 

Interrupt signals are generated on several events to closely interact with the CPU.

The ADCs can be used for any application needing accurate digitized data from analog sources. To support applications like motor control, a mechanism to synchronize several PWMs and ADCs is available (sync_in and sync_out).

Note that the PWMs run on the PWM clock and the ADCs on the ADC clock, see

Section 8.8.4.

ADC2 IN[7:0]

 

 

 

 

ADC2_EXT_START

 

 

 

 

ADC1 IN[7:0]

 

 

 

 

ADC1_EXT_START

 

 

 

 

ADC clock

 

 

 

 

 

 

MSCSS

 

 

 

 

TIMER 0

 

 

 

 

ADC

ADC

 

 

 

CONTROL

1

 

 

 

 

 

ADC

AHB

VPB sub system bus

SYNCS

3.3 V

2

 

 

system bus

(to all sub blocks)

 

 

3.3 V

AHB2VPB

 

 

 

 

 

 

 

BRIDGE

 

 

 

PWM0 MAT[5:0]

 

 

MSCSS

PWM

 

 

 

 

 

TIMER 1

0

PWM1 MAT[5:0]

 

 

 

PWM

 

 

 

PWM

1

PWM2 MAT[5:0]

 

 

CONTROL

PWM

 

 

 

 

2

PWM3 MAT[5:0]

 

 

CARRIERS

 

PWM

 

 

 

3

 

 

 

 

PWM0 TRAP

 

 

 

 

PWM0 CAP[2:0]

 

 

 

 

PWM1 TRAP

 

 

 

 

PWM1 CAP[2:0]

 

 

 

 

PWM2 TRAP

 

 

 

 

PWM2 CAP[2:0]

 

 

 

 

PWM3 TRAP

 

 

 

 

PWM3 CAP[2:0]

 

 

 

002aad348

Fig 7. Modulation and sampling control subsystem block diagram

 

8.7.2.1Synchronization and trigger features of the MSCSS

The MSCSS contains two internal timers to generate synchronization and carrier pulses for the ADCs and PWMs. Figure 8 shows how the timers are connected to the ADC and PWM modules.

LPC2917_19_1

© NXP B.V. 2007. All rights reserved.

Preliminary data sheet

Rev. 1.01 — 15 November 2007

32 of 68

Page 32
Image 32
NXP Semiconductors LPC2919 user manual Synchronization and trigger features of the MSCSS, DLPC2917/19