maxq3212-emx+ Maxim Integrated Products, Inc., maxq3212-emx+ Datasheet

no-image

maxq3212-emx+

Manufacturer Part Number
maxq3212-emx+
Description
Maxq3212 Microcontroller With Analog Comparator And Led Driver
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
The MAXQ3212 microcontroller is a low-power, 16-bit
RISC device that incorporates an analog comparator
and a high-current I/O pin for directly driving an LED.
The device is uniquely suited for cost-conscious appli-
cations such as battery-powered devices, system moni-
tors, and white goods, but can be used in any
application that requires high performance and low-
power operation. The high-performance 16-bit
RISC MAXQ
mented by standard amenities such as timers and digi-
tal I/O. The power consumption per MIPS ratio is
among the best in the 16-bit microcontroller industry.
Rev 0; 5/06
Typical Operating Circuit 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.
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
Gas and Chemical Sensors
Environmental Systems
Battery-Powered and Portable Devices
Electrochemical and Optical Sensors
Industrial Control
Home Appliances
TOP VIEW
®
CMP0/P0.3
T2PB/P0.1
V
TDO/P1.4
TCK/P1.3
T2P/P0.2
REF
HFXOUT
core and 8-bit accumulators are comple-
HFXIN
/P0.4
GND
P0.0
P1.6
P1.5
10
11
12
1
2
3
4
5
6
7
8
9
Microcontroller with Analog Comparator
General Description
PDIP/TSSOP
MAXQ3212
Pin Configuration
Applications
______________________________________________ Maxim Integrated Products
24
23
22
21
20
19
18
17
16
15
14
13
CMPI/P0.5
INT/P0.6
LED/P0.7
TDI/P1.0
RESET/P1.1
TMS/P1.2
V
V
N.C.
GND
N.C.
GND
DD
DD
♦ High-Performance, Low-Power, 16-Bit RISC Core
♦ Program and Data Memory
♦ Peripheral Features
♦ Flexible Programming Interface
♦ Ultra-Low-Power Consumption
♦ Analog Features
DC to 3.58MHz Operation, Approaching 1MIPS
+5V ±10% Operation
Up to 15 General-Purpose I/O Pins
33 Instructions, Most Single-Cycle
Two Independent Data Pointers Accelerate Data
Two Loop Counters
4-Level Hardware Stack
16-Bit Instruction Word, 16-Bit Data Bus
16 x 8-Bit Accumulators
16 x 16 General-Purpose Working Registers
Optimized for C Compiler (High-Speed/Density
JTAG-Like Debug/Visibility Port
1kWord EEPROM Program Memory, Mask ROM
128 Bytes EEPROM Data Memory
60,000 EEPROM Write/Erase Cycles
64 Bytes SRAM Data Memory
In-System Programming
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
Bootloader Simplifies Programming
In-System Programming Through JTAG
Supports In-Application Programming of EEPROM
2.7µA Stop Mode Current (typ)
Low-Power Divide-by-256 Mode
Analog Comparator Uses Internal or External Voltage
+2.5V Reference Output Available
per MHz
Movement with Automatic Increment/Decrement
Code)
for High-Volume Applications
Memory
Reference
and LED Driver
Features
1

Related parts for maxq3212-emx+

maxq3212-emx+ Summary of contents

Page 1

... Rev 0; 5/06 Microcontroller with Analog Comparator General Description The MAXQ3212 microcontroller is a low-power, 16-bit RISC device that incorporates an analog comparator and a high-current I/O pin for directly driving an LED. The device is uniquely suited for cost-conscious appli- cations such as battery-powered devices, system moni- tors, and white goods, but can be used in any application that requires high performance and low- power operation ...

Page 2

Microcontroller with Analog Comparator and LED Driver ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Digital I/O Pin Relative to Ground ........................................ Voltage Range on Any Analog I/O Pin Relative to Ground...................................-0. Voltage Range on V Relative to Ground ...

Page 3

