Rev 0; 1/09
Low-Power, Dual-Core Microcontroller
General Description
The MAXQ3108 is a low-power microcontroller that fea-
tures two high-performance MAXQ20 cores: a dedicat-
ed core (DSPCore) for intensive data processing and a
user core (UserCore) for supervisory functions. The two
cores can operate at different clock speeds, allowing
lower system power consumption for even processing
intensive applications. The UserCore can be configured
to run at the lowest clock rate possible for monitoring
the peripherals for communication activities, while the
DSPCore runs at the highest speed. Each core has
access to an independent math accelerator (a multi-
ply/accumulate unit). The UserCore supports SPI™,
I
2
C, two UART channels with one channel supporting
IR carrier modulation, a trimmable real-time clock
(RTC), battery-backed RTC registers, and data memo-
ry. The DSPCore is fully user programmable and con-
figurable. With the standard 32,768Hz crystal, the
DSPCore operates at 10.027MHz, while the UserCore
runs at 5.014MHz.
♦
16 x 16-Bit General-Purpose Working Registers
for Each Core
♦
16-Level Hardware Stack for Each Core
♦
Hardware Support for Software Stack
♦
Memory Features
UserCore
64KB Flash Program Memory
16B Battery-Backed (V
BAT
) Data SRAM
4KB Utility ROM
2KB Data SRAM; 10KB Total Data SRAM (If
DSPCore Inactive)
DSPCore
8KB User-Loadable SRAM Code Memory
1KB Data SRAM
♦
Peripherals
FLL (10MHz Output with 32kHz Input)
SPI Master, I
2
C Master
Two UART Channels (One Supports IR Carrier
Modulation)
Math Accelerator for Each Core
Three Manchester Decoder and Cubic Sinc Filter
Channels for Interfacing to DS8102 Delta-Sigma
Modulators
Two 16-Bit Programmable Timer/Counters
RTC with Alarms and Digital Trim, Dedicated
Battery-Backup Pin (V
BAT
)
Two Programmable Pulse Generators
Independent Watchdog Timer for Each Core
External Interrupts
JTAG Interface
♦
Operating Modes
Stop Mode: 0.1µA typ
Active Current at 10MHz and V
DD
= 2.0V: 1.0mA typ
MAXQ3108
Applications
Electricity Meters
Industrial Control
Battery-Powered and Portable Devices
Smart Transmitters
Medical Instrumentation
Features
♦
High-Performance, Low-Power, Dual 16-Bit RISC
Cores
♦
Approaches 1MIPS per MHz
♦
System Clock
10.027MHz (DSPCore)
5.014MHz (UserCore)
♦
33 Instructions
♦
Approximately 100ns Execution Time at 10.027MHz
♦
Three Independent Data Pointers Accelerate Data
Movement with Automatic Increment/Decrement
♦
16-Bit Instruction Word, 16-Bit Data Bus
Ordering Information
PART
MAXQ3108-FFN+
TEMP RANGE
-40°C to +85°C
PIN-PACKAGE
28 TSSOP
+Denotes
a lead(Pb)-free/RoHS-compliant package.
Pin Configuration appears at end of data sheet.
SPI is a trademark of Motorola, Inc.
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.
________________________________________________________________
Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Low-Power, Dual-Core Microcontroller
MAXQ3108
TABLE OF CONTENTS
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Recommended DC Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Microprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
DSP Program RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
System Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Peripheral Registers—UserCore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Peripheral Registers—DSPCore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Special Function Register Bit Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
32,768Hz Crystal Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Frequency-Locked Loop (FLL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Power Conservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Power-Management Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
Switchback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Idle Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Power-On Reset/Brownout Reset Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
Watchdog Timer Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
External Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Reset Input Pin Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
GPIO Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
UARTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Infrared Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
I
2
C Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
ADC Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
ADC Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
2
_______________________________________________________________________________________
Low-Power, Dual-Core Microcontroller
MAXQ3108
TABLE OF CONTENTS (continued)
Dual-Core Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
DSP Code Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Intercore Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Timer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Timer B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Timer B Use-Case Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Multiply-Accumulate Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Real-Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Programmable Pulse Generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
In-Application Flash Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Development and Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Additional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
LIST OF FIGURES
Figure 1. Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Figure 2. IR Option on UART 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
Figure 3. ADC Bit Stream Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Figure 4. Connecting the MAXQ3108 to a DS8102 Dual Delta-Sigma Modulator . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
LIST OF TABLES
Table 1. UserCore Peripheral Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Table 2. UserCore Peripheral Register Default Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Table 3. DSPCore Peripheral Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Table 4. DSPCore Peripheral Register Default Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Table 5. Multipurpose Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
Table 6. MAXQ3108 Clock Divisors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
_______________________________________________________________________________________
3
Low-Power, Dual-Core Microcontroller
MAXQ3108
ABSOLUTE MAXIMUM RATINGS
Voltage Range on Any Pin
except V
DD
with Respect to V
SS
...........................-0.3V to V
DD
Voltage Range on V
DD
with Respect to V
SS
.........-0.3V to +3.6V
Operating Temperature Range ...........................-40°C to +85°C
Storage Temperature Range .............................-65°C to +150°C
Soldering Temperature...........................Refer to the IPC/JEDEC
J-STD-020 Specification.
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
RECOMMENDED DC OPERATING CONDITIONS
(V
DD
= V
RST
to 3.6V, T
A
= -40°C to +85°C.) (Notes 1, 2)
PARAMETER
Supply Voltage
Power-Fail Reset Voltage
1.8V Internal Regulator
1.8V Power-Fail Reset Voltage
Battery Supply Voltage
SYMBOL
V
DD
V
RST
V
REG18
V
REGRST
V
BAT
V
DD
= 0, V
BAT
= 3.6V, 32kHz oscillator and
RTC enabled
V
DD
= 0, V
BAT
= 2V, 32kHz oscillator and
RTC enabled
/1 mode, V
DD
= 2.0V
/1 mode, V
DD
= 3.6V
PMM2 (32kHz), V
DD
= 2.0V
PMM2 (32kHz), V
DD
= 3.6V
V
DD
= 2.0V
Monitors REGOUT
Monitors V
DD
CONDITIONS
MIN
V
RST
1.875
1.71
1.62
1.8
0.8
μA
0.6
1.3
1.5
0.5
0.6
1.0
2.2
2.5
0.8
1.0
1.7
mA
I
DD_FLL15
V
DD
= 3.6V
BOD = 1, REGEN = 0, SVMSTOP = 0, RTC
off (lowest current stop mode)
BOD = 0, REGEN = 0, SVMSTOP = 0, RTC
off (adds brownout-reset detection)
V
SS
V
SS
0.75 x V
DD
0.70 x V
DD
0.18
I
OL
= 4mA (Note 6)
I
OH
= -4mA (Note 6)
V
SS
V
DD
- 0.4
1.8
3.0
mA
1.8
TYP
MAX
3.6
1.975
1.89
1.71
3.6
UNITS
V
V
V
V
V
Battery Current (Note 3)
I
BAT1
Active Current with 32.768kHz
Crystal Connected to CX1, CX2;
FLL Selected (10MHz Output);
ENDSP = 0; All Decimators and
Sinc Filters Off (Note 4)
Active Current with 32.768kHz
Crystal Connected to CX1, CX2;
FLL Selected (10MHz Output);
UserCore = /256 PMM; DSPCore
= /1 ; ENDSP = 1; Manchester
Decoders On; Decimators On
I
DD_FLL1
I
DD_FLL2
I
DD_FLL9
I
DD_FLL10
I
DD_FLL14
I
STOP_1
Stop-Mode Current (Note 5)
I
STOP_2
Input Low (CX1)
Input Low (All Other Pins)
Input High (CX1)
Input High (All Other Pins)
Input Hysteresis (Schmitt)
Output Low (All Port Pins)
Output High (All Port Pins)
V
IL1
V
IL2
V
IH1
V
IH2
V
IHYS
V
OL
V
OH
0.1
30
2.4
μA
125
0.20 x V
DD
0.30 x V
DD
V
DD
V
DD
0.4
V
V
V
V
V
V
V
4
_______________________________________________________________________________________
Low-Power, Dual-Core Microcontroller
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DD
= V
RST
to 3.6V, T
A
= -40°C to +85°C.) (Notes 1, 2)
PARAMETER
Input/Output Pin Capacitance
Input Low Current All Pins
Input-Leakage Current
Input Pullup Resistor (All Inputs)
CLOCK SOURCE
FLL Output Frequency
FLL Output Accuracy
FLASH MEMORY
System Clock During Flash
Programming/Erase
Flash Erase Time
Flash Programming Time Per
Word
Write/Erase Cycles
Data Retention
SUPPLY VOLTAGE MONITOR
Set Point
Increment Resolution
Default Set Point
Current Consumption
Start Time
Setup Time (Change Set Point)
Setup Time (Stop Mode Exit)
REAL-TIME CLOCK
RTC Input Frequency
RTC Operating Current
f
32KIN
I
RTC
32kHz watch crystal
V
DD
= 2.0V
V
DD
= 3.6V
32,768
0.6
0.8
Hz
μA
I
SVM
t
SVMST
t
SVM_SU1
t
SVM_SU2
Changing from one set point to another set
point
Exit from stop mode
SV
TR
2.0
0.1
2.7
10
200
2
8
3.5
V
V
V
μA
μs
μs
μs
T
A
= +25°C
100
Mass erase
Page erase
(Note 7)
2
22.8
22.8
59.5
1000
24
24
25.2
25.2
66.5
MHz
ms
μs
Cycles
Years
f
FLL
f
FLL
CX1 = 32.768kHz
CX1 = 32.768kHz
9.5
10.0
1.5
10.5
±5
MHz
%
SYMBOL
C
IO
I
IL
I
L
R
PU
V
IN
= 0.4V
Internal pullup disabled
-100
60
CONDITIONS
Guaranteed by design
MIN
TYP
MAX
15
-30
+100
UNITS
pF
μA
nA
k
MAXQ3108
Note 1:
Results based on simulation data. Characterization data will be available at a later date. All voltages are referenced to
ground. Specifications to T
A
= -40°C are guaranteed by design and are not production tested.
Note 2:
Typical values are not guaranteed. These values are measured at room temperature, V
DD
= 3.3V.
Note 3:
This current is from V
BAT
only if (V
DD
< V
BAT
and V
DD
< V
RST
) or (STOP = 1, REGEN = 0, BOD = 1). Otherwise, this current
is from V
DD
.
Note 4:
Measured on the V
DD
pin and the device not in reset. All inputs are connected to V
SS
or V
DD
. Outputs do not source/sink
any current. Timer enabled, RTC enabled, part executing JUMP $ from flash.
Note 5:
If the RTC is on for parameters ISTOP_2, ISTOP_3, and ISTOP_4, a current equal to I
BAT1
is added to I
DD
.
Note 6:
The maximum total current, I
OH(MAX)
and I
OL(MAX)
, for all outputs combined should not exceed 35mA to satisfy the maxi-
mum specified voltage drop.
Note 7:
The timing listed above is clocked by 63 cycles of the internal 1MHz ±5% clock. There will be ROM code overhead, which is
a function of system clock. For data sheet purposes, a better way is to specify the limits that include ROM code execution
with specified system clock speed.
_______________________________________________________________________________________
5