MAXQ3100-EMN+ MAXIM [Maxim Integrated Products], MAXQ3100-EMN+ Datasheet - Page 23

no-image

MAXQ3100-EMN+

Manufacturer Part Number
MAXQ3100-EMN+
Description
Mixed-Signal Microcontroller with Analog Comparators, LCD, and RTC
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
A binary real-time clock keeps the time of day in
absolute seconds with 1/256-second resolution. The
32-bit second counter can count up to approximately
136 years and be translated to calendar format by the
application software. A time-of-day alarm and indepen-
dent subsecond alarm can cause an interrupt or wake
the device from stop mode.
The independent subsecond alarm runs from the same
RTC, and allows the application to perform periodic
interrupts up to 8 seconds with a granularity of approxi-
mately 3.9ms. This creates an additional timer that can
be used to measure long periods without performance
degradations. Traditionally, long time periods have
been measured using multiple interrupts from shorter
programmable timers. Each timer interrupt required
servicing, with each accompanying interruption slowing
system operation. By using the RTC subsecond timer
as a long-period timer, only one interrupt is needed,
eliminating the performance hit associated with using a
shorter timer.
Higher accuracy can be obtained by using the user-
accessible digital RTC trim function. This feature allows
the designer to fine tune the RTC timing to compensate
for crystal inaccuracies and any unintended board-
level effects that could cause crystal-frequency drift.
The user can enable a 1Hz or 512Hz square-wave out-
put on P3.4. Frequency measurements of these signals
can show if there is any deviation from the expected
frequency, and writes to the RTC trim register can com-
pensate in increments of 1 to 127 steps, with each step
approximately 3.05ppm (30.5µs).
If the V
there may be a short increase in I
switching between V
source. I
DV
[(1.05 x V
observed while V
DV
The MAXQ3100 incorporates one instance each of the
timer 0, timer 1, and timer 2 peripherals. These timers
can be used in counter/timer/capture/compare/PWM
functions, allowing precise control of internal and exter-
nal events. Timer 2 supports optional single-shot, exter-
nal gating, and polarity control options as well as
carrier generation support for infrared transmit/receive
functions using serial port 0.
DD
DD
) - 200mV] < V
is rising and in the range 1.05 x V
BAT
DD
BAT
pin is not directly tied to the DV
can temporarily increase up to 300µA while
) + 200mV]. A similar effect may be
Mixed-Signal Microcontroller with Analog
BAT
______________________________________________________________________________________
Programmable Timers
BAT
BAT
is falling and in the range [(0.95 x
< 0.95 x DV
and DV
Real-Time Clock
DD
DD
DD
as the RTC power
while the device is
.
BAT
DD
< DV
pin, then
Comparators, LCD, and RTC
DD
<
The timer 0 peripheral includes the following:
• 8-bit autoreload timer/counter
• 13-bit or 16-bit timer/counter
• Dual 8-bit timer/counter
• External pulse counter
The timer 1 peripheral includes the following:
• 16-bit autoreload timer/counter
• 16-bit capture
• 16-bit counter
• Clock generation output
The timer 2 peripheral includes the following:
• 16-bit autoreload timer/counter
• 16-bit capture
• 16-bit counter
• 8-bit capture and 8-bit timer
• 8-bit counter and 8-bit timer
• Infrared carrier generation support
An internal watchdog timer greatly increases system
reliability. The timer resets the processor if software
execution is disturbed. The watchdog timer is a free-
running counter designed to be periodically reset by
the application software. If software is operating cor-
rectly, the counter is periodically reset and never
reaches its maximum count. However, if software oper-
ation is interrupted, the timer does not reset, triggering
a system reset and optionally a watchdog timer inter-
rupt. This protects the system against electrical noise
or electrostatic discharge (ESD) upsets that could
cause uncontrolled processor operation. The internal
watchdog timer is an upgrade to older designs with
external watchdog devices, reducing system cost and
simultaneously increasing reliability.
The watchdog timer is controlled through bits in the
WDCN register. Its timeout period can be set to one of
four programmable intervals ranging from 2
system clocks in its default mode, allowing flexibility to
support different types of applications. The interrupt
occurs 512 system clocks before the reset, allowing the
system to execute an interrupt and place the system in
a known, safe state before the device performs a total
system reset. At 4.194MHz, watchdog timeout periods
can be programmed from 976µs to 128s, depending on
the system clock mode.
Watchdog Timer
Timer 0
Timer 1
Timer 2
12
to 2
23
21

Related parts for MAXQ3100-EMN+