DATA SHEET
MOS INTEGRATED CIRCUIT
µ
PD75104, 75106, 75108
4-BIT SINGLE-CHIP MICROCOMPUTER
DESCRIPTION
µ
PD75108 is a 4-bit single-chip microcomputer integrating timer/event counters, serial interface, and vector
interrupt function, in addition to a CPU, ROM, RAM, and I/O ports, on a single chip. Operating at high speeds,
the microcomputer allows data to be manipulated in units of 1, 4, or 8 bits. In addition, various bit manipulation
instructions are provided to reinforce I/O manipulation capability. Equipped with I/Os for interfacing with
peripheral circuits operating on a different supply voltage, outputs that can directly drive LEDs, and analog
µ
inputs,
communications equipment, and printers. A pin-compatible EPROM model is also available for evaluation of
system development and small-scale production of application systems.
PD75108 is suitable for controlling such systems as VTRs, acoustic products, button telephones, radio
Detailed functions are described in the following user’s manual. Be sure to read it for designing.
µ
PD751XX Series User’s Manual: IEM-922
FEATURES
• Internal memory
• Program memory (ROM)
: 8068 × 8 bits (µPD75108)
×
: 6016
: 4096
• Data memory (RAM)
: 512 × 4 bits (µPD75108)
: 320
• New architecture “75X series” rivaling 8-bit microcomputers
• 43 systematically organized instructions
• A wealth of bit manipulation instructions
• 8-bit data transfer, compare, operation, increment, and decrement instructions
• 1-byte relative branch instructions
• GETI instruction executing 2-/3-byte instruction with one byte
• High speed. Minimum instruction execution time: 0.95
• Power-saving, instruction time change function: 0.95
• I/O port pins as many as 58
• Three channels of 8-bit timers
• 8-bit serial interface
• Multiplexed vector interrupt function
• Model with PROM is available:
8 bits (µPD75106)
×
8 bits (µPD75104)
×
4 bits (µPD75106, 75104)
µ
s (at 4.19 MHz), 5 V
µ
s/1.91 µs/15.3 µs (at 4.19 MHz)
µ
PD75P108B (One-time PROM, EPROM)
Unless there are differences among µPD75104, 75106, and 75108 functions, µPD75108 is treated as the
representative model throughout this manual.
Document No. IC-2520B
(O. D. No. IC-6906B)
Date Published January 1994 P
Printed in Japan
The information in this document is subject to change without notice.
The mark ★ shows major revised points.
NEC Corporation 1989
µ
PD75104, 75106, 75108
ORDERING INFORMATION
Part Number Package Quality Grade
µ
PD75104CW-xxx 64-pin plastic shrink DIP (750 mil) Standard
µ
PD75104GF-xxx-3BE 64-pin plastic QFP (14 × 20 mm) Standard
µ
PD75106CW-xxx 64-pin plastic shrink DIP (750 mil) Standard
µ
PD75106GF-xxx-3BE 64-pin plastic QFP (14 × 20 mm) Standard
µ
PD75108CW-xxx 64-pin plastic shrink DIP (750 mil) Standard
µ
PD75108GF-xxx-3BE 64-pin plastic QFP (14 × 20 mm) Standard
Remarks : xxx is ROM code number.
Please refer to “Quality Grade on NEC Semiconductor Devices” (Document Number IEI-1209) published by
NEC Corporation to know the specification of quality grade on the devices and its recommended applications.
2
µ
PD75104, 75106, 75108
FUNCTIONAL OUTLINE
Item Specifications
Number of Basic Instructions 43
Minimum Instruction Changeable in three steps: 0.95 µs, 1.91 µs, and 15.3 µs at 4.19 MHz
Execution Time
ROM 8064 × 8 bits ( µPD75108), 6016 × 8 bits (µPD75106), 4096 × 8 bits (µPD75104)
Internal Memory
General-Purpose Register 4 bits × 8 × 4 banks (memory mapped)
RAM 512 × 4 bits (µPD75108), 320 × 4 bits (µPD75106, 75104)
Accumulator
I/O Port
Timer/Counter
Serial Interface • LSB first/MSB first mode selectable
Vector Interrupt External: 3, Internal: 4
Test Input External: 2
Standby • STOP and HALT modes
Instruction Set
Three accumulators selectable according to the bit length of manipulated data:
• 1-bit accumulator (CY), 4-bit accumulator (A), and 8-bit accumulator (XA)
58 port pins
• CMOS input pins: 10
• CMOS I/O pins (can directly drive LEDs): 32
• Medium voltage N-ch open-drain I/O pins: 12
(can directly drive LEDs. Pull-up resistor can be connected to each bit)
• Comparator input pins (4-bit accuracy): 4
• 8-bit timer/event counter × 2
• 8-bit basic interval timer (can be used as watchdog timer)
• 8 bits
• Two transfer modes (transfer/reception and reception only modes)
• Various bit manipulation instructions (set, reset, test, Boolean operation)
• 8-bit data transfer, compare, operation, increment, and decrement
• 1-byte relative branch instructions
• GETI instruction constituting 2 or 3-byte instruction with 1 byte
Others
Package
• Power-ON reset circuit (mask option)
• Bit manipulation memory (bit sequential buffer: 16 bits)
• 64-pin plastic shrink DIP (750 mil)
• 64-pin plastic QFP (14 × 20 mm)
3
µ
PD75104, 75106, 75108
CONTENTS
1. PIN CONFIGURATION (TOP VIEW)............................................................................................... 6
2. BLOCK DIAGRAM ........................................................................................................................... 8
3. PIN FUNCTIONS.............................................................................................................................. 9
3.1 PORT PINS............................................................................................................................................. 9
3.2 PINS OTHER THAN PORTS ................................................................................................................. 10
3.3 PIN INPUT/OUTPUT CIRCUITS ........................................................................................................... 11
3.4 RECOMMENDED PROCESSING OF UNUSED PINS .......................................................................... 12
3.5 NOTES ON USING THE P00/INT4, AND RESET PINS ...................................................................... 13
4. MEMORY CONFIGURATION .......................................................................................................... 14
5. PERIPHERAL HARDWARE FUNCTIONS........................................................................................ 20
5.1 PORTS .................................................................................................................................................... 20
5.2 CLOCK GENERATOR CIRCUIT ............................................................................................................ 21
5.3 CLOCK OUTPUT CIRCUIT .................................................................................................................... 22
5.4 BASIC INTERVAL TIMER ..................................................................................................................... 23
5.5 TIMER/EVENT COUNTER ..................................................................................................................... 23
5.6 SERIAL INTERFACE .............................................................................................................................. 25
5.7 PROGRAMMABLE THRESHOLD PORT (ANALOG INPUT PORT) .................................................... 27
5.8 BIT SEQUENTIAL BUFFER .... 16 BITS ............................................................................................... 28
5.9 POWER-ON FLAG (MASK OPTION) .................................................................................................... 28
6. INTERRUPT FUNCTIONS................................................................................................................ 28
7. STANDBY FUNCTIONS .................................................................................................................. 30
8. RESET FUNCTION........................................................................................................................... 31
9. INSTRUCTION SET ......................................................................................................................... 34
4
µ
PD75104, 75106, 75108
10. APPLICATION EXAMPLES .............................................................................................................. 43
10.1 VTR SYSTEM CONTROLLER ............................................................................................................... 43
10.2 VTR CAMERA ........................................................................................................................................ 43
10.3 COMPACT DISC PLAYER ..................................................................................................................... 44
10.4 AUTOMOBILE APPLICATIONS (TRIP COMPUTER)............................................................................ 44
10.5 PUSHBUTTON TELEPHONE ................................................................................................................ 45
10.6 DISPLAY PAGER ................................................................................................................................... 45
10.7 PLAIN PAPER COPIER (PPC) ............................................................................................................... 46
10.8 PRINTER CONTROLLER ....................................................................................................................... 46
11. MASK OPTION SELECTION ........................................................................................................... 47
12. ELECTRICAL SPECIFICATIONS ...................................................................................................... 48
13. CHARACTERISTIC DATA ................................................................................................................ 57
14. PACKAGE DRAWINGS ................................................................................................................... 62
15. RECOMMENDED SOLDERING CONDITIONS ............................................................................... 65
APPENDIX A. FUNCTIONAL DIFFERENCES AMONG PRODUCTS IN µPD751XX SERIES ......... 66
APPENDIX B. DEVELOPMENT TOOLS .............................................................................................. 67
APPENDIX C. RELATED DOCUMENTS .............................................................................................. 68
5
1. PIN CONFIGURATION (Top View)
P13/INT3 1
V3 2
V 64
33
SS
µ
PD75104CW-
PD75106CW-
PD75108CW-
×××
×××
×××
P12/INT2
P11/INT1
P10/INT0
PTH03
PTH02
PTH01
PTH00
TI0
TI1
P23
P22/PCL
2
3
4
5
6
7
8
9
10
11
12
P21 PTO1 13
P20 PTO0 14
P90 63
P91 62
P92 61
P93 60
P80 59
P81 58
P82 57
P83 56
P70 55
P71 54
P72 53
P73 52
P60 51
P03/SI 15 P61 50
P02/SO 16 P62 49
P01/SCK 17 P63 48
P00/INT4 18 X1 47
P123 19 X2 46
P122 20 RESET 45
P121 21 P50 44
P120 22 P51 43
P133 23 P52 42
P132 24 P53 41
P131 25 P40 40
P130 26 P41 39
P143 27 P42 38
P142 28 P43 37
P141 29 P30 36
P140 30 P31 35
NC 31 P32 34
DD
µ
µ
P33
51 P131 1 P41
64
P42
P43
P30
P31
P32
P33VNC
P140
P141
P142
P143
P130
63 62 61 60 59 58 57 56 55 54 53 52
DD
20 21 22 23 24 25 26 27 28 29 30 31 32
P81
P80
P93
P92
P91
P90
V
P13/INT3
P12/INT2
P11/INT1
P10/INT0
PTH03
PTH02
SS
µ
PD75104GF-
PD75106GF-
PD75108GF-
×××
×××
×××
µ
µ
-3BE
-3BE
-3BE
50 P132 2 P40
49 P133 3 P53
48 P120 4 P52
47 P121 5 P51
46 P122 6 P50
45 P123 7 RESET
44 P00/INT4 8 X2
43 P01/SCK 9 X1
42 P02/SO 10 P63
41 P03/SI 11 P62
40 P20/PTO0 12 P61
39 P21/PTO1 13 P60
38 P22/PCL 14 P73
37 P23 15 P72
36 TI1 16 P71
35 TI0 17 P70
34 PTH00 18 P83
33 PTH01 19 P82
• 64-Pin Plastic Shrink DIP (750 mil)
µ
PD75104, 75106, 75108
• 64-Pin Plastic QFP (14 × 20 mm)
6
µ
PD75104, 75106, 75108
Pin names
P00-P03 : Port 0 SCK : Serial Clock Input/Output
P10-P13 : Port 1 SO : Serial Output
P20-P23 : Port 2 SI : Serial Input
P30-P33 : Port 3 PTO0, PTO1 : Timer Output
P40-P43 : Port 4 PCL : Clock Output
P50-P53 : Port 5 PTH00-PTH03 : Comparator Input
P60-P63 : Port 6
P70-P73 : Port 7 INT2, INT3 : External Test Input
P80-P83 : Port 8 TI0, TI1 : Timer Input
P90-P93 : Port 9 X1, X2 : Clock Oscillation Pin
P120-P123 : Port 12 RESET : Reset Input
P130-P133 : Port 13 NC : No Connection
P140-P143 : Port 14
INT0, INT1, INT4 : External Vector Interrupt Input
7
8
2. BLOCK DIAGRAM
BIT SEQ.
BUFFER (16)
PORT 0
PORT 2
4
4
4
P00 - P03
P10 - P13 PORT 1
P20 - P23
TI0
PTO0/P20
BASIC
INTERVAL
TIMER
INTBT
TIMER/EVENT
COUNTER
#0
INTT0
PROGRAM
COUNTER*
ALU
CY SP (8)
BANK
TI1
PTO1/P21
SI/P03
SO/P02
SCK/P01
INT0/P10
INT1/P11
INT2/P12
INT3/P13
INT4/P00
PTH00-PTH03 4
TIMER/EVENT
COUNTER
#1
INTT1
SERIAL
INTERFACE
INTSIO
INTERRUPT
CONTROL
PROGRAMMABLE
THRESHOLD
PORT #0
*: 13 bits: PD75106, 75108
µ
µ
12 bits: PD75104
ROM
PROGRAM
MEMORY
×
8064 8BITS
µ
: PD75108
×
6016 8BITS
µ
: PD75106
×
4096 8BITS
µ
: PD75104
N
f /2
XX
CLOCK
OUTPUT
CONTROL
PCL/P22 X1 X2 V
CLOCK
DIVIDER
DECODE
AND
CONTROL
CLOCK
GENERATOR
STAND BY
CONTROL
GENERAL REG.
RAM
DATA MEMORY
×
512 4BITS
µ
: PD75108
×
320 4BITS
µ
: PD75106, 75104
CPU CLOCK
Φ
DDVSS
RESET
PORT 3
PORT 4
PORT 5
PORT 6
PORT 7
PORT 8
PORT 9
PORT 12
PORT 13
PORT 14
4
P30 - P33
4
P40 - P43
P50 - P53
4
4
P60 - P63
4
P70 - P73
P80 - P83
4
4
P90 - P93
P120 - P123
4
4
P130 - P133
4
P140 - P143
µ
PD75104, 75106, 75108
3. PIN FUNCTIONS
3.1 PORT PINS
µ
PD75104, 75106, 75108
Pin Name I/O
Shared with:
Function At Reset Circuit
8-Bit
I/O
P00 Input INT4 B
P01 I/O SCK F
P02 I/O SO E
P03 Input SI B
P10 INT0
P11 INT1
P12 INT2
Input 4-bit input port (PORT 1) Input B
4-bit input port (PORT 0) Input
x
P13 INT3
3
P20*
3
P21*
3
P22*
3
P23*
P30-P33*
P40-P43*
P50-P53*
P60-P63*
P70-P73*
P80-P83*
P90-P93*
I/O 4-bit I/O port (PORT 2) Input E
3
I/O — Input E
3
I/O — 4-bit I/O port (PORT 4) Input E
3
I/O — 4-bit I/O port (PORT 5) Input E
3
I/O — Input E
3
I/O 4-bit I/O port (PORT 7) Input E
3
I/O — 4-bit I/O port (PORT 8) Input E
3
I/O — 4-bit I/O port (PORT 9) Input E
PTO0
PTO1
PCL
—
x
4-bit programmable I/O port (PORT 3)
Can be specified for input or output bitwise.
o
4-bit programmable I/O port (PORT 6)
Can be specified for input or output bitwise. o
o
4-bit N-ch open-drain I/O port (PORT 12)
P120-P123*
P130-P133*
3
3
I/O —
I/O —
Built-in pull-up resistors can be specified in bit
units by mask option.
Open-drain withstanding voltage: 12 V
4-bit N-ch open-drain I/O port (PORT 13)
Built-in pull-up resistors can be specified in bit
units by mask option.
Input*
o
Input*
Open-drain withstanding voltage: 12 V
4-bit N-ch open-drain I/O port (PORT 14)
P140-P143*
3
I/O — – Input*
Built-in pull-up resistors can be specified in bit
units by mask option.
Open-drain withstanding voltage: 12 V
I/O
1
TYPE*
2
M
2
M
2
M
*1: Circles indicate Schmitt trigger input pins.
2: With drain open: high impedance
With pull-up resistor connected: high level
3: Can directly drive LEDs.
9
µ
PD75104, 75106, 75108
3.2 PINS OTHER THAN PORTS
Pin Name I/O
PTH00-PTH03 Input — 4-bit variable threshold voltage analog input port — N
TI0 External event pulse inputs for timer/event counter.
TI1
PTO0 P20
PTO1 P21
SCK I/O P01 Serial clock I/O Input F
SO I/O P02 Serial data output Input E
SI Input P03 Serial data input Input B
INT4 Input P00 Input B
INT0 P10 Edge-detected vectored interrupt inputs (valid
INT1 P11 edge selectable)
INT2 P12
INT3 P13
PCL I/O P22 Clock output Input E
X1, X2 — — Input external clock to X1, and signal in reverse phase — —
RESET Input — System reset input (low level active type) — B
2
NC*
VDD — — Positive power supply — —
VSS ——G N D ——
Input — Also serves as edge-detected vector interrupt input. — B
Input Input B
Input Edge-detected testable inputs (rising edge detected) Input B
Shared with:
1-bit input also possible.
I/O Outputs for timer/event counter Input E
Edge-detected vectored interrupt input (both rising and
falling edges detected)
Crystal/ceramic system clock oscillator connections.
with X1 to X2.
— — No Connection — —
Function At Reset Circuit
I/O
TYPE*
1
*1: Circles indicate Schmitt trigger input pins.
2: Connect the NC pin directly to the V
10
DD pin when
µ
PD75P108B and a printed circuit board are shared.
µ
3.3 PIN INPUT/OUTPUT CIRCUITS
The following shows a simplified input/output circuit diagram for each pin of the
PD75104, 75106, 75108
µ
PD75108.
TYPE A
DD
V
IN
Input buffer of CMOS standard
TYPE B
IN
P–ch
N–ch
TYPE E
data
Type D
output
disable
Type A
I/O circuit consisting of Type D push-pull output circuit
and Type A input buffer
IN/OUT
TYPE F
data
Type D
output
disable
IN/OUT
Schmitt trigger input with hysteresis characteristics
TYPE D
V
DD
data
output
disable
Push – pull output that can be set in a output
high– impedance state (both P –ch and N –ch are off)
P-ch
OUT
N-ch
Type B
I/O circuit consisting of Type D push-pull output and Type
B Schmitt trigger input
V
P.U.R.
DD
N-ch
(+12 V
withstand)
data
output
disable
TYPE M
Medium-voltage input
buffer (+12 V withstand)
P.U.R.: Pull-Up Resistor
(mask option)
IN/OUT
11
TYPE N
Comparator
IN +
–
REF
V (threshold voltage)
3.4 RECOMMENDED PROCESSING OF UNUSED PINS
µ
PD75104, 75106, 75108
Pin Recommended connections
PTH00-PTH03
TI0 Connect to VSS or VDD
TI1
P00 Connect to VSS
P01-P03 Connect to VSS or VDD
P10-P13 Connect to VSS
P20-P23
P30-P33
P40-P43
P50-P53
P60-P63 Input: Connect to VSS or VDD
P70-P73
P80-P83 Output: Open
P90-P93
P120-P123
P130-P133
P140-P143
RESET*
NC*
1
2
Connect to VDD
Open
12
*1: Connect this pin to the VDD pin only when a power-ON reset circuit
is provided as a mask option.
2: Connect the NC pin to the V
DD pin when
µ
PD75P108 and a printed
circuit board are shared.
µ
PD75104, 75106, 75108
3.5 NOTES ON USING THE P00/INT4, AND RESET PINS
In addition to the functions described in Sections 3.1 and 3.2, an exclusive function for setting the test mode,
µ
in which the internal fuctions of the
RESET
and
If a voltage exceeding V
even when the
µ
PD75108 will enter the test mode, and this will cause problems for normal operation.
As an example, if the wiring to the P00/INT4 pin or the
and the above montioned problem may occur.
Therefore, all wiring to these pins must be made short enough to not pick up stray noise. If noise cannot
be avoided, suppress the noise using a capacitor or diode as shown in the figure below.
pins.
DD is applied to either of these pins, the
µ
PD75108 is in normal operation, if noise exceeding the VDD is input into any of these pins, the
PD75108 are tested (solely used for IC tests), is provided to the P00/INT4
µ
PD75108 is put into test mode. Therefore,
RESET
pin is long, stray noise may be picked up
• Connect a diode across P00/INT4 and
RESET
, and VDD .
VDD
VDD
P00/INT4, RESET
• Connect a capacitor across P00/INT4 and
, and VDD .
RESET
VDD
VDD
P00/INT4, RESET
13
µ
PD75104, 75106, 75108
4. MEMORY CONFIGURATION
• Program memory (ROM) ... 8064 × 8 bits (0000H-1F7FH) : µPD75108
... 6016 × 8 bits (0000H-177FH) :
... 4096 × 8 bits (0000H-0FFFH) :
• 0000H, 0001H : Vector table to which address from which program is started is written after reset
• 0002H-000BH: Vector table to which address from which program is started is written after interrupt
• 0020H-007FH: Table area referenced by GETI instruction
• Data memory (RAM)
µ
• Data area ....512 × 4 bits (000H–1FFH):
320 × 4 bits (000H-13FH) :
• Peripheral hardware area .... 128 × 4 bits (F80H–FFFH)
PD75108
µ
PD75106, 75104
µ
PD75106
µ
PD75104
14
(a) µPD75108
µ
PD75104, 75106, 75108
Address
0000H
0002H
0004H
0006H
0008H
000AH
765
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
Internal reset start address (upper 5 bits)
Internal reset start address (lower 8 bits)
INTBT/INT4 start address (upper 5 bits)
INTBT/INT4 start address (lower 8 bits)
INT0/INT1 start address (upper 5 bits)
INT0/INT1 start address (lower 8 bits)
INTSIO start address (upper 5 bits)
INTSIO start address (lower 8 bits)
INTT0 start address (upper 5 bits)
INTT0 start address (lower 8 bits)
INTT1 start address (upper 5 bits)
INTT1 start address (lower 8 bits)
0
CALLF
! faddr
instruction
entry
address
BRCB
! caddr
instruction
branch
address
CALL ! addr
instruction
subroutine
entry address
BR ! addr
instruction
branch address
0020H
007FH
0080H
07FFH
0800H
0FFFH
1000H
1F7FH
GETI instruction reference table
Fig. 4-1 Program Memory Map (1/3)
BR $addr
instruction
relational
branch address
(–15 to –1,
+2 to +16)
Branch destination
address and
subroutine entry
address for
GETI instruction
BRCB ! caddr
instruction
branch address
Remarks: In addition to the above addresses, program can be branched to addresses specified by the PC
with the contents of its lower 8 bits changed by BR PCDE or BR PCXA instruction.
15
(b) µPD75106
µ
PD75104, 75106, 75108
Address
0000H
0002H
0004H
0006H
0008H
000AH
765
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
Internal reset start address (upper 5 bits)
Internal reset start address (lower 8 bits)
INTBT/INT4 start address (upper 5 bits)
INTBT/INT4 start address (lower 8 bits)
INT0/INT1 start address (upper 5 bits)
INT0/INT1 start address (lower 8 bits)
INTSIO start address (upper 5 bits)
INTSIO start address (lower 8 bits)
INTT0 start address (upper 5 bits)
INTT0 start address (lower 8 bits)
INTT1 start address (upper 5 bits)
INTT1 start address (lower 8 bits)
0
CALLF
! faddr
instruction
entry
address
BRCB
! caddr
instruction
branch
address
CALL ! addr
instruction
subroutine
entry address
BR ! addr
instruction
branch address
0020H
007FH
0080H
07FFH
0800H
0FFFH
1000H
177FH
GETI instruction reference table
Fig. 4-1 Program Memory Map (2/3)
BR $addr
instruction
relational
branch address
(–15 to +16)
Branch destination
address and
subroutine entry
address for
GETI instruction
BRCB ! caddr
instruction
branch address
Remarks: In addition to the above addresses, program can be branched to addresses specified by the PC
with the contents of its lower 8 bits changed by BR PCDE or BR PCXA instruction.
16
(c) µPD75106
µ
PD75104, 75106, 75108
Address
000H
002H
004H
006H
008H
00AH
020H
07FH
080H
765
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
MBE RBE 0
4
0
Internal reset start address (upper 4 bits)
Internal reset start address (lower 8 bits)
INTBT/INT4 start address (upper 4 bits)
0
INTBT/INT4 start address (lower 8 bits)
INT0/INT1 start address (upper 4 bits)
0
INT0/INT1 start address (lower 8 bits)
INTSIO start address (upper 4 bits)
0
INTSIO start address (lower 8 bits)
INTT0 start address (upper 4 bits)
0
INTT0 start address (lower 8 bits)
INTT1 start address (upper 4 bits)
0
INTT1 start address (lower 8 bits)
GETI instruction reference table
0
CALLF
! faddr
instruction
entry
address
BRCB ! caddr
instruction
branch address
CALL ! addr
instruction
subroutine
entry address
Branch destination
address and
subroutine entry
address for
GETI instruction
BR $addr
instruction
relational
branch address
(–15 to +16)
7FFH
800H
FFFH
Fig. 4-1 Program Memory Map (3/3)
Remarks: In addition to the above addresses, program can be branched to addresses specified by the PC
with the contents of its lower 8 bits changed by BR PCDE or BR PCXA instruction.
17
(a) µPD75108
µ
PD75104, 75106, 75108
Stack area
Data memory
Static RAM
(512× 4)
Peripheral hardware area
General-purpose
register area
000H
01FH
0FFH
100H
1FFH
F80H
FFFH
Data memory
(32 × 4)
256× 4
256× 4 Bank 1
Not provided
128× 4
Memory bank
Bank 0
Bank 15
Fig. 4-2 Data Memory Map(1/2)
18
(b) µPD75106, 75104
µ
PD75104, 75106, 75108
General-
Stack area
purpose
Static RAM
(320× 4)
Peripheral hardware area
General-purpose
register area
000H
01FH
0FFH
100H
13FH
F80H
FFFH
Data memory
(32 × 4)
256× 4
× 4
64
Not provided
128× 4
Memory bank
Bank 0
Bank 1
Bank 15
Fig. 4-2 Data Memory Map(2/2)
19
5. PERIPHERAL HARDWARE FUNCTIONS
5.1 PORTS
I/O ports are classified into the following 3 kinds:
• CMOS input (PORT0, 1) : 8
• CMOS input/output (PORT2, 3, 4, 5, 6, 7, 8, 9): 32
N-ch open-drain input/output (PORT12, 13, 14) :12
•
Total : 52
Table 5-1 Port Function
µ
PD75104, 75106, 75108
Port
(Symbol)
PORT0
PORT1
PORT3
PORT6
PORT2
PORT4
PORT5
PORT7
PORT8
PORT9
PORT12
PORT13
PORT14
Function
4-bit input
4-bit I/O*
4-bit I/O*
(N-ch open- drain.
12V)
*: Can directly drive LED.
Operation and Features
Can always be read or tested regardless of operation mode of shared pin
Can be set in input or output mode bitwise
Can be set in input or output mode in units of 4 bits.
Ports 4 and 5, 6 and 7, 8 and 9 can be used in pairs
to input or output 8-bit data
Can be set in input or output mode in units of 4 bits.
Ports 12 and 13 can be used in pairs to input or
output 8-bit data
Remarks
Shared with SI, SO, SCK, and
INT0 to 4 pins
—
Port 2 pins are shared with
PTO0, PTO1, and PCL pins
Each bit can be connected to
pull-up resistor by mask option
20
µ
PD75104, 75106, 75108
5.2 CLOCK GENERATOR CIRCUIT
The clock generator circuit generates clocks to control CPU operation modes by supplying clocks to the CPU and
peripheral hardware. In addition, this circuit can change the instruction execution time.
µ
• 0.95
s/1.91 µs/15.3 µs (operating at 4.19 MHz)
· Basic interval timer (BT)
· Clock output circuit
· Timer/event counter
· Serial interface
4
Internal bus
HALT*
STOP*
PCC
PCC0
PCC1
PCC2
PCC3
Clears
PCC2,
PCC3
X1
System clock
generator
circuit
X2
Oscillation
stops
STOP F/F
Q
S
XX
f or
f
X
1/2 1/16
1/8 to 1/4096
Frequency civider
Selector
HALT F/F
S
RQ
Frequency
divider
1/4
Wait release signal from BT
RES (internal reset) signal
Φ
· CPU
· Clock output
circuit
*: Execution of the instruction
Remarks 1: f
XX= Crystal/ceramic oscillator
2: f
X = External clock frequency
3: PCC: Processor clock control register
4: One clock cycle (t
characteristics in 12. ELECTRICAL SPECIFICATIONS.
R
CY) of Φ is one machine cycle of an instruction. For t CY, refer to AC
Standby release signal from
interrupt control circuit
Fig. 5-1 Clock Generator Block Diagram
★
21
µ
PD75104, 75106, 75108
5.3 CLOCK OUTPUT CIRCUIT
The clock output circuit outputs clock pulse from the P22/PCL pin. This clock output circuit is used to output
clock pulses to the remote control output, peripheral LSIs, etc.
• Clock output (PCL) : Φ , 524, 262 kHz (operating at 4.19 MHz)
From the
clock
generator
Φ
Output
3
X
/2
X
f
Selector
buffer
4
fX/2
X
CLOM3 CLOM2 CLOM1 CLOM0 CLOM
4
Fig. 5-2 Clock Output Circuit Configuration
Internal bus
P22 output
latch
Bit 2 of PMGB PORT2.2
Port 2 input/
output mode
specification
bit
PCL/P22
22