MB90480/485 Series
5. 8/16-bit PPG
The 8/16-bit PPG is an 8-bit reload timer module that produces a PPG output using a pulse from the timer
operation. Hardware resources include 6 × 8-bit down counters, 12 × 8-bit reload timers, 3 × 16-bit control
registers, 6× externalpulseoutputpins, and6× interruptoutputs. NotethatMB90480/485serieshassixchannels
for 8-bit PPG use, which can also be combined as PPG0 + PPG1, PPG2 + PPG3, and PPG4 + PPG5 to operate
as a three-channel 16-bit PPG. The following is a summary of functions.
• 8-bit PPG output 6-channel independent mode : Provides PPG output operation on six independent channels.
• 16-bit PPG output operation mode : Provides 16-bit PPG output on three channels. The six original channels
are used in combination as PPG0 + PPG1, PPG2 + PPG3, and PPG4 + PPG5.
• 8 + 8-bit PPG output operation mode : Output from PPG0 (PPG2/PPG4) is used as clock input to PPG1 (PPG3/
PPG5) to provide to 8-bit PPG output at any desired period length.
• PPG output operation : Produces pulse waves at any desired period and duty ratio. The PPG module can also
be used with external circuits as a D/A converter.
(1) Register List
PPGC0/PPGC2/PPGC4 (PPG0/PPG2/PPG4 operation mode control register)
7
6
5
4
3
2
1
0
00003AH
00003CH
00003EH
Reserved
PEN0
⎯
PE00
PIE0
PUF0
⎯
⎯
R/W
0
⎯
X
R/W
0
R/W
0
R/W
0
⎯
X
⎯
X
⎯
1
Read/write
Initial value
PPGC1/PPGC3/PPGC5 (PPG1/PPG3/PPG5 operation mode control register)
15
14
13
12
11
10
9
8
00003BH
00003DH
00003FH
Reserved
PEN1
⎯
PE10
PIE1
PUF1
MD1
MD0
R/W
0
⎯
X
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
⎯
1
Read/write
Initial value
PPG01/PPG23/PPG45 (PPG0 to PPG5 output control register)
7
6
5
4
3
2
1
0
000040H
000042H
000044H
Reserved Reserved
PCM2 PCM1 PCM0
PCS2
PCS1
PCS0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Read/write
Initial value
PPLL0 to PPLL5 (Reload register L)
00002EH
7
6
5
4
3
2
1
0
000030H
000032H
000034H
000036H
000038H
D07
D06
D05
D04
D03
D02
D01
D00
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
Read/write
Initial value
PPLH0 to PPLH5 (Reload register H)
00002FH
15
14
13
12
11
10
9
8
000031H
000033H
000035H
000037H
000039H
D15
D14
D13
D12
D11
D10
D09
D08
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
R/W
X
Read/write
Initial value
43