ST10R167
X - PWM MODULE
The pulse width modulation module can generate
up to four PWM output signals using edge-aligned
or centre-aligned PWM. In addition, the PWM
module can generate PWM burst signals and sin-
gle shot outputs. Table 8 shows the PWM fre-
quencies for different resolutions. The level of the
output signals is selectable and the PWM module
can generate interrupt requests.
Table 8 : PWM unit frequencies and resolution at 25MHz clock
Mode 0
Resoluti on
8-bit
10-bit
12-bit
14-bit
16-bit
CPU Clock/1
CPU Clock/64
40ns
2.56ns
97.66KHz
1.526KHz
24.41KHz
381.5Hz
6.104KHz
95.37Hz
1.526KHz
23.84Hz
0.381KHz
5.96Hz
Mode 1
CPU Clock/1
CPU Clock/64
Resoluti on
40ns
2.56ns
8-bit
48.82KHz
762.9Hz
10-bit
12.20KHz
190.7 Hz
12-bit
3.05KHz
47.68Hz
14-bit
762.9Hz
11.92Hz
16-bit
190.7Hz
2.98Hz
Figure 7 : Block diagram of PWM module
PPx Period Register *
Comparator
Match
Clock 1
Clock 2
Input
Control
Run
* User read-& writeable
PTx
*
16-Bit Up/Down Counter
Up/Down/
Clear Control
Comparator
Shadow Register
Match
Output Control
Write Control
POUTx
Enable
PWx Pulse Width Register*
21/63