P00-P03: Port0SCK: Serial Clock
P10-P13: Port1SI: Serial Input
P20-P23: Port2SO: Serial Output
P30-P33: Port3SB0, SB1: Serial Data Bus 0,1
P40-P43: Port4RESET: Reset
P50-P53: Port5TI0: Timer Input 0
P60-P63: Port6PTO0, PTO1: Programmable Timer Output 0, 1
P70-P73: Port7BUZ: Buzzer Clock
P80, P81: Port8PCL: Programmable Clock
KR0-KR7: Key Return 0-7INT0, 1, 4: External Vectored Interrupt 0, 1, 4
DD: Positive Power SupplyINT2: External Test Input 2
V
VSS: GroundX1, X2: Main System Clock Oscillation 1, 2
PP: Programming Power SupplyXT1, XT2: Subsystem Clock Oscillation 1, 2
V
NC: No ConnectionMD0-MD3: Mode Selection 0-3
D0-D7: Data Bus 0-7
Data Sheet U10328EJ3V1DS00
5
2. BLOCK DIAGRAM
µ
PD75P0016
TI0/P13
PTO0/P20
PTO1/P21
SI/SB1/P03
SO/SB0/P02
SCK/P01
INT0/P10
INT1/P11
INT2/P12
INT4/P00
KR0/P60KR7/P73
BUZ/P23
BASIC INTERVAL
TIMER/
WATCHDOG
TIMER
8-BIT
TIMER/EVENT
COUNTER #0
INTT0
8-BIT TIMER
COUNTER
CLOCKED
SERIAL
INTERFACE
INTCSI
INTERRUPT
CONTROL
8
INTBT
#1
INTT1
WATCH
TIMER
INTW
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
X2X1XT2XT1
VSSVDDRESETVPP
6
Data Sheet U10328EJ3V1DS00
3. PIN FUNCTIONS
3.1 Port Pins
µ
PD75P0016
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.
Data Sheet U10328EJ3V1DS00
7
3.2 Non-port Pins
µ
PD75P0016
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.Asynch
INT2P12Rising edge-triggered testable inputAsynch
KR0-KR3IP60-P63Falling edge-triggered testable inputInput<F>-A
KR4-KR7IP70-P73Falling edge-triggered testable inputInput<F>-A
X1I—Ceramic/crystal resonator connection for main system clock.——
X2—inverted clock to X2.
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
If using an external clock, input it to X1 and input the
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
Data Sheet U10328EJ3V1DS00
3.3 I/O Circuits for Pins
(
)
The I/O circuits for the µPD75P0016’s pin are shown in schematic diagrams below.
TYPE ATYPE D
V
DD
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).
µ
PD75P0016
V
DD
P-ch
OUT
N-ch
TYPE E-BTYPE B
IN
Output
disable
Schmitt trigger input with hysteresis characteristics.
TYPE B-CTYPE F-A
V
DD
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
Type A
V
DD
P-ch
IN/OUT
V
DD
P.U.R.
P.U.R.
P-ch
IN
P.U.R. : Pull-Up Resistor
Data
Output
disable
Data Sheet U10328EJ3V1DS00
Type D
Type B
P.U.R. : Pull-Up Resistor
IN/OUT
Continued
9
µ
PD75P0016
TYPE F-B
output
disable
(P)
data
output
disable
TYPE M-C
output
disable
(N)
P.U.R.
enable
V
DD
P.U.R. : Pull-Up Resistor
P-ch
N-ch
V
TYPE M-E
V
DD
IN/OUT
P.U.R.
P-ch
IN/OUT
data
output
disable
Input
instruction
V
DD
P-ch
P.U.R.
N-ch
(+13 V)
Note
Voltage
limitation
circuit
(+13 V)
Note Pull-up resistor that operates only when an input
instruction has been executed. (Current flows
from V
DD
DD
to the pins when at low level)
data
output
disable
P.U.R.
enable
N-ch
P.U.R. : Pull-Up Resistor
P.U.R.
P-ch
IN/OUT
10
Data Sheet U10328EJ3V1DS00
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
Open
µ
PD75P0016
Note When the subsystem clock is not used, set SOS. 0 to 1 (not to use the internal feedback resistor).
Data Sheet U10328EJ3V1DS00
11
µ
PD75P0016
4. SWITCHING BETWEEN MK I AND MK II MODES
Setting a stack bank selection (SBS) register for the µPD75P0016 enables the program memory to be switched
between the Mk I mode and the Mk II mode. This capability enables the evaluation of the µPD750004, 750006, or 750008
using the µPD75P0016.
µ
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 µPD750004, 750006, and 750008)
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 µPD750004, 750006, andMk II mode of µPD750004, 750006, and
mode750008750008
PD750004, 750006, and 750008)
µ
PD75P0016.
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 used in execution of a subroutine call
instruction increases by 1 per stack for the usable area 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
Data Sheet U10328EJ3V1DS00
µ
PD75P0016
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
1
1
0Be sure to set 0 for bit 2.
Memory bank 0
0
Memory bank 1
1
0
Setting prohibited
1
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.
Data Sheet U10328EJ3V1DS00
13
µ
PD75P0016
5. DIFFERENCES BETWEEN µPD75P0016 AND µPD750004, 750006, AND 750008
The µPD75P0016 replaces the internal mask ROM in the µPD750004, 750006, and 750008 with a one-time PROM
and features expanded ROM capacity. The µPD75P0016’s Mk I mode supports the Mk I mode in the µPD750004, 750006,
and 750008 and the µPD75P0016’s Mk II mode supports the Mk II mode in the µPD750004, 750006, and 750008.
µ
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
PD750008 User's Manual (U10740E) for details on CPU functions and on-chip hardware.
Table 5-1. Differences between
PD75P0016 and the µPD750004, 750006, and 750008. Be sure to check the
µ
PD75P0016 and µPD750004, 750006, and 750008
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 (217/fx or 215/fx)
RESET
Feedback resistorYes (can select usable or unusable.)No (usable)
OtherNoise resistance and noise radiation may differ due to the different circuit complexities and
µ
PD750004
40966144819216384
mask layouts.
Note
µ
PD750006
µ
PD750008
µ
No (fixed at 215/fx)
PD75P0016
Note
Note 217/fx : 21.8 ms @ 6.0 MHz, 31.3 ms @ 4.19 MHz
15
/fx : 5.46 ms @ 6.0 MHz, 7.81 ms @ 4.19 MHz
2
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.
Data Sheet U10328EJ3V1DS00
15
Figure 6-2. Data Memory Map
µ
PD75P0016
Data area
static RAM
(512 × 4)
General
register
Stack area
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
Data Sheet U10328EJ3V1DS00
µ
PD75P0016
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 [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
PD750008 User's Manual [U10740E]) 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.
Data Sheet U10328EJ3V1DS00
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
µ
PD75P0016
18
Data Sheet U10328EJ3V1DS00
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.