Pwmn Block Diagram - Intel PXA255 Developer's Manual

Intel computer hardware user manual
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

Figure 4-3. PWMn Block Diagram
Bus
Interfac
4.5.1.1
Interdependencies
The PWM unit is clocked off the 3.6864 MHz oscillator output.
Each Pulse Width Modulator Unit (PWMn) 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 PWMn unit produces a pulse width modulated output
signal. The registers contain the values for PWMn's counters and PWMn 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
Intel® PXA255 Processor Developer's Manual
3.6864 MHz
6-bit down counter
Clock Gate
Value of
PWM_CTRLn[PRESCALE]
Value of
PWM_PERVALn[PV]
Comparator
10-bit up counter
PSCLK_PWMn
Comparator
Value of
PWM_DUTYn[DCYCLE]
System Integration Unit
Control Block
RESET
PWM_OUTn
FLIP-FLOP
SET
4-39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents