BUZ: Buzzer ClockP70-P73: Port7
CL1, CL2: Main System Clock (RC)P80, P81: Port8
D0-D7: Data Bus 0-7PCL: Programmable Clock
INT0, 1, 4: External Vectored Interrupt 0, 1, 4PTO0, PTO1: Programmable Timer Output 0, 1
INT2: External Test Input 2RESET: Reset
KR0-KR7: Key Return 0-7SB0, SB1: Serial Data Bus 0, 1
MD0-MD3: Mode Selection 0-3SCK: Serial Clock
NC: No ConnectionSI: Serial Input
P00-P03: Port0SO: Serial Output
P10-P13: Port1TI0: Timer Input 0
P20-P23: Port2V
P30-P33: Port3VPP: Programming Power Supply
P40-P43: Port4V
P50-P53: Port5XT1, XT2: Subsystem Clock (Crystal)
P60-P63: Port6
DD: Positive Power Supply
SS: Ground
5
2. BLOCK DIAGRAM
µ
PD75P0116
TI0/P13
PTO0/P20
PTO1/P21
SI/SB1/P03
SO/SB0/P02
SCK/P01
INT0/P10
INT1/P11
INT2/P12
INT4/P00
KR0/P60-
KR7/P73
BUZ/P23
BASIC INTERVAL
TIMER/
WATCHDOG
TIMER
INTBT
8-BIT
TIMER/EVENT
COUNTER #0
INTT0
8-BIT TIMER
COUNTER
CLOCKED
SERIAL
INTERFACE
INTCSI
INTERRUPT
CONTROL
8
#1
INTT1
WATCH
TIMER
INTW
RESET
TOUT0
TOUT0
PROGRAM
COUNTER (14)
PROGRAM
MEMORY
(PROM)
16384 × 8 BITS
CLOCK
OUTPUT
CONTROL
fx/2
CLOCK
DIVIDER
N
SYSTEM CLOCK
GENERATOR
ALU
DECODE
AND
CONTROL
CPU CLOCK
Φ
MAINSUB
CY
STAND BY
CONTROL
SP (8)
SBS
BANK
GENERAL
REGISTER
DATA
MEMORY
(RAM)
512 × 4 BITS
BIT SEQ.
BUFFER (16)
PORT0P00-P034
PORT1
PORT24
PORT3P30/MD0-P33/MD34
PORT4P40/D0-P43/D34
PORT5P50/D4-P53/D74
PORT6P60-P634
PORT7P70-P734
PORT8P80, P812
P10-P134
P20-P23
PCL/P22
XT1
XT2
CL2CL1
VSSVDDRESETVPP
6
3. PIN FUNCTIONS
3.1 Port Pins
µ
PD75P0116
Pin nameI/OShared byFunction8-bitWhenI/O circuit
P00IINT4This is a 4-bit input port (PORT0).×Input<B>
P01I/OSCKare software-specifiable in 3-bit units.<F>-A
P02I/OSO/SB0<F>-B
P03I/OSI/SB1<M>-C
P10IINT0This is a 4-bit input port (PORT1).×Input<B>-C
P11INT1specifiable in 4-bit units.
P12INT2
P13TI0
P20I/OPTO0This is a 4-bit I/O port (PORT2).×InputE-B
P21PTO1specifiable in 4-bit units.
P22PCL
P23BUZ
P30I/OMD0This is a programmable 4-bit I/O port (PORT3).×InputE-B
P31MD1units. On-chip pull-up resistor connections are
P32MD2
P33MD3
Note 2
P40
Note 2
P41
Note 2
P42
Note 2
P43
Note 2
P50
Note 2
P51
Note 2
P52
Note 2
P53
P60I/OKR0This is a programmable 4-bit I/O port (PORT6).Input<F>-A
P61KR1On-chip pull-up resistor connections are softwareP62KR2
P63KR3
I/OD0This is an N-ch open-drain 4-bit I/O port (PORT4).High-
D1
D2
D3
I/OD4This is an N-ch open-drain 4-bit I/O port (PORT5).High-
D5
D6
D7
For P01 to P03, on-chip pull-up resistor connections
On-chip pull-up resistor connections are softwareP10/INT0 can select noise elimination circuit.
On-chip pull-up resistor connections are software-
Input and output can be specified in single-bit
software-specifiable in 4-bit units.
In the open-drain mode, withstands up to 13 V.impedanceM-E
In the open-drain mode, withstands up to 13 V.impedanceM-E
Input and output can be specified in single-bit units.
specifiable in 4-bit units.
I/Oresettype
Note 1
P70I/OKR4This is a 4-bit I/O port (PORT7).Input<F>-A
On-chip pull-up resistor connections are software-
P71KR5specifiable in 4-bit units.
P72KR6
P73KR7
P80I/O—This is a 2-bit I/O port (PORT8).×InputE-B
On-chip pull-up resistor connections are software-
2. Low-level input current leakage increases when input instructions or bit manipulation instructions are executed.
7
3.2 Non-port Pins
µ
PD75P0116
Pin nameI/OShared byFunctionWhenI/O circuit
TI0IP13External event pulse input to timer/event counterInput<B>-C
PTO0OP20Timer/event counter outputInputE-B
PTO1P21Timer counter output
PCLP22Clock output
BUZP23Outputs any frequency (for buzzer or system clock trimming)
SCKI/OP01Serial clock I/OInput<F>-A
SO/SB0P02Serial data output<F>-B
INT0IP10Edge-triggered vectored interrupt input With noise eliminatorInput<B>-C
INT1P11circuit.Asynchronous
INT2P12Rising edge-triggered testable inputAsynchronous
KR0-KR3IP60-P63Falling edge-triggered testable inputInput<F>-A
KR4-KR7IP70-P73Falling edge-triggered testable inputInput<F>-A
CL1——Resistor (R) and capacitor (C) connection for main system——
CL2—
XT1I—Crystal resonator connection for subsystem clock.——
XT2—ed clock to X2. XT1 can be used as a 1-bit (test) input.
RESETI—System reset input (low level active)—<B>
MD0-MD3IP30-P33Mode selection for program memory (PROM) write/verify.InputE-B
D0-D3I/OP40-P43Data bus pin for program memory (PROM) write/verify.InputM-E
D4-D7P50-P53
Note 2
VPP
VDD——Positive power supply——
VSS——Ground potential——
——Programmable voltage supply in program memory (PROM)——
Serial data bus I/O
Serial data bus I/O
(Detects both rising and falling edges).
(detected edge is selectable)./asynch selectable
INT0/P10 can select noise elimination
clock oscillation. External clock cannot be input.
If using an external clock, input it to XT1 and input the invert-
write/verify mode.
In normal operation mode, connect directly to VDD.
Apply +12.5 V in PROM write/verify mode.
2. During normal operation, the VPP pin will not operate normally unless connected to VDD pin.
8
3.3 I/O Circuits for Pins
The I/O circuits for the µPD75P0116’s pin are shown in schematic diagrams below.
TYPE ATYPE D
VDD
Data
IN
CMOS standard input buffer
P-ch
N-ch
Output
disable
Push-pull output that can be set to high impedance output
(with both P-ch and N-ch OFF).
µ
PD75P0116
VDD
P-ch
OUT
N-ch
(1/2)
TYPE E-BTYPE B
IN
Output
disable
Schmitt trigger input with hysteresis characteristics.
TYPE B-CTYPE F-A
VDD
P.U.R.
P-ch
P.U.R.
enable
Data
P.U.R.
enable
Type D
P.U.R. : Pull-Up Resistor
P.U.R.
enable
VDD
P.U.R.
P-ch
IN/OUT
Type A
VDD
P.U.R.
P-ch
IN
P.U.R. : Pull-Up Resistor
Data
Output
disable
Type D
IN/OUT
Type B
P.U.R. : Pull-Up Resistor
9
TYPE F-B
output
disable
(P)
data
output
disable
output
disable
(N)
P.U.R.
enable
V
DD
P.U.R. : Pull-Up Resistor
P-ch
N-ch
V
DD
IN/OUT
P.U.R.
P-ch
µ
TYPE M-E
data
output
disable
V
DD
Input
instruction
P-ch
P.U.R.
Note Pull-up resistor that operates only when an input
instruction has been executed. (Current flows
from V
DD
to the pins when at low level)
Note
Voltage
limitation
circuit
N-ch
(+13 V)
(+13 V)
PD75P0116
(2/2)
IN/OUT
TYPE M-C
data
output
disable
P.U.R.
enable
N-ch
P.U.R. : Pull-Up Resistor
V
DD
P.U.R.
P-ch
IN/OUT
10
3.4 Handling of Unused Pins
P00/INT4Connect to VSS or VDD
P01/SCKIndividually connect to VSS or VDD via resistor
P02/SO/SB0
P03/SI/SB1Connect to VSS
P10/INT0-P12/INT2Connect to VSS or VDD
P13/TI0
P20/PTO0
P21/PTO1
P22/PCL
P23/BUZ
P30/MD0-P33/MD3
P40/D0-P43/D3Connect to VSS
P50/D4-P53/D7
P60/KR0-P63/KR3
P70/KR4-P73/KR7
P80, P81
Note
XT1
Note
XT2
VPPMake sure to connect directly to VDD
Table 3-1. Handling of Unused Pins
PinRecommended connection
Input mode: individually connect to VSS or VDD
via resistor
Output mode : open
Input mode: individually connect to VSS or VDD
via resistor
Output mode : open
Connect to VSS or VDD
Open
µ
PD75P0116
Note When the subsystem clock is not used, set SOS. 0 to 1 (not to use the internal feedback resistor).
11
µ
PD75P0116
4. SWITCHING BETWEEN MK I AND MK II MODES
Setting a stack bank selection (SBS) register for the µPD75P0116 enables the program memory to be switched
between the Mk I mode and the Mk II mode. This capability enables the evaluation of the µPD750104, 750106, or 750108
using the µPD75P0116.
µ
When the SBS bit 3 is set to 1: sets Mk I mode (corresponds to Mk I mode of
When the SBS bit 3 is set to 0: sets Mk II mode (corresponds to Mk II mode of µPD750104, 750106, and 750108)
4.1 Differences between Mk I Mode and Mk II Mode
Table 4-1 lists the differences between the Mk I mode and the Mk II mode of the
Table 4-1. Differences between Mk I Mode and Mk II Mode
ItemMk I modeMk II mode
Program counterPC13-0
Program memory (bytes)16384
Data memory (bits)512 × 4
StackStack bankSelectable from memory banks 0 and 1
Stack bytes2 bytes3 bytes
InstructionBRA !addr1NoneProvided
CALLA !addr1
InstructionCALL !addr3 machine cycles4 machine cycles
execution time CALLF !faddr2 machine cycles3 machine cycles
Supported mask ROM versions andMk I mode of µPD750104, 750106, andMk II mode of µPD750104, 750106, and
mode750108750108
PD750104, 750106, and 750108)
µ
PD75P0116.
Caution The Mk II mode supports a program area which exceeds 16K bytes in the 75X and 75XL series. This
mode enhances the software compatibility with products which have more than 16K bytes.
When the Mk II mode is selected, the number of stack bytes (usable area) used in execution of a
subroutine call instruction increases by 1 per stack compared to the Mk I mode. Furthermore, when
a CALL !addr, or CALLF !faddr instruction is used, each instruction takes another machine cycle.
Therefore, when more importance is attached to RAM utilization or throughput than software
compatibility, use the Mk I mode.
12
µ
PD75P0116
4.2 Setting of Stack Bank Selection (SBS) Register
Use the stack bank selection register to switch between the Mk I mode and the Mk II mode. Figure 4-1 shows the format
for doing this.
The stack bank selection register is set using a 4-bit memory manipulation instruction. When using the Mk I mode,
Note
be sure to initialize the stack bank selection register to 100×B
Note
II mode, be sure to initialize it to 000×B
.
at the beginning of the program. When using the Mk
Note Set the desired value for ×.
Figure 4-1. Format of Stack Bank Selection Register
Address3210
SBS3 SBS2 SBS1 SBS0F84H
Symbol
SBS
Stack area specification
0
0
Memory bank 0
0
1
Memory bank 1
1
0
Setting prohibited
1
1
0Be sure to set 0 for bit 2.
Mode selection specification
01Mk II mode
Mk I mode
Caution SBS3 is set to “1” after RESET input, and consequently the CPU operates in the Mk I mode. When using
instructions for the Mk II mode, set SBS3 to “0” to enter the Mk II mode before using the instructions.
13
µ
PD75P0116
5. DIFFERENCES BETWEEN µPD75P0116 AND µPD750104, 750106, AND 750108
The µPD75P0116 replaces the internal mask ROM in the µPD750104, 750106, and 750108 with a one-time PROM
and features expanded ROM capacity. The µPD75P0116’s Mk I mode supports the Mk I mode in the µPD750104, 750106,
and 750108 and the µPD75P0116’s Mk II mode supports the Mk II mode in the µPD750104, 750106, and 750108.
µ
Table 5-2 lists differences among the
differences between corresponding versions beforehand, especially when a PROM version is used for debugging or
prototype testing of application systems and later the corresponding mask ROM version is used for full-scale production.
µ
Please refer to the
PD750108 User's Manual (U11330E) for details on CPU functions and on-chip hardware.
Table 5-1. Differences between
PD75P0116 and the µPD750104, 750106, and 750108. Be sure to check the
µ
PD75P0116 and µPD750104, 750106, and 750108
Item
Program counter12-bit13-bit14-bit
Program memory (bytes)Mask ROMMask ROMMask ROMOne-time PROM
Data memory (× 4 bits)512
Mask optionsPull-up resistor forYes (On-chip/not on-chip can be specified.)No (On-chip not
port 4 and port 5possible)
Wait time whenYes (29/fCC or none)
releasing STOP mode
by interrupt generation
Feedback resistorYes (can select usable or unusable.)No (usable)
for subsystem clock
OtherNoise resistance and noise radiation may differ due to the different circuit complexities and
µ
PD750104
40966144819216384
mask layouts.
Note
µ
PD750106
µ
PD750108
µ
No (fixed at 29/fCC)
PD75P0116
Note
Note 29/fCC : 256 µs at 2.0 MHz, 512 µs at 1.0 MHz
Caution Noise resistance and noise radiation are different in PROM version and mask ROM versions. If using
a mask ROM version instead of the PROM version for processes between prototype development and
full production, be sure to fully evaluate the CS of the mask ROM version (not ES).
Remark For instructions other than those noted above, the “BR PCDE” and “BR PCXA” instructions can be used to
branch to addresses with changes in the PC’s lower 8 bits only.
15
Figure 6-2. Data Memory Map
µ
PD75P0116
Data area
static RAM
(512 × 4)
General
register
area
Stack area
Note
000H
01FH
020H
0FFH
100H
1FFH
Data memory
(32 × 4)
256 × 4
(224 × 4)
256 × 4
Memory bank
0
1
Unimplemented
F80H
Peripheral hardware area
FFFH
128 × 4
Note For the stack area, one memory bank can be selected from memory bank 0 or 1.
15
16
µ
PD75P0116
7. INSTRUCTION SET
(1) Representation and coding formats for operands
In the instruction’s operand area, use the following coding format to describe operands corresponding to the instruction’s
operand representations (for further description, refer to the RA75X Assembler Package User’s Manual - Language(EEU-1363)). When there are several codes, select and use just one. Upper-case letters, and + and – symbols are key
words that should be entered as they are.
For immediate data, enter an appropriate numerical value or label.
Instead of mem, fmem, pmem, bit, etc, a register flag symbol can be described as a label descriptor. (For further
µ
description, refer to the
restricted.
regX, A, B, C, D, E, H, L
reg1X, B, C, D, E, H, L
rpXA, BC, DE, HL
rp1BC, DE, HL
rp2BC, DE
rp’XA, BC, DE, HL, XA’, BC’, DE’, HL’
rp’1BC, DE, HL, XA’, BC’, DE’, HL’
rpaHL, HL+, HL–, DE, DL
rpa1DE, DL
n44-bit immediate data or label
n88-bit immediate data or label
mem8-bit immediate data or label
bit2-bit immediate data or label
fmemFB0H-FBFH, FF0H-FFFH immediate data or label
pmemFC0H-FFFH immediate data or label
addr0000H-3FFFH immediate data or label
addr10000H-3FFFH immediate data or label (in Mk II mode only)
caddr12-bit immediate data or label
faddr11-bit immediate data or label
taddr20H-7FH immediate data (however, bit0 = 0) or label
PORTnPORT0-PORT8
IEXXXIEBT, IECSI, IET0, IET1, IE0-IE2, IE4, IEW
RBnRB0-RB3
MBnMB0, MB1, MB15
PD750108 User's Manual (U11330E)) Labels that can be entered for fmem and pmem are
RepresentationCoding format
Note
Note When processing 8-bit data, only even addresses can be specified.
17
(2) Operation legend
A: A register; 4-bit accumulator
B: B register
C: C register
D: D register
E: E register
H: H register
L: L register
X: X register
XA: Register pair (XA); 8-bit accumulator
BC: Register pair (BC)
DE: Register pair (DE)
HL: Register pair (HL)
XA’: Expansion register pair (XA’)
BC’: Expansion register pair (BC’)
DE’: Expansion register pair (DE’)
HL’: Expansion register pair (HL’)
PC: Program counter
SP: Stack pointer
CY: Carry flag; bit accumulator
PSW: Program status word
MBE: Memory bank enable flag
RBE: Register bank enable flag
PORTn : Port n (n = 0 to 8)
IME: Interrupt master enable flag
IPS: Interrupt priority select register
IE×××: Interrupt enable flag
RBS: Register bank select register
MBS: Memory bank select register
PCC: Processor clock control register
.: Delimiter for address and bit
(××): Contents of address ××
××H: Hexadecimal data
µ
PD75P0116
18
(3) Description of symbols used in addressing area
MB = MBE • MBS
*1
MB = 0
*2
MBE = 0 :
*3
MBE = 1 :
MB = 15, fmem = FB0H-FBFH, FF0H-FFFH
*4
MB = 15, pmem = FC0H-FFFH
*5
addr = 0000H-3FFFH
*6
addr, addr1 =*7(Current PC) –15 to (Current PC) –1