Operation - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

Chapter 39 Programmable Pulse Generator

5.Operation

5. Operation
The MB91460 series features a maximum of 16 programmable pulse generators (PPGs), which provide
programmable pulse output independently or jointly.
The individual modes of operation are described below.
5.1 PWM Operation
In PWM operation, variable-duty pulses are generated from the PPG pin.
CNTE
Activation trigger
PCSR
PDUT
Buffer
(Cycle value)
Buffer
(Duty value)
Down count
value
(PTMR)
0007
0005
PPG pin output
Normal
polarity
Inverted
polarity
Interrupt
cause
(1) Write a cycle value.
(2) Write a duty value and transfer the cycle value to buffers.
(3) Enable PPG operation.
(4) Generate an activation trigger.
(5) Load the cycle and duty values.
(6) Rewrite the duty value and transfer the cycle value to buffers.
(6) Counter down count
(7)
The down counter equals the duty value.
(8) Inverses the PPG pin output level.
(9) Counter down count
(10) Counter borrow
(11) Clear the PPG pin output level (return to normal).
(12) Reload the cycle value.
(13) Reload the duty value.
(14) Steps from (6) to (13) are iterated.
(See
"8. Caution (Page
808
(3)
Enable count
(4)
(1)
8000
8000
0007
0005
(6) Rewrite
(2) Write
8000
8000
(5)
Load
0007
(5)
Load
(7) Down count
Match
(8)
(9)
Invert
Duty
Cycle
Effective edge
Duty match
No.821)".)
(13)
Load
0005
Reload
(13)
Load
Match
(10)
Down count
Borrow
(11)
Borrow
(12)
Invert
Clear
Clear
Counter borrow
Counter borrow
Duty match
Reload
Match
Invert

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents