maxq3210-emx Maxim Integrated Products, Inc., maxq3210-emx Datasheet - Page 18
![no-image](/images/no-image-200.jpg)
maxq3210-emx
Manufacturer Part Number
maxq3210-emx
Description
Maxq3210 Microcontroller With Internal Voltage Regulator, Piezoelectric Horn Driver, And Comparator
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
1.MAXQ3210-EMX.pdf
(28 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MAXQ3210-EMX
Manufacturer:
MAXIM/美信
Quantity:
20 000
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 peri-
ods of reduced activity. When more processing power
is required, the microcontroller can increase its operat-
ing frequency. Software-selectable clock-divide opera-
tions allow flexibility, selecting whether a system clock
cycle (SYSCLK) is 1, 2, 4, or 8 oscillator cycles. By per-
forming this function in software, a lower power state
can be entered without the cost of additional hardware.
For extremely power-sensitive applications, additional
low-power modes are available:
• Divide-by-256 power-management mode (PMM)
• Stop mode (STOP = 1)
In PMM, one system clock is 256 oscillator cycles, sig-
nificantly reducing power consumption while the micro-
controller functions at reduced speed. The optional
switchback feature allows enabled interrupt sources
including external interrupts to quickly exit the power-
management modes and return to a faster internal
clock rate.
Power consumption reaches its minimum in stop mode.
In this mode the external oscillator, system clock, and
all processing activity is halted. Stop mode is exited
when an enabled external interrupt pin is triggered, the
enabled wake-up timer expires, or an external reset
signal is applied to the RESET pin. Upon exiting stop
mode, the microcontroller starts execution immediately
from its internal 8kHz (approximately) ring oscillator
while the warmup period completes.
Multiple reset sources are available for quick response to
internal and external events. The MAXQ architecture uses
a single interrupt vector (IV), single interrupt-service rou-
tine (ISR) design. For maximum flexibility, interrupts can
be enabled globally, individually, or by module. When an
interrupt condition occurs, its individual flag is set, even if
the interrupt source is disabled at the local, module, or
global level. Interrupt flags must be cleared within the
user-interrupt routine to avoid repeated interrupts from
the same source. Application software must ensure a
delay between the write to the flag and the RETI instruc-
tion to allow time for the interrupt hardware to remove the
internal interrupt condition. Asynchronous interrupt flags
require a one-instruction delay and synchronous interrupt
flags require a two-instruction delay.
Microcontroller with Internal Voltage Regulator,
Piezoelectric Horn Driver, and Comparator
18
(PMME = 1, CD1:0 = 00b)
____________________________________________________________________
Power Management
Interrupts
When an enabled interrupt is detected, software jumps
to a user-programmable interrupt vector location. The
IV register defaults to 0000h on reset or power-up, so if
it is not changed to a different address, the user pro-
gram must determine whether a jump to 0000h came
from a reset or interrupt source.
Once software control has been transferred to the ISR,
the interrupt identification register (IIR) can be used to
determine if a system register or peripheral register
was the source of the interrupt. The specified module
can then be interrogated for the specific interrupt
source and software can take appropriate action.
Because the interrupts are evaluated by user software,
the user can define a unique interrupt priority scheme
for each application. The following interrupt sources are
available:
• Watchdog Interrupt
• External Interrupt 0
• Timer 2 Low Compare, Low Overflow, Capture/
• Analog Comparator Interrupt
• Low-Battery Interrupt
• Wake-Up Interrupt
Several reset sources are provided for microcontroller
control. Although code execution is halted in the reset
state, the high-frequency oscillator and the ring oscilla-
tor continue to oscillate.
An internal power-on reset circuit enhances system reli-
ability. This circuit forces the device to perform a
power-on reset whenever a rising voltage on V
climbs above approximately V
device performs a brownout reset whenever V
below V
stop mode. The following events occur during a power-
on reset.
• All registers and circuits enter their power-on reset
• I/O pins revert to their reset state, with logic-1 states
• The power-on reset flag is set to indicate the source
• The ring oscillator becomes the clock source
• The external high-speed oscillator begins its
• Code execution begins at location 8000h
Compare, and Overflow Interrupts
state
tracking V
of the reset
warmup
RST
, a feature that can be optionally disabled in
REGOUT
Power-On Reset/Brownout Reset
Reset Sources
RST
. Additionally, the
DD
drops
DD