| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Dr
Top Searches for this datasheet5/06 Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 microcontroller low-power, 16-bit RISC device that incorporates driver high-output piezoelectric horn/transducer, analog comparator, high-current that directly drives LED. device uniquely suited cost-conscious applications such chemical detectors, alarm systems, white goods, used application that requires high-performance low-power operation. high-performance 16-bit RISC core 8-bit accumulators complemented standard amenities such timers digital I/O. power consumption MIPS ratio among best 16-bit microcontroller industry. MAXQ3210 powered directly from 9.5V source, such battery, internal voltage regulator operates core microcontroller also provides flag input voltage supply falls below low-batttery detection threshold (VBF), which used signal low-voltage condition battery. MAXQ3212 general-purpose version MAXQ3210 that powered directly from external 5.0V supply. 1kWord EEPROM program memory stores customer application code software algorithms. Software programmable in-system ROM-based bootloader also in-application programmable under user software control. device provides bytes volatile SRAM bytes EEPROM data memory space. Contact Dallas Semiconductor concerning availability ROM-based devices highvolume, low-cost applications. Features High-Performance, Low-Power, 16-Bit RISC Core 3.58MHz Operation, Approaching 1MIPS Low-Cost Operation from "Colorburst" Crystal Oscillator 9.5V External Voltage Supply Operates from Single Battery 5.0V Nominal Internal Operation General-Purpose Pins Instructions, Most Single-Cycle Three Independent Data Pointers Accelerate Data Movement with Automatic Increment/Decrement Loop Counters 4-Level Hardware Stack 16-Bit Instruction Word, 16-Bit Data 8-Bit Accumulators JTAG Debug/Visibility Port Program Data Memory 1kWord EEPROM Program Memory, Mask High-Volume Applications Bytes EEPROM Data Memory 60,000 EEPROM Write/Erase Cycles Bytes SRAM Data Memory In-System Programming Peripheral Features Piezoelectric Horn Driver 16-Bit Programmable Timer/Counter with Prescaler High-Current Suitable 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 EEPROM Through JTAG Ultra-Low-Power Consumption 3.58MHz 5.5µA Standby Current (typ) Low-Power Divide-by-256 Mode Analog Features Analog Comparator Uses Internal External Voltage Reference +2.5V Reference Output Available On-Chip Voltage Regulator Supports 9.5V Power Supply Low-Battery Detection Regulated Output Available, 50mA MAXQ3210 Applications Chemical Sensors Security Alarm Systems Environmental Systems Battery-Powered Portable Devices Electrochemical Optical Sensors Home Appliances Thermostats/Humidity Sensors Typical Operating Circuits, Configuration, Ordering Information appear data sheet. MAXQ registered trademark Maxim Integrated Products, Inc. Note: Some revisions this device incorporate deviations from published specifications known errata. Multiple revisions device simultaneously available through various sales channels. information about device errata, www.maxim-ic.com/errata. Maxim Integrated Products pricing, delivery, ordering information, please contact Maxim/Dallas Direct! 1-888-629-4642, visit Maxim's website www.maxim-ic.com. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 ABSOLUTE MAXIMUM RATINGS Voltage Range Digital Relative Ground .-0.5V (VDDINT 0.5V) Voltage Range Analog Relative Ground.-0.5V (VDDINT 0.5V) Voltage Range Relative Ground .-0.5V +10.5V Voltage Range FEED Relative Ground.-0.5V +20V Continuous Output Current (any single pin) .25mA Continuous Output Current (all pins combined) .25mA Operating Temperature Range .-40°C +85°C Storage Temperature Range .-65°C +150°C Soldering Temperature .See IPC/JEDEC J-STD-020 Specification Stresses beyond those listed under "Absolute Maximum Ratings" cause permanent damage device. These stress ratings only, functional operation device these other conditions beyond those indicated operational sections specifications implied. Exposure absolute maximum rating conditions extended periods affect device reliability. ELECTRICAL CHARACTERISTICS (VDD VDD(MIN) VDD(MAX), CREGOUT 10µF 0.1µF, CVDD 1µF, -40°C +85°C. Typical values +25°C.) (Note PARAMETER Supply Voltage Internal Regulated Supply Voltage Voltage Regulator Output Low-Battery Detection Threshold Power-Fail Reset SYMBOL VDDINT VREGOUT VRST IDD1 IDD2 IDD3 IDD4 IDD5 IDD6 ISTOP1 Stop-Mode Current ISTOP2 ISTOP3 RESET Pullup RRST mode (Note sysclk fHFXIN mode (Note sysclk fHFXIN mode (Note sysclk fHFXIN mode (Note sysclk fHFXIN PMM1 mode (Note sysclk fHFXIN 8kHz ring mode (Note Brownout detector off, wake-up timer +50°C (Note Brownout detector off, wake-up timer +25°C, Brownout detector wake-up timer +25°C, VRST 0.4V, VREGOUT 5.5V Maximum ISOURCE 50mA +85°C -40°C CONDITIONS 4.15 7.51 33.0 UNITS Active Current Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator ELECTRICAL CHARACTERISTICS (continued) (VDD VDD(MIN) VDD(MAX), CREGOUT 10µF 0.1µF, CVDD 1µF, -40°C +85°C. Typical values +25°C.) (Note PARAMETER SYMBOL CONDITIONS ISOURCE 50µA max, ISINK 50µA Turn 0.1% final VREFO value (Note Input Input 0.85 0.15 FEED 18V, typical feed +25°C, ISOURCE 16mA +25°C, ISINK 16mA 0.34 0.36 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 Voltage: FEED Input Leakage: FEED Output High Voltage: HORNS, HORNB Output Voltage: HORNS, HORNB ANALOG VOLTAGE COMPARATOR Input Offset Voltage Input Common-Mode Voltage Common-Mode Rejection Ratio VCMR CMRR (Note fHFIN 3.58MHz, comparator comparator reference (VDDINT 1.5) while CMPI transitions from (VDDINT 1.5) approximately fHFIN 3.58MHz, V=20mV +25°C 0.14 tCLCL tCLCL VDDINT VIH2 VIL2 IIL1 VOH2 VOL2 VREFO tREFO VREFI IREFI 2.44 VDDINT 2.56 Response Time Comparator Mode Change Output Valid Input-Leakage Current Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 ELECTRICAL CHARACTERISTICS (continued) (VDD VDD(MIN) VDD(MAX), CREGOUT 10µF 0.1µF, CVDD 1µF, -40°C +85°C. Typical values +25°C.) (Note PARAMETER DIGITAL OSCILLATOR Input High Voltage: Px.x HFXIN Input Voltage: Px.x HFXIN Output High Voltage: Px.x Output Voltage: Px.x (except P0.7) Output Voltage: P0.7 Input Current (All Ports) Input Current (All Ports) CLOCK SOURCES External-Clock Frequency Internal Ring Oscillator JTAG PROGRAMMING Frequency fTCK JTAG programming (Note Sysclk function fHFXIN clock divisor; IDDx parameters above +85°C +25°C sysclk fHFIN External crystal External oscillator 1.00 3.58 3.58 VOL1 XTRC XTRC ISOURCE ISINK ISINK 10mA Input mode with weak pullup disabled Input mode with weak pullup active, 0.4V, VDDINT 5.5V 0.85 VDDINT 0.85 VDDINT 0.15 VDDINT SYMBOL CONDITIONS UNITS MEMORY CHARACTERISTICS (Note EEPROM Write/Erase Cycles EEPROM Data Retention 15,000 60,000 Cycles Cycles Years Note Specifications -40°C guaranteed design production tested. Note Measured with 9.5V, fHFXIN 3.58MHz, program EEPROM contains checkerboard, reset. Note Specification guaranteed design production tested. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Typical Operating Characteristics +25°C, unless otherwise noted.) DIGITAL SUPPLY CURRENT CLOCK FREQUENCY MAXQ3210 toc01 P0/P1 HIGH OUTPUT VOLTAGE SOURCE CURRENT -40°C +9.0V fHFXIN 3.58MHz +25°C MAXQ3210 toc02 -40°C IDD1 (mA) (mA) fHFXIN (MHz) +85°C +85°C +9.0V CLOCK SOURCE DRIVE HFXIN VALUE OPERATING FREQUENCY ANALOG COMPARATOR DELAY MAXQ3210 toc04 (pF) 49.9 4.99 3.32 4500 4000 3500 3000 2500 2000 1500 1000 CMPI OSC2 (kHz) 5V/div CMPO 5V/div 50ns/div Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Description NAME VREF/P0.4 Ground Voltage Reference Input/Output General-Purpose, Digital I/O, Type Port. This functions either output internal voltage reference bidirectional I/O. This also driven with external voltage provide optional voltage reference. defaults digital input with weak pullup after reset. Analog Voltage Comparator Output General-Purpose, Digital I/O, Type Port. This functions either output analog voltage comparator bidirectional I/O. defaults digital input with weak pullup after reset. Timer Input/Output General-Purpose, Digital I/O, Type Port. This functions either input output Timer bidirectional I/O. defaults digital input with weak pullup after reset. Secondary Timer Input/Output General-Purpose, Digital I/O, Type Port. This functions either secondary output Timer bidirectional I/O. defaults digital input with weak pullup after reset. General-Purpose, Digital I/O, Type Port. This functions bidirectional I/O, defaults digital input with weak pullup after reset. General-Purpose, Digital I/O, Type Port. This functions bidirectional I/O, defaults digital input with weak pullup after reset. General-Purpose, Digital I/O, Type Port. This functions bidirectional I/O, defaults digital input with weak pullup after reset. Debug Port Signal General-Purpose, Digital I/O, Type Port. This functions either signal debug port bidirectional I/O. defaults digital input with weak pullup after reset. Debug Port Signal General-Purpose, Digital I/O, Type Port. This functions either signal debug port bidirectional I/O. defaults digital input with weak pullup after reset. Oscillator Input. Connect external crystal resonator between HFXIN HFXOUT system clock generation. When using crystal, load capacitor approximately 22pF must connected between this ground. Alternatively, HFXIN input external clock source when HFXOUT floating. Oscillator Output. Connect external crystal resonator between HFXIN HFXOUT system clock. When using crystal, load capacitor approximately 22pF must connected between this ground. Alternatively, float HFXOUT when external high-frequency clock source connected HFXIN pin. FUNCTION CMP0/P0.3 T2P/P0.2 T2PB/P0.1 P0.0 P1.6 P1.5 TDO/P1.4 TCK/P1.3 HFXIN HFXOUT Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator Description (continued) NAME FEED HORNB GNDHORN HORNS REGOUT FUNCTION Piezoelectric Horn Driver, Feedback. This input connected feedback electrode horn. FEED used, should grounded. Piezoelectric Horn Driver, Horn Brass. This output connected piezo metal support electrode horn. Piezoelectric Horn Driver, Ground. This should connected GND, same ground There special isolation required this pin. Piezoelectric Horn Driver, Horn Silver. This output connected ceramic electrode provides complementary output HORNB when horn output enabled. Digital Power. This should connected bypass capacitor ground. Voltage Regulator Output. This provides regulated output internal voltage regulator. This requires sufficient bypass capacitance, preferrably parallel combination 10µF 0.1µF capacitors between this ground. Debug Port Signal General-Purpose, Digital I/O, Type Port. This functions either signal debug port bidirectional I/O. defaults digital input with weak pullup after reset. MAXQ3210 TMS/P1.2 Active-Low Reset Input General-Purpose, Digital I/O, Type Port. This defaults reset input RESET/P1.1 mode operation following POR. reset input mode deactivated digital mode enabled programming RSTD TDI/P1.0 Debug Port Signal General-Purpose, Digital I/O, Type Port. This functions either signal debug port bidirectional I/O. defaults digital input with weak pullup after reset. High-Current (Sink) Driver Output General-Purpose, Digital I/O, Type Port. This functions with high-current pulldown drive device such bidirectional I/O. defaults digital input with weak pullup after reset. External Edge-Selectable Interrupt General-Purpose, Digital I/O, Type Port. This functions either external edge-selectable interrupt bidirectional I/O. defaults digital input with weak pullup after reset. Analog Voltage Comparator Input General-Purpose, Digital I/O, Type Port. This functions either input analog voltage comparator bidirectional I/O. defaults digital input with weak pullup after reset. LED/P0.7 INT/P0.6 CMPI/P0.5 Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Functional Diagram 1kWORD EEPROM (PROGRAM) 128B EEPROM (DATA) PIEZOELECTRIC HORN DRIVER SRAM (DATA) COMPARATOR 16-BIT TIMER/COUNTER WITH PRESCALER 2kWORD UTILITY MAXQ10 RISC CORE 8-BIT ACCUMULATORS) WATCHDOG TIMERS POWER REDUCTION/ CLOCK GENERATION JTAG TMS, TDI, TDO, HIGH-CURRENT DRIVER GPIO EXTERNAL CRYSTAL/ EXTERNAL OSCILLATOR/ EXTERNAL RESONATOR VOLTAGE REGULATOR MAXQ3210 Detailed Description following introduction primary features microcontroller. More detailed descriptions device features found data sheets, errata sheets, user's guides described later Additional Documentation section. Instruction instruction composed fixed-length, 16-bit instructions that operate registers memory locations. instruction highly orthogonal, allowing arithmetic logical operations register along with accumulator. Special-function registers control peripherals subdivided into register modules. family architecture modular, that devices modules often reuse code developed existing products. architecture transport-triggered. This means that writes reads from certain register locations trigger other associated operations. These operations form basis higher-level instructions defined assembler, such ADDC, JUMP, etc. codes actually implemented MOVE instructions between certain register locations, while assembler handles encoding, which need concern programmer. 16-bit instruction word designed efficient execution. indicates format source field instruction. Bits instruction represent source transfer. Depending value format field, this either immediate value source register. this field represents register, lower four bits contain module specifier upper four bits contain register index that module. Bits represent destination transfer. This value always represents destination register, with lower four bits containing module specifier MAXQ Core Architecture MAXQ3210 low-cost, high-performance, CMOS, fully static, 16-bit RISC microcontroller with EEPROM integrated piezoelectric horn driver analog comparator. structured highly advanced, 8-bit accumulator-based, 16-bit RISC architecture. Fetch execution operations completed cycle without pipelining, because instruction contains both code data. result streamlined 3.58 million instructions-per-second (MIPS) microcontroller. 4-level hardware stack, enabling fast subroutine calling task switching, supports highly efficient core. Data quickly efficiently manipulated with three internal data pointers. Multiple data pointers allow more than function access data memory without having save restore data pointers each time. data pointers automatically increment decrement before after operation, eliminating need software intervention. result, application speed greatly increased. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator upper three bits containing register subindex within that module. time that necessary directly select upper index locations destination module, prefix register needed supply extra destination bits. This prefix register write inserted automatically assembler requires only additional execution cycle. memory arranged default Harvard architecture, with separate address spaces program data memory. special pseudo-Von Neumann memory mode allows data memory mapped into program space, permitting code execution from data memory. This places utility ROM, code, data memory into single contiguous memory map. This useful applications that require dynamic program modification unique memory configurations. addition, another mode allows program memory mapped into data space, permitting code constants accessed data memory. incorporation EEPROM program storage allows devices reprogrammed, eliminating expense throwing away one-time programmable devices during development field upgrades. EEPROM password protected with 16-word key, denying access program memory unauthorized individuals. MAXQ3210 Memory Organization device incorporates several memory areas: 2kWords utility 1kWords EEPROM program storage 128bytes EEPROM data storage 64bytes SRAM storage temporary variables 4-level stack memory storage program return addresses general-purpose PROGRAM SPACE DATA SPACE (BYTE MODE) DATA SPACE (WORD MODE) EEPROM A05Fh A020h A01Fh A000h SRAM 87FFh UTILITY 8000h UTILITY 8FFFh UTILITY 8000h 87FFh 8000h EXECUTING FROM 03FFh PROGRAM MEMORY EEPROM 00BFh 0040h 003Fh 0000h EEPROM 005Fh 0020h 001Fh 0000h SRAM 0000h SRAM Figure Memory Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Stack Memory 16-bit-wide internal stack provides storage program return addresses general-purpose use. stack used automatically processor when CALL, RET, RETI instructions executed interrupts serviced. PUSH, POP, POPI instructions also used explicitly store retrieve data to/from stack. MAXQ3210, stack four levels deep. reset, stack pointer, initializes stack (03h). CALL, PUSH, interrupt-vectoring operations increment then store value stack location pointed RET, RETI, POP, POPI operations retrieve value stack location pointed then decrement password automatically zeros following mass erase. additional Code Lock from bootloader prevents access device, even through password. device must erased mass erase operation clear Code Lock before device reprogrammed. Programming microcontroller's EEPROM programmed different methods: in-system programming inapplication programming. Both methods afford great flexibility system design well reduce lifecycle cost embedded system. In-system programming password protected prevent unauthorized access code memory. In-System Programming internal bootloader allows device reloaded over simple JTAG interface. result, system software upgraded in-system, eliminating need costly hardware retrofit when software updates required. Remote software uploads possible that enable physically inaccessible applications frequently updated. interface hardware JTAG connection another microcontroller, connection serial port using serial JTAG converter such MAXQJTAG-001, available from Dallas Semiconductor. in-system programmability required, commercial gang programmer used mass programming. Activating JTAG interface sending system programming instruction invokes bootloader. Setting during reset through JTAG interface executes bootloader-mode program that resides utility ROM. When programming complete, bootloader clear reset device, allowing device bypass utility begin execution application software. Optionally, bootloader invoked application code. following bootloader functions supported: Load Dump Verify Erase Utility utility block internal memory that starts address 8000h. utility consists subroutines that called from application software. These include: In-system programming (bootloader) over JTAG interface In-circuit debug routines Test routines (internal memory tests, memory loader, etc.) User-callable routines in-application EEPROM programming fast table lookup Routines within utility user-accessible called subroutines application software. More information utility contents contained user's guide this device. Some applications require protection against unauthorized viewing program code memory. these applications, access in-system programming incircuit debugging functions prohibited until password been supplied. password defined words physical program memory addresses x0010h x001Fh. single Password Lock (PWL) implemented register. When (power-on reset default), password required access utility ROM, including in-circuit debug in-system programming routines that allow reading writing internal memory. When cleared zero, these utilities fully accessible without password. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator In-Application Programming: in-application programming feature allows microcontroller modify program memory from application software. This allows on-the-fly software updates mission-critical applications that cannot afford downtime. Alternatively, allows application develop custom loader software that operate under control application software. utility contains user-accessible programming functions that erase program memory. These functions described detail user's guide this device. memory operations well configuring addressing peripheral registers device. Registers divided into major types: system registers peripheral registers. common register set, also known system registers, includes ALU, accumulator registers, data pointers, interrupt vectors control, stack pointer. peripheral registers define additional functionality that included different products based MAXQ architecture. This functionality broken into discrete modules that only features required given product need included. following tables show MAXQ3210 register set. Note that accumulators bits wide this device. MAXQ3210 Register Most functions device controlled sets registers. These registers provide working space Table System Register REGISTER INDEX MODULE NAME (BASE SPECIFIER) (8h) CKCN WDCN (9h) A[0] A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] A[12] A[13] A[14] A[15] (Bh) PFX[0] PFX[1] PFX[2] PFX[3] PFX[4] PFX[5] PFX[6] PFX[7] (Ch) (Dh) (Eh) Offs GRXL BP[offs] (Fh) Note: Names that appear italics indicate that bits register read-only. Names that appear bold indicate that register bits wide. Registers module addressable. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Table System Register Functions REGISTER CKCN WDCN A[n] (0.15) LC[0] LC[1] Offs GRXL BP[offs] DP[0] DP[1] GR.7 GR.7 GR.7 GR.7 GR.7 GR.7 GR.7 GR.7 GR.7 GR.6 GR.5 GR.4 GR.3 GR.2 GR.1 GR.0 GR.7 GR.7 bits) GR.15 GR.15 GR.7 GR.14 GR.14 GR.6 GR.13 GR.12 GR.11 GR.10 GR.9 GR.13 GR.12 GR.11 GR.10 GR.9 GR.5 GR.4 GR.3 GR.2 GR.1 GR.8 GR.8 GR.0 GR.6 GR.6 GR.5 GR.5 GR.15 GR.14 GR.13 GR.12 GR.11 GR.10 GR.9 GR.8 bits) bits) bits) LC[0] bits) LC[1] bits) Offs bits) WBS2 WBS1 WBS0 SDPS1 SDPS0 GR.4 GR.4 GR.3 GR.3 GR.2 GR.2 GR.1 GR.1 GR.0 GR.0 bits) REGISTER XT/RC RGSL EWDI CGDS GPF1 GPF0 MOD0 bits) MOD2 MOD1 RGMD STOP PMME WDIF WTRF A[n] bits) BP[offs] bits) DP[0] bits) DP[1] bits) Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator Table System Register Reset Values REGISTER CKCN WDCN A[n] (0.15) LC[0] LC[1] Offs GRXL BP[offs] REGISTER MAXQ3210 Note: Bits marked with have indeterminate value upon reset. Bits marked with have special behavior upon reset. Refer User's Guide Supplement this device more details. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Table Peripheral Register REGISTER INDEX MODULE NAME (BASE SPECIFIER) (x0h) EIE0 HRNC PWCN WUTC (x1h) CMPC T2CNA T2RH T2CH T2CNB (x2h) REGISTER INDEX 10xh 11xh 12xh 13xh 14xh 15xh 16xh 17xh 18xh 19xh 1Axh 1Bxh 1Cxh 1Dxh 1Exh 1Fxh MODULE NAME (BASE SPECIFIER) (x0h) KEN0 KEN1 ICDF (x1h) T2CFG (x2h) Note: Names that appear italics indicate that bits register read-only. Names that appear bold indicate that register bits wide. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator Table Peripheral Register Functions REGISTER HRNC PWCN WUTC KEN0 KEN1 ICDF CMPC T2CNA T2RH T2CH T2CNB T2CFG T2V.15 T2V.14 T2V.13 T2V.12 T2V.11 T2V.10 T2V.9 T2V.8 T2R.15 T2R.14 T2R.13 T2R.12 T2R.11 T2R.10 T2R.9 T2R.8 T2C.15 T2C.14 T2C.13 T2C.12 T2C.11 T2C.10 T2C.9 T2C.8 WT19 WT18 WT17 WT16 WT15 WT14 WT13 WT12 REGISTER PO0.7 PI0.7 WT11 PD0.7 KEN0.7 CMON T2V.15 T2R.15 T2C.15 ET2L T2V.7 T2R.7 T2C.7 PO0.6 PO1.6 PI0.6 PI1.6 WT10 PD0.6 PD1.6 KEN0.6 KEN1.6 ECMF T2OE0 T2V.14 T2R.14 T2C.14 T2OE1 T2V.6 T2R.6 T2C.6 DIV2 PO0.5 PO1.5 PI0.5 PI1.5 RSTD PD0.5 PD1.5 KEN0.5 KEN1.5 T2POL0 T2V.13 T2R.13 T2C.13 T2POL1 T2V.5 T2R.5 T2C.5 DIV1 PO0.4 PO1.4 PI0.4 PI1.4 REFO PD0.4 PD1.4 KEN0.4 KEN1.4 TR2L T2V.12 T2R.12 T2C.12 TR2L T2V.4 T2R.4 T2C.4 DIV0 PO0.3 PO1.3 PI0.3 PI1.3 PD0.3 PD1.3 KEN0.3 KEN1.3 PSS1 ECMO T2V.11 T2R.11 T2C.11 T2V.3 T2R.3 T2C.3 T2MD PO0.2 PO1.2 PI0.2 PI1.2 LBIE WTCS PD0.2 PD1.2 KEN0.2 KEN1.2 PSS0 CPRL2 T2V.10 T2R.10 T2C.10 TCC2 T2V.2 T2R.2 T2C.2 CCF1 PO0.1 PO1.1 PI0.1 PI1.1 LBDE PD0.1 PD1.1 KEN0.1 KEN1.1 CPOL T2V.9 T2R.9 T2C.9 TF2L T2V.1 T2R.1 T2C.1 CCF0 PO0.0 PO1.0 PI0.0 PI1.0 HRNE PD0.0 PD1.0 KEN0.0 KEN1.0 EXRF G2EN T2V.8 T2R.8 T2C.8 TC2L T2V.0 T2R.0 T2C.0 C/T2 MAXQ3210 Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Table Peripheral Register Reset Values REGISTER HRNC PWCN WUTC KEN0 KEN1 ICDF CMPC T2CNA T2RH T2CH T2CNB T2CFG REGISTER Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 System Timing maximum versatility, MAXQ3210 generates internal system clock from several sources: External clock source, including low-cost operation from 3.58MHz "Colorburst" crystal External crystal ceramic resonator, using internal oscillator External using internal relaxation oscillator Internal ring oscillator crystal warmup counter enhances operational reliability. Each time external crystal oscillation must restart, such after exiting stop mode, device initiates crystal warmup period 65,536 oscillations. This allows time crystal amplitude frequency stabilize before using clock source. While warmup mode, device operates from internal 8kHz ring oscillator optionally switch back crystal soon warmup period expires. Internal Voltage Regulator MAXQ3210 features internal voltage regulator that allows powered from external battery ranging from approximately 6.0V 9.5V. low-battery detect feature flag and/or trigger interrupt when enabled battery voltage falls below threshold. battery voltage regulated internal voltage (VDDINT) approximately REGOUT output provides external devices. RESET EWDI RESET CLOCK WATCHDOG TIMER INTERNAL NANO-RING OSCILLATOR MAXQ3210 XT/RC GLITCH-FREE OSCILLATOR KILL GLITCH-FREE CLOCK DIVIDER SYSTEM CLOCK STOP CRYSTAL/ RESONATOR OSCILLATOR KILL STOP RGSL RGMD XT/RC CLOCK SELECTOR STOP RGSL RESET X-DOG STARTUP TIMER RGSL DONE RGMD Figure Clock Sources Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Power Management Advanced power-management features minimize power consumption dynamically matching processing speed device required performance level. This means device operation slowed power consumption minimized during periods reduced activity. When more processing power required, microcontroller increase operating frequency. Software-selectable clock-divide operations allow flexibility, selecting whether system clock cycle (SYSCLK) oscillator cycles. performing this function software, lower power state entered without cost additional hardware. extremely power-sensitive applications, additional low-power modes available: Divide-by-256 power-management mode (PMM) (PMME CD1:0 00b) Stop mode (STOP PMM, system clock oscillator cycles, significantly reducing power consumption while microcontroller functions reduced speed. optional switchback feature allows enabled interrupt sources including external interrupts quickly exit powermanagement modes return faster internal clock rate. Power consumption reaches minimum stop mode. this mode external oscillator, system clock, processing activity halted. Stop mode exited when enabled external interrupt triggered, enabled wake-up timer expires, external reset signal applied RESET pin. Upon exiting stop mode, microcontroller starts execution immediately from internal 8kHz (approximately) ring oscillator while warmup period completes. When enabled interrupt detected, software jumps user-programmable interrupt vector location. register defaults 0000h reset power-up, changed different address, user program must determine whether jump 0000h came from reset interrupt source. Once software control been transferred ISR, interrupt identification register (IIR) used determine system register peripheral register source interrupt. specified module then interrogated specific interrupt source software take appropriate action. Because interrupts evaluated user software, user define unique interrupt priority scheme each application. following interrupt sources available: Watchdog Interrupt External Interrupt Timer Compare, Overflow, Capture/ Compare, Overflow Interrupts Analog Comparator Interrupt Low-Battery Interrupt Wake-Up Interrupt Reset Sources Several reset sources provided microcontroller control. Although code execution halted reset state, high-frequency oscillator ring oscillator continue oscillate. Power-On Reset/Brownout Reset internal power-on reset circuit enhances system reliability. This circuit forces device perform power-on reset whenever rising voltage climbs above approximately RST. Additionally, device performs brownout reset whenever drops below VRST, feature that optionally disabled stop mode. following events occur during poweron reset. registers circuits enter their power-on reset state pins revert their reset state, with logic-1 states tracking VREGOUT power-on reset flag indicate source reset ring oscillator becomes clock source external high-speed oscillator begins warmup Code execution begins location 8000h Interrupts Multiple reset sources available quick response internal external events. MAXQ architecture uses single interrupt vector (IV), single interrupt-service routine (ISR) design. maximum flexibility, interrupts enabled globally, individually, module. When interrupt condition occurs, individual flag set, even interrupt source disabled local, module, global level. Interrupt flags must cleared within user-interrupt routine avoid repeated interrupts from same source. Application software must ensure delay between write flag RETI instruction allow time interrupt hardware remove internal interrupt condition. Asynchronous interrupt flags require one-instruction delay synchronous interrupt flags require two-instruction delay. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator Watchdog Timer Reset watchdog timer functions described MAXQ Family User's Guide. Software determine reset caused watchdog timeout checking Watchdog Timer Reset Flag (WTRF) WDCN register. Execution resumes location 8000h following watchdog timer reset. Ports microcontroller uses form Type bidirectional pins described MAXQ Family User's Guide. Each port eight independent, general-purpose pins three configure/control registers. Many pins support alternate functions such timers interrupts, which enabled, controlled, monitored dedicated peripheral registers. Using alternate function automatically converts that function. pins this device employ optional "keeper" latch that helps maintain input state absence external drive sources. Port special with stronger pulldown capability drive devices such LEDs. operates configured same other pins. Type port pins have Schmitt Trigger receivers full CMOS output drivers, support special functions. either tri-stated weak pullup when defined input, dependent state corresponding output register. device interrupt capability. MAXQ3210 External System Reset Asserting external RESET causes device enter reset state. external reset functions described MAXQ Family User's Guide. Execution resumes location 8000h after RESET released. external system reset function enabled default power-on reset, disabled used general-purpose setting Reset Disable (RSTD) bit. system designer cautioned disable reset early software could disable future JTAG access and/or bootloader capability. WEAK PD.x DIRECTION VDDIO ENABLE PO.x OUTPUT MAXQ3210 PIN.x PI.x INPUT FLAG INTERRUPT FLAG DETECT CIRCUIT EIES.x Figure Type Port Schematic Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Programmable Timer microcontroller incorporates 16-bit programmable timer/counter. type timer (timer used functions, allowing precise control internal external events. also supports optional single-shot, external gating, polarity control options. timer does reset, triggering system reset optionally watchdog timer interrupt. This protects system against electrical noise electrostatic discharge (ESD) upsets that could cause uncontrolled processor operation. internal watchdog timer upgrade older designs with external watchdog devices, reducing system cost simultaneously increasing reliability. watchdog timer controlled through bits WDCN register. timeout period four programmable intervals ranging from system clocks default clock mode, allowing flexibility support different types applications. interrupt occurs system clocks before reset, allowing system execute interrupt place system known, safe state before device performs total system reset. 3.58MHz, watchdog timeout periods programmed from 1.14ms 149.94s, depending system clock mode. Timer timer peripheral includes following: 16-bit auto-reload timer/counter 16-bit capture 16-bit counter 8-bit capture 8-bit timer 8-bit counter 8-bit timer Wakeup Timer microcontroller includes simple 20-bit wake-up timer that used measure long intervals. user-selectable timer period used generate long-period interrupt wake device stop mode. timer clocked from either currently active system clock 8kHz ring oscillator. stop mode only 8kHz ring oscillator available wakeup timer clock source. interrupt, feature increases overall performance reducing many shorter timer interruptions single interrupt measure same long period. When used stop mode, provides energy savings lowest power mode with periodic wakeup ability. Analog Comparator analog comparator one-bit, analog-to-digital comparator. comparator input connected wide range peripherals, including chemical sensors motion proximity detectors, other appropriate analog input. comparator measures analog input against either external voltage reference internal +2.5V reference. When level comparator input, CMPI, rises above selected voltage reference, CMPC register changed desired level. device then responds asserting external signal and/or activating internal interrupt request. polarity external signal asserted programmable. When use, pins associated with comparator usable general-purpose I/O. addition, +2.5V reference configurable output VREF pin. This provides absolute voltage reference with data converters other precision devices. Watchdog Timer internal watchdog timer greatly increases system reliability. timer resets device software execution disturbed. watchdog timer free-running counter designed periodically reset application software. software operating correctly, counter periodically reset never reaches maximum count. However, software operation interrupt- Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 REF0 EXRF ENABLE REF0 STOP GAIN VOUT +2.5V REFERENCE GENERATOR +2.5V BANDGAP REFERENCE CMON STOP EXRF CMON VREF (P0.4) CMPI (P0.5) CMON CMON STOP CPOL SYSTEM CLOCK ECMO CMPO (P0.3) INTERRUPT REQUEST ECMF Figure MAXQ3210 Analog Comparator Piezoelectric Horn Driver piezoelectric horn driver provides circuitry drive 3-pin piezoelectric horn/annunciator. These horns contain ceramic element that bends expands when voltage applied, generating single tone capable reaching 100dB. They used wide variety applications requiring audible alerts such theft, intrusion proximity fire alarms, chemical sensors, door sensors, safety monitors. three-terminal piezoelectric horn connected horn silver (HORNS), horn brass (HORNB), feedback (FEED) pins, plus dedicated ground horn driver (GNDHORN). MAXQ3210 designed drive industry-standard piezoelectric horn, allowing designer maximum flexibility lowest overall system cost. single (HRNE) enables disables horn output, software toggle produce sounds varying durations patterns. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 In-Circuit Debug Embedded debugging capability available through JTAG-compatible Test Access Port. Embedded debug hardware embedded firmware provide in-circuit debugging capability user application, eliminating need expensive in-circuit emulator. Figure shows block diagram in-circuit debugger. in-circuit debug features include: Hardware debug engine registers able breakpoints register, code, data accesses debug service routines stored utility embedded hardware debug engine independent hardware block microcontroller. debug engine monitor internal activities interact with selected internal registers while executing user code. Collectively, hardware software features allow basic modes in-circuit debugging: Background mode allows host configure in-circuit debugger while continues execute application software full speed. Debug mode invoked from background mode. Debug mode allows debug engine take control CPU, providing read/write access internal registers memory, single-step trace operation. Applications Information Grounds Bypassing Careful board layout significantly minimizes crosstalk among reference input, comparator outputs, digital inputs. Keep digital analog lines separate, ground traces shields between them where possible. Separate CMPI VREF from each other running ground trace between these pins. Bypass with capacitor keep bypass capacitor leads short best noise rejection. Capacitor Selection Regulator Stability general purposes, combination 10µF 0.1µF capacitor REGOUT. Note that 0.1µF capacitor always required REGOUT must good quality ceramic with ESR. internal regulator designed stable with output filter capacitor 4.7µF high Larger REGOUT capacitor values lower provide better supply-noise rejection transient response. Note that some ceramic dielectric materials (e.g., Y5V) exhibit large temperature coefficient both capacitance ESR, larger REGOUT capacitance needed ensure stability temperatures. Applications low-power, high-performance RISC architecture MAXQ3210 makes excellent many portable battery-powered applications that require cost-effective computing. analog comparator function converter when simple analog measurements necessary, high-current drive power status LED. Combined with high-output piezoelectric horn/transducer, microcontroller function both "brain" "mouth" wide variety monitoring applications. microcontroller includes on-chip voltage regulator that allows powered directly battery. low-battery detector allows microcontroller monitor battery condition. internal voltage regulator also drive external circuitry while battery drives system. This device also used low-cost analog-todigital converter (ADC). single-slope conversion method easily implemented using internal comparator internal timer. basic implementation such converter illustrated below. benefits this approach small number MAXQ3210 DEBUG SERVICE ROUTINES (UTILITY ROM) DEBUG ENGINE CONTROLLER CONTROL BREAKPOINT ADDRESS DATA Figure In-Circuit Debugger Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator external components required: transistor creates constant current source, ramp capacitor times conversion, resistor capacitor comparator input acting simple filter. result addition capability system virtually additional cost. including programming, available www.maximic.com/MAXQUG. MAXQ Family User's Guide: MAXQ3210/ MAXQ3212 Supplement, which contains detailed information features specific MAXQ3210, available www.maxim-ic.com/MAXQ32xxSUP. MAXQ3210 Additional Documentation Designers must have four documents fully features this device. This data sheet contains descriptions, feature overviews, electrical specifications. Errata sheets contain deviations from published specifications. user's guides offer detailed information about device features operation. following documents downloaded from MAXQ3210 data sheet, which contains electrical/timing specifications descriptions, available www.maxim-ic.com/MAXQ3210. MAXQ3210 errata sheet specific device revision, available www.maxim-ic.com/errata. MAXQ Family User's Guide, which contains detailed information core features operation, Development Technical Support variety highly versatile, affordably priced development tools this microcontroller available from Maxim/Dallas Semiconductor third-party suppliers, including: Compilers In-circuit emulators Integrated development environments (IDEs) JTAG-to-serial converters programming debugging partial list development tool vendors found www.maxim-ic.com/MAXQ. Technical support available through email maxq.support@dalsemi.com. Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Typical Chemical Sensor Application Using External Voltage Reference BATTERY Px.x CHEMICAL SENSOR REGOUT SELF-TEST Px.x MAXQ3210 P0.7/LED CMPI ANALOG SENSOR MAX6037 VOLTAGE EQUIVALENT (OPTIONAL) 22pF HFXIN 3.5795MHz VREF HFXOUT 22pF HORNS GNDHORN 470k FEED HORNB PIEZOELECTRIC ALARM Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator Typical Chemical Sensor Application Using Simple MAXQ3210 REGOUT Px.x Px.x CHEMICAL SENSOR REGOUT VREF MAXQ3210 INPUT P0.7/LED CMPI BATTERY 22pF HFXIN 3.5795MHz HFXOUT 22pF 470k GNDHORN FEED HORNB HORNS PIEZOELECTRIC ALARM Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Ordering Information PART MAXQ3210-EJX MAXQ3210-EJX+ MAXQ3210-EMX MAXQ3210-EMX+ TEMP RANGE -40°C +85°C -40°C +85°C -40°C +85°C -40°C +85°C NOMINAL MEMORY 1kWord EEPROM 1kWord EEPROM 1kWord EEPROM 1kWord EEPROM PIN-PACKAGE TSSOP TSSOP PDIP PDIP +Denotes Pb-free/RoHS-compliant package. Configuration 1/06: VIEW Revision History Original release. Changed units Active Current (Electrical Characteristics) from "µA" "mA" IDD5 IDD6. 5/06: VREF/P0.4 CMP0/P0.3 T2P/P0.2 T2PB/P0.1 P0.0 P1.6 P1.5 TDO/P1.4 TCK/P1.3 HFXIN HFXOUT CMPI/P0.5 INT/P0.6 LED/P0.7 TDI/P1.0 MAXQ3210 RESET/P1.1 TMS/P1.2 REGOUT HORNS GNDHORN HORNB FEED PDIP/TSSOP Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator Package Information (The package drawing(s) this data sheet reflect most current specifications. latest package outline information www.maxim-ic.com/packages.) TSSOP4.40mm.EPS MAXQ3210 PACKAGE OUTLINE, TSSOP 4.40mm BODY 21-0066 Microcontroller with Internal Voltage Regulator, Piezoelectric Horn Driver, Comparator MAXQ3210 Package Information (continued) (The package drawing(s) this data sheet reflect most current specifications. latest package outline information www.maxim-ic.com/packages.) Maxim cannot assume responsibility circuitry other than circuitry entirely embodied Maxim product. circuit patent licenses implied. Maxim reserves right change circuitry specifications without notice time. _Maxim Integrated Products, Gabriel Drive, Sunnyvale, 94086 408-737-7600 2006 Maxim Integrated Products Printed registered trademark Maxim Integrated Products, Inc. registered trademark Dallas Semiconductor Corporation. Marichu Quijano PDIPN.EPS Other recent searchesXC9500 - XC9500 XC9500 Datasheet MLA2440-603 - MLA2440-603 MLA2440-603 Datasheet HE6407-A - HE6407-A HE6407-A Datasheet HS9427XQ - HS9427XQ HS9427XQ Datasheet DFM300LXS18-A000 - DFM300LXS18-A000 DFM300LXS18-A000 Datasheet DFM300LXS12-A000 - DFM300LXS12-A000 DFM300LXS12-A000 Datasheet DCH3053 - DCH3053 DCH3053 Datasheet AT45DB011 - AT45DB011 AT45DB011 Datasheet AT45DB011B - AT45DB011B AT45DB011B Datasheet APTGF125X60TE3 - APTGF125X60TE3 APTGF125X60TE3 Datasheet
Privacy Policy | Disclaimer |