Microcontroller with Analog Comparator ELECTRICAL CHARACTERISTICS (continued 10µF + 0.1µ DD(MIN) DD(MAX) VDD PARAMETER SYMBOL ANALOG VOLTAGE COMPARATOR Input Offset Voltage Input Common-Mode Voltage Common-Mode Rejection Ratio Response Time Comparator ...

Page 4

... HFXIN ( _____________________________________________________________________ Typical Operating Characteristics = +85° P0/P1 LOW-OUTPUT VOLTAGE vs. SINK CURRENT -40° +25° +85° +5. 3.58MHz HFXIN (V) OL ANALOG COMPARATOR DELAY MAXQ3212 toc04 CMPI 5V/div 5V/div CMPO 50ns/div ...

Page 5

Microcontroller with Analog Comparator PIN NAME 1, 13, GND Ground 15 Voltage Reference Input/Output or General-Purpose, Digital I/O, Type D Port. This pin functions as either the output of the internal voltage reference bidirectional I/O. This pin ...

Page 6

Microcontroller with Analog Comparator and LED Driver PIN NAME onnect an exter nal cr ystal or r esonator b ...

Page 7

... Additional Documentation section. MAXQ Core Architecture The MAXQ3212 is a low-cost, high-performance, CMOS, fully static, 16-bit RISC microcontroller with EEPROM and an analog comparator structured on a highly advanced, 8-bit accumulator-based, 16-bit RISC architecture ...

Page 8

Microcontroller with Analog Comparator and LED Driver and the upper 3 bits containing the register subindex within that module. Any time that it is necessary to directly select one of the upper 24 index locations in a destination module, the ...

Page 9

... CALL, RET, and RETI instructions are executed and interrupts serviced. The PUSH, POP, and POPI instruc- tions can also be used explicitly to store and retrieve data to/from the stack. For the MAXQ3212, the stack is four levels deep. On reset, the stack pointer, SP, initializes to the top of the stack (03h) ...

Page 10

... This functionality is broken up into discrete modules so that only the features required for a given product need to be included. The following tables show the Register Set MAXQ3212 register set. Note that the accumulators are 8 bits wide for this device. MODULE NAME (BASE SPECIFIER) PFX (Bh) ...

Page 11

Microcontroller with Analog Comparator Table 2. System Register Bit Functions REGISTER APC PSF IC IMR SC IIR CKCN WDCN A[n] (0..15) PFX IP SP — — — — IV LC[0] LC[1] Offs DPC — — ...

Page 12

... DP0 0 0 DP1 0 0 Note: Bits marked with an “i” have an indeterminate value upon reset. Bits marked with an “s” have special behavior upon reset. Refer to the MAXQ Family User’s Guide: MAXQ3210/MAXQ3212 Supplement for more details. 12 ____________________________________________________________________ REGISTER BIT ...

Page 13

Microcontroller with Analog Comparator Table 4. Peripheral Register Map MODULE NAME (BASE SPECIFIER) REGISTER INDEX M0 (x0h) M1 (x1h) 0xh PO0 1xh PO1 2xh — 3xh — 4xh — T2CNA 5xh — 6xh — 7xh EIE0 8xh PI0 T2CNB 9xh ...

Page 14

Microcontroller with Analog Comparator and LED Driver Table 5. Peripheral Register Bit Functions REGISTER PO0 PO1 EI0 PI0 PI1 PWCN WUTC WUT WT19 WT18 WT17 WT16 WT15 WT14 WT13 WT12 PD0 PD1 KEN0 KEN1 ICDF CMPC ...

Page 15

Microcontroller with Analog Comparator Table 6. Peripheral Register Reset Values REGISTER PO0 PO1 EI0 PI0 PI1 PWCN WUTC WUT PD0 PD1 KEN0 KEN1 ICDF CMPC T2CNA T2H T2RH T2CH T2CNB T2V ...

Page 16

... Microcontroller with Analog Comparator and LED Driver System Timing For maximum versatility, the MAXQ3212 generates its internal system clock from several sources: • External clock source, including low-cost operation from 3.58MHz “Colorburst” crystal • External crystal or ceramic resonator, using the internal oscillator • ...

Page 17

Microcontroller with Analog Comparator Power Management Advanced power-management features minimize power consumption by dynamically matching the pro- cessing speed of the device to the required perfor- mance level. This means device operation can be slowed and power consumption minimized during ...

Page 18

... CMOS output drivers, and can support special functions. The pin is either tri-stated or weak pullup when defined as an input, dependent on the state of the corresponding bit in the output register. One pin of the device has interrupt capability. MAXQ3212 I/O PAD DETECT CIRCUIT EIES.x I/O Ports ...

Page 19

Microcontroller with Analog Comparator Programmable Timer The microcontroller incorporates one 16-bit program- mable timer/counter. The type 2 timer (timer 2) can be used in counter/timer/capture/compare/PWM functions, allowing precise control of internal and external events. It also supports optional single-shot, external ...

Page 20

... Microcontroller with Analog Comparator and LED Driver REF0 STOP 0 1 EXRF CMON 0 V (P0.4) REF 1 0 CMPI (P0.5) 1 CMON CMON INTERRUPT REQUEST Figure 4. MAXQ3212 Analog Comparator 20 ____________________________________________________________________ ENABLE +2.5V REFERENCE GENERATOR GAIN = OUT IN ≈ (V+ > V-) CPOL SYSTEM CLOCK STOP CMF Q SET REF0 EXRF ...

Page 21

... The low-power, high-performance RISC architecture of the MAXQ3212 makes it an excellent fit for many portable or battery-powered applications that require cost-effective computing. The analog comparator can function as an analog-to-digital converter (ADC) when simple analog measurements are necessary, and the high-current I/O pin can drive a power or status LED ...

Page 22

... The MAXQ3212 data sheet, which contains electri- cal/timing specifications and pin descriptions, avail- able at www.maxim-ic.com/MAXQ3212. • The MAXQ3212 errata sheet for the specific device revision, available at www.maxim-ic.com/errata. • The MAXQ Family User’s Guide, which contains detailed information on core features and operation, including programming, available at www ...

Page 23

... EVENT MONITOR USER INPUT 22pF 3.5795MHz 22pF PART TEMP RANGE MAXQ3212-EJX -40°C to +85°C MAXQ3212-EJX+ -40°C to +85°C MAXQ3212-EMX -40°C to +85°C MAXQ3212-EMX+ -40°C to +85°C +Denotes a Pb-free/RoHS-compliant package MAXQ3212 Px.x (CONFIGURED FOR EDGE INTERRUPT) P0.7/LED Px.x CMPI HFXIN HFXOUT GND NOMINAL V ...

Page 24

Microcontroller with Analog Comparator and LED Driver (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information go to www.maxim-ic.com/packages.) 24 ____________________________________________________________________ Package Information PACKAGE OUTLINE, TSSOP 4.40mm BODY 1 ...

Page 25

... Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 25 © 2006 Maxim Integrated Products is a registered trademark of Dallas Semiconductor Corporation. Marichu Quijano Package Information (continued) Printed USA is a registered trademark of Maxim Integrated Products, Inc. and LED Driver ...

Related keywords