Intel® PXA255 Processor Developer’s Manual
4-39
System Integration Unit
4.5.1.1
Interdependencies
The PWM unit is clocked off the 3.6864 MHz oscillator output.
Each Pulse Width Modulator Unit (PWM
n)
is controlled by three registers:
•
Pulse Width Control Register (PWM_CTRL)
•
Duty Cycle Control Register (PWM_DUTY)
•
Period Control Register (PWM_PERVAL
)
By setting the values in these registers the PWM
n
unit produces a pulse width modulated output
signal. The registers contain the values for PWM
n
’s counters and PWM
n
power management
mode.
Each register contains one or more fields which determine an attribute of the PWM_OUTn
waveform. PWM_CTRLn[PRESCALE] specifies the divisor for the PWM module clock. Note
that the actual PWM module clock divisor used is 1 greater than the value programmed into
PWM_CTRLn[PRESCALE]. This divided PWM module clock drives a 10 bit up-counter. This up-
counter feeds 2 separate comparators. The first comparator contains the value of
PWM_DUTYn[DCYCLE]. When the values match, the PWM_OUT signal is set high. The other
Figure 4-3. PWM
n
Block Diagram
Value of
PWM_DUTY
n
[DCYCLE]
Comparator
10-bit up counter
Comparator
Value of
PWM_PERVAL
n
[PV]
Value of
PWM_CTRL
n
[PRESCALE]
6-bit down counter
Clock Gate
PSCLK_PWM
n
PWM_OUT
n
RESET
SET
FLIP-FLOP
3.6864 MHz
Bus
Interfac
Control Block
Summary of Contents for PXA255
Page 1: ...Intel PXA255 Processor Developer s Manual January 2004 Order Number 278693 002 ...
Page 24: ...xxiv Intel PXA255 Processor Developer s Manual Contents ...
Page 30: ...1 6 Intel PXA255 Processor Developer s Manual Introduction ...
Page 310: ...7 46 Intel PXA255 Processor Developer s Manual LCD Controller ...
Page 330: ...8 20 Intel PXA255 Processor Developer s Manual Synchronous Serial Port Controller ...
Page 358: ...9 28 Intel PXA255 Processor Developer s Manual I2 C Bus Interface Unit ...
Page 488: ...13 36 Intel PXA255 Processor Developer s Manual AC 97 Controller Unit ...
Page 572: ...16 30 Intel PXA255 Processor Developer s Manual Network SSP Serial Port ...
Page 599: ...Intel PXA255 Processor Developer s Manual 17 27 Hardware UART ...
Page 600: ......