upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 458

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Chapter 13
458
Note
(3)
PWM output (free run)
Basic settings (m = 1 to 4):
The PWM mode is activated by setting the SWFGnm and the CCSGnm bit to
"1".
PWM setting method:
(1)
(2)
(3)
(4)
(5)
(6)
PWM operation:
(1)
(2)
(3)
(4)
(5)
Preliminary User’s Manual U17566EE1V2UM00
An usable compare register is one of GCCn1 to GCCn4, and the
corresponding counter must be selected with the TBGnm bit.
Select a count clock cycle with the CSE12 to CSE10 bits (TMGn1
register) or CSE02 to CSE00 bits (TMGn0 register).
Specify the active level of a timer output (TOGnm pin) with the ALVGnm
bit.
When using multiple timer outputs, the user can prevent TOGnm from
becoming active simultaneously by setting the OLDEn bit of TMGMHn
register to provide step-by-step delays for TOGnm. (This capability is
useful for reducing noise and current.)
Write data to GCCnm.
Start timer operation by setting POWERn bit and TMGn0E bit (or
TMGn1E bit).
When the value of the counter matches the value of GCCnm, a match
interrupt (INTCCGnm) is output.
When the counter overflows, an overflow interrupt (INTTMGn0 or
INTTMGn1) is generated.
TOGnm does not make a transition until the first overflow occurs. (Even if
the counter is cleared by software, TOGnm does not make a transition
until the next overflow occurs. After the first overflow occurs, TOGnm is
activated.
When the value of the counter matches the value of GCCnm, TOGnm is
deactivated, and a match interrupt (INTCCGnm) is output. The counter is
not cleared, but continues count-up operation.
The counter overflows, and INTTMGn0 or INTTMGn1 is output to activate
TOGnm. The counter resumes count-up operation starting with 0000H.
SWFGnm
CCSGnm
CCSGn0
CCSGn5
TBGnm
Bit
Value
1
1
Note
Note
X
0
0
16-bit Multi-Purpose Timer G (TMG)
Remark
free run mode
enable TOGnm
Compare mode for
GCCnm
assign counter
for GCCnm
0: TMGn0
1: TMGn1

Related parts for upd70f3422gj-gae-qs-ax