The µPD75512 is a 4-bit single-chip microcomputer which employs 75X series architecture, and its perform-
ance is comparable to that of an 8-bit microcomputer.
µ
In addition to its high-speed processing capabilities, the
of 1, 4, or in 8-bits. With its internally provided A/D converter and serial interface, the
highest performance in its class.
Detailed functions are described in the following user‘s manual. Be sure to read it for designing.
µ
PD75516 User‘s Maual: IEM-5049
PD75512 is also capable of processing data in units
µ
PD75512 provides the
FEATURES
• Adequate I/O lines: 64
(can be provided pull-up/pull-down resistors: 47)
• Built-in 8-bit serial interface: 2-ch
NEC standard serial bus interface (SBI) internally provided
• Built-in 8-bit A/D converter: 8-ch
• Variable instruction execution time function which is convenient for high-speed operation and power saving
µ
· 0.95
· 122
• Program memory (ROM) size: 12,160 × 8 bits
• Data memory (RAM) size: 512 × 4 bits
• High-performance timer function: 4-ch
· 8-bit timer/event counter
· Clock timer
· 8-bit basic interval timer
· Timer/pulse generator: Capable of outputting 14-bit PWM
• Clock operation for reduced power consumption possible
(5
• PROM version (
APPLICATIONS
VCRs, CD players, telephones, cameras, etc.
s/1.95 µs/15.3 µs (at 4.19 MHz operation),
µ
s (at 32.768 kHz operation)
µ
A TYP. at 3 V operation)
µ
PD75P516) available
The information in this document is subject to change without notice.
Document No. IC-2569D
(O. D. No. IC-7833E)
Date Published November 1993 P
Printed in Japan
The mark ★ shows major revised points.
NEC Corporation 1990
Page 2
µ
PD75512
ORDERING INFORMATION
Part NumberPackageQuality Grade
µ
PD75512GF-xxx-3B980-pin plastic QFPStandard
(14 × 20mm)
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.
APPENDIX A. DEVELOPMENT TOOLS ................................................................................................ 65
APPENDIX B. RELATED DOCUMENTS ................................................................................................66
4
Page 5
1.PIN CONFIGURATION
AN0
AV
REF
V
DD
*
V
DD
P113
P112
P111
P110
P103
P102
P101
P100
P93
P92
P91
P90
SI1/P83
SO1/P82
SCK1/P81
PPO/P80
KR7/P73
KR6/P72
KR5/P71
KR4/P70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
80
25 26
SS
AN2
AN4/P150
AN3
AN5/P151
AN6/P152
AN7/P153
AV
P120
P121
P122
P123
P130
P131
AN1
79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
µ
PD75512GF––3B9×××
27 28 29 30 31 32 33 34 35 36 37 38 39
P132
40
P133
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
µ
P140
P141
P142
P143
RESET
X2
X1
IC
XT2
XT1
SS
V
P00/INT4
P01/SCK0
P02/SO0/SB0
P03/SI0/SB1
P10/INT0
P11/INT1
P12/INT2
P13/TI0
P20/PTO0
P21
P22/PCL
P23/BUZ
P30
PD75512
KR3/P63
*: Power must be supplied to both VDD pins.
P52
P51
P50
P53
KR1/P61
KR2/P62
KR0/P60
IC: Internally Connected (Connect directly to VSS)
P43
P42
P41
P40
P33
SS
V
P32
P31
5
Page 6
2.TYPICAL SYSTEM CONFIGURATION
VTR (Voltage synthesizer tuner)
µ
PD75512
µ
PD75512
Mechanism
Remote control
IC
Servo IC
Key matrix
Mechanism
control
INT0
Input port
Mechanical
Output
port
Port4, 5
KR0-KR7
System clock
controller/
Timer
Clock for clock
SIO
Analog
input
PPO
SIO
OSD
LPF
FIP driver
Tuner
FIP
6
Page 7
µ
PD75512
7
3. INTERNAL BLOCKDIAGRAM
PORT 0
PORT 1
PORT 2
PORT 3
PORT 4
PORT 5
PORT 6
PORT 7
PORT 8
PORT 9
PORT10
PORT11
PORT12
PORT13
PORT14
PORT15
44P10-P13
P00-P03
4 P20-P23
4
4 P30-P33
4 P40-P43*
4 P50-P53*
4 P60-P63
4 P70-P73
P80-P83
4 P90-P93
4 P100-P103
4 P110-P113
4 P120-P123*
4 P130-P133*
4 P140-P143*
P150-P153
4
SP (8)
BANK
GENERAL REG.
CY
ALU
PROGRAM
COUNTER (14)
ROM
PROGRAM
MEMORY
12160 × 8 BITS
DECODE
AND
CONTROL
RAM
DATA MEMORY
512 x 4 BITS
TI0/P13
TIMER/EVENT
COUNTER
#0
INTT0
PTO0/P20
BUZ/P23
WATCH
TIMER
INTW
INTCSI
SERIAL
INTERFACE0
SI0/SB1/P03
SO0/SB0/P02
SCK0/P01
INT0/P10
INT1/P11
INT2/P12
INT4/P00
KR0/P60
–KR7/P73
8
INTERRUPT
CONTROL
BIT SEQ.
BUFFER (16)
BASIC
INTERVAL
TIMER
INTBT
PPO/P80
TIMER/PULSE
GENERATOR
INTTPG
SERIAL
INTERFACE1
SI1/P83
SO1/P82
SCK1/P81
A/D
CONVERTER
AV
REF
AV
SS
AN0-AN3
AN4
/P150-AN7/P15
f /2
X
N
VDDV
SS
RESET
PCL/P22XT1 XT2 X1 X2
SUBMAIN
CLOCK
OUTPUT
CONTROL
CLOCK
DIVIDER
CLOCK
GENERATOR
STAND BY
CONTROL
CPU CLOCK
4
Φ
*: PORTs 4, 5, and 12 to 14 are 10 V middle voltage, N-ch open-drain input/output ports.
Page 8
4. PIN FUNCTIONS
4.1 PORT PINS (1/2)
µ
PD75512
PinInput/SharedFunction8-bitWhen ResetOutput
Input/
NameOutputPinI/OCircuit
Type*
P00INT44-bit input port (PORT0).B
For P01 to P03, built-in pull-up
P01SCK0resistors can be specified in 3-bitF -A
Inputunits by software.xInput
P02SO0/SB0F -B
P03SI0/SB1M -C
P10INT0With noise
elimination function
P11INT1
Input4-bit input port (PORT1).xInputB -C
P12INT2Built-in pull-up resistors can be
specified by software in 4-bit units.
P13TI0
P20PTO0
4-bit input/output port (PORT2).
P21Input/—Built-in pull-up resistors can be
outputspecified by software in 4-bit units.xInputE-B
P22PCL
P23BUZ
2
P30*
P31*
P32*
P33*
2
Input/—Input/output can be specified in
outputbit units.xInputE-C
2
2
—Programmable 4-bit input/output
port (PORT3).
—Built-in pull-up resistors can be
specified by software in 4-bit unit.
—
1
N-ch open-drain 4-bit input/outputHigh level
port (PORT4).(when pull-up
P40 toInput/—A pull-up resistor can be providedresistor isM
2
P43*
outputin bit units (mask option).provided) or
10V withstanding voltage in thehigh impedance
open-drain mode.
O
N-ch open-drain 4-bit input/outputHigh level
port (PORT5).(when pull-up
P50 toInput/—A pull-up resistor can be providedresistor isM
2
P53*
outputin bit units (mask option).provided) or
10V withstanding voltage in thehigh impedance
open-drain mode.
P60KR0Programmable 4-bit input/ output
port (PORT6).
P61Input/KR1Input/output can be specified in
outputbit units.OInputF -C
P62KR2Built-in pull-up resistors can be
specified by software in 4-bit units.
P63KR3
*1: The number enclosed with a circle indicates Schmitt trigger input.
*2: Capable of direct driving on LED.
8
Page 9
4.1 PORT PINS (2/2)
µ
PD75512
PinInput/SharedFunction8-bitWhen ResetOutput
Input/
NameOutputPinI/OCircuit
Type*
P70KR4
4-bit input/output port (PORT7).
P71Input/KR5Built-in pull-up resistor can be
outputspecified in 4-bit units by software.OInputF-A
P72KR6
P73KR7
P80PPOE
P81SCK1F
Input4-bit input port (PORT8).xInput
P82SO1E
P83SI1B
Low level
4-bit input/output port (PORT9).(when pullP90 toInput/—Built-in pull-up resistors can bexdown resistorV
P93outputspecified in bit units by maskis provided)
option.or high
impedance
P100 toInput/—4-bit input/output port (PORT10).InputE
P103output
x
P110 toInput/—4-bit input/output port (PORT11).InputE
P113output
1
N-ch open-drain 4-bit input/outputHigh level
P120 toInput/—A pull-up resistor can be providedresistor isM
P123outputin bit units (mask option).xprovided) or
P130 toInput/—A pull-up resistor can be providedxresistor isM
P133outputin bit units (mask option).provided) or
P140 toInput/—A pull-up resistor can be providedxresistor isM
P143outputin bit units (mask option).provided) or
P150 toInputAN4 to AN74-bit input port (PORT15).xInputY-A
P153
port (PORT12).(when pull-up
10V withstanding voltage in thehigh impedance
open-drain mode.
N-ch open-drain 4-bit input/outputHigh level
port (PORT13).(when pull-up
10V withstanding voltage in thehigh impedance
open-drain mode.
N-ch open-drain 4-bit input/outputHigh level
port (PORT14).(when pull-up
10V withstanding voltage in thehigh impedance
open-drain mode.
*1: The number enclosed with a circle indicates Schmitt trigger input.
This input/output circuit consists of D-type push-pull
outputs and Type B Schmitt trigger inputs.
V
Type F-AType M
DD
P.U.R.
P.U.R.
enable
data
Type D
output
disable
Type A
P–ch
IN/OUT
data
output
disable
P.U.R. : Pull-Up Resistor
Fig. 4-1 Pin Input/Output Circuits (2/3)
Type B
P.U.R. : Pull-Up Resistor
V
DD
P.U.R.
(Mask Option)
N-ch
(can withstand
up to +10 V)
Middle-voltage input buffer
(can withstand up to +10 V)
P.U.R. : Pull-Up Resistor
IN/OUT
12
Page 13
µ
PD75512
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
Type Y-A
IN
V DD
Type VType Z
AV
data
output
disable
Type D
IN/OUT
REF
P–ch
N–ch
AV
SS
input
enable
Sampling
C
Reference voltage
(from a voltage tap of series
resistor string)
IN instruction
V DD
+
–
AVSS
IN
Type Y
V DD
P.U.R. : Pull-Up Resistor
P–ch
N–ch
Sampling
AV
SS
Input
enable
Type A
P.D.R
(Mask Option)
V DD
+
–
C
AVSS
Reference voltage
(from a voltage tap of series
resistor string)
AV
Reference voltage
SS
Fig. 4-1 Pin Input/Output Circuits (3/3)
13
Page 14
4.4 RECOMMENDED CONDITIONS FOR UNUSED PINS
Table 4-1 Recommended Conditions for Unused Pins
PinRecommended Conditions
P00/INT4Connect to VSS
SCK0
P01/
P02/SO0/SB0Connect to VSS or VDD
P03/SI1/SB1
µ
PD75512
P10/INT0-P12/INT2
P13/TI0
P20/PTO0
P21
P22/PCL
P23/BUZ
P30-P33
P40-P43
P50-P53
P60/KR0-P63/KR3
P70/KR4-P73/KR7
P80/PPO
SCK1
P81/
P82/SO1
P83/SI1
P90-P93
Connect to VSS
Input state: Connect to VSS or VDD
Output state: Open
Connect to VSS or VDD
P100-P103
P110-P113Input state: Connect to VSS or VDD
P120-P123Output state: Open
P130-P133
P140-P143
P150/AN4-P153/AN7
AN0-AN3
XT1 Connect to VSS or VDD
XT2 Open
AVREF
AVSSConnect to VSS
IC
14
Connect to VSS
Page 15
4.5 MASK OPTION SELECTION
The following mask options are provided with the pins.
(1)Pull-up/pull-down resistor selection
Table 4-2 Pull-up/Pull-down Resistor Selection
PinsMask Option
P40-P43(1) With pull-up resistor(2) Without pull-up resistor
P50-P53(Can be specified in bit units)(Can be specified in bit units)
P120-P123
P130-P133
P140-P143
P90-P93(1) With pull-down resistor(2) Without pull-down resistor
(Can be specified in bit units)(Can be specified in bit units)
µ
PD75512
(2)Feedback resistor selection for the subsystem clock oscillation
Table 4-3 Feedback Resistor Selection
PinsMask Option
XT1, XT2(1) With feedback resistor(2) Without feedback resistor
Note: The operation is not affected if the feedback resistor is selected when the subsystem
clock is not used. However, the supply current I
(When the subsystem clock(When the subsystem clock
is used)is not used)
DD is increased.
15
Page 16
µ
5.MEMORY CONFIGURATION
• Program memory (ROM) ... 12160 words × 8 bits (0000H-2F7FH)
• 0000H, 0001H :Vector table to which address from which program is started is written after reset
• 0002H-000DH :Vector table to which address from which program is started is written after interrupt
• 0020H-007FH :Table area referenced by GETI instruction
• Data memory
• Data area .... 512 words × 4 bits (000H–1FFH)
• Peripheral hardware area .... 128 words × 4 bits (F80H–FFFH)
PD75512
16
Page 17
Address
0000H
0002H
76
MBE
RBE
MBE
RBE
Internal reset start address (upper 6 bits)
Internal reset start address (lower 8 bits)
INTBT/INT4 start address (upper 6 bits)
INTBT/INT4 start address (lower 8 bits)
µ
PD75512
0
0004H
0006H
0008H
000AH
0020H
007FH
0080H
007FH
0800H
MBE
MBE
MBE
MBE
MBE
RBE
RBE
RBE
RBE
RBE
INT0 start address (upper 6 bits)
INT0 start address (lower 8 bits)
INT1 start address (upper 6 bits)
INT1 start address (lower 8 bits)
INTCSIO0 start address (upper 6 bits)
INTCSIO0 start address (lower 8 bits)
INTT0 start address (upper 6 bits)
INTT0 start address (lower 8 bits)
INTTPG start address (upper 6 bits)000CH
INTTPG start address (lower 8 bits)
GETI instruction reference table
CALLF
!faddr
instruction
entry
address
instruction
BRCB
!caddr
branch
address
CALL !addr
instruction
subroutine
entry address
BR !addr
instruction
branch address
BR $addr
instruction
relational
branch address
(–15 to –1,
+2 to +16)
Branch destination
subroutine entry
GETI instruction
address and
address for
0FFFH
1000H
1FFFH
2000H
2F7FH
Remarks: In addition to the above, branching to an address, for which only the lower 8 bits of the PC are
modified, is possible by the BR PCDE and BR PCXA instructions.
PORT94-bit I/OCan be specified for I/O in 4-bit units.
FunctionOperation/FeatureRemarks
4-bit inputmode of the shared pin.
4-bit I/OBUZ pins.
4-bit I/OWhether or not the internal
(N-chCan be specifiedforpull-up resistor is provided
open-drain,I/O in 4-bit unitscan be specified for each bit
can sustainby mask option
with 10V)
4-bit I/Obe paired to I/O
4-bitCan be read or tested regardless of the operationAlso serves as PPO,
inputmode of the shared pin.SO1, and SI1 pins.
Can be read or tested regardless of the operationSO0/SB0, and SI0/SB1 pins
Can be specified for I/O in 4-bit unitsAlso serves as PTO0, PCL and
Can be specified for I/O in 1/4-bit units.—
Ports 4 and 5 can
be paired to I/O
data in 8-bit units
Can be specified
for I/O in 1/4-bit unitsPorts 6 and 7 canAlso serves as KR0-3.
Can be specifieddata in 8-bit units
I/O in 4-bitAlso serves as KR4-7.
units
SCK1
SCK0
,
Also serves as the INT4,
Also serves as INT0 to 2, and
TIO pins
Whether or not the internal
pull-up resistor is provided
can be specified for each bit
by mask option.
,
PORT10
4-bit I/OCan be specified for I/O in 4-bit units.—
PORT11
PORT124-bit I/OWhether or not the internal
(N-chpull-up resistor is provided
PORT13open-drain,Can be specified for I/O in 4-bit units.can be specified for each
can sustainbit by mask option.
PORT14with 10V)
PORT154-bitCan be read or tested regardless of the operationAlso serves as AN4-7 pins.
Inputmode of the shared pins
*: Can directly drive LED
19
Page 20
µ
PD75512
6.2CLOCK GENERATOR CIRCUIT
The operation of the clock generator circuit is determined by the processor clock control regiser (PPC) and
system clock control register (SCC).
This circuit can generate two types of clocks: main system clock and subsystem clock.
In addition, it can also change the instruction execution time.
µ
• 0.95
• 122
s, 1.91 µs, 15.3 µs (main system clock: 4.19 MHz)
µ
s (subsystem clock: 32.768 kHz)
VDD
VDD
XT1
XT2
X1
X2
Subsystem
clock
oscillator
Main system
clock
oscillator
XT
f
fX
Watch timer
Timer/pulse
generator
1/2 1/16
· Basic interval timer (BT)
· Timer/event counter
· Serial interface
· Watch timer
· Clock output circuit
· A/D converter
· INT0 noise rejecter circuit
1/8 to 1/4096
Frequency divider
WM.3
SCC
SCC3
SCC0
PCC
4
HALT*
STOP*
PCC0
PCC1
PCC2
PCC3
PCC2, PCC3
clear signal
Internal bus
Oscillator
disable
signal
STOP F/F
QS
R
Selector
HALT F/F
S
R
Frequency
Selector
Q
Wait release
signal from BT
RESET signal
Standby release
signal from interrupt
control circuit
divider
1/4
Φ
· CPU
· INT0 noise
rejecter circuit
· Clock output
circuit
*: instruction execution.
Remarks 1: f
X = Main system clock frequency
XT = Subsystem clock frequency
2: f
3: Φ= CPU clock
4: PCC: Processor clock control register
5: SCC: System clock control register
★
6: One clock cycle (tCY) of Φ is one machine cycle of an instruction. For tCY, refer to AC
characteristics in 11. ELECTRICAL SPECIFICATIONS.
20
Fig. 6-1 Clock Generator Block Diagram
Page 21
µ
PD75512
6.3CLOCK OUTPUT CIRCUIT
The clock output circuit outputs clock pulse from the P22/PCL pin. This clock pulse is used for the remote control
PD75512 is provided with two serial interface channels. Table 4-8 indicates differences between channel
The
0 and channel 1.
Table 6-2 Differences Between Channel 0 and Channel 1
Serial Transfer Mode, FuncitonChannel 0 Channel 1
Clock SelectionfX/24, fX/23, TOUT F/F, external clockfX/24, fX/23 external clock
3-LineTransfer MethodMSB first/LSB first selectableMSB first
Serial I/O
2-Line Serial I/O
Serial Bus Interface (SBI)
(1)Serial interface function (Channel 0)
Transfer CompletionSerial transfer completion interruptSerial transfer completion flag (EOT)
Flagrequest flag (IRQCSI0)
UsableUnprovided
µ
PD75512 is equipped with the following four modes:
The
• Operation stop mode
• Three-line serial I/O mode
• Two-line serial I/O mode
• SBI mode (serial bus interface mode)
26
Page 27
µ
PD75512
27
Internal bus
8/4
8
88
P03/SI/SB1
P02/SO/SB0
P01/SCK0
P01
output
latch
SelectorSelector
Bit
test
Slave address register
(SVA)
Address comparator
Shift register (SIO0)
SET CLR
Bit manipulation
(8)
(8)
Coincidence
signal
SBIC
RELT
CMDT
SO0 latch
Bit test
ACKT
ACKE
BSYE
Busy/
acknowledge
output
circuit
Bus release/
command/
acknowledge
detector
circuit
RELD
CMDD
ACKD
Serial clock
counter
Serial clock
control
circuit
INTCSI0
control
circuit
MPX
I
NTCSI0
IRQCSI0
set signal
(
)
DQ
f
X
/2
3
fX/2
4
fX/2
6
TOUT F/F
(from timer/
event counter)
External SCK0
(8)
Fig. 6-8 Serial Interface (Channel 0) Block Diagram
CSIM0
Page 28
(2)Serial interface (Channel 1) configuration
µ
PD75512 serial interface (channel 1) has following two modes.
• Operation stop mode
• 3-line serial I/O mode
µ
PD75512
28
Page 29
µ
PD75512
29
Fig. 6-9 Serial Interface (Channel 1) Block Diagram
Bit
manipulation
0
CSIM1
Clear
Set
Serial transfer
completion flag
(EOT)
f /2
x
3
f /2
x
4
MPX
8
Bit
manipulation
bit 7
Serial operation mode (8)
register 1 (8)
Internal bus
8
SIO1 write signal (serial start signal)
SIO1
7bit 0
Shift register 1 (8)
P83/SI1
P82/SO1
P81/SCK1
Serial clock
counter (3)
Overflow
Clear
QRS
Page 30
6.9A/D CONVERTER
µ
PD75512 is provided with an 8-bit resolution analog-to-digital (A/D) converter with eight channels of
The
analog inputs (AN0-AN7).
This A/D converter is of a successive approximation type.
8
Internal bus
µ
PD75512
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AV
REF
0
ADM6 ADM5 ADM4 SOCEOC
Sample hold circuit
Multiplexer
Tap decoder
R/2R/2RRR
ADM10ADM
Control circuit
+
–
Comparator
8
SA register (8)
8
AV
SS
Fig. 6-10 Block Diagram of A/D Converter
30
Page 31
µ
PD75512
6.10 BIT SEQUENTIAL BUFFER ..... 16 BITS
The bit sequential buffer is a data memory specifically provided for bit manipulation. With this buffer,
addresses and bit specifications can be sequentially up-dated in bit manipulation operation. Therefore, this
buffer is very useful for processing long data in bit units.
Address bit
Symbol
L register
Remarks:
L = FL = C L = BL = 8 L = 7L = 4 L = 3L = 0
For the pmem.@L addressing, the specification bit is shifted according to the L register.
FC3HFC2HFC1HFC0H
3210321032103210
BSB3BSB2BSB1BSB0
DECS L
INCS L
Fig. 6-11 Bit Sequential Buffer Format
7. INTERRUPT FUNCTIONS
The µPD75512 has 7 different interrupt sources and multiplexed interrupt with priority order.
µ
In addition to that, the
of edge detection testable inputs.
The interrupt control circuit of the µPD75512 has these functions:
• Hardware controlled vector interrupt function which can control whether or not to accept an interrupt by
using the interrupt flag (IExxx) and interrupt master enable flag (IME).
• The interrupt start address can be arbitrarily set.
• Interrupt request flag (IRQxxx) test function (an interrupt generation can be confirmed by means of
software).
• Standby mode release (Interrupts to be released can be selected by the interrupt enable flag).
PD75512 is also provided with two types of test sources, of which INT2 has two types
31
Page 32
µ
PD75512
32
Internal bus
222
IM2IM1IM0
IRQBT
INT4
/P00
INT0
/P10
INT1
/P11
INT2
/P12
KR0/P60
KR7/P73
Noise
elimination
circuit
INT
BT
INTCSI0
INTT0
INTTPG
Selector
Both edge
detection
circuit
Edge
detection
circuit
Edge
detection
circuit
Rising edge
detection
circuit
Falling edge
detection
circuit
IRQ4
IRQ0
IRQ1
IRQCSI0
IRQT0
IRQTPG
IM2
Interrupt enable flag (IExxx)
(IME)
VRQn
Decoder
IST
Priority control
circuit
Vector table
address
generator
Standby
release signal
Fig. 7-1 Interrupt Control Block Diagram
IRQ2
INTW
IRQW
4
2
IPS
Page 33
µ
PD75512
8. STANDBY FUNCTIONS
In order to fully exploit the µPD75512 low power dissipation, CPU operation can be stopped by setting the unit
µ
to the standby mode, thus, further reducing power dissipation. The
PD75512 features two standby modes, a STOP
mode and a HALT mode.
Table 8-1 Status in Standby Mode
Item
Instruction for SettingSTOP instrtuctionHALT instruction
System Clock at the Time of
Setting
Clock OscillatorOnly the main system clock can stop
Basic Interval
Timer
Serial Interface
(Channel 0)
Serial Interface
(Channel 1)
Operation
Status
Timer/Event
Counter
Clock TimerOperates when fXT is selected as the
A/D ConverterDoes not operate
Timer/Pulse
Generator
Timer/Pulse
Generator
Mode
Can be set only when operating on
the main system clock
its operation.
Does not operateOperates (Sets IRQBT with the
Can operate only when the external
SCK0 input is selected as the serial
clock
Can operate only when the external
SCK1 input is selected as the serial
clock
Can only operate when the TI0 pin
input is selected as system clock
count clock
Does not operate
STOP Mode
Can be set when operating either on
the main system clock or the subsystem clock
Only the CPU clock Φ stops its
operation. (oscillation continues)
reference time interval)
Operates when the timer system
clock is operating or external SCK0 is
selected
Operates only when the main system
clock is operating
Operates only when the main system
clock is operating
Can operate
Operates only when the main system
clock is operating
Operates only when the main system
clock is operating
INT1, INT2, and INT4 can operate, but INT0 cannot operate
HALT Mode
CPUDoes not operate
Release Signal
An interrupt request signal from a piece of hardware, whose operation is
enabled by the interrupt enable flag, or the RESET signal input
33
Page 34
9. RESET FUNCTION
µ
PD75512
When the
RESET
signal is input, the µPD75512 is reset and each hardware is initialized as indicated in Table
9-1. Fig. 9-1 shows the reset operation timing.
Wait
(31.3ms/4.19MHz)
RESET input
Operation mode
or standby mode
Internal reset operation
HALT modeOperation mode
Fig. 9-1 Reset Operation by RESET Input
Table 9-1 Status of Each Hardware after Reset (1/2)
HardwareRESET Input in Standby ModeRESET Input during Operation
Program Counter (PC)The contents of the lower 6 bits
PSWCarry Flag (CY)RetainedUndefined
Skip Flag (SK0-2)00
Interrupt Status Flag (IST0, 1)00
Bank Enable Flag (MBE, RBE)The contents of bit 6 of address
Stack Pointer (SP)UndefinedUndefined
Data Memory (RAM)Retained *Undefined
General-Purpose Register
(X, A, H, L, D, E, B, C)
Bank Selection Register (MBS, RBS)0, 00, 0
Basic Interval
Timer
Timer/Event
Counter
Timer/Pulse
Generator
Watch Timer
Counter (BT)UndefinedUndefined
Mode Register (BTM)00
Counter (T0)00
Modulo Register
(TMOD0)
Mode Register (TM0)00
TOE0, TOUT F/F0, 00, 0
Modulo Register
Mode Register (WM)0
of address 0000H of the program
memory are set to PC13-8, and
the contents of address 0001H
are set to PC7-0.
0000H of the program memory
are set to RBE and those of bit 7
are set to MBE.
RetainedUndefined
FFH
Retained
0
Same as left
Same as left
FFH
Retained
0Mode Register0
*: Data of address 0F8H to 0FDH of the data memory becomes undefined when a
34
RESET
signal is input.
Page 35
Table 9-1 Status of Each Hardware after Reset (2/2)
HardwareRESET Input during OperationRESET Input in Standby Mode
Describe one or more operands in the operand field of each instruction according to the operand
representation and description methods of the instruction (for details, refer to RA75X Assembler Package
User's Manual - Language (EEU-730)). With some instructions, only one operand should be selected from
several operands. The uppercase characters, +, and – are keywords and must be described as is.
Describe an appropriate numeric value or label as immediate data.
RepresentationDescription
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 1F7FH immediate data or label
caddr12-bit immediate data or label
faddr11-bit immediate data or label
taddr20H to 7FH immediate data (where bit0 = 0) or label
PORTnPORT0 to PORT15
*: Only even addresses can be described in mem when processing
8-bit data.
36
Page 37
(2)Legend of operation field
A: A register; 4-bit accumulator
B: B register; 4-bit accumulator
C: C register; 4-bit accumulator
D: D register; 4-bit accumulator
E: E register; 4-bit accumulator
H: H register; 4-bit accumulator
L: L register; 4-bit accumulator
X: X register; 4-bit accumulator
XA: Register pair (XA); 8-bit accumulator
BC: Register pair (BC); 8-bit accumulator
DE: Register pair (DE); 8-bit accumulator
HL: Register pair (HL); 8-bit accumulator
XA': Expanded register pair (XA')
BC': Expanded register pair (BC')
µ
PD75512
DE': Expanded register pair (DE')
HL': Expanded register pair (HL')
PC: Program counter
SP: Stack pointer
CY: Carry flag; or bit accumulator
PSW: Program status word
MBE: Memory bank enable flag
RBE: Register bank enable flag
PORTn : Port n (n = 0 to 15)
IME: Interrupt mask enable flag
IPS: Interrupt priority selector register
IExxx : Interrupt enable flag
RBS: Memory bank selector register
MBS: Memory bank selector register
PCC: Processor clock control register
.
(xx): Contents addressed by xx
xxH: Hexadecimal data
Remarks 1: MB indicates memory bank that can be accessed.
2: In *2, MB = 0 regardless of MBE and MBS.
3: In *4 and *5, MB = 15 regardless of MBE and MBS.
4: *6 to *10 indicate areas that can be addressed.
(4)Machine cycle field
In this field, S indicates the number of machine cycles required when an instruction having a skip
function skips. The value of S varies as follows:
• When no instruction is skipped ····························································· S = 0
• When 1-byte or 2-byte instruction is skipped······································ S = 1
• When 3-byte instruction (BR ! addr or CALL ! addr) is skipped ······· S = 2
Note
: The GETI instruction is skipped in one machine cycle.
One machine cycle equals to one cycle of the CPU clock Φ, (=tCY), and can be changed in three steps
depending on the setting of the processor clock control register (PCC).
38
Page 39
µ
PD75512
Ma-AdInstruc- MnetionsmonicsCyc-ingConditions
Transfer MOVA, #n411A ← n4String effect A
XCHA, @HL11A ↔ (HL)*1
TableMOVTXA, @PCDE13XA ← (PC13-8+DE)ROM
Reference
OperandBytes
reg1, #n422reg1 ← n4
XA, #n822XA ← n8String effect A
HL, #n822HL ← n8String effect B
rp2, #n822rp2 ← n8
A, @HL11A ← (HL)*1
A, @HL+12+SA ← (HL), then L ← L+1*1L = 0
A, @HL–12+SA ← (HL), then L ← L–1*1L = FH
A, @rpa111A ← (rpa1)*2
XA, @HL22XA ← (HL)*1
@HL, A11(HL) ← A*1
@HL, XA22(HL) ← XA*1
A,mem22A ← (mem)*3
XA, mem22XA ← (mem)*3
mem, A22(mem) ← A*3
mem, XA22(mem) ← XA*3
A, reg22A ← reg
XA, rp'22XA ← rp
reg1, A22reg1 ← A
rp'1, XA22rp1 ← XA
A, @HL+12+SA ← (HL), then L ← L+1*1L = 0
A, @HL–12+SA ← (HL), then L ← L–1*1L = FH
A, @rpa111A ↔ (rpa1)*2
XA, @HL22XA ↔ (HL)*1
A, mem22A ↔ (mem)*3
XA, mem22XA ↔ (mem)*3
A, reg111A ↔ reg1
XA, rp'22XA ↔ rp'
Except for TBR and TCALLDepends on
instructions,referenced
Instruction execution ofinstruction
(taddr)(taddr+1)
Operation
then skip unconditionally
PORTn+1,PORTn
(n = 4, 6)
dress-Skip
*1: When executing the IN/OUT instruction, MBE = 0, or MBE = 1, and MBS = 15.
*2: The TBR, and TCALL instructions are the assembler pseudo-instructions for the table definition of
GETI instruction.
43
Page 44
11. ELECTRICAL SPECIFICATIONS
ABSOLUTE MAXIMUM RATINGS (Ta = 25°C)
ParameterSymbolConditionsRatingsUnit
Supply VoltageVDD-0.3 to +7.0V
VI1Other than ports 4, 5, 12-14-0.3 to VDD+0.3V
Input VoltageVI2Ports 4, 5, 12-14w/pull-up-0.3 to VDD+0.3
Output VoltageVO-0.3 to VDD+0.3V
High-Level OutputIOH1 pin-15mA
Current
Low-Level OutputIOL*1 pinPeak30mA
Currentrms15mA
Operating TemperatureTopt-40 to +85°C
Storage TemperatureTstg-65 to +150°C
All pins-30mA
Total of ports 0, 2, 3, 4Peak100mA
Total of ports 5-11Peak100mA
Total of ports 12-14Peak40mA
*: rms = Peak value x √Duty
resistor
Open drain-0.3 to +11V
rms60mA
rms60mA
rms25mA
µ
PD75512
V
OPERATING SUPPLY VOLTAGE
ParameterSymbolConditionsMIN.MAX.Unit
A/D ConverterSupply voltageVDD3.56.0V
Ambient temperatureTa-10+70°C
Timer/PulseSupply voltageVDD4.56.0V
GeneratorAmbient temperatuareTa-40+85°C
Other CircuitsSupply voltageVDD2.76.0V
Ambient temperatuareTa-40+85°C
CAPACITANCE (Ta = 25°C, VDD = 0 V)
ParameterSymbolConditionsMIN.TYP.MAX.Unit
Input CapacitanceCI f = 1 MHz15pF
Output CapacitanceCOPins other than thosemeasured are at 0 V15pF
Input/OutputCIO
Capacitance
15pF
44
Page 45
MAIN SYSTEM CLOCK OSCILLATOR CIRCUIT CHARACTERISTICS
a = -40 to +85°C, VDD = 2.7 to 6.0 V)
(T
µ
PD75512
Oscillator
CeramicOscillationVDD = osccillation
CrystalOscillation
External ClockX1 input frequency
Recommended
Constants
X1X2
C1C2
X1X2
C1C2
X1X2
ItemConditionsMIN.TYP.MAX.Unit
frequency(fX)*
Oscillation stabiliza- After VDD came to
tion time*
1
voltage range
2
MIN. of oscillation
voltage range
frequency (fX)*
Oscillation stabiliza- VDD = 4.5 to 6.0 V10ms
frequency (fXT)
Oscillation stabiliza- VDD = 4.5 to 6.0 V1.02s
tion time*
2
3232.76835kHz
10s
(fXT)*
1
32100kHz
XT1 input high-,
low-level widths515
µ
s
(tXTH, tXTL)
*1: Only to express the characteristics of the oscillator circuit. For instruction execution time, refer to AC
Characteristics.
2: Time required for oscillation to stabilize after VDD reaches the minimum value of the oscillation voltage
range or the STOP mode has been released.
3: When the oscillation frequency is 4.19 MHz < fx ≤ 5.0 MHz, do not select PCC = 0011 as the instruction
µ
execution time: otherwise, one machine cycle is set to less than 0.95
µ
minimum value of 0.95
s.
s, falling short of the rated
45
Page 46
µ
PD75512
★
Note: When using the oscillation circuit of the main system clock and subsystem clock, wire the portion
enclosed in dotted line in the figures as follows to avoid adverse influences on the wiring capacity:
•Keep the wiring length as short as possible.
• Do not cross the wiring over the other signal lines. Do not route the wiring in the vicinity of lines
through which a high alternating current flows.
• Always keep the ground point of the capacitor of the oscillator circuit at the same potential as V
DD.
Do not connect the power source pattern through which a high current flows.
• Do not extract signals from the oscillation circuit.
The amplification factor of the subsystem clock oscillation circuit is designed to be low to reduce the
current dissipation and therefore, the subsystem clock oscillation circuit is influenced by noise more
easily than the main system clock oscillation circuit. When using the subsystem clock, therefore,
exercise utmost care in wiring the circuit.
RECOMMENDED OSCILLATION CIRCUIT CONSTANTS
MAIN SYSTEM CLOCK: CERAMIC OSCILLATOR (Ta = -40 to +85°C)
ManufacturerProductRemarks
External Capacitor (pF)Oscillation Voltage Range (V)
*1: Currents for the built-in pull-up resistor are not included.
2: Including when the subsystem clock is operated.
3: When operand in the high-speed mode with the processor clock control register (PCC) set to 0011.
4: When operated in the low-speed mode with the PCC set to 0000.
5: When operated with the subsystem clock by setting the system clock control register (SCC) to 1001 to
stop the main system clock operation.
48
Page 49
AC CHARACTERISTICS (Ta = -40 to +85°C, VDD = 2.7 to 6.0 V)
(1)Basic Operation
ParameterSymbolConditionsMIN.TYP.MAX.Unit
1
CPU Clock Cycle Time*
(Minimum Instruction
Execution Time
= 1 Machine Cycle
TI0 Input FrequencyfTIVDD = 4.5 to 6.0 V01MHz
TI0 Input High-,tTIH,VDD = 4.5 to 6.0 V0.48
Low-Level Widthst
of the connected oscillator, system clock
control register (SCC), and processor
clock control register (PCC). The figure
on the right is cycle time t
voltage V
DD characteristics at the main
CY vs. supply
system clock.
2: 2tCY or 128/fX depending on the setting
of the interrupt mode register (IM0).
70
64
60
6
5
Guaranteed operating range
4
DD
(with main system clock)
µ
PD75512
µ
s
µ
s
µ
s
µ
s
µ
s
µ
s
µ
s
µ
s
µ
s
3
µ
[ s]
CY
2
Cycle time t
1
0.5
0123 456
Supply voltage V
DD
[V]
49
Page 50
(2)Serial Transfer Operation
(a)Two-Line and Three-Line Serial I/O Modes (SCK: internal clock output)
ParameterSymbolConditionsMIN.TYP.MAX.Unit
SCK Cycle TimetKCY1VDD = 4.5 to 6.0 V1600ns
3800ns
SCK High-, Low-LeveltKL1VDD = 4.5 to 6.0 V(tKCY1/2)-50ns
Widths
SI Set-Up Time (vs. SCK ↑) tSIK1150ns
SI Hold Time (vs. SCK ↑ )tKSI1400ns
SCK ↓→ SO OutputtKSO1RL = 1 kΩ,VDD = 4.5 to 6.0 V250ns
Delay TimeCL = 100 pF*
tKH1(tKCY1/2)
-150
*: RL and CL are load resistance and load capacitance of the SO output line.
(b)Two-Line and Three-Line Serial I/O Modes (SCK: external clock input)
ParameterSymbolConditionsMIN.TYP.MAX.Unit
SCK Cycle TimetKCY2VDD = 4.5 to 6.0 V800ns
3200ns
SCK High-, Low-LeveltKL2VDD = 4.5 to 6.0 V400ns
Widths
SI Set-Up Time (vs. SCK ↑) tSIK2100ns
SI Hold Time (vs. SCK ↑)tKSI2400ns
SCK ↓→ SO OutputtKSO2RL = 1 kΩ, CL = 100 pF* VDD = 4.5 to 6.0 V300ns
Delay Time
tKH21600ns
*: RL and CL are load resistance and load capacitance of the SO output line.
µ
PD75512
ns
1000ns
1000ns
50
Page 51
µ
PD75512
(c)SBI Mode (SCK: internal clock output (master))
ParameterSymbolConditionsMIN.TYP.MAX.Unit
SCK Cycle TimetKCY3VDD = 4.5 to 6.0 V1600ns
3800ns
SCK High-, Low-LeveltKL3VDD = 4.5 to 6.0 VtKCY3/2-50ns
Widthst
Main system clock
STOP mode + 32 kHz
oscillation and
subsystem clock
HALT mode
X1X2XT1XT2
Ceramic
oscillator
1.0 MHz
C2C3
Crystal
oscillator
32.768 kHz
R
C4
60
Page 61
µ
PD75512
I
DD
[mA]
x
f
DD
vs
3
I
(V = 5V, T = 25°C)
DD
2
High-speed mode
PPC = 0011
a
X1
X2
Middle-speed
0.5
High-speed mode
PPC = 0011
0.4
(V = 3V, T = 25°C)
x
f
DD
vs
I
DD
Middle-speed
mode
PPC = 0010
a
X1
X2
mode
PPC = 0010
0.3
I
1
Low-speed mode
DD
[mA]
0.2
Low-speed mode
PPC = 0000
PPC = 0000
Main system clock
0.1
HALT mode
0
123
x
f [MHz]
4
5
0
12345
Main system clock
HALT mode
x
f [MHz]
I
OL
[mA]
40
30
20
10
0
V = 6V
DD
VOLvs I
V = 5V
OL
DD
(Port 0, 2, 6, 7)
V = 3V
DD
V = 2.7V
DD
(T = 25°C)
a
V = 4V
DD
12345
V [V]
OL
OL
I
[mA]
40
30
20
10
0
V = 6V
DD
VOLvs I
V = 5V
DD
OL
V = 4V
DD
(Port 3, 4, 5)
V = 3V
DD
V = 2.7V
DD
a
(T = 25°C)
12345
V [V]
OL
61
Page 62
20
V
OH vs
µ
PD75512
I
OH
(T = 25°C)
a
OH
I
[mA]
15
10
V = 6V
DD
5
0
12345
V = 5V
DD
V = 2.7VDD
OH
V - V [V]
DD
DD
V = 3V
V = 4V
DD
62
Page 63
13. PACKAGE DRAWINGS
80 PIN PLASTIC QFP (14×20)
µ
PD75512
A
B
64
65
80
F
1
G
H
M
I
P
N
NOTE
Each lead centerline is located within 0.15
mm (0.006 inch) of its true position (T.P.) at
maximum material condition.
41
40
detail of lead end
C
D
S
Q
25
24
J
K
M
L
P80GF-80-3B9-2
ITEMMILLIMETERSINCHES
M
A
B
C
D
F
G
H
I
J
K
L
N
23.6±0.4
20.0±0.2
14.0±0.2
17.6±0.4
1.0
0.8
0.35±0.10
0.15
0.8 (T.P.)
1.8±0.2
0.8±0.2
+0.10
0.15
–0.05
0.15
0.929±0.016
+0.009
0.795
–0.008
+0.009
0.551
–0.008
0.693±0.016
0.039
0.031
+0.004
0.014
–0.005
0.006
0.031 (T.P.)
+0.008
0.071
–0.009
+0.009
0.031
–0.008
+0.004
0.006
–0.003
0.006
P2.70.106
Q
0.1±0.1
0.004±0.004
S3.0 MAX.0.119 MAX.
5°±5°
63
Page 64
µ
PD75512
★
14. RECOMMENDED SOLDERING CONDITIONS
It is recommended that µPD75512 be soldered under the following conditions.
For details on the recommended soldering conditions, refer to Information Document "Semiconductor
Devices Mounting Manual" (IEI-616).
The soldering methods and conditions are not listed here, consult NEC.
time: 10 seconds max., number of times: 1,
pre-heating temperature: 120°C max. (package surface
temperature)
Pin Partial HeatingPin temperature: 300°C max.,—
time: 3 seconds max. (per side)
Symbol for Recommended
Condition
Caution: Do not use two or more soldering methods in combination (except the pin partial heating
method).
Notice
A model that can be soldered under the more stringent conditions (infrared reflow peak
temperature: 235°C, number of times: 2, and an extended number of days) is also available.
For details, consult NEC.
64
Page 65
µ
PD75512
APPENDIX A. DEVELOPMENT TOOLS
The following development support tools are readily available to support development of systems using
µ
PD75512:
Hardware IE-75000-R *
IE-75001-R
IE-75000-R-EM *
EP-75516GF-REmulation prove for µPD75512, provided with 80-pin conversion socket
PG-1500PROM programmer
PA-75P516GFPROM programmer adapter solely used for µPD75P516GF. It is connected
SoftwareIE Control Program
PG-1500 Controller
RA75X Relocatable
Assembler
1
2
EV-9200G-80
In-circuit emulator for 75X series
Emulation board for IE-75000-R and IE-75001-R
EV-9200G-80.
to PG-1500.
Host machine
• PC-9800 series (MS-DOSTM Ver.3.30 to Ver.5.00A*3)
• IBM PC/ATTM (PC DOSTM Ver.3.1)
*1: Maintenance product
2: Not provided with IE-75001-R.
3: Ver.5.00/5.00A has a task swap function, but this function cannot be used with this software.
Remarks: For development tools from other companies, refer to 75X Series Selection Guide (IF-151).
65
Page 66
µ
PD75512
★
APPENDIX B. RELATED DOCUMENTS
66
Page 67
µ
PD75512
GENERAL NOTES ON CMOS DEVICES
1STATIC ELECTRICITY (ALL MOS DEVICES)
Exercise care so that MOS devices are not adversely influenced by static electricity while being
handled.
The insulation of the gates of the MOS device may be destroyed by a strong static charge.
Therefore, when transporting or storing the MOS device, use a conductive tray, magazine case,
or conductive buffer materials, or the metal case NEC uses for packaging and shipment, and use
grounding when assembling the MOS device system. Do not leave the MOS device on a plastic
plate and do not touch the pins of the device.
Handle boards on which MOS devices are mounted similarly .
2PROCESSING OF UNUSED PINS (CMOS DEVICES ONLY)
Fix the input level of CMOS devices.
Unlike bipolar or NMOS devices, if a CMOS device is operated with nothing connected to its
input pin, intermediate level input may be generated due to noise, and an inrush current may flow
through the device, causing the device to malfunction. Therefore, fix the input level of the device
by using a pull-down or pull-up resistor. If there is a possibility that an unused pin serves as an
output pin (whose timing is not specified), each pin should be connected to V
a resistor.
Refer to “Processing of Unused Pins” in the documents of each devices.
DD or GND through
3STATUS BEFORE INITIALIZATION (ALL MOS DEVICES)
The initial status of MOS devices is undefined upon power application.
Since the characteristics of an MOS device are determined by the quantity of injection at the
molecular level, the initial status of the device is not controlled during the production process. The
output status of pins, I/O setting, and register contents upon power application are not guaranteed.
However, the items defined for reset operation and mode setting are subject to guarantee after
the respective operations have been executed.
When using a device with a reset function, be sure to reset the device after power application.
67
Page 68
[MEMO]
µ
PD75512
No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of NEC Corporation. NEC Corporation assumes no responsibility for any errors which
may appear in this document.
NEC Corporation does not assume any liability for infringement of patents, copyrights or other
intellectual property rights of third parties b y or arising from use of a device described herein or any
other liability arising from use of such device. No license, either express, implied or otherwise, is granted
under any patents, copyrights or other intellectual property rights of NEC Corporation or others.
The devices listed in this document are not suitable for uses in aerospace equipment, submarine cables,
nuclear reactor control systems and life support systems. If customers intend to use NEC devices for
above applications or they intend to use "Standard" quality grade NEC devices for the applications not
intended by NEC, please contact our sales people in advance.
Application examples recommended by NEC Corporation
Standard: Computer, Office equipment, Communication equipment, Test and Measurement equipment,
Machine tools, Industrial robots, Audio and Visual equipment, Other consumer products,etc.
Special:Automotive and Transportation equipment, Traffic control systems, Antidisaster systems,
Anticrime system, etc.
M4 92.6
MS-DOS is a trademark of Microsoft Corporation.
PC DOS and PC/AT are trademarks of IBM Corporation.
68
Loading...
+ 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.