Rev 1; 5/06
KIT
ATION
EVALU
BLE
AVAILA
Microcontroller with Internal Voltage Regulator,
Piezoelectric Horn Driver, and Comparator
General Description
The MAXQ3210 microcontroller is a low-power, 16-bit
RISC device that incorporates a driver for a high-output
piezoelectric horn/transducer, an analog comparator,
and a high-current I/O pin that directly drives an LED.
The device is uniquely suited for cost-conscious appli-
cations such as chemical detectors, alarm systems,
and white goods, but can be used in any application
that requires high-performance and low-power opera-
tion. The high-performance 16-bit RISC core and 8-bit
accumulators are complemented by standard ameni-
ties such as timers and digital I/O. The power con-
sumption per MIPS ratio is among the best in the 16-bit
microcontroller industry.
The MAXQ3210 is powered directly from a 6V to 9.5V
source, such as a battery, but an internal voltage regu-
lator operates the core at 5V. The microcontroller also
provides a flag if the input voltage supply falls below
the low-batttery detection threshold (V
BF
), which can be
used to signal a low-voltage condition of the 9V battery.
The MAXQ3212 is a general-purpose version of the
MAXQ3210 that is powered directly from an external
5.0V supply.
A 1kWord EEPROM program memory stores customer
application code and software algorithms. Software is
programmable in-system by the ROM-based boot-
loader and also in-application programmable under
user software control. The device provides 64 bytes of
volatile SRAM and 128 bytes of EEPROM in the data
memory space. Contact Dallas Semiconductor con-
cerning the availability of ROM-based devices for high-
volume, low-cost applications.
Features
♦
High-Performance, Low-Power, 16-Bit RISC Core
DC to 3.58MHz Operation, Approaching 1MIPS
per MHz
Low-Cost Operation from “Colorburst” Crystal or RC
Oscillator
6V to 9.5V External Voltage Supply Operates from
Single 9V Battery
5.0V Nominal Internal Operation
Up to 15 General-Purpose I/O Pins
33 Instructions, Most Single-Cycle
Three Independent Data Pointers Accelerate Data
Movement with Automatic Increment/Decrement
Two Loop Counters
4-Level Hardware Stack
16-Bit Instruction Word, 16-Bit Data Bus
16 x 8-Bit Accumulators
JTAG Debug/Visibility Port
♦
Program and Data Memory
1kWord EEPROM Program Memory, Mask ROM for
High-Volume Applications
128 Bytes EEPROM Data Memory
60,000 EEPROM Write/Erase Cycles
64 Bytes SRAM Data Memory
In-System Programming
♦
Peripheral Features
Piezoelectric Horn Driver
16-Bit Programmable Timer/Counter with Prescaler
High-Current I/O Pin Suitable for LED Drive
Programmable Watchdog Timer
Selectable Power-Fail Reset
Power-On Reset (POR)
Wake-Up Timer
Internal 8kHz Ring Oscillator
♦
Flexible Programming Interface
Integrated Bootloader
In-System/In-Application Programming of EEPROM
Through JTAG
♦
Ultra-Low-Power Consumption
< 6mA at 3.58MHz
5.5µA Standby Current (typ)
Low-Power Divide-by-256 Mode
♦
Analog Features
Analog Comparator Uses Internal or External Voltage
Reference
+2.5V Reference Output Available
On-Chip Voltage Regulator Supports Up to 9.5V as
Power Supply
Low-Battery Detection
5V Regulated Output Available, Up to 50mA
1
MAXQ3210
Applications
Gas and Chemical
Sensors
Security Alarm Systems
Environmental Systems
Battery-Powered and
Portable Devices
Electrochemical and
Optical Sensors
Home Appliances
Thermostats/Humidity
Sensors
Typical Operating Circuits, Pin Configuration, and Ordering
Information appear at end of data sheet.
MAXQ is a registered trademark of Maxim Integrated Products, Inc.
Note:
Some revisions of this device may incorporate deviations
from published specifications known as errata. Multiple revisions
of any device may be simultaneously available through various
sales channels. For information about device errata, go to:
www.maxim-ic.com/errata
.
______________________________________________
Maxim Integrated Products
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Microcontroller with Internal Voltage Regulator,
Piezoelectric Horn Driver, and Comparator
MAXQ3210
ABSOLUTE MAXIMUM RATINGS
Voltage Range on Any Digital I/O Pin
Relative to Ground
...................................
-0.5V to (V
DDINT
+ 0.5V)
Voltage Range on Any Analog I/O Pin
Relative to Ground..............................-0.5V to (V
DDINT
+ 0.5V)
Voltage Range on V
DD
Relative to Ground .........-0.5V to +10.5V
Voltage Range on FEED Relative to Ground..........-0.5V to +20V
Continuous Output Current (any single I/O pin) .................25mA
Continuous Output Current (all I/O pins combined) ...........25mA
Operating Temperature Range ...........................-40°C to +85°C
Storage Temperature Range .............................-65°C to +150°C
Soldering Temperature .......................................See IPC/JEDEC
J-STD-020 Specification
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(V
DD
= V
DD(MIN)
to V
DD(MAX)
, C
REGOUT
= 10µF + 0.1µF, C
VDD
= 1µF, T
A
= -40°C to +85°C. Typical values are at T
A
= +25°C.) (Note 1)
PARAMETER
Supply Voltage
Internal Regulated Supply
Voltage
Voltage Regulator Output
Low-Battery Detection Threshold
Power-Fail Reset
SYMBOL
V
DD
V
DDINT
V
REGOUT
V
BF
V
RST
I
DD1
I
DD2
I
DD3
I
DD4
I
DD5
I
DD6
I
STOP1
Stop-Mode Current
I
STOP2
I
STOP3
RESET
Pullup
R
RST
/1 mode (Note 2)
sysclk = f
HFXIN
/2 mode (Note 2)
sysclk = f
HFXIN
/ 2
/4 mode (Note 2)
sysclk = f
HFXIN
/ 4
/8 mode (Note 2)
sysclk = f
HFXIN
/ 8
PMM1 mode (Note 2)
sysclk = f
HFXIN
/ 256
8kHz ring mode (Note 2)
Brownout detector off, wake-up timer on,
T
A
= +50°C (Note 3), V
DD
= 9V
Brownout detector off, wake-up timer on,
T
A
= +25°C, V
DD
= 9V
Brownout detector on, wake-up timer on,
T
A
= +25°C, V
DD
= 9V
V
RST
= 0.4V, V
REGOUT
= 5.5V
102
Maximum I
SOURCE
= 50mA
0°C to +85°C
-40°C
CONDITIONS
MIN
6.0
4.5
4.5
7.0
6.9
4.15
6.4
4.0
2.9
2.3
1.7
0.6
7.5
5.5
51
150
TYP
9.0
5.0
5.0
MAX
9.5
5.5
5.5
7.51
7.6
4.6
9.0
6.0
4.5
3.5
3.0
1.2
33.0
13
80
250
kΩ
µA
UNITS
V
V
V
V
V
mA
mA
mA
mA
mA
mA
Active Current
2
_____________________________________________________________________
Microcontroller with Internal Voltage Regulator,
Piezoelectric Horn Driver, and Comparator
ELECTRICAL CHARACTERISTICS (continued)
(V
DD
= V
DD(MIN)
to V
DD(MAX)
, C
REGOUT
= 10µF + 0.1µF, C
VDD
= 1µF, T
A
= -40°C to +85°C. Typical values are at T
A
= +25°C.) (Note 1)
PARAMETER
SYMBOL
CONDITIONS
I
SOURCE
= 50µA max,
I
SINK
= 50µA max
Turn on to 0.1% of final V
REFO
value (Note 3)
Input
Input
0.85 x
V
DD
0.15 x
V
DD
FEED = 0 and 18V, V
DD
= 9V, typical at
feed = 18V
V
DD
= 9V, T
A
= +25°C, I
SOURCE
= 16mA
V
DD
= 9V, T
A
= +25°C, I
SINK
= 16mA
-50
V
DD
-
0.5
+9
V
DD
-
0.34
0.36
0.5
+50
0
1
MIN
TYP
MAX
UNITS
MAXQ3210
INTERNAL VOLTAGE REFERENCE
Voltage Reference Output
Regulated Voltage Settling Time
Input Common-Mode Voltage
Input Current
PIEZOELECTRIC HORN DRIVER
Input High Voltage: FEED
Input Low Voltage: FEED
Input Leakage: FEED
Output High Voltage: HORNS,
HORNB
Output Low Voltage: HORNS,
HORNB
ANALOG VOLTAGE COMPARATOR
Input Offset Voltage
Input Common-Mode Voltage
Common-Mode Rejection Ratio
V
OS
V
CMR
CMRR
(Note 3)
f
HFIN
= 3.58MHz, comparator on,
comparator reference at (V
DDINT
- 1.5) / 2
while CMPI transitions from GND to (V
DDINT
- 1.5) in approximately 2ns
f
HFIN
= 3.58MHz,
ΔV=20mV
T
A
= +25°C
-50
-11
0
55
0.14 +
t
CLCL
0.6 +
t
CLCL
+11
V
DDINT
- 1.5
mV
V
dB
V
IH2
V
IL2
I
IL1
V
OH2
V
OL2
V
V
µA
V
V
V
REFO
t
REFO
V
REFI
I
REFI
2.44
2.5
1.2
V
DDINT
- 1.5
2.56
V
ms
V
nA
Response Time
µs
Comparator Mode Change to
Output Valid
DC Input-Leakage Current
0.8
1.6
+50
µs
nA
_____________________________________________________________________
3
Microcontroller with Internal Voltage Regulator,
Piezoelectric Horn Driver, and Comparator
MAXQ3210
ELECTRICAL CHARACTERISTICS (continued)
(V
DD
= V
DD(MIN)
to V
DD(MAX)
, C
REGOUT
= 10µF + 0.1µF, C
VDD
= 1µF, T
A
= -40°C to +85°C. Typical values are at T
A
= +25°C.) (Note 1)
PARAMETER
DIGITAL I/O AND OSCILLATOR
Input High Voltage:
Px.x and HFXIN
Input Low Voltage:
Px.x and HFXIN
Output High Voltage: Px.x
Output Low Voltage: Px.x
(except P0.7)
Output Low Voltage: P0.7
Input Low Current (All Ports)
Input Low Current (All Ports)
CLOCK SOURCES
External-Clock Frequency
Internal Ring
Oscillator
JTAG PROGRAMMING
TCK Frequency
f
TCK
JTAG programming (Note 3). Sysclk is a
function of f
HFXIN
and the clock divisor; see
I
DDx
parameters above
θ
JA
= +85°C
θ
JA
= +25°C
0
sysclk /
8
MHz
f
HFIN
f
RO
External crystal
External oscillator
1.00
0
8
3.58
3.58
MHz
kHz
V
IH
V
IL
V
OH
V
OL
V
OL1
I
L
I
L
XTRC = 0/1
XTRC = 0/1
I
SOURCE
= 4mA
I
SINK
= 4mA
I
SINK
= 10mA
Input mode with weak pullup disabled
Input mode with weak pullup active,
V
IL
= 0.4V, V
DDINT
= 5.5V
-1
-31
0.85 x
V
DDINT
0.4
0.4
+1
-50
0.85 x
V
DDINT
0.15 x
V
DDINT
V
V
V
V
V
µA
µA
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
MEMORY CHARACTERISTICS (Note 3)
EEPROM Write/Erase Cycles
EEPROM Data Retention
15,000
60,000
10
Cycles
Cycles
Years
Note 1:
Specifications to -40°C are guaranteed by design and are not production tested.
Note 2:
Measured on the V
DD
pin with V
DD
= 9.5V, f
HFXIN
= 3.58MHz, program EEPROM contains checkerboard, and not in reset.
Note 3:
Specification guaranteed by design but not production tested.
4
_____________________________________________________________________