Chapter 39 programmable pulse generator, Overview, Features – FUJITSU MB91460 SERIES FR60 User Manual
Page 811

795
Chapter 39 Programmable Pulse Generator
1.Overview
Chapter 39 Programmable Pulse Generator
1. Overview
Programmable Pulse Generators (PPGs) are used to gain one-shot (rectangular wave) output or pulse width
modulation (PWM) output. With their software-programmable cycle and duty capability, the PPGs comfortably
fit into broad applications.
2. Features
• Output waveforms: The PPGs can generate the following six kinds of waveforms:
• One-shot waveform (Rectangular wave)
• Clamped output
Normal polarity: “L” Clamped output
Inverted polarity: “H” Clamped output
• Quantity: 4 groups (Output: 16 channels PPG0 - PPG15)
• Count clock: Choose from four choices.
1, 1/4, 1/16, 1/64 of the peripheral clock (CLKP)
• Period: Setting range = Duty value ~ 65535 (specified with a 16-bit register)
Period = Count clock (PCSR register value + 1)
(Example) Count clock = 32MHz(31.25ns), PCSR value = 63999
Period = 31.25ns (63999+1) = 2ms
• Duty: Setting range = 0 ~ Period value (specified with a 16-bit register)
Duty = Count clock (PDUT register value + 1)
Down counter
Buffer
Duty value
Latch
Count clock
Reload
Borrow
Invert
Match
Output
value
Pin
Period value
L H L L H
H L H
H L
L H L L H
H L H
H L
• PWM waveform
Normal polarity:
Inverted polarity:
L
H L
H L H
L
H L
H L H
Normal polarity:
Inverted polarity: