Fujitsu FR81S User Manual
CHAPTER 17: PPG
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: PPG
FUJITSU SEMICONDUCTOR CONFIDENTIAL
56
5.11. PPG Communication Operation
The PPG communication operation is explained.
After it is initialized, the waveform according to the PPG communication data bit length (PCMDWD)
setting is output. The PPG communication is ended if there is not rewriting the PPG communication data
setting (PCMDDT) before completing the waveform output (Figure 5-12). If the PPG communication data
setting (PCMDDT) is rewritten, the waveform output according to the bit length setting is completed. Then,
the PPG communication by rewritten the data setting (PCMDDT) is started again (Figure 5-13).
PPG Single-shot Communication Operation
Figure 5-12 Example of PPG Communication Mode Operation (Single-shot Communication)
Activation trigger
PHCSR
A
PLCSR
B
Down count value
(PTMR)
(PTMR)
A
D
C
PPG pin output
Normal polarity
Inverted polarity
※1
High format cycle
CMD
(1) cycle setting
(5) PPG communication mode enable
(7) Activation trigger
(8) Load
PHDUT
C
PLDUT
D
PCMDDT
B
※2
Low format cycle
(9) down count
(10) match
(11) inversion
(12) down count
(13) borrow
(14) clear
(15) Load
(16)
(18)
PCMDWD
4h (0100)
PPG output counter
4
3
2
1
0
1F
1F
Shift register
(PCMDDT)
(PCMDDT)
Register Empty flag
(REMP)
(REMP)
Shift register Empty flag
(SREMP)
(SREMP)
(2) duty setting
(3) PPG communication mode data width
(4) PPG communication mode data
(6) transmit for shift register
14h (0001_0100)
14h (0001_0100)
※1 : High format duty
※2 : Low format duty
※2 : Low format duty
MB91520 Series
MN705-00010-1v0-E
597