19-4605; Rev 0; 6/09
16-Bit, Mixed-Signal Microcontroller with Op Amps,
ADC, and DACs for All-in-One Servo Loop Control
General Description
The MAXQ8913 is a single-chip servo controller
designed as a complete solution for dual axis optical
image stabilization (OIS) applications. The device
incorporates all the necessary elements for condition-
ing of sensor signals, analog-to-digital conversion, digi-
tal servo algorithm implementation using a 16-bit RISC
microcontroller, and digital-to-analog conversion, as
well as including dual servo amplifiers.
Even though the device is targeted for OIS applica-
tions, it can be effectively used in many other types of
servo control. The MAXQ8913 supports both voice coil
and stepper motor applications.
The MAXQ8913 includes four op amps; a 7-channel,
12-bit ADC; dual 10-bit differential DACs; and dual 8-bit
single-ended DACs. It also contains 64KB of flash mem-
ory, 4KB of RAM, 4KB of ROM, a 16-bit timer/counter, a
universal asynchronous/synchronous receiver-transmit-
ter (USART), an I
2
C port, and an SPI™ master/slave
port.
For the ultimate in low-power performance, the OIS
device includes a low-power sleep mode, the ability to
selectively disable peripherals, and multiple power-sav-
ing operating modes.
Features
♦
High-Performance, Low-Power, 16-Bit MAXQ
®
RISC Core
♦
One-Cycle, 16 x 16 Hardware Multiply/Accumulate
with 48-Bit Accumulator
♦
Two Current Sinks for Driving Hall-Effect Elements
♦
Four DACs
♦
DC to 10MHz Operation; Approaching 1MIPS per MHz
♦
2.7V to 3.6V Logic/Analog Operating Voltage
♦
33 Instructions, Most Single Cycle
♦
Three Independent Data Pointers Accelerate Data
Movement with Automatic Increment/Decrement
♦
16-Level Hardware Stack
♦
16-Bit Instruction Word, 16-Bit Data Bus
♦
16 x 16-Bit General-Purpose Working Registers
♦
Optimized for C Compilers
♦
Memory Features
64KB Flash Memory
4KB of Internal Data RAM
4KB of Utility ROM
JTAG Bootloader for Programming and Debug
♦
Peripherals
Four Operational Amplifiers
12-Bit SAR ADC with Internal Reference and Autoscan
Up to 312ksps Sample Rate
Seven-Input Mux (Four Internally Connected to
Op-Amp Outputs, One Internally Connected
to Temp Sensor, and Two Connected to
Uncommitted External Pins)
Brownout Reset Generation
16-Bit Programmable Timer/Counter
USART, I
2
C, and SPI Master/Slave
On-Chip Power-On Reset/Brownout Reset
Programmable Watchdog
♦
Low-Power Consumption
3mA (max) at 10MHz Flash Operation at 3.3V
4.5µA (max) in Stop Mode
Low-Power Power-Management Mode (PMM)
MAXQ8913
Applications
Digital Camera and Cell Phone Optical Image
Stabilization
Servo Loop Control
Tone Generation with Speaker Drive
Ordering Information
PART
MAXQ8913EWG+T
TEMP RANGE
-40°C to +85°C
PIN-PACKAGE
58 WLP
+Denotes
a lead(Pb)-free/RoHS-compliant package.
T = Tape and reel.
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.
16-Bit, Mixed-Signal Microcontroller with Op Amps,
ADC, and DACs for All-in-One Servo Loop Control
MAXQ8913
ABSOLUTE MAXIMUM RATINGS
Voltage Range on All Pins (including AVDD,
DVDD) Relative to Ground .................................-0.5V to +3.6V
Voltage Range on Any Pin Relative to Ground
except AVDD, DVDD...........................-0.5V to (V
DVDD
+ 0.5V)
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
DVDD
= V
AVDD
= 2.7V to 3.6V, T
A
= -40°C to +85°C.) (Note 1)
PARAMETER
Digital Supply Voltage
Digital Operating Voltage
Regulator Voltage Output
Analog Supply Voltage
Ground
Digital Power-Fail Reset Voltage
Active Current (Note 3)
V
REG18
V
AVDD
GND
V
RST
I
DD_HFX3
I
DD_HFX4
I
STOP_1
Stop-Mode Current
I
STOP_2
I
STOP_3
Stop-Mode Resume Time
Input Low Voltage on HFXIN
Input Low Voltage on All Other
Port Pins
Input High Voltage on HFXIN
Input High Voltage on All Other
Port Pins
Input Hysteresis (Schmitt)
Output Low Voltage for All Port
Pins Except SHDNL, SHDNR
Output Low Voltage for SHDNL,
SHDNR
Output High Voltage for All Port
Pins
I/O Pin Capacitance
t
STOP_1
t
STOP_2
V
IL1
V
IL2
V
IH1
V
IH2
V
IHYS
V
OL
V
OL
V
OH
C
IO
I
OL
= 4mA (Note 8)
I
OL
= 1.5mA
I
OH
= -4mA (Note 8)
Guaranteed by design
V
DGND
V
DGND
V
DVDD
- 0.4
15
(Note 2)
V
AVDD
= V
DVDD
AGND = DGND
Monitors V
DVDD
f
CK
= 10MHz, V
DVDD
= 2.7V
f
CK
= 10MHz, V
DVDD
= 3.3V
(Notes 4, 5)
(Notes 4, 6)
(Notes 4, 7)
Internal regulator on
Internal regulator off, brownout or SVM on
V
DGND
V
DGND
0.75 x
V
DVDD
0.70 x
V
DVDD
0.18
0.4
0.4
15
375
0.20 x
V
DVDD
0.30 x
V
DVDD
V
DVDD
V
DVDD
0.2
SYMBOL
V
DVDD
CONDITIONS
V
AVDD
= V
DVDD
MIN
V
RST
V
RST
1.71
2.7
0
2.58
0
1.8
TYP
3.3
MAX
3.6
3.6
1.89
3.6
0
2.68
2.2
3.0
4.5
40
500
μs
V
V
V
V
V
V
V
V
pF
μA
UNITS
V
V
V
V
V
V
mA
2
_______________________________________________________________________________________
16-Bit, Mixed-Signal Microcontroller with Op Amps,
ADC, and DACs for All-in-One Servo Loop Control
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, T
A
= -40°C to +85°C.) (Note 1)
PARAMETER
Input Low Current for Port Pins
Input-Leakage Current
Input Pullup Resistor
CLOCK SOURCE
External Clock Frequency
External Clock Duty Cycle
Internal Ring Oscillator
System Clock Frequency
FLASH AC CHARACTERISTICS
System Clock During Flash
Programming/Erase
Program Time
Page Erase Time
Mass Erase Time
Write/Erase Cycles
Data Retention
ANALOG-TO-DIGITAL CONVERTER (Note 9)
ADC Clock Frequency
Input Voltage Range
Analog Input Capacitance
f
SCLK
V
AIN
C
AIN
I
AVDD1
Current Consumption
I
AVDD2
I
ASTOP
Resolution
Integral Nonlinearity
Differential Nonlinearity
Offset Error
Gain Error
Gain Temperature Coefficient
Signal-to-Noise Plus Distortion
Spurious-Free Dynamic Range
Throughput
ADC Setup Time
Input-Leakage Current
SINAD
SFDR
f
IN
= 1kHz
f
IN
= 1kHz
16f
SCLK
samples
t
ADC_SETUP
(Note 11)
I
ILA
Shutdown or conversion stopped;
AIN0/AIN1 and V
AEREF
69
76
312
4
±1
±0.5
INL
DNL
No missing codes from +25°C to +85°C
f
SCLK
= 5MHz, internal reference
f
SCLK
= 5MHz, external reference (internal
reference disabled)
Power-down mode
12
±1
±2
±1
±10
±1
Unipolar (single-ended)
Bipolar (differential) (Note 10)
0.1
0
-V
REF
/2
16
3.0
800
2.5
Bits
LSB
LSB
LSB
%
ppm/°C
dB
dB
ksps
μs
μA
5
V
REF
+V
REF
/2
MHz
V
pF
mA
μA
T
A
= +25°C
t
PROG
t
ERASETME
2
20
20
20
1000
100
40
40
40
MHz
μs
ms
ms
Cycles
Years
f
CK
DC
f
HFIN
t
XCLK_DUTY
DC
40
1
10
10
60
MHz
%
MHz
MHz
SYMBOL
I
IL
I
L
R
PU
V
IN
= 0.4V
Internal pullup disabled
-300
30
70
CONDITIONS
MIN
TYP
MAX
100
+300
110
UNITS
μA
nA
k
MAXQ8913
ANALOG-TO-DIGITAL CONVERTER PERFORMANCE (V
REF
= 3V, 0.1μF capacitor on REFA, f
SCLK
= 5MHz)
_______________________________________________________________________________________
3
16-Bit, Mixed-Signal Microcontroller with Op Amps,
ADC, and DACs for All-in-One Servo Loop Control
MAXQ8913
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, T
A
= -40°C to +85°C.) (Note 1)
PARAMETER
Autoscan Throughput
SYMBOL
CONDITIONS
All channels active
MIN
TYP
MAX
39
UNITS
ksps
per
channel
V
μs
V
ppm/°C
ANALOG-TO-DIGITAL CONVERTER REFERENCE
Internal Reference Voltage
Internal Reference Voltage
Startup Time
External Reference Voltage Input
Internal Reference Voltage Drift
Reference Settle Time
(Switching ADC Reference from
Either Internal or External
Reference to AVDD)
Reference Output
SUPPLY VOLTAGE MONITOR
Supply Voltage Set Point
Supply Voltage Increment
Resolution
Supply Voltage Default Set Point
Supply Voltage Monitor Start
Time
t
SVMST
t
SVM_SU1
t
SVM_SU2
Changing from one set point to another set
point
Exit from stop mode
S
VTR
2.7
80
100
2.7
50
2
μs
8
3.5
120
V
mV
V
μs
V
AIREF
t
AIREF
V
AEREF
V
ADRIFT
t
AAVDD_
SETUP
1.44
1.5
1.56
50
0.9
Guaranteed by design
V
AVDD
+ 0.05
±50
(Note 12)
4
Samples
V
REFA
V
REF
V
Supply Voltage Monitor Setup
Time
CLASS D AMPLIFIER CONTROL DACs, 10-BIT DACs
Resolution
Full-Scale Output Voltage
Output Common-Mode Voltage
DC Output Impedance
Integral Nonlinearity
Differential Nonlinearity
Settling Time
Digital Feedthrough
Glitch Impulse
Update Rate
Major carry transition
(Note 13)
100
VFS
VCM
ZOUT
INL
DNL
Guaranteed monotonic by design
From 1/4 FS to 3/4 FS to 1 LSB
-1
At DC, per side
Code 0 = -2.5, code 1023 = +2.5,
V
REF
= 1.5V
10
±2.3
1.15
±2.5
1.25
10
±2
±0.10
2
0.15
12
±2.8
1.4
Bits
V
V
k
LSB
LSB
μs
nV-s
nV-s
ksps
4
_______________________________________________________________________________________
16-Bit, Mixed-Signal Microcontroller with Op Amps,
ADC, and DACs for All-in-One Servo Loop Control
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, T
A
= -40°C to +85°C.) (Note 1)
PARAMETER
Resolution
Full-Scale Output Voltage
Output Common-Mode Voltage
DC Drive Capability
Integral Nonlinearity
Differential Nonlinearity
Settling Time
Update Rate
OP AMP A, B, C, D
Offset Voltage
Offset Drift
Input Bias Current
Common-Mode Rejection Ratio
Gain Bandwidth Product
Input Common-Mode Range
TEMPERATURE SENSOR
Sensitivity
Raw Accuracy
CURRENT SINK
Resolution
Full-Scale Sink Current
Zero-Scale Sink Current
LSB Size
SPI Master Operating Frequency
SCLK Output Pulse Width-
High/Low
I/O Rise/Fall Time
(This parameter is device
dependent.)
MOSI Output Valid to SCLK
Sample Edge (MOSI Setup)
MOSI Output Hold After SCLK
Sample Edge
I
S15
I
S0
LSB
1/t
MCK
t
MCH
, t
MCL
t
MCK
/
2 - t
RF
C
L
= 15pF, pullup = 560
t
MCK
/
2 - t
RF
t
MCK
/
2 - t
RF
16
Code 0 = 0, code 1 = 62.5μA,
code 255 = 15.94mA
Code = 255, V
DS
= 2V, V
REF
= 1.5V
Code = 0, V
DS
= 2V
V
DS
= 2V, V
REF
= 1.5V
8
14.9
15.94
0
62.5
f
SYS
/2
18.0
1
Bits
mA
μA
μA
MHz
ns
Code 0 = -273.15C; absolute 0; 8 LSB/°C
for V
REF
= 1.5V, 12-bit ADC; 4 LSB/°C for
V
REF
= 3.0V
No correction, T = 300°K (Note 14)
-6
2.9304
+6
mV/°C
°C
V
OS
V
OSDRIFT
I
BIAS
CMMR
GB
CMR
NG
1
V
CM
= 2V
V
CM
= 2V
T
A
= +25°C (Note 13)
60
80
> 200
V
AVDD
-8
±2
10
1
+8
mV
μV/°C
nA
dB
kHz
V
VFS
VCM
I
DRIVE
INL
DNL
Guaranteed monotonic by design
From 1/4 FS to 3/4 FS to 1 LSB
(Note 14)
100
-1
Code 0 = 0.35, code 255 = 2.35,
V
REF
= 1.5
Code = 128, V
REF
= 1.5V
(Note 14)
SYMBOL
CONDITIONS
MIN
8
0.30 to
2.20
1.25
1
±1
±0.5
5
0.35 to
2.35
1.35
0.45 to
2.7
1.55
TYP
MAX
UNITS
Bits
V
V
mA
LSB
LSB
μs
ksps
MAXQ8913
DAC3 AND DAC4 INCLUDING BUFFER
SPI: MASTER MODE (See Figures 1, 2)
t
RF
ns
t
MOV
t
MOH
ns
ns
_______________________________________________________________________________________
5