English
Language : 

4502 Datasheet, PDF (5/116 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4502 Group
DEFINITION OF CLOCK AND CYCLE
q Operation source clock
The operation source clock is the source clock to operate this
product. In this product, the following clocks are used.
• External ceramic resonator
• External RC oscillation
• Clock (f(XIN)) by the external clock
• Clock (f(RING)) of the on-chip oscillator which is the internal
oscillator.]
q Instruction clock
The instruction clock is a signal derived by dividing the system
clock by 3. The one instruction clock cycle generates the one
machine cycle.
q Machine cycle
The machine cycle is the standard cycle required to execute the
instruction.
q System clock
The system clock is the basic clock for controlling this product.
The system clock is selected by the bits 2 and 3 of the clock con-
trol register MR.
Table Selection of system clock
Register MR
System clock
MR3 MR2
(Note 1)
0
0 f(XIN) or f(RING)
0
1 f(XIN)/2 or f(RING)/2
1
0 f(XIN)/4 or f(RING)/4
1
1 f(XIN)/8 or f(RING)/8
Operation mode
High-speed mode
Middle-speed mode
Low-speed mode
Default mode
Notes 1: The on-chip oscillator clock is f(RING), the clock by the
ceramic resonator, RC oscillation or external clock is
f(XIN).
2: The default mode is selected after system is released
from reset and is returned from RAM back-up.
PORT FUNCTION
Port
Pin
Port D
D0, D1, D4, D5
D2/C
D3/K
Port P0 P00–P03
Port P1 P10, P11
P12/CNTR,
P13/INT
Port P2 P20/AIN0
P21/AIN1
Port P3 P30/AIN2
P31/AIN3
Input
Output
I/O
(6)
I/O
(4)
I/O
(4)
I/O
(2)
I/O
(2)
Output structure
I/O
Control
Control
unit instructions registers
N-channel open-drain 1 SD, RD
SZD, CLD PU2, K2
SCP, RCP
SNZCP
IAK, OKA
N-channel open-drain 4 OP0A
IAP0
PU0, K0
N-channel open-drain 4 OP1A
IAP1
PU1, K1
W6, I1
N-channel open-drain 2 OP2A
IAP2
PU2, K2
Q1
N-channel open-drain 2 OP3A
Q1
IAP3
Remark
Built-in programmable pull-up
functions
Key-on wakeup functions
(programmable)
Built-in programmable pull-up
functions
Key-on wakeup functions
(programmable)
Built-in programmable pull-up
functions
Key-on wakeup functions
(programmable)
Built-in programmable pull-up
functions
Key-on wakeup functions
(programmable)
Rev.3.01 2005.02.02 page 5 of 112
REJ03B0105-0301