M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 116

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timers’ functions for three-phase motor control
Timers’ functions for three-phase motor control
Figure 1.18.1. Registers related to timers for three-phase motor control
Use of more than one built-in timer A and timer B provides the means of outputting three-phase motor
driving waveforms.
Figures 1.18.1 to 1.18.3 show registers related to timers for three-phase motor control.
Note 1:
Note 2:
Note 3:
Note 4:
T
Three-phase PWM control register 0
b7 b6 b5 b4 b3 b2 b1 b0
b7 b6 b5 b4 b3 b2 b1 b0
hree-phase PWM control register 1
No value other than “0” can be written.
Selecting three-phase PWM output mode causes P8
timer for setting short circuit prevention time, the U, V, W phase output control circuits, and the circuit for setting timer B2 interrupt
frequency.
In triangular wave modulation mode:
The short circuit prevention timer starts in synchronization with the falling edge of timer Ai output.
The data transfer from the three-phase buffer register to the three-phase output shift register is made only once in synchronization
with the transfer trigger signal after writing to the three-phase output buffer register.
In sawtooth wave modulation mode:
The short circuit prevention timer starts in synchronization with the falling edge of timer A output and with the transfer trigger signal.
The data transfer from the three-phase output buffer register to the three-phase output shift register is made with respect to every
transfer trigger.
To write “1” both to bit 0 (INV00) and bit 1 (INV01) of the three-phase PWM control register, set in advance the content of the timer
B2 interrupt occurrences frequency set counter.
0
Note : To use three-phase PWM output mode, write “1” to INV12.
Noting is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.
Noting is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be “0”.
Bit symbol
Bit symbol
Reserved bit
INV00
INV01
INV02
INV03
INV04
INV05
INV06
INV07
INV10
INV11
INV12
Symbol
Symbol
INVC1
INVC0
Positive and negative
phases concurrent L
output disable function
enable bit
Effective interrupt output
polarity select bit
(Note4)
Effective interrupt output
specification bit
(Note4)
Mode select bit
(Note 2)
Positive and negative
phases concurrent L
output detect flag
Modulation mode select
bit (Note 3)
Software trigger bit
Timer Ai start trigger
signal select bit
Short circuit timer count
source select bit
Output control
bit
Timer A1-1, A2-1, A4-1
control bit
Bit name
Bit name
Address
Address
0349
0348
0
, P8
16
16
1
, and P7
0: A timer B2 interrupt occurs when the timer
1: A timer B2 interrupt occurs when the timer
0: Not specified.
1: Selected by the effective interrupt output
0: Normal mode
1: Three-phase PWM output mode
0: Output disabled
1: Output enabled
0: Feature disabled
1: Feature enabled
0: Not detected yet
1: Already detected
0: Triangular wave modulation mode
1: Sawtooth wave modulation mode
1: Trigger generated
When reset
When reset
0: Timer B2 overflow signal
1: Timer B2 overflow signal,
0: Three-phase mode 0
1: Three-phase mode 1
Always set to “0”
0 : Not to be used
1 : f
A1 reload control signal is “1”.
A1 reload control signal is “0”.
The value, when read, is “0”.
polarity selection bit.
signal for writing to timer B2
2
00
00
1
Effective only in three-phase mode 1
/2 (Note)
Effective only in three-phase mode 1
through P7
16
16
Description
Description
5
to output U, U, V, V, W, and W, and works the
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
R
R
(Note 1)
W
W
Mitsubishi microcomputers
M16C / 62 Group
101

Related parts for M30622MA-XXXFP