Renesas 4514 Network Card User Manual


 
4513/4514 Group User’s Manual
APPENDIX
3-21
3.3 List of precautions
3.3 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 VDD
and VSS at the shortest distance,
• equalize its wiring in width and length, and
• use relatively thick wire.
In the One Time PROM version, CNVSS pin is also used as VPP
pin. Accordingly, when using this pin, connect this pin to VSS
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.
P30/INT0 pin
When the interrupt valid waveform of the P30/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 P30/INT0 pin is changed with the bit 2 of register I1 (refer
to Figure 44).
• Depending on the input state of the P30/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 D6, D7, P20–P22, I/O of P30 and P31, input of CMP0-,
CMP0+, CMP1-, CMP1+, and I/O of P40–P43 can be used even
when CNTR0, CNTR1, SCK, SOUT, SIN, INT0, INT1, AIN0–AIN3
and AIN4–AIN7 are selected.
P31/INT1 pin
When the interrupt valid waveform of P31/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 P31/INT1 pin is changed with the bit 2 of register I2 (refer
to Figure 45).
• Depending on the input state of the P31/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 8 ; (✕✕02)
TV1A ; The SNZ1 instruction is valid ...........
LA 8
TI2A ; Change of the interrupt valid waveform
NOP ...........................................................
SNZ1 ; The SNZ1 instruction is executed
NOP
: this bit is not related to the setting of INT1.
.
.
.
.
.
.
LA 4 ; (✕✕✕02)
TV1A ; The SNZ0 instruction is valid...........
LA 4 ;
TI1A ; Interrupt valid waveform is changed
NOP ...........................................................
SNZ0 ; The SNZ0 instruction is executed
NOP
: this bit is not related to the setting of INT0 pin.
.
.
.
.
.
.
Fig. 44 External 0 interrupt program example