57
4513/4514 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PRELIMINARY
Notice: This is not a final specification.
change.
Some parametric limits are subject to
LIST OF PRECAUTIONS
Noise and latch-up prevention
Connect a capacitor on the following condition to prevent noise
and latch-up;
connect a bypass capacitor (approx. 0.1
μ
F) between pins V
DD
and V
SS
at the shortest distance,
equalize its wiring in width and length, and
use relatively thick wire.
In the One Time PROM version, CNV
SS
pin is also used as V
PP
pin. Accordingly, when using this pin, connect this pin to V
SS
through a resistor about 5 k
in series at the shortest distance.
Prescaler
Stop the prescaler operation to change its frequency dividing ra-
tio.
Timer count source
Stop timer 1, 2, 3, or 4 counting to change its count source.
Reading the count value
Stop timer 1, 2, 3, or 4 counting and then execute the TAB1,
TAB2, TAB3, or TAB4 instruction to read its data.
Writing to reload registers R1 and R3
When writing data to reload registers R1 or R3 while timer 1 or
timer 3 is operating, avoid a timing when timer 1 or timer 3
underflows.
P3
0
/INT0 pin
When the interrupt valid waveform of the P3
0
/INT0 pin is
changed with the bit 2 of register I1 in software, be careful about
the following notes.
Clear the bit 0 of register V1 to “0” before the interrupt valid wave-
form of P3
0
/INT0 pin is changed with the bit 2 of register I1 (refer
to Figure 44
).
Depending on the input state of the P3
0
/INT0 pin, the external 0
interrupt request flag (EXF0) may be set when the interrupt valid
waveform is changed. Accordingly, clear bit 2 of register I1, and
execute the SNZ0 instruction to clear the EXF0 flag after execut-
ing at least one instruction (refer to Figure 44
)
Fig. 45 External 1 interrupt program example
One Time PROM version
The operating power voltage of the One Time PROM version is
2.5 V to 5.5 V.
Multifunction
The input of D
6
, D
7
, P2
0
–P2
2
, I/O of P3
0
and P3
1
, input of CMP0-,
CMP0+, CMP1-, CMP1+, and I/O of P4
0
–P4
3
can be used even
when CNTR0, CNTR1, S
CK
, S
OUT
, S
IN
, INT0, INT1, A
IN0
–A
IN3
and A
IN4
–A
IN7
are selected.
P3
1
/INT1 pin
When the interrupt valid waveform of P3
1
/INT1 pin is changed
with the bit 2 of register I2 in software, be careful about the fol-
lowing notes.
Clear the bit 1 of register V1 to “0” before the interrupt valid wave-
form of P3
1
/INT1 pin is changed with the bit 2 of register I2 (refer
to Figure 45
).
Depending on the input state of the P3
1
/INT1 pin, the external 1
interrupt request flag (EXF1) may be set when the interrupt valid
waveform is changed. Accordingly, clear bit 2 of register I2 and
execute the SNZ1 instruction to clear the EXF1 flag after execut-
ing at least one instruction (refer to Figure 45
).
LA
TV1A
LA
TI2A
NOP
SNZ1
NOP
.
.
8
; (
0
2
)
; The SNZ1 instruction is valid...........
8
; Change of the interrupt valid waveform
...........................................................
; The SNZ1 instruction is executed
: this bit is not related to the setting of INT1.
.
.
LA
TV1A
LA
TI1A
NOP
SNZ0
NOP
4
; (
0
2
)
; The SNZ0 instruction is valid...........
;
; Interrupt valid waveform is changed
...........................................................
; The SNZ0 instruction is executed
4
: this bit is not related to the setting of INT0 pin.
.
.
.
.
Fig. 44 External 0 interrupt program example