MAXQ618
16-Bit Microcontroller with Infrared Module
General Description
The MAXQ618 is a low-power, 16-bit MAXQ
®
microcon-
troller designed for low-power applications including uni-
versal remote controls, consumer electronics, and white
goods. The device combines a powerful 16-bit RISC
microcontroller and integrated peripherals including two
universal synchronous/asynchronous receiver-transmit-
ters (USARTs) and an SPI master/slave communications
port, along with an IR module with carrier frequency
generation and flexible port I/O capable of multiplexed
keypad control.
The device includes 80KB of flash memory and 2KB of data
SRAM. The MAXQ61C is a ROM version of this device.
For the ultimate in low-power battery-operated perfor-
mance, the device includes an ultra-low-power stop mode
(0.2µA typ). In this mode, the minimum amount of circuitry
is powered. Wake-up sources include external interrupts,
the power-fail interrupt, and a timer interrupt. The micro-
controller runs from a wide 1.70V to 3.6V operating voltage.
Features
S
High-Performance, Low-Power, 16-Bit RISC Core
S
DC to 12MHz Operation Across Entire Operating Range
S
1.70V to 3.6V Operating Voltage
S
33 Total Instructions for Simplified Programming
S
Three Independent Data Pointers Accelerate Data
Movement with Automatic Increment/Decrement
S
Dedicated Pointer for Direct Read from Code Space
S
16-Bit Instruction Word, 16-Bit Data Bus
S
16 x 16-Bit General-Purpose Working Registers
S
Memory Features
80KB Flash Memory
2KB Data SRAM
S
Additional Peripherals
Power-Fail Warning
Power-On Reset (POR)/Brownout Reset
Automatic IR Carrier Frequency Generation
and Modulation
Two 16-Bit Programmable Timers/Counters
with Prescaler and Capture/Compare
SPI Port and Two USART Ports
One
Programmable Watchdog Timer
8kHz Nanopower Ring Oscillator Wake-Up Timer
to 32 General-Purpose I/Os
Up
S
Low Power Consumption
0.2µA (typ), 2.0µA (max) in Stop Mode,
T
A
= +25NC, Power-Fail Monitor Disabled
2.0mA (typ) at 12MHz in Active Mode
Applications
Remote Controls
Battery-Powered Portable Equipment
Consumer Electronics
Home Appliances
White Goods
Block Diagram
MAXQ618
REGULATOR
VOLTAGE
MONITOR
GPIO
2x
16-BIT TIMER
16-BIT MAXQ
RISC CPU
CLOCK
WATCHDOG
8kHz NANO
RING
80KB FLASH
MEMORY
1.5KB
UTILITY ROM
2KB
DATA SRAM
IR DRIVER
IR TIMER
SPI
Ordering Information
appears at end of data sheet.
For related parts and recommended products to use with this part,
refer to
www.maximintegrated.com/MAXQ618.related.
2 x USART
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.maximintegrated.com/errata.
For pricing, delivery, and ordering information, please contact Maxim Direct at
1-888-629-4642, or visit Maxim Integrated’s website at www.maximintegrated.com.
19-5778; Rev 1; 7/12
MAXQ618
16-Bit Microcontroller with Infrared Module
TABLE OF CONTENTS
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
SPI Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Microprocessor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Stack Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Utility ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
IR Carrier Generation and Modulation Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Carrier Generation Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
IR Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
IR Transmit—Independent External Carrier and Modulator Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
IR Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Carrier Burst-Count Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
16-Bit Timers/Counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
USART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
General-Purpose I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
On-Chip Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Power-Fail Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Applications Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Grounds and Bypassing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Additional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Deviations from the MAXQ610 User’s Guide for the MAXQ618 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Development and Technical Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Ordering Information/Selector Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Package Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Maxim Integrated
2
MAXQ618
16-Bit Microcontroller with Infrared Module
LIST OF FIGURES
Figure 1. IR Transmit Frequency Shifting Example (IRCFME = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 2. IR Transmit Carrier Generation and Carrier Modulator Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 3. IR Transmission Waveform (IRCFME = 0). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 4. External IRTXM (Modulator) Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 5. IR Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 6. Receive Burst-Count Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 7. SPI Master Communication Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 8. SPI Slave Communication Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 9. On-Chip Oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 10. Power-Fail Detection During Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 11. Stop Mode Power-Fail Detection States with Power-Fail Monitor Enabled . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 12. Stop Mode Power-Fail Detection with Power-Fail Monitor Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
LIST OF TABLES
Table 1. Watchdog Interrupt Timeout (Sysclk = 12MHz, CD[1:0] = 00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 2. USART Mode Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 3. Power-Fail Detection States During Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 4. Stop Mode Power-Fail Detection States with Power-Fail Monitor Enabled. . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 5. Stop Mode Power-Fail Detection States with Power-Fail Monitor Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Maxim Integrated
3
MAXQ618
16-Bit Microcontroller with Infrared Module
ABSOLUTE MAXIMUM RATINGS
(All voltages with respect to GND.)
Voltage Range on V
DD
.........................................-0.3V to +3.6V
Voltage Range on Any Lead Except V
DD
-0.3V to (V
DD
+ 0.5V)
Continuous Power Dissipation (T
A
= +70NC)
TQFN (single-layer board)
(derate 27mW/NC above +70NC) .........................2162.2mW
TQFN (multilayer board)
(derate 37mW/NC above +70NC) ............................2963mW
Operating Temperature Range ............................. 0NC to +70NC
Storage Temperature Range............................ -65NC to +150NC
Lead Temperature (excluding dice; soldering, 10s) ......+300NC
Soldering Temperature (reflow) ......................................+260NC
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional opera-
tion 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 OPERATING CONDITIONS
(V
DD
= V
RST
to 3.6V, T
A
= 0NC to +70NC, unless otherwise noted.) (Note 1)
PARAMETER
Supply Voltage
1.8V Internal Regulator
Power-Fail Warning Voltage for
Supply
Power-Fail Reset Voltage
POR Voltage
RAM Data-Retention Voltage
Active Current
SYMBOL
V
DD
V
REG18
V
PFW
V
RST
V
POR
V
DRV
I
DD_1
I
S1
Stop-Mode Current
I
S2
Current Consumption During
Power-Fail
Power Consumption During
POR
Stop-Mode Resume Time
Power-Fail Monitor Startup Time
Power-Fail Warning Detection
Time
Input Low Voltage for IRTX,
IRRX,
RESET,
and All Port Pins
Input High Voltage for IRTX,
IRRX,
RESET,
and All Port Pins
Input Hysteresis (Schmitt)
Input Low Voltage for HFXIN
Input High Voltage for HFXIN
IRRX Input Filter Pulse-Width
Reject
Maxim Integrated
CONDITIONS
MIN
V
RST
1.62
TYP
1.8
1.8
1.67
MAX
3.6
1.98
1.85
1.70
1.42
UNITS
V
V
V
V
V
V
mA
Monitors V
DD
(Note 2)
Monitors V
DD
(Note 3)
Monitors V
DD
(Note 4)
Sysclk = 12MHz (Note 5)
Power-Fail Off
Power-Fail On
T
A
= +25NC
T
A
= 0°C +70NC
T
A
= +25NC
T
A
= 0°C to +70NC
1.75
1.64
1.0
1.0
2.5
0.15
0.15
22
27.6
[(3 x I
S2
) +
((PCI - 3) x (I
S1
+
I
NANO
))]/PCI
100
3.75
2.0
8
31
38
FA
I
PFR
I
POR
t
ON
t
PFM_ON
t
PFW
V
IL
V
IH
V
IHYS
V
IL_HFXIN
V
IH_HFXIN
t
IRRX_R
(Note 6)
(Note 7)
FA
nA
Fs
Fs
Fs
375 + (8192 x t
HFXIN)
(Note 4)
(Notes 4, 8)
10
V
GND
0.7 x V
DD
V
DD
= 3.3V, T
A
= +25NC
V
GND
0.7 x V
DD
300
0.3 x V
DD
V
DD
50
0.3 x V
DD
V
DD
150
V
V
mV
V
V
ns
4
MAXQ618
16-Bit Microcontroller with Infrared Module
RECOMMENDED OPERATING CONDITIONS (continued)
(V
DD
= V
RST
to 3.6V, T
A
= 0NC to +70NC, unless otherwise noted.) (Note 1)
PARAMETER
IRRX Input Filter Pulse-Width
Accept
Output Low Voltage for IRTX
SYMBOL
t
IRRX_A
V
DD
= 3.6V, I
OL
= 25mA (Note 4)
V
OL_IRTX
V
DD
= 2.35V, I
OL
= 10mA (Note 4)
V
DD
= 1.85V, I
OL
= 4.5mA
Output Low Voltage for
RESET
and All Port Pins (Note 9)
Output High Voltage for IRTX
and All Port Pins
Input/Output Pin Capacitance
for All Port Pins
Input Leakage Current
Input Pullup Resistor for
RESET,
IRTX, IRRX, P0, P1, P2
Crystal/Resonator
Crystal/Resonator Period
Crystal/Resonator Warmup
Time
Oscillator Feedback Resistor
EXTERNAL CLOCK INPUT
External Clock Frequency
External Clock Period
External Clock Duty Cycle
System Clock Frequency
System Clock Period
NANOPOWER RING
T
A
= +25NC
Nanopower Ring Frequency
Nanopower Ring Duty Cycle
Nanopower Ring Current
FLASH MEMORY
System Clock During Flash
Programming/Erase
Maxim Integrated
CONDITIONS
MIN
300
TYP
MAX
UNITS
ns
1.0
1.0
1.0
0.4
0.4
0.4
V
DD
- 0.5
0.5
0.5
0.5
V
DD
15
-100
16
17
DC
1/f
HFXIN
8192 x
t
HFXIN
0.5
DC
1/f
XCLK
45
f
HFXIN
f
XCLK
1/f
CK
3.0
1.7
40
40
8.0
2.4
60
400
20.0
kHz
%
nA
55
1.0
1.5
12
28
30
+100
39
41
12
V
pF
nA
kW
V
V
V
DD
= 3.6V, I
OL
= 11mA (Note 4)
V
OL
V
DD
= 2.35V, I
OL
= 8mA (Note 4)
V
DD
= 1.85V, I
OL
= 4.5mA
V
OH
C
IO
I
L
R
PU
I
OH
= -2mA
(Note 4)
Internal pullup disabled
V
DD
= 3.0V, V
OL
= 0.4V (Note 4)
V
DD
= 2.0V, V
OL
= 0.4V
EXTERNAL CRYSTAL/RESONATOR
f
HFXIN
t
HFXIN
t
XTAL_RDY
R
OSCF
f
XCLK
t
XCLK
t
XCLK_DUTY
(Note 4)
f
CK
t
CK
HFXOUT = GND
From initial oscillation
(Note 4)
MHz
ns
ms
MW
MHz
ns
%
MHz
ns
f
NANO
t
NANO
I
NANO
T
A
= +25NC, V
DD
= POR voltage
(Note 4)
(Note 4)
Typical at V
DD
= 1.64V,
T
A
= +25°C (Note 4)
f
FPSYSCLK
6
MHz
5