English
Language : 

M16C26 Datasheet, PDF (105/239 Pages) Renesas Technology Corp – 16-BIT CMOS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Udenvdeelropment
Preliminary Specifications Rev. 0.9
Specifications in this manual are tentative
Three-Phase Motor Control Timer Function
and
subject to change.
SINGLE-CHIP 16-BIT
M16C/26 Group
CMOS MICROCOMPUTER
Three-phase motor driving waveform output mode (three-phase PWM output mode)
Setting “1” in the mode select bit (bit 2 at 034816) shown in Figure 1.14.1 - causes three-phase PWM
output mode that uses four timers A1, A2, A4, and B2 to be selected. As shown in Figure 1.14.6, set
timers A1, A2, and A4 in one-shot timer mode, set the trigger in timer B2, and set timer B2 in timer mode
using the respective timer mode registers.
Timer Ai mode register
b7 b6 b5 b4 b3 b2 b1 b0
01 010
Symbol
TA1MR
TA2MR
TA3MR
Address
039716
039816
039A16
Bit symbol
TMOD0
TMOD1
Bit name
Operation mode
select bit
MR0
Pulse output function
select bit
When reset
0016
0016
0016
Function
b1 b0
1 0 : One-shot timer mode
RW
0 (Must always be 0 in three-phase PWM
output mode)
MR1
MR2
MR3
TCK0
TCK1
External trigger select
bit
Trigger select bit
Invalid in three-phase PWM output mode
1 : Selected by event/trigger select
register
0 (Must always be 0 in one-shot timer mode)
Count source select bit
b7 b6
0 0 : f1 or f2
0 1 : f8
1 0 : f32
1 1 : fC32
Timer B2 mode register
b7 b6 b5 b4 b3 b2 b1 b0
0
00
Symbol
TB2MR
Address
039D16
When reset
00XX00002
Bit symbol
TMOD0
TMOD1
MR0
MR1
Bit name
Function
Operation mode select bit b1 b0
0 0 : Timer mode
Invalid in timer mode
Can be 0 or 1
MR2
MR3
TCK0
TCK1
0 (Must always be 0 in timer mode)
Invalid in timer mode.
In an attempt to write to this bit, write "0". When read in timer mode,
its content is indeterminate.
Count source select bit
b7 b6
0 0 : f1 or f2
0 1 : f8
1 0 : f32
1 1 : fC32
RW
Figure 1.14.6. Timer mode registers in three-phase PWM output mode
99
Renesas Technology Corp.