Intel® PXA255 Processor Developer’s Manual
4-43
System Integration Unit
4.5.3
Pulse Width Modulator Output Wave Example
Figure 4-4
is an example of the output of a Pulse Width Modulator for reference.
PWM_PERVAL[PV] = 0xA
PWM_DUTY[FDCYCLE] = 0x0
PWM_DUTY[DCYCLE] = 0x6
PWM_CTRL[PRESCALE] = 0x0
The output waveform in
Figure 4-4
is created by writing PWM_PERVAL
n
[PV] with a decimal
value of 10 (11 clocks) and PWM_DUTY
n
[DCYCLE] with 6.
Figure 4-4
also shows that
PWM_CTRL
n
[PRESCALE] is configured with a value of 0x0 loaded, which results in the
PSCLK_PWM
n
having the same frequency as the 3.6864 MHz input clock.
Table 4-48. PWM_PERVALn Bit Definitions
Physical Address
0x40B0_0008
0x40C0_0008
PWM Period Control Registers
(PWM_PERVAL0, PWM_PERVAL1)
System Integration Unit
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
reserved
PV
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
Bits
Name
Description
<31:10>
—
reserved
<9:0>
PV
PWMn Period Control:
The number of PSCLK_PWM
n
cycles that comprise one PWM_OUT
n
cycle
NOTE:
If PV = 0x0, the PWMn clock (PWM_OUTn) is set high and does not toggle unless
FDCYCLE=0x0 and DCYCLE=0x0. In this case PWM_OUTn is set low and does
not toggle regardless of the value in PV.
Figure 4-4. Basic Pulse Width Waveform
PWM_OUTn
PSCLK_PWM
n
PWM_DUTY
n
= 6
PWM_PERVAL
n
= 10 (+1)
3.6864 MHz
Содержание PXA255
Страница 1: ...Intel PXA255 Processor Developer s Manual January 2004 Order Number 278693 002 ...
Страница 24: ...xxiv Intel PXA255 Processor Developer s Manual Contents ...
Страница 30: ...1 6 Intel PXA255 Processor Developer s Manual Introduction ...
Страница 310: ...7 46 Intel PXA255 Processor Developer s Manual LCD Controller ...
Страница 330: ...8 20 Intel PXA255 Processor Developer s Manual Synchronous Serial Port Controller ...
Страница 358: ...9 28 Intel PXA255 Processor Developer s Manual I2 C Bus Interface Unit ...
Страница 488: ...13 36 Intel PXA255 Processor Developer s Manual AC 97 Controller Unit ...
Страница 572: ...16 30 Intel PXA255 Processor Developer s Manual Network SSP Serial Port ...
Страница 599: ...Intel PXA255 Processor Developer s Manual 17 27 Hardware UART ...
Страница 600: ......