M30620FCAFP#D3 Renesas Electronics America, M30620FCAFP#D3 Datasheet - Page 104
![IC M16C MCU FLASH 128K 100LQFP](/photos/28/61/286112/100-bqfp__prqp0100jb-a_sml.jpg)
M30620FCAFP#D3
Manufacturer Part Number
M30620FCAFP#D3
Description
IC M16C MCU FLASH 128K 100LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/60r
Specifications of M30620FCAFP#D3
Core Processor
M16C/60
Core Size
16-Bit
Speed
16MHz
Connectivity
SIO, UART/USART
Peripherals
DMA, PWM, WDT
Number Of I /o
85
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
10K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b, D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
100-LQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Timers’ functions for three-phase motor control
Triangular wave modulation
To generate a PWM waveform of triangular wave modulation, set “0” in the modulation mode select bit
(bit 6 at 0348
of timers A4, A1, and A2 has two timer registers, and alternately reloads the timer register’s content to the
counter every time timer B2 counter’s content becomes 0000
output specification bit (bit 1 at 0348
B2 counter’s value becomes 0000
frequency of interrupt occurrences. The frequency of occurrences is given by (setting; setting
Setting “1” in the effective interrupt output specification bit (bit 1 at 0348
which value of the timer A1 reload control signal to use, “0” or “1”, to cause timer B2’s interrupt request to
occur. To make this selection, use the effective interrupt output polarity selection bit (bit 0 at 0348
An example of U phase waveform is shown in Figure 1.15.6, and the description of waveform output
workings is given below. Set “1” in DU0 (bit 0 at 034A
addition, set “0” in DU1 (bit 0 at 034B
interrupt output specification bit (bit 1 at 0348
frequency set counter. By this setting, a timer B2 interrupt occurs when the timer B2 counter’s content
becomes 0000
cation bit (bit 1 at 0348
"1" in the interrupt occurrence frequency set counter (034D
to occur every other interval when the U phase output goes to “H”.
When the timer B2 counter’s content becomes 0000
instance, the content of DU1 (bit 0 at 034B
output shift register (U phase), the content of DUB1 (bit 1 at 034B
are set in the three-phase output shift register (U phase). After triangular wave modulation mode is se-
lected, however, no setting is made in the shift register even though the timer B2 counter’s content
becomes 0000
The value of DU0 and that of DUB0 are output to the U terminal (P8
respectively. When the timer A4 counter counts the value written to timer A4 (038F
timer A4 finishes outputting one-shot pulses, the three-phase shift register’s content is shifted one posi-
tion, and the value of DU1 and that of DUB1 are output to the U phase output signal and to U phase output
signal respectively. At this time, one-shot pulses are output from the timer for setting dead time used for
setting the time over which the “L” level of the U phase waveform does not lap over the “L” level of the U
phase waveform, which has the opposite phase of the former. The U phase waveform output that started
from the “H” level keeps its level until the timer for setting dead time finishes outputting one-shot pulses
even though the three-phase output shift register’s content changes from “1” to “0” by the effect of the
one-shot pulses. When the timer for setting dead time finishes outputting one-shot pulses, "0" already
shifted in the three-phase shift register goes effective, and the U phase waveform changes to the "L"
level. When the timer B2 counter’s content becomes 0000
value written to timer A4-1 (0347
ishes outputting one-shot pulses, the three-phase shift register’s content is shifted one position, but if the
three-phase output shift register’s content changes from “0” to “1” as a result of the shift, the output level
changes from “L” to “H” without waiting for the timer for setting dead time to finish outputting one-shot
pulses. A U phase waveform is generated by these workings repeatedly. With the exception that the
three-phase output shift register on the U phase side is used, the workings in generating a U phase
waveform, which has the opposite phase of the U phase waveform, are the same as in generating a U
16
). Also, set “1” in the timers A4-1, A1-1, A2-1 control bit (bit 1 at 0349
16
16
.
as many as (setting) times. Furthermore, set “1” in the effective interrupt output specifi-
16
), set “0” in the effective interrupt output polarity select bit (bit 0 at 0348
16
16
, 0346
16
16
can be set by use of the timer B2 counter (034D
), the frequency of interrupt requests that occur every time the timer
) and set “1” in DUB1 (bit 1 at 034B
__
16
16
), and starts outputting one-shot pulses. When timer A4 fin-
) and that of DU0 (bit 0 at 034A
___
16
) to set a value in the timer B2 interrupt occurrence
16
, timer A4 starts outputting one-shot pulses. In this
16
16
). And set “0” in DUB0 (bit 1 at 034A
16
). These settings cause a timer B2 interrupt
, the timer A4 counter starts counting the
16
. If “0” is set to the effective interrupt
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
) and that of DUB0 (bit 1 at 034A
16
0
) provides the means to choose
16
) and to the U terminal (P8
16
). Also, set “0” in the effective
) are set in the three-phase
16
16
). In this mode, each
, 038E
M16C / 62A Group
Mitsubishi microcomputers
16
___
) for setting the
___
16
) and when
16
) and set
__
0).
16
16
). In
).
16
1
___
101
)
)