MAXQ612/MAXQ622
16-Bit Microcontrollers with
Infrared Module and Optional USB
General Description
The MAXQ612/MAXQ622 are low-power, 16-bit MAXQ
M
microcontrollers designed for low-power applications
including universal remote controls, consumer elec-
tronics, and white goods. Both devices use a low-
power, high-throughput, 16-bit RISC microcontroller.
Serial peripherals include two universal synchronous/
asynchronous receiver-transmitters (USARTs), two SPIK
master/slave communications ports, and an inter-inte-
grated circuit (I
2
C) bus. The devices also incorporate
an IR module with carrier frequency generation and
flexible port I/O capable of multiplexed keypad control.
The MAXQ622 adds a universal serial bus (USB) with
integrated physical interface (PHY).
The MAXQ612/MAXQ622 include 128KB of flash memory
and 6KB of data SRAM. Intellectual property (IP) protection is
provided by a secure memory management unit (MMU) that
supports multiple application privilege levels and protects
code against copying and reverse engineering. Privilege
levels enable vendors to provide libraries and applications to
execute on the MAXQ612/MAXQ622, while limiting access
to only data and code allowed by their privilege level.
For the ultimate in low-power battery-operated perfor-
mance, the devices include an ultra-low-power stop mode
(0.3FA typical). 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 microcontroller runs from a wide operating voltage of
1.70V to 3.6V, and can also be powered from the USB.
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
Can Be Powered from Battery (V
DD
) or USB (V
DDB
)
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
Secure MMU for Application Partitioning and IP
Protection
S
Memory Features
128KB Flash Memory
512-Byte Sectors
20,000 Erase/Write Cycles per Sector
6KB Data SRAM
S
USB Features (MAXQ622 Only)
USB 2.0 Full-Speed Compatible
Hardware Receive and Transmit Buffers for High
Throughput
Integrated Full-Speed Transceiver
On-Chip Termination and Pullup Resistors
S
Additional Peripherals
Applications
Remote Controls
Battery-Powered Portable Equipment
Consumer Electronics
Home Appliances
White Goods
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
Two SPI Communication Ports
Two USART Communication Ports
I
2
C Port
Programmable Watchdog Timer
8kHz Nanopower Ring Oscillator Wake-Up Timer
Up to 56 General-Purpose I/O
S
Low Power Consumption
Ordering Information/Selector Guide
appears at end of
data sheet.
MAXQ is a registered trademark of Maxim Integrated
Products, Inc. SPI is a trademark of Motorola, Inc.
0.3µA (typ), 3µA (max) in Stop Mode
T
A
= +25NC, Power-Fail Monitor Disabled
4.8mA (typ) at 12MHz, 520µA (typ) at 1MHz in
Active Mode
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-5117; Rev 2; 5/11
MAXQ612/MAXQ622
16-Bit Microcontrollers with
Infrared Module and Optional USB
TABLE OF CONTENTS
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
I
2
C Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
I
2
C Bus Controller Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Pin Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Pin Descriptions—TQFN, LQFP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Pin Descriptions— Bare Die . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Microprocessor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Memory Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Stack Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Utility ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
IR Carrier Generation and Modulation Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Carrier Generation Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
IR Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
IR Transmit—Independent External Carrier and Modulator Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
IR Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Carrier Burst-Count Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
16-Bit Timers/Counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
General-Purpose I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Serial Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
USART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
I
2
C Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
USB Controller (MAXQ622 Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
On-Chip Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
ROM Loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Loading Flash Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
In-Application Flash Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
In-Circuit Debug and JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Power-Supply Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Stop Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Power-Fail Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2
Maxim Integrated
MAXQ612/MAXQ622
16-Bit Microcontrollers with
Infrared Module and Optional USB
TABLE OF CONTENTS (continued)
Power-Fail Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Applications Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Grounds and Bypassing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Additional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Development and Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Package Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Ordering Information/Selector Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
LIST OF FIGURES
Figure 1. Series Resistors (R
S
) for Protecting Against High-Voltage Spikes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 2. I
2
C Bus Controller Timing Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 3. On-Chip Oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 4. In-Circuit Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 5. Power-Fail Detection During Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 6. Stop Mode Power-Fail Detection States with Power-Fail Monitor Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 7. Stop Mode Power-Fail Detection with Power-Fail Monitor Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
LIST OF TABLES
Table 1. Memory Areas and Associated Maximum Privilege Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 2. Watchdog Interrupt Timeout (Sysclk = 12MHz, CD[1:0] = 00). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 3. USART Mode Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 4. Power-Fail Warning Level Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 5. Power-Fail Detection States During Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 6. Stop Mode Power-Fail Detection States with Power-Fail Monitor Enabled . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 7. Stop Mode Power-Fail Detection States with Power-Fail Monitor Disabled . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Maxim Integrated
3
MAXQ612/MAXQ622
16-Bit Microcontrollers with
Infrared Module and Optional USB
ABSOLUTE MAXIMUM RATINGS
Voltage Range on V
DD
with Respect to GND .....-0.3V to +3.6V
Voltage Range on Any Lead with
Respect to GND Except V
BUS
.............. -0.3V to (V
DD
+ 0.5V)
Voltage Range on V
BUS
with Respect to GND ....-0.3V to +6.0V
Continuous Output Current
Any Single I/O Pin ...........................................................25mA
All I/O Pins Combined.....................................................25mA
Voltage Range on DP, DM with
Respect to GND ...................................-0.3V to (V
BUS
+ 0.3V)
Operating Temperature Range ............................. 0NC to +70NC
Storage Temperature Range............................ -65NC to +150NC
Lead Temperature (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
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 OPERATING CONDITIONS
(V
DD
= V
RST
to 3.6V, T
A
= 0NC to +70NC.) (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
DD_2
I
S1
Stop-Mode Current
I
S2
Monitors V
DD
(Notes 2, 3, 4)
Monitors V
DD
(Note 5)
Monitors V
DD
(Note 6)
Sysclk = 12MHz
Sysclk = 1MHz (Note 6)
Power-Fail Off
(Note 7)
Power-Fail On
T
A
= +25NC
T
A
= +70NC
T
A
= +25NC
T
A
= +70NC
[(3 x I
S2
)
+ ((PCI -
3) x (I
S1
+
I
NANO
))]/
PCI
100
375 +
8192
t
HFXIN
(Note 6)
(Notes 6, 11)
10
V
GND
0.7 x V
DD
0.3 x V
DD
V
DD
150
CONDITIONS
MIN
V
RST
1.62
1.75
1.64
1.0
1.0
4.8
0.52
0.3
2.8
24
30
5.5
0.8
3
13
30
40
FA
1.8
1.8
1.67
TYP
MAX
3.6
1.98
1.85
1.70
1.42
UNITS
V
V
V
V
V
V
mA
Current Consumption During
Power Fail
I
PFR
(Notes 6, 8, 9)
FA
Current 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
4
I
POR
(Note 10)
nA
t
ON
Fs
t
PFM_ON
t
PFW
V
IL
V
IH
Fs
Fs
V
V
Maxim Integrated
MAXQ612/MAXQ622
16-Bit Microcontrollers with
Infrared Module and Optional USB
RECOMMENDED OPERATING CONDITIONS (continued)
(V
DD
= V
RST
to 3.6V, T
A
= 0NC to +70NC.) (Note 1)
PARAMETER
Input Hysteresis (Schmitt)
Input Low Voltage for HFXIN
SYMBOL
V
IHYS
V
IL_HFXIN
External driven clock and not
feedback connected crystal
oscillator
External driven clock and not
feedback connected crystal
oscillator
V
GND
CONDITIONS
MIN
TYP
300
0.3 x V
DD
MAX
UNITS
mV
V
Input High Voltage for HFXIN
IRRX Input Filter Pulse-Width
Reject
IRRX Input Filter Pulse-Width
Accept
Output Low Voltage for IRTX
V
IH_HFXIN
0.7 x V
DD
V
DD
V
t
IRRX_R
t
IRRX_A
V
DD
= 3.6V, I
OL
= 25mA (Note 6)
V
OL_IRTX
V
DD
= 2.35V, I
OL
= 10mA (Note 6)
V
DD
= 1.85V, I
OL
= 4.5mA
V
DD
= 3.6V, I
OL
= 11mA (Note 6)
V
DD
= 2.35V, I
OL
= 8mA (Note 6)
V
DD
= 1.85V, I
OL
= 4.5mA
V
OH
C
IO
I
L
I
OH
= -2mA
(Note 6)
Internal pullup disabled
V
DD
= 3V, V
OL
= V
DD
/2 (Note 6)
V
DD
= 2V, V
OL
= V
DD
/2
V
DD
= 3.0V, V
OL
= 0.4V (Note 6)
V
DD
= 2.0V, V
OL
= 0.4V (Note 6)
V
DDIOH
current is the sum of V
DDIO
current and I
OH
of all GPIO, I
OH
=
10mA
(Note 13)
-100
16
17
16
17
V
DD
- 0.4
25
27
28
30
V
DDIO
-
0.5
0.4
0.4
0.4
300
50
ns
ns
1.0
1.0
1.0
0.5
0.5
0.5
V
DDIO
15
+100
39
41
39
41
V
DD
V
kW
V
pF
nA
V
V
Output Low Voltage for
RESET
and All Port Pins (Note 12)
Output High Voltage for IRTX
and All Port Pins
Input/Output Pin Capacitance
for All Port Pins Except DP, DM
Input Leakage Current
Input Pullup Resistor for
RESET,
IRTX, IRRX, P0 to P6
V
OL
R
PU
GPIO Supply Output High
Voltage
V
DDIOH
EXTERNAL CRYSTAL/RESONATOR
Crystal/Resonator
Crystal/Resonator Period
Crystal/Resonator Warmup
Time
Oscillator Feedback Resistor
Crystal ESR
EXTERNAL CLOCK INPUT
External Clock Frequency
External Clock Period
External Clock Duty Cycle
System Clock Frequency
Maxim Integrated
f
HFXIN
t
HFXIN
t
XTAL_RDY
R
OSCF
1
1/f
HFXIN
8192 x
t
HFXIN
0.5
1.0
12
MHz
ns
ms
From initial oscillation
(Note 6)
(Note 6)
1.5
60
MW
W
MHz
ns
%
MHz
5
f
XCLK
t
XCLK
t
XCLK_DUTY
f
CK
(Note 13)
DC
1/f
XCLK
45
f
HFXIN
12
55
f
XCLK
HFXOUT = GND