MTA85XXX
PICSEE™ 20-Pin MCU with Serial EEPROM Multi-Chip Module
FEATURES
• Multi-chip module
• PIC16C54A or PIC16C58A Microcontrollers with
24LC01B or 24LC02B Serial EEPROMs (SEEs)
in a single package
• Wide operating voltage range: V
DD
= 3.0V to
6.25V
• Microcontroller control of SEE power for low
standby current: MTA85X1X series
• Industrial grade
only
PACKAGE TYPE
SSOP
SDA
SCL
OSC2
OSC1
RA0
RA1
RA2
RA3
T0CKI
NMCLR
•1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
V
DD
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
V
SS
MTA85X0X
High Performance RISC-like CPU
• Only 33 single-word instructions to learn
• All instructions are single-cycle except for
program branches, which are two cycle
• Operating speed: MTA854XX, DC - 4 MHz
MTA858XX, DC - 4 and 10 MHz
• 12-bit wide instructions
• 8-bit wide data path
• 512 or 2048 x 12 on-chip EPROM program
memory
• 25 or 73 x 8 general purpose registers (SRAM)
• Seven special function hardware registers
• Two-level deep hardware stack
• Direct, indirect, and relative addressing modes for
data and instructions
SDA
SCL
OSC2
OSC1
RA0
RA1
RA2
RA3
T0CKI
NMCLR
•1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
PV
DD
N/C
RB6
RB5
RB4
RB3
RB2
RB1
RB0
V
SS
Serial EEPROM Features
• 1K or 2K of EEPROM memory, organized as a
single block: 128 x 8 or 256 x 8
• Two-wire serial interface bus, I2C™ compatible
• 100 kHz and 400 kHz compatibility
• Self-timed write cycle (including auto-erase)
• Page-write buffer for up to 8 bytes
• 2 ms typical cycle times for page-write
• 1,000,000 ERASE/WRITE cycles typical
• Data retention > 40 years
MTA85X1X
Peripheral Features
• 12 I/O pins with individual direction control (RB7
dedicated for SEE V
DD
in MTA85X1X devices)
• 8-bit real time clock/counter (T0CKI) with 8-bit
programmable prescaler
• Power-On Reset
• Oscillator Start-Up timer
• Watchdog timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Security EPROM bit for code-protection
• Power saving SLEEP mode
• EPROM selectable oscillator options:
- Low-cost RC oscillator: RC
- Standard crystal/resonator: XT
- High-speed crystal/resonator: HS
- Power-saving low frequency crystal: LP
CMOS Technology
• Low-power, high-speed CMOS EPROM and
EEPROM technologies, in a single package
• Fully static design
• Low-power consumption (PIC16C54/58A)
- < 2 mA typical @ 5V, 4 MHz
- 15
µA
typical @ 3V, 32 kHz
- < 0.3
µA
typical standby current (with WDT
disabled) @ 3V, 0°C to 70°C
• Low-power consumption (24LC01B/02B)
- 1 mA active current typical
- 10
µA
standby current typical @ 5.5V
- 5
µA
standby current typical @ 3.0V
©
1995 Microchip Technology Inc.
DS40115C-page 1
MTA85XXX
PIN DESCRIPTIONS
Name
RA3: RA0
RB7: RB0
SV
DD
/RB7
T0CKI*
Function
I/O PORTA
I/O PORTB
Shared V
DD
-I/O pin
Description
4 input/output lines.
8 input/output lines.
Input/Output pin dedicated to EEPROM V
DD
.
No external connection needed. MTA85X1X only.
Clock input to T0CKI register. Must be tied to V
SS
or V
DD
if not in
use to avoid unintended entering of test modes and to reduce
current consumption.
MCLR
Master Clear
Schmitt Trigger Input.
A low voltage on this input generates a RESET for the
microcontroller.
A rising voltage triggers the on-chip oscillator start-up timer which
keeps the chip in RESET mode for about 18 ms. This input must be
tied directly, or via a pull-up resistor, to V
DD
.
OSC1
Oscillator (input)
XT, HS and LP devices:
Input terminal for crystal, ceramic resonator, or external clock
generator.
RC devices:
Driver terminal for external RC combination to establish oscillation.
OSC2/CLKOUT
Oscillator (output)
For XT, HS and LP devices:
Output terminal for crystal and ceramic resonator.
Do not connect any other load to this output.
Leave open if external clock generator is used.
For RC devices:
A CLKOUT signal with a frequency of 1/4 F
OSC
1 is put out on this
pin.
SDA
SCL
V
DD
V
SS
* Formerly RTCC.
Serial EEPROM Data
Serial EEPROM Clock
Power supply
Ground
EEPROM data line.
EEPROM clock line.
Clock input to TMR0 Register Schmitt Trigger Input.
DS40115C-page 2
©
1995 Microchip Technology Inc.
MTA85XXX
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
18.0
19.0
20.0
21.0
22.0
23.0
General Description ................................................................................................................................................................... 4
Architectural Description ............................................................................................................................................................ 5
Factory Programming Options ................................................................................................................................................... 7
Program Memory ....................................................................................................................................................................... 8
Data Memory and Operational Register Files.......................................................................................................................... 10
Special Purpose Registers....................................................................................................................................................... 18
Reset Condition ....................................................................................................................................................................... 19
Prescaler.................................................................................................................................................................................. 20
Basic Instruction Set Summary................................................................................................................................................ 21
Watchdog Timer (WDT) ........................................................................................................................................................... 23
Oscillator Configurations.......................................................................................................................................................... 24
Reset........................................................................................................................................................................................ 26
Power-Down Mode (SLEEP) ................................................................................................................................................... 30
Configuration Fuses................................................................................................................................................................. 31
Electrical Characteristics.......................................................................................................................................................... 32
DC and AC Characteristics ...................................................................................................................................................... 44
EEPROM Bus Description ....................................................................................................................................................... 52
Write Operation........................................................................................................................................................................ 54
Read Operation........................................................................................................................................................................ 56
General EEPROM Information................................................................................................................................................. 58
Development Support .............................................................................................................................................................. 59
Packaging Diagrams and Dimensions ..................................................................................................................................... 63
Package Marking Information .................................................................................................................................................. 64
©
1995 Microchip Technology Inc.
DS40115C-page 3
MTA85XXX
1.0
GENERAL DESCRIPTION
The MTA85XXX devices from Microchip Technology
Inc. are a family of multi-chip products which offer a
unique combination of EPROM-based Microcontrollers
and Serial EEPROM data memory in a single package.
The MTA85XXX line features the PIC16C5XA family of
Microcontrollers combined with Microchip’s 24LC0XB
family of Serial EEPROMs.
The Microcontroller and Serial EEPROM portions of
these multi-chip devices are equivalent to their
respective individual components chips, except for the
electrical specifications on shared pins. Please refer to
the datasheets of the component die for information on
each device’s architecture, functionality, and other
important user information.
Two unique pinouts are available in this family of
devices, regardless of which combination of
component chips are
used. The first pinout
(MTA85X0X series) features shared power and ground
pins for the Microcontroller and Serial EEPROM. All
other Microcontroller and Serial EEPROM pins are
electrically independent. The second available pinout
(MTA85X1X series) features Microcontroller control of
the Serial EEPROM V
DD
. This allows the Serial
EEPROM to be powered down when going into a
standby mode. This is often desirable in power con-
scious applications to reduce current when the Serial
EEPROM is not being accessed. In this configuration
the Microcontroller I/O pin RB7 is used to supply power
to the Serial EEPROM. It is the user’s responsibility to
ensure that RB7 is driving a '1' while the Serial
EEPROM is being used.
The MTA85XXX devices are supported by an in-circuit
emulator, an assembler, and a production quality
programmer. All tools are supported by IBM PC
®
and
compatible machines.
1.1
Applications
The MTA85XXX family is ideally suited to a wide variety
of applications including, but not limited to: keyless
entry, remote control, smart cards and automotive
controllers. The EPROM program memory makes
customization of application programs fast and
convenient. The EEPROM data memory is ideal for
storing configuration information, access codes, serial
numbers, and adaptive look-up tables. The small
footprint package makes the MTA85XXX devices
perfect for applications with physical space limitations.
This small size coupled with the low-cost, low-power,
wide voltage range, and high performance of this
flexible family of devices makes the MTA85XXX the
microcontroller of choice for
a wide variety of
applications which utilize EEPROM memory.
1.2
MTA85XXX Series Overview
A variety of EPROM program memory sizes, EEPROM
data memory sizes and frequency ranges are
available. Depending on the application and production
requirements, the proper device option can be selected
using the information in Table 1-1 and Table 1-2. When
placing orders, please use the “MTA85XXX Product
Identification System” on the back page of this data
sheet to specify the correct part.
TABLE 1-1:
Part Number
MTA85401
MTA85402
MTA85411
MTA85412
MTA85801
MTA85802
MTA85811
MTA85812
Note:
FAMILY OVERVIEW
Microcontroller
PIC16C54A
PIC16C54A
PIC16C54A
PIC16C54A
PIC16C58A
PIC16C58A
PIC16C58A
PIC16C58A
SEE
24LC01B
24LC02B
24LC01B
24LC02B
24LC01B
24LC02B
24LC01B
24LC02B
PGM EPROM
512 x 12
512 x 12
512 x 12
512 x 12
2048 x 12
2048 x 12
2048 x 12
2048 x 12
EEPROM
128 x 8
256 x 8
128 x 8
256 x 8
128 x 8
256 x 8
128 x 8
256 x 8
RAM
32 x 8
32 x 8
32 x 8
32 x 8
80 x 8
80 x 8
80 x 8
80 x 8
12
12
12
12
12
12
12
12
note 1
note 1
note 1
note 1
I/O
RB7 dedicated to SEE V
DD
DS40115C-page 4
©
1995 Microchip Technology Inc.
MTA85XXX
2.0
2.1
ARCHITECTURAL
DESCRIPTION
Harvard Architecture
2.2
Clocking Scheme/Instruction Cycle
The MTA85XXX microcontrollers are low-power, high-
speed, full static CMOS devices containing EEPROM,
EPROM, RAM, I/O and a central processing unit in a
single package.
The architecture is based on a register file concept with
separate bus and memories for data and instructions
(Harvard architecture). The data bus and memory
(RAM) are 8-bits wide while the program bus and
program memory (EPROM) have a width of 12-bits.
This concept allows a simple yet powerful instruction
set designed to emphasize bit, byte and register
operations under high speed with overlapping
instruction fetch and execution cycles. That means
that, while one instruction is executed, the following
instruction is already being read from the program
memory. A block diagram of the MTA85XXX is given in
Figure 2-1.
The clock input (from pin OSC1) is internally divided by
four to generate four non-overlapping quadrature
clocks namely Q1, Q2, Q3 and Q4. Internally, PC is
incremented every Q1, instruction is fetched from
program memory and latched into instruction register in
Q4. It is decoded and executed during the following Q1
through Q4. The clocks and instruction execution flow
is shown in Figure 2-2.
FIGURE 2-1:
MTA85XXX SERIES BLOCK DIAGRAM
9-11
STACK1
STACK2
T0CKI
PIN
Configuration WORD
“Disable"
Watchdog “Code
Timer
Protect”
9
WDT
Time Out
8
Direct
Direct RAM
Address
WDT/TMR0
Prescaler
6
CLKOUT
“SLEEP”
“OPTION”
General
Purpose
Register
File
(SRAM)
24-72
Bytes
8
OSC1
MCLR
OSC2
“OSC
Select”
2
Oscillator/
Timing &
Control
EPROM
9-11
512 X 12 To
2048 X 12
PC
Page
Latches
XDEC
EEPROM
Array
12
Instruction
Register
12
Instruction
Decoder
HV
Generator
Option
Reg.
From W
5
8
Literals
STATUS
TMR0
W
ALU
“TRIS 5”
Data
8
From W
4
“TRIS 6”
8
8
5-7
FSR
I/O
Control
Logic
Memory
Control
Logic
From W
4
From W
8
SDA
SCL
Sense
AMP R/W
Control
TRISA PORTA
4
RA3:RA0
8
“TRIS 7”
TRISB PORTB
TRISC PORTC
8
RB7:RB0
1
8
RC7:RC0
(28-Pin
Devices Only)
RB7
YDEC
PIC16C5XA Portion
Block Diagram
V
DD
V
SS
V
DD
V
SS
EEPROM Portion
Block Diagram
MTA85X0X devices have PIC16C5XA V
DD
tied to EEPROM V
DD
.
MTA85X1X devices have PIC16C5XA RB7 tied to EEPROM V
DD
.
©
1995 Microchip Technology Inc.
DS40115C-page 5