English
Language : 

M16C65 Datasheet, PDF (403/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
19. Three-Phase Motor Control Timer Function
19.2.1 Timer B2 Register (TB2)
Timer B2 Register
(b15)
(b8)
Symbol
b7
b0 b7
b0
TB2
Address
0335h to 0334h
After Reset
Undefined
Function
Setting Range
RW
If setting value is n,
counter frequency is n + 1
fj
0000h to FFFFh
RW
Timers A1, A2, and A4 start every time an underflow occurs.
fj : Count source frequency
Read and write in 16-bit units.
Carrier wave cycle is determined by this counter. Timer B underflow is a one-shot trigger of timers A1,
A2, and A4.
In three-phase mode 1, the reload timing of the TB2 register can be selected by the PWCON bit in the
TB2SC register.
19.2.2 Timer Ai, Ai-1 Register (TAi, TAi1) (i = 1, 2, 4)
Timer Ai, Ai-1 Register (i = 1, 2, 4)
(b15)
b7
(b8)
b0 b7
b0
Symbol
Address
TA1, TA2, TA4
0329h to 0328h, 032Bh to 032Ah, 032Fh to 032Eh
TA11, TA21, TA41 0303h to 0302h, 0305h to 0304h, 0307h to 0306h
After Reset
Undefined
Undefined
Function
Setting Range
RW
If the setting value is n, the timer stops when the nth count
source is counted after a start trigger is generated. Output
signals of each phase change when timers A1, A2, and A4
0000h to FFFFh
WO
stop.
Write to this register in 16-bit units. Use the MOV instruction to set registers TAi and TAi1. If the TAi or
TAi1 register is set to 0000h, no counters start and no timer Ai interrupt is generated.
The TAi or TAi1 register is used to determine waveforms of U-, V-, and W-phases. It is triggered by
timer B underflow, and operates in one-shot timer mode.
Registers TA1, TA2, and TA4 are used in sawtooth wave modulation mode and three-phase mode 0 of
triangular wave modulation mode.
Registers TA1, TA2, TA4, TA11, TA21, and TA41 are used in three-phase mode 1 of triangular wave
modulation mode.
When the INV15 bit in the INVC1 register is set to 0 (dead time enabled), some high- and low-side turn-
on signals, whose output level changes from inactive to active, switch the output level when the dead
time timer stops.
In three-phase mode 1, the value of the TAi1 register is first counted. Then the values of registers TAi
and TAi1 are counted alternately.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 368 of 791