The µPD75P0076 replaces the µPD750068’s internal mask ROM with a one-time PROM and features expanded ROM
capacity.
µ
Because the
development using the µPD750064, 750066, and 750068 products, and for use in small-lot production.
PD75P0076 supports programming by users, it is suitable for use in prototype testing for system
Detailed information about function is provided in the following user’s manual.
Be sure to read it before designing:
µ
PD750068 User’s Manual: U10670E
FEATURES
Compatible with µPD750068
Memory capacity:
• PROM : 16384 x 8 bits
• RAM: 512 x 4 bits
Can operate with same power supply voltage as the mask ROM version µPD750068
VDD = 1.8 to 5.5 V
On-chip A/D converter capable of low-voltage operation (AVREF = 1.8 to 5.5 V)
8-bit resolution x 8 channels
Instruction execution time• 0.95, 1.91, 3.81, 15.3 µs (@ 4.19 MHz with main system clock)
• 0.67, 1.33, 2.67, 10.7 µs (@ 6.0 MHz with main system clock)
• 122 µs (@ 32.768 kHz with subsystem clock)
On-chip memoryPROM16384 x 8 bits
RAM512 x 4 bits
General-purpose register• 4-bit operation: 8 x 4 banks
• 8-bit operation: 4 x 4 banks
Input/CMOS input12Connections of on-chip pull-up resistors can be specified by software: 7
outputAlso used for analog input pins: 4
port
Timer4 channels
Serial interface• 3-wire serial I/O mode ··· MSB or LSB can be selected for transferring first bit
A/D converter8-bit resolution x 8 channels (1.8 V ≤ AVREF≤ VDD)
Bit sequential buffer16 bits
Clock output (PCL)• Φ, 1.05 MHz, 262 kHz, 65.5 kHz (@ 4.19 MHz with main system clock)
Buzzer output (BUZ)• 2, 4, 32 kHz (@ 4.19 MHz with main system clock or
Vectored interruptsExternal: 3, Internal: 4
Test inputExternal: 1, Internal: 1
System clock oscillator• Ceramic or crystal oscillator for main system clock oscillation
Standby functionSTOP/HALT mode
Operating ambient temperature
Power supply voltageVDD = 1.8 to 5.5 V
Package• 42-pin plastic shrink DIP (600 mil, 1.778-mm pitch)
CMOS input/output12Connections of on-chip pull-up resistors can be specified by software: 12
Also used for analog input pins: 4
N-ch open-drain813-V withstand voltage
input/output pins
Total32
•
8-bit timer/event counter: 2 channels (can be used as the 16-bit timer/event counter)
In normal operation mode, make sure to connect VPP directly to VDD.
Pin Identification
AN0 to AN7: Analog Input 0 to 7P110 to P113 : Port 11
AVREF: Analog ReferencePCL: Programmable Clock
AV
SS: Analog GroundPTO0, PTO1 : Programmable Timer Output 0, 1
BUZ: Buzzer ClockRESET: Reset Input
D0 to D7: Data Bus 0 to 7SB0, SB1: Serial Data Bus 0, 1
INT0, INT1, INT4 : External Vectored Interrupt 0, 1, 4SCK: Serial Clock
INT2: External Test Input 2SI: Serial Input
KR0 to KR3: Key ReturnSO: Serial Output
MD0 to MD3: Mode Selection 0 to 3TI0, TI1: Timer Input 0, 1
P00 to P03: Port 0V
P10 to P13: Port 1VPP: Programmable Power Supply
P20 to P23: Port 2V
P30 to P33: Port 3X1, X2: Main System Clock Oscillation 1, 2
P40 to P43: Port 4XT1, XT2: Subsystem Clock Oscillation 1, 2
P50 to P53: Port 5
P60 to P63: Port 6
DD: Positive Power Supply
SS: Ground
4
2. BLOCK DIAGRAM
µ
PD75P0076
BUZ/P23
TI0/P13
PTO0/P20
TI1/P12/INT2
PTO1/P21
SI/SB1/P03
SO/SB0/P02
SCK/P01
INT0/P10
INT1/P11
INT4/P00
INT2/P12/TI1
KR0/P60 to
KR3/P63
AN0/P110 to
AN3/P113
AN4/P60 to
AN7/P63
BASIC INTERVAL
TIMER/WATCHDOG
TIMER
WATCH TIMER
INTW
8-BIT
TIMER/
EVENT
COUNTER#0
8-BIT
TIMER/
EVENT
COUNTER#1
CLOCKED SERIAL
INTERFACE
INTERRUPT
CONTROL
4
4
4
A/D CONVERTER
INTBT
INTW
INTT0
CASCADED
16-BIT
TIMER/
EVENT
COUNTER
INTT1
TOUT0INTCSI
SP (8)
ALU
PROGRAM COUNTER
CY
SBS
BANK
GENERAL REG.
PROGRAM
MEMORY
(PROM)
16384 x 8 BITS
DECODE
AND
CONTROL
CLOCK
OUTPUT
CONTROL
CLOCK
DIVIDER
DATA MEMORY
(RAM)
512 x 4BITS
N
fx/2
SYSTEM CLOCK
GENERATOR
SUBMAIN
CPU CLOCK Φ
PCL/P22XT1 XT2 X1 X2
STAND BY
CONTROL
PORT0
PORT1
PORT2
PORT3
PORT4
PORT5
PORT6
PORT11
P00 to P034
P10 to P13
4
P20 to P23
4
P30/MD0 to
4
P33/MD3
P40/D0 to
4
P43/D3
P50/D4 to
4
P53/D7
P60 to P63
4
P110 to P113
4
BIT SEQ. BUFFER (16)
PP VDD VSS RESET
V
AV
AVSS
REF
5
3. PIN FUNCTIONS
3.1 Port Pins
µ
PD75P0076
Pin nameI/OAlternate functionFunction
8-bitAfterI/O circuit
accessibleresettype
Note 1
P00IINT4This is a 4-bit input port (PORT0).NotInput<B>
For P01 to P03, on-chip pull-up resistors areavailable
P01I/OSCKsoftware-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).NotInput<B>-C
Connections of on-chip pull-up resistors areavailable
P11INT1software-specifiable in 4-bit units. P10/INT0
can select a noise elimination circuit.
P12TI1/INT2
P13TI0
P20I/OPTO0This is a 4-bit I/O port (PORT2).NotInputE-B
Connections of on-chip pull-up resistors areavailable
P21PTO1software-specifiable in 4-bit units.
P22PCL
P23BUZ
P30I/OMD0This is a programmable 4-bit I/O port (PORT3).NotInputE-B
Input and output can be specified in single-bitavailable
P31MD1units. Connections of on-chip pull-up resistors
are software-specifiable in 4-bit units.
P32MD2
P33MD3
Note 2
P40
P41
P42
P43
P50
P51
P52
P53
Note 2
Note 2
Note 2
Note 2
Note 2
Note 2
Note 2
I/OD0This is an N-ch open-drain 4-bit I/O portAvailableHigh
(PORT4). In the open-drain mode, withstandsimpedanceM-E
D1up to 13 V. Also used as data I/O pin
(lower 4 bits) for program memory (PROM)
D2write/verify.
D3
I/OD4This is an N-ch open-drain 4-bit I/O portHigh
(PORT5). In the open-drain mode, withstandsimpedanceM-E
D5up to 13 V. Also used as data I/O pin
(upper 4 bits) for program memory (PROM)
D6write/verify.
D7
P60I/OKR0/AN4This is a programmable 4-bit I/O port (PORT6).NotInput<Y>-D
Input and output can be specified in single-bitavailable
P61KR1/AN5units. Connections of on-chip pull-up resistors
are software-specifiable in 4-bit units.
P62KR2/AN6
P63KR3/AN7
P110IAN0This is a 4-bit input port (PORT11).NotInputY-A
KR0 to KR3IP60/AN4 toFalling edge detection testable inputInput<Y>-D
AN0 to AN3I
AN4 to AN7P60/KR0 to<Y>-D
AVREF——A/D converter reference voltage—Z-N
AVSS——A/D converter reference GND potential—Z-N
X1I—Crystal/ceramic connection pin for the main system——
X2—clock oscillator. When inputting the external clock,
XT1I—Crystal connection pin for the subsystem clock——
XT2—oscillator. When the external clock is used, input the
RESETI—System reset input (low-level active)—<B>
Alternate function
P63/AN7
P110 to P113
P63/KR3
Function
counter.
system clock trimming)
Serial data bus I/O
Serial data bus I/O
edge and falling edge detection)
interrupt input (detectionasynchronous selection
INT0/P10 can select a noise
eliminator.
testable input
Analog signal inputInputY-A
input the external clock to pin X1, and the inverted
phase of the external clock to pin X2.
external clock to pin XT1, and the inverted phase of
the external clock to pin XT2. Pin XT1 can be used
as a 1-bit input (test) pin.
AfterCircuit
resettype
Note
Note Circuit types enclosed in brackets indicate Schmitt triggered inputs.
7
3.2 Non-port Pins (2/2)
µ
PD75P0076
Pin nameI/O
MD0 to MD3IP30 to 33Mode selection for program memory (PROM)InputE-B
D0 to D3I/OP40 to 43
D4 to D7P50 to 53
Note
VPP
VDD——Positive power supply——
VSS——Ground——
Alternate function
write/verify.
Data bus pin for program memory (PROM) write/verify.
——Programmable voltage supply in program memory——
(PROM) write/verify mode.
In normal operation mode, connect directly to VDD.
Apply +12.5 V in PROM write/verify mode.
Function
AfterCircuit
resettype
InputM-E
Note During normal operation, the VPP pin will not operate normally unless connected to VDD pin.
8
3.3 Equivalent Circuits for Pins
The equivalent circuits for the µPD75P0076’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).
µ
PD75P0076
V
DD
P-ch
OUT
N-ch
(1/3)
TYPE E-BTYPE B
IN
Schmitt trigger input with hysteresis characteristics.
TYPE B-CTYPE F-A
V
DD
P.U.R.
P-ch
P.U.R.
enable
Data
Output
disable
P.U.R.
enable
Type D
Type A
P.U.R. : Pull-Up Resistor
P.U.R.
enable
V
DD
P-ch
IN/OUT
V
DD
P.U.R.
P.U.R.
P-ch
IN
P.U.R. : Pull-Up Resistor
Schmitt trigger input with hysteresis characteristics.
Data
Output
disable
Type D
IN/OUT
Type B
P.U.R. : Pull-Up Resistor
9
TYPE F-BTYPE Y
V
DD
µ
PD75P0076
(2/3)
Output
disable
(P)
Data
Output
disable
TYPE M-C
Output
disable
Output
disable
(N)
P.U.R. : Pull-Up Resistor
P.U.R.
enable
Data
P.U.R.
enable
N-ch
V
DD
P-ch
N-ch
V
DD
P.U.R.
P-ch
P-ch
IN/OUT
P.U.R.
IN/OUT
IN
V
DD
TYPE Y-A
IN
P-ch
N-ch
AV
SS
Input
enable
Type Y
Sampling C
Reference voltage
(from the voltage tap of
the serial resistor string)
Type A
V
DD
+
–
AV
SS
IN instruction
Input butfer
10
P.U.R. : Pull-Up Resistor
TYPE M-E*
Data
Output
disable
V
DD
Input
instruction
P-ch
P.U.R.
Note
Voltage
control
circuit
Note This is a pull-up resistor which only
operates when an input instruction
is executed (when the pin is low
a current flows from V
N-ch
(+13 V withstand
voltage)
(+13 V withstand
voltage)
DD
to the pin).
IN/OUT
µ
PD75P0076
(3/3)
TYPE Y-D
Data
Output
disable
P.U.R.
enable
Type D
Type B
Type Y
P.U.R.: Pull-Up Resistor
V
DD
P.U.R.
P-ch
IN/OUT
TYPE Z-N
AV
ADEN
REF
N-ch
AV
Reference
voltage
SS
11
3.4 Handling of Unused Pins
P00/INT4Connect to VSS or VDD
P01/SCKIndependently connect to VSS or VDD through
P02/SO/SB0
P03/SI/SB1Connected to VSS
P10/INT0, P11/INT1Connect to VSS or VDD
P12/TI1/INT2
P13/TI0
P20/PTO0Input mode : independently connected to VSS
P21/PTO1or VDD through resistor
P22/PCLOutput mode : open
P23/BUZ
P30/MD0 to P33/MD3
P40/D0 to P43/D3Connected to VSS
P50/D4 to P53/D7
P60/KR0/AN4 to P63/KR3/AN7Input mode: independently connected to VSS
P110/AN0 to P113/AN3Connected to VSS or VDD
Note
XT1
Note
XT2
VPPMake sure to connect directly to VDD
AVREFConnect to VSS
AVSS
PinRecommended connection
resistor
or VDD through resistor
Output mode : open
Connect to VSS or VDD
Open
µ
PD75P0076
Note When the subsystem clock is not used, set SOS.0 = 1 (on-chip feedback resistor is not used).
12
µ
PD75P0076
4. SWITCHING BETWEEN Mk I AND Mk II MODES
Setting a stack bank selection (SBS) register for the µPD75P0076 enables the program memory to be switched between
the Mk I mode and the Mk II mode. This capability enables the evaluation of the µPD750064, 750066, and 750068 using
the µPD75P0076.
µ
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 µPD750064, 750066, and 750068)
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 to 0
Program memory (bytes)16384
Data memory (bits)512 x 4
StackStack bankSelectable from memory banks 0 and 1
Stack bytes2 bytes3 bytes
InstructionBRA !addr1Not providedProvided
CALLA !addr1
InstructionCALL !addr3 machine cycles4 machine cycles
execution time CALLF !faddr2 machine cycles3 machine cycles
Supported mask ROM versions andMk I mode of µPD750064, 750066,Mk II mode of µPD750064, 750066,
modeand 750068and 750068
PD750064, 750066, and 750068)
µ
PD75P0076.
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.
13
µ
PD75P0076
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, be
Note
sure to initialize the stack bank selection register to 100xB
Note
be sure to initialize it to 000xB
.
at the beginning of the program. When using the Mk II mode,
Note Set the desired value for x.
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 enter “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
Cautions 1. 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.
2. When using the Mk II mode, execute a subroutine call instruction and an interrupt instruction after
RESET input and after setting the stack bank selection register.
14
µ
PD75P0076
5. DIFFERENCES BETWEEN µPD75P0076 AND µPD750064, 750066 AND 750068
The µPD75P0076 replaces the internal mask ROM in the µPD750064, 750066, and 750068 with a one-time PROM and
features expanded ROM capacity. The µPD75P0076’s Mk I mode supports the Mk I mode in the µPD750064, 750066,
and 750068 and the µPD75P0076’s Mk II mode supports the Mk II mode in the µPD750064, 750066, and 750068.
µ
Table 5-1 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.
For further description of CPU functions and internal hardware, see the
Information (U10165E).
Table 5-1. Differences between
PD75P0076 and the µPD750064, 750066, 750068. Be sure to check the
µ
PD750064 and 750068 Preliminary Product
µ
PD75P0076 and µPD750064, 750066, 750068
Item
Program counter12-bit13-bit14-bit
Program memory (bytes)Mask ROMMask ROMMask ROMOne-time PROM
ports 4 and 5
Wait time whenYes (217/fX, 215/fX selectable)
RESET
Feedback resistor ofYes (Use/not use selectable)No (Use)
subsystem clock
Pin configuration Pins 6 to 9P33 to P30P33/MD3 to P30/MD0
Pin 20ICVPP
Pins 34 to 37P53 to P50P53/D7 to P53/D4
Pins 38 to 41P43 to P40P43/D3 to P40/D0
OtherNoise resistance and noise radiation may differ due to different circuit complexities
µ
PD750064
40966144819216384
and mask layouts.
µ
PD750066
Note
µ
PD750068
No (fixed at 215/fX)
µ
PD75P0076
Note
Note 217/fX is 21.8 ms in 6.0 MHz operation and 31.3 ms in 4.19 MHz operation.
215/fX is 5.46 ms in 6.0 MHz operation and 7.81 ms in 4.19 MHz operation.
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.
16
Figure 6-2. Data Memory Map
µ
PD75P0076
Data area
static RAM
(512 x 4)
General
register
area
Stack area
Note
000H
01FH
020H
0FFH
100H
1FFH
Data memory
(32 x 4)
256 x 4
(224 x 4)
256 x 4
Memory bank
0
1
Peripheral hardware area
Note Either memory bank 0 or 1 can be selected as the stack area.
F80H
FFFH
Unimplemented
128 x 4
15
17
µ
PD75P0076
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, see the RA75X Assembler Package User’s Manual–Language (EEU-
1363)). When there are several codes, select and use just one. Uppercase 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,
µ
see the
PD750068 User’s Manual (U10670E)). Labels that can be entered for fmem and pmem are restricted.
RepresentationCoding format
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 to FBFH, FF0H to FFFH immediate data or label
pmemFC0H to FFFH immediate data or label
addr0000H to 3FFFH immediate data or label
addr1000H to 3FFFH immediate data or label (in Mk II mode only)
caddr12-bit immediate data or label
faddr11-bit immediate data or label
taddr20H to 7FH immediate data (however, bit0 = 0) or label
PORTnPORT0 to PORT6, PORT11
IEXXXIEBT, IECSI, IET0, IET1, IE0 to IE2, IE4, IEW
RBnRB0 to RB3
MBnMB0, MB1, MB15
Note
18
Note When processing 8-bit data, only even addresses can be specified.
(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 6, 11)
IME: Interrupt master enable flag
IPS: Interrupt priority select register
IExxx: Interrupt enable flag
RBS: Register bank select register
MBS: Memory bank select register
PCC: Processor clock control register
.: Delimiter for address and bit
(xx): Contents of address xx
xxH: Hexadecimal data
µ
PD75P0076
19
Loading...
+ 43 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.