R01UH0092EJ0110 Rev.1.10
Page 338 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19.2.5
Three-Phase Output Buffer Register i (IDBi) (i = 0, 1)
Values of registers IDB0 and IDB1 are transferred to the three-phase output shift registers in response
to a transfer trigger. After the transfer trigger occurs, the IDB0 register value determines each phase
output signal (internal signal) first. Then, the IDB1 register value on the falling edge of timers A1, A2,
and A4 one-shot pulse determines each phase output signal (internal signal).
19.2.6
Use the MOV instruction to set the DTT register.
The DTT register acts as a one-shot timer which delays the timing for a turn-on signal to be switched to
its active level in order to prevent the upper and lower transistors from being turned on simultaneously.
The DTT register is enabled when the INV15 bit in the INVC1 register is set to 0 (dead time enabled).
No dead time can be set when the INV15 bit is set to 1 (dead time disabled).
Select a trigger by the INV16 bit in the INVC1 register, and a count source by the INV12 bit in the
INVC1 register.
Three-Phase Output Buffer Register i (i = 0, 1)
Symbol
IDB0
IDB1
Address
030Ah
030Bh
Bit Symbol
RW
DUi
Reset Value
XX11 1111b
XX11 1111b
DUBi
DVi
DVBi
DWi
RW
RW
RW
RW
DWBi
RW
—
(b7-b6)
—
RW
b7 b6 b5 b4
b1
b2
b3
b0
Bit Name
U-phase output buffer i
V-phase output buffer i
V-phase output buffer i
W-phase output buffer i
Function
Set the output logical value of the three-
phase output shift registers. The set value
is reflected in each turn-on signal as
follows:
0 : Active (on)
1 : Inactive (off)
When read, the values of the three-phase
output shift registers are read.
No register bits. If necessary, set to 0. The read value is undefined.
U-phase output buffer i
W-phase output buffer i
Symbol
DTT
Address
030Ch
Reset Value
Undefined
Function
RW
Dead Time Timer
Setting Range
b7
b0
WO
If a setting value is n, the count source is counted n times
after the start trigger occurs, and then the timer stops.
1 to 255
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...