![](http://datasheet.mmic.net.cn/30000/M30622F8PGP_datasheet_2359050/M30622F8PGP_134.png)
Three-phase Motor Control Timer Functions
134
Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Under
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Symbol
Address
After reset
TA1
038916-038816
Indeterminate
TA2
038B16-038A16
Indeterminate
TA4
038F16-038E16
Indeterminate
TA11
034316-034216
Indeterminate
TA21
034516-034416
Indeterminate
TA41
034716-034616
Indeterminate
b7
b0
b7
b0
(b15)
(b8)
RW
Assuming the set value = n, upon a start trigger the timer
starts counting the count source and stops after counting
it n times. The positive and negative phases change at
the same time timer A, A2 or A4 stops.
Function
Setting range
Timer Ai, Ai-1 register (i=1, 2, 4) (Note 1, Note 2, Note 3, Note 4, Note 5, Note 6)
Note 1: The register must be accessed in 16 bit units.
Note 2: When the timer Ai register is set to “000016”, the counter does not operate and a timer Ai interrupt does
not occur.
Note 3: Use MOV instruction to write to these registers.
Note 4: If the INV15 bit is “0” (dead time timer enable), the positive or negative phase whichever is going from an
inactive to an active level changes at the same time the dead time timer stops.
Note 5: If the INV11 bit is “0” (three-phase mode 0), the TAi register value is transferred to the reload register by
a timer Ai (i = 1, 2 or 4) start trigger.
If the INV11 bit is “1” (three-phase mode 1), the TAi1 register value is transferred to the reload register
by a timer Ai start trigger first and then the TAi register value is transferred to the reload register by the
next timer Ai start trigger. Thereafter, the TAi1 register and TAi register values are transferred to the
reload register alternately.
Note 6: Do not write to these registers synchronously with a timer B2 underflow.
Note 7: Write to the TAi1 register as follows:
(1) Write a value to the TAi1 register.
(2) Wait for one cycle of timer Ai count source.
(3) Write the same value to the TAi1 register again.
WO
000016 to FFFF16
PWCOM
Symbol
Address
After reset
TB2SC
039E16
XXXXXX002
Timer B2 reload timing
switching bit
0 : Timer B2 underflow
1 : Timer A output at odd-numbered
occurrences
Timer B2 special mode register
Bit name
Function
Bit symbol
b7
b6
b5
b4
b3
b2
b1
b0
Nothing is assigned.
When write, set to “0”. When read, its content is “0”.
IVPCR1
Three phase output port
NMI control bit 1
0 : Three-phase output forcible cutoff
by NMI input (high impedance)
disabled
1 : Three-phase output forcible cutoff
by NMI input (high impedance)
enabled
(Note 3)
Note 1: Write to this register after setting the PRC1 bit of PRCR register to “1” (write enable).
Note 2: If the INV11 bit is “0” (three-phase mode 0) or the INV06 bit is “1” (triangular wave modulation mode), set
this bit to “0” (timer B2 underflow).
Note 3: Related pins are U(P80), U(P81), V(P72), V(P73), W(P74) and W(P75). If a low-level signal is applied to
the NMI pin when the IVPCR1 bit = 1, the target pins go to a high-impedance state regardless of which
functions of those pins are being used. After forced interrupt (cutoff), input “H” to the NMI pin and set
IVPCR1 bit to “0”: this forced cutoff will be reset.
RW
(b7-b2)
(Note 2)
Figure 1.16.5. ICTB2 Register, TA1, TA2, TA4, TA11, TA21 and TA41 Registers, and TB2SC Registers
Timer B2 interrupt occurrences frequency set counter
Symbol
Address
After reset
ICTB2
034D16
Indeterminate
Function
Setting range
b3
b0
If the INV01 bit is “0” (ICTB2 counter counted every
time timer B2 underflows), assuming the set value
= n, a timer B2 interrupt is generated at every n’th
occurrence of a timer B2 underflow.
If the INV01 bit is “1” (ICTB2 counter count timing
selected by the INV00 bit), assuming the set value
= n, a timer B2 interrupt is generated at every n’th
occurrence of a timer B2 underflow that meets the
condition selected by the INV00 bit.
1 to 15
Note : Use MOV instruction to write to this register.
If the INV01 bit = “1”, make sure the TB2S bit also = “0” (timer B2 count stopped) when writing to this register.
If the INV01 bit = “0”, although this register can be written even when the TB2S bit = “1” (timer B2 count start),
do not write synchronously with a timer B2 underflow.
RW
WO
(Note)
Nothing is assigned. When write, set to “0”. When read, its content is
indeterminate.