DATA SHEET
MOS INTEGRATED CIRCUIT
µ
PD754264
4-BIT SINGLE-CHIP MICROCONTROLLERS
DESCRIPTION
The
µ
PD754264 is a 4-bit single-chip microcontroller which incorporates the EEPROM
TM
for key-less entry
application.
It incorporates a 32
×
8-bit EEPROM, a CPU performing operation, a 4-Kbyte mask ROM to store software,
a 128
×
4-bit RAM to store the operation data, an 8-bit resolution A/D converter, and a carrier generator which
easily outputs waveforms for infrared remote controller.
The details of functions are described in the following user’s manual. Be sure to read it before designing.
µ
PD754264 User’s Manual: U12287E
FEATURES
• On-chip EEPROM: 32
×
8 bits (mapped to the data memory)
• On-chip key return reset function for key-less entry
• On-chip low-voltage A/D converter (AV
REF
= 1.8 to 6.0 V), 8-bit resolution
×
2 channels
• Low-voltage operation: V
DD
= 1.8 to 6.0 V
• Timer function (4 channels)
• Basic interval timer/watchdog timer : 1 channel
• 8-bit timer counter
• On-chip memory
• Program memory (ROM)
4096
×
8 bits
• Data memory (static RAM)
128
×
4 bits
• Instruction execution time variable function suited for high-speed operation and power saving.
0.95, 1.91, 3.81, 15.3
µ
s (@ f
X
= 4.19-MHz operation)
0.67, 1.33, 2.67, 10.7
µ
s (@ f
X
= 6.0-MHz operation)
: 3 channels
APPLICATIONS
Automotive appliances such as key-less entry, compact data carrier, etc.
ORDERING INFORMATION
Part Number
Package
20-pin plastic SOP (300 mil, 1.27-mm pitch)
µ
PD754264GS-×××-BA5
Remark
×××
indicates ROM code suffix.
The information in this document is subject to change without notice.
Document No. U12487EJ1V1DS00
Date Published January 1999 N CP(K)
Printed in Japan
The mark
shows major revised points.
©
1997
µ
PD754264
Functional Outline
Parameter
Instruction execution time
On-chip
memory
Mask ROM
RAM
EEPROM
System clock oscillator
General-purpose register
Input/output
port
CMOS input
CMOS input/output
Total
Start-up time after reset
Stand-by mode release time
Timer
Function
• 0.95, 1.91, 3.81, 15.3
µ
s (@ f
X
= 4.19-MHz operation)
• 0.67, 1.33, 2.67, 10.7
µ
s (@ f
X
= 6.0-MHz operation)
4096
×
8 bits (0000H-0FFFH)
128
×
4 bits (000H-07FH)
32
×
8 bits (400H-43FH)
Crystal/ceramic oscillator
• 4-bit operation: 8
×
4 banks
• 8-bit operation: 4
×
4 banks
4
9
13
2
17
/f
X
, 2
15
/f
X
, 2
13
/f
X
(selected by mask option)
2
20
/f
X
, 2
17
/f
X
, 2
15
/f
X
, 2
13
/f
X
(selected by the setting of BTM)
4 channels
• 8-bit timer counter
(can be used as 16-bit timer counter) : 3 channels
• Basic interval/watchdog timer
: 1 channel
8-bit resolution
×
2 channels (1.8 V
≤
AV
REF
≤
V
DD
)
16 bits
External: 1, Internal: 5
External: 1 (key return reset function available)
STOP/HALT mode
T
A
= –40 to +85
°C
V
DD
= 1.8 to 6.0 V
20-pin plastic SOP (300 mil, 1.27-mm pitch)
On-chip pull-up resistor can be specified by mask option.
On-chip pull-up resistor connection can be specified by means of software.
A/D converter
Bit sequential buffer
Vectored interrupt
Test input
Standby function
Operating ambient temperature
Operating supply voltage
Package
2
µ
PD754264
CONTENTS
1.
2.
3.
PIN CONFIGURATION (TOP VIEW) ................................................................................................... 5
BLOCK DIAGRAM ............................................................................................................................... 6
PIN FUNCTION .................................................................................................................................... 7
3.1 Port Pins ..................................................................................................................................... 7
3.2 Non-port Pins ............................................................................................................................. 8
3.3 Pin Input/Output Circuits .......................................................................................................... 9
3.4 Recommended Connection of Unused Pins ......................................................................... 10
SWITCHING FUNCTION BETWEEN Mk I MODE AND Mk II MODE ............................................... 11
4.1 Difference between Mk I and Mk II Modes ............................................................................. 11
4.2 Setting Method of Stack Bank Select Register (SBS) .......................................................... 12
MEMORY CONFIGURATION ............................................................................................................ 13
EEPROM ............................................................................................................................................ 16
PERIPHERAL HARDWARE FUNCTIONS ........................................................................................
7.1 Digital Input/Output Ports .......................................................................................................
7.2 Clock Generator .......................................................................................................................
7.3 Basic Interval Timer/Watchdog Timer ...................................................................................
7.4 Timer Counter ..........................................................................................................................
7.5 A/D Converter ...........................................................................................................................
7.6 Bit Sequential Buffer ...............................................................................................................
17
17
17
19
20
24
25
4.
5.
6.
7.
8.
9.
INTERRUPT FUNCTION AND TEST FUNCTION ............................................................................. 26
STANDBY FUNCTION ....................................................................................................................... 28
10. RESET FUNCTION ............................................................................................................................ 29
10.1 Configuration and Operation Status of RESET Function .................................................... 29
10.2 Watchdog Flag (WDF), Key Return Flag (KRF) ..................................................................... 33
11. MASK OPTION .................................................................................................................................. 35
12. INSTRUCTION SETS ........................................................................................................................ 36
13. ELECTRICAL SPECIFICATIONS ..................................................................................................... 45
14. CHARACTERISTICS CURVES (REFERENCE VALUES) ................................................................ 55
15. PACKAGE DRAWINGS..................................................................................................................... 58
16. RECOMMENDED SOLDERING CONDITIONS................................................................................. 59
3
µ
PD754264
APPENDIX A. COMPARISON OF FUNCTIONS BETWEEN
µ
PD754264 AND 75F4264 ...................... 60
APPENDIX B. DEVELOPMENT TOOLS ................................................................................................. 61
APPENDIX C. RELATED DOCUMENTS ................................................................................................ 64
4
µ
PD754264
1. PIN CONFIGURATION (TOP VIEW)
• 20-pin Plastic SOP (300 mil, 1.27-mm pitch)
µ
PD754264GS-×××-BA5
RESET
X1
X2
V
SS
IC
V
DD
P60/AV
REF
P61/INT0
P62/AN0
P63/AN1
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
KRREN
P80
P30/PTO0
P31/PTO1
P32/PTO2
P33
P70/KR4
P71/KR5
P72/KR6
P73/KR7
IC: Internally Connected (Connect to V
DD
directly)
Pin Identification
AN0, AN1
AVREF
IC
INT0
KR4 to KR7
KRREN
P30 to P33
P60 to P63
: Analog input 0,1
: Analog reference
: Internally connected
: External vectored interrupt 0
: Key returns 4 to 7
: Key return reset enable
: Port 3
: Port 6
P70 to P73
P80
RESET
V
DD
V
SS
X1 and X2
: Port 7
: Port 8
: Reset
: Positive power supply
: Ground
: System clock (crystal/ceramic)
PTO0 to PTO2 : Programmable timer outputs 0 to 2
5