maxq3212-emx+ Maxim Integrated Products, Inc., maxq3212-emx+ Datasheet
maxq3212-emx+
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 ...