Fujitsu FR81S User Manual

Page of 2342
CHAPTER 17: PPG 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER
 : PPG 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
63 
Setting and operation procedure: 
(1)  Writing of PHCSR/PLCSR (High/Low format cycle values) 
(2)  Writing of PHDUT/PLDUT (High/Low format duty value) 
(3)  Writing of HFPR/LFPR (High/Low format pulse polarity selection) 
(4)  Writing of PCMDWD (PPG communication mode data width) 
(5)  Writing of PCMDDT (PPG communication mode data) 
(6)  Enabling of PPG communication mode 
(7)  Transmitting PCMDDT (PPG communication mode data) to the shifter 
(8)  Activation trigger generation 
(9)  Loading of the cycle value to the down count value (PTMR) and the duty value (Which the cycle and 
duty of the High or Low format is loaded by PCMDDT, PCMDWD, and CMDSEL is decided) 
(10)  Counter decrement 
(11)  The down counter matches the duty value 
(12)  Output level inversion at the PPG pin 
(13)  Counter decrement 
(14)  Counter borrow occurrence 
(15)  Clearing of PPG pin output level (restoration to normal state) 
(16)  Reloading of the cycle value to the down count value (PTMR) and the duty value 
(17)  Repetition of steps (10) to (16) according to the setting of PCMDDT and PCMDWD 
(18)  Operation sequence completion 
*: There is no restriction by the order of setting above-mentioned (1) to (6). However, the PPG 
communication operation does not start if the setting is not written all of (1), (2), and (4) to (6). 
*: The PPG communication does not start when the activation trigger is generated without completing the 
setting of above-mentioned (1) to (5). 
Moreover, in this case, it is necessary to set (1) to (5) again to clear the setting once. 
 
MB91520 Series
MN705-00010-1v0-E
604