Rainbow Electronics MAXQ2010 User Manual

General Description
The MAXQ2010 microcontroller is a low-power, 16-bit device that incorporates a high-performance, 12-bit, multichannel ADC and a liquid-crystal display (LCD) interface. A combination of high performance, low power, and mixed-signal integration makes the MAXQ2010 ideal for a wide variety of applications.
Applications
Features
o High-Performance, Low-Power, 16-Bit MAXQ
®
RISC Core
o DC to 10MHz Operation, Approaching 1MIPS per MHz
o 2.7V to 3.6V Operating Voltage
o 33 Instructions, Most Single Cycle
o Three Independent Data Pointers Accelerate Data
Movement with Automatic Increment/Decrement
o 16-Level Hardware Stack
o 16-Bit Instruction Word, 16-Bit Data Bus
o 16 x 16-Bit General-Purpose Working Registers
o Optimized for C-Compiler (High-Speed/Density
Code)
o On-Chip FLL Reduces External Clock Frequency o Memory Features
64KB Flash Memory (In-Application and In-System
Programmable) 2KB Internal Data RAM JTAG Bootloader for Programming and Debug
o Peripheral Features
12-Bit SAR ADC with Internal Reference and
Autoscan
Eight Single-Ended or Four Differential Inputs
Up to 312.5ksps Sample Rate Supply Voltage Monitor with Adjustable Threshold One-Cycle, 16 x 16 Hardware Multiply/Accumulate
with 48-Bit Accumulator
Three 16-Bit Programmable Timers/Counters with
PWM Outputs
32-Bit Binary Real-Time Clock with Digital Trim
Capability
Integrated LCD
160 Segments
No External Resistors Required Two USARTs, I
2
C Master/Slave, and SPI Master/
Slave Communications Ports On-Chip Power-On Reset/Brownout Reset Programmable Watchdog Timer
o Low Power Consumption
1mA (typ) at 1MHz Flash Operation at 2.7V 370nA (typ) in Stop Mode Low-Power Power-Management Mode (PMM)
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
________________________________________________________________
Maxim Integrated Products
1
Ordering Information
Rev 0; 7/08
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.
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
.
+
Denotes a lead-free/RoHS-compliant package.
PART TEMP RANGE PIN-PACKAGE
MAXQ2010-RFX+ -40°C to +85°C 100 LQFP
Typical Application Circuit, Pin Configuration, and Selector Guide appear at end of data sheet.
MAXQ is a registered trademark of Maxim Integrated Products, Inc.
Battery-Powered and Portable Devices
Portable Medical Equipment
Blood Glucose Meters
Electrochemical and Optical Sensors
Industrial Control
Data-Acquisition Systems and Data Loggers
Home Appliances
Consumer Electronics
Thermostats/Humidity Sensors
Security Sensors
Gas and Chemical Sensors
HVAC
Smart Transmitters
Medical Instrumentation
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Recommended DC Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
I2C Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
I
2
C Bus Controller Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
I2C Bus Controller Timing (Acting as I2C Master) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
I2C Bus Controller Timing (Acting as I2C Slave) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Typical Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
MAXQ Core Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Stack Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Utility ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
(Bootloader) In-System Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
In-Application Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Register Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
System Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
I/O Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Supply Voltage Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Serial Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
USART Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Real-Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Programmable Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
Hardware Multiplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Analog-to-Digital Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
LCD Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
In-Circuit Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Applications Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Grounds and Bypassing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Additional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Development and Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
2 _______________________________________________________________________________________
TABLE OF CONTENTS
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
_______________________________________________________________________________________ 3
Figure 1. SPI Master Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Figure 2. SPI Slave Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Figure 3. Series Resistors (R
S
) for Protecting Against High-Voltage Spikes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Figure 4. I2C Bus Controller Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Figure 5. MAXQ2010 Default Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Figure 6. Type C/D Port Pin Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Figure 7. ADC Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Figure 8. Two-Character, 1/2 Duty, LCD Interface Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Figure 9. In-Circuit Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Table 1. Serial Port Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
LIST OF FIGURES
LIST OF TABLES
Typical Application Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Selector Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
TABLE OF CONTENTS (continued)
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
4 _______________________________________________________________________________________
RECOMMENDED DC OPERATING CONDITIONS
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, TA= -40°C to +85°C.) (Note 1)
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.
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
Continuous Output Current
Any Single I/O Pin ............................................................20mA
All I/O Pins Combined....................................................100mA
Storage Temperature Range .............................-65°C to +150°C
Soldering Temperature...........................Refer to the IPC/JEDEC
J-STD-020 Specification.
ABSOLUTE MAXIMUM RATINGS
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Digital Supply Voltage V
Digital Supply Voltage Output V
Analog Supply Voltage V
2.7 3.6 V
DVDD
REGOUT
(Note 2) 1.8 V
AVDD
V
AVDD
= V
2.7 3.6 V
DVDD
Ground GND AGND = DGND 0 0 V
Digital Power-Fail Reset Voltage V
Active Current, FLL Disabled (Note 3)
Active Current, FLL Enabled (Note 5)
Stop-Mode Current (Note 6)
Stop-Mode Resume Time (Note 4)
Input Low Voltage on HFXIN and 32KIN
Input Low Voltage on All Other Pins
Monitors V
RST
f
= 10MH z, V
I
DD_HFX1
I
DD_HFX2
I
DD1_FLL
I
DD2_FLL
I
DD3_FLL
I
DD4_FLL
I
DD5_FLL
I
STOP_1
(Note 7)
I
STOP_2
(Note 8)
I
STOP_3
(Note 9)
t
STOP_1
t
STOP_2
t
STOP_3
V
IL1
V
IL2
CK
FREQMD = 0
f
= 10MH z, V
CK
FREQMD = 0 (Note 4)
Divide-by-1 mode, FREQMD = 0 3.15 4
Divide-by-2 mode, FREQMD = 0 (Note 4) 2.9 3.6
Divide-by-4 mode, FREQMD = 1 (Note 4) 2.25 3
Divide-by-8 mode, FREQMD = 1 (Note 4) 1.4 2
PMM mode, FREQMD = 1 (Note 4) 0.5 0.7
TA = +25°C 0.37 4
T
= +85°C 0.68 6.5
A
TA = +25°C 0.94 5
T
= +85°C 1.3 6.5
A
TA = +25°C 195 295
T
= +85°C 225 335
A
Internal regulator on 4t
Internal regulator off, brownout or SVM on, SVMSTOP = 1
Internal regulator, brownout, and SVM off 30 320
DGND
DGND
2.55 2.6 2.65 V
DVDD
DVDD
DVDD
= V
= V
AVDD
AVDD
= 2.7V,
= 3.6V,
3.1 3.75
3.2 4.0
30 160
CLCL
0.20 x V
DVDD
0.30 x V
DVDD
mA
mA
μA
μs
V
V
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
_______________________________________________________________________________________ 5
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, TA= -40°C to +85°C.) (Note 1)
Note 1: Specifications to -40°C are guaranteed by design and are not production tested. Note 2: Typical value presented for reference only. Do not draw current from this pin. Note 3: FLL disabled. Crystal connected across HFXIN and HFXOUT. Operating in divide-by-1 mode. Measured on the DVDD pin
and part executing program code from flash. All inputs are connected to GND or DVDD. Outputs do not source/sink any current. Timer B enabled.
Note 4: This parameter is guaranteed by design and is not production tested. Note 5: FLL enabled. f
32KIN
= 32.768kHz, HFXIN = disconnected, FLL = 8.39MHz, measured on the DVDD pin, part executing program code from flash. All inputs are connected to GND or DVDD. Outputs do not source/sink any current. Timer B enabled.
Note 6: I
STOP
is the total current into the device when the device is in stop mode. This includes both the digital and analog current
(current into DVDD and AVDD).
Note 7: Regulator, brownout monitor, LCD, and RTC disabled. Note 8: Regulator, brownout monitor, and LCD disabled; RTC enabled. Note 9: Regulator enabled, brownout monitor enabled, and LCD and RTC disabled. Note 10: I
OH(MAX)
+ I
OL(MAX)
for all outputs combined should not exceed 35mA to meet the specification.
Note 11: When DVDD is switched off, SDA and SCL may obstruct the line.
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Input High Voltage on HFXIN and 32KIN
Input High Voltage on A ll Other Pins
Input Hystere sis (Schmitt) V
Output Low Voltage for All Port Pins (Note 10)
Output High Voltage for A ll Port Pins (Note 10)
V
IH1
V
IH2
0.18 V
IHYS
IOL = +4mA DGND 0.4 V
V
OL
IOH = -4mA
V
OH
0.75 x V
DVDD
0.70
V
DVDD
V
DVDD
- 0.4
V
V
V
DVDD
V
DVDD
V
I/O Pin Capacitance CIO Guaranteed by design 15 pF
I/O Pin Capacitance SCL, SDA (Note 11)
RST Pul lup Resistance R Input Low Current for RST Pin I
Input Low Current for All Other Pins
C
Guaranteed by design 10 pF
IO_I2C
30 85 k
RST
VIN = 0.4V -85 -30 μA
IL1
I
VIN = 0.4V -85 -30 μA
IL2
Input Leakage Current IL Internal pullup disab led -150 +150 nA
Input Pullup Resistor RPU 30 85 k
CLOCK SOURCE
External Clock Frequency f
External Clock Period t
External Clock Duty Cycle t
DC 10 MHz
HFIN
100 ns
CLCL
XCLK_DUTY
40 60 %
System Clock Frequency fCK DC 10 MHz
FREQUENCY-LOCKED LOOP (FLL)
FLL Output Frequency f
FLL Output Frequency Delta f
f
FLL
f
FLL
= 32.768kHz 8.4 MHz
32KIN
= 32.768kHz 1.5 ±5 %
32KIN
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
6 _______________________________________________________________________________________
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, TA= -40°C to +85°C.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
FLASH PROGRAMMING
System Clock During Flash Programm ing/Erase
Flash Erase Time
Flash Programming Time per Word (Note 12)
2 MHz
Mas s era se 24
Page erase 24
ms
66 μs
Write/Erase Cycles 20,000 Cycles
Data Retention TA = +25°C 100 Years
ANALOG-TO-DIGITAL CONVERTER (Note 13)
Serial Clock Frequency f
Input Voltage Range V
Analog Input Capacitance C
Current Consumption (Note 4)
ANALOG-TO-DIGITAL CONVERTER PERFORMANCE (V
0.1 5 MHz
SCLK
AIN
AIN
I
AVDD1
I
AVDD2
Unipolar (single-ended) 0 V
Bipo lar (differential) (Note 14) -V
/2 +V
REF
16 pF
f
= 5MHz, internal reference 1.9 2.5 mA
SCLK
f
= 5MHz, external reference (internal
SCLK
reference di sabled)
= V
REF
AVDD
, 0.1μF capacitor on V
1.1 1.3 μA
, f
SCLK
= 5MHz)
REF
REF
REF
/2
V
Resolution 12 Bits
Integral Nonlinearity INL ±1 ±2 LSB
Differentia l Non linearity DNL No mi ssing codes over temperature ±1 LSB
Offset Error VOS ±2 LSB
Offset Temperature Coefficient ±0.5 ppm/°C
Gain Error ±1 %
Gain Temperature Coefficient ±0.5 ppm/°C
Signal-to-Noise Plus Distortion SINAD fIN = 1kHz 65 dB
Spurious-Free Dynamic Range SFDR fIN = 1kHz 68 dB
Throughput 16 SCLK samples 312.5 ksp s
Conversion Time t
t
ADC Setup Time
ADC_SETUP
Input Leakage Current I
Autoscan Throughput All channels active 39
Not including t
CONV
(Note 15)
ILA
2.6 μs
ACQ
4 μs
Shutdown or conversion stopped, ANx and V
AEREF
±1 μA
ksps per
channel
ANALOG-TO-DIGITAL CONVERTER REFERENCE
Internal Reference Voltage V
Internal Reference Voltage Startup Time
1.47 1.5 1.53 V
AIREF
t
50 μs
AIREF
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
_______________________________________________________________________________________ 7
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, TA= -40°C to +85°C.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
External Reference Voltage Input
Internal Reference Voltage Drift V
Reference Settle Time (Switching ADC Reference from Either Internal or External Reference to AV
) (Note 16)
DD
V
AEREF
ADRIFT
t
AAVDD_
SETUP
(Note 17)
0.9
Guaranteed by design ±50 ppm/°C
4 Sample s
V
AVDD
+ 0.05
SUPPLY VOLTAGE MONITOR
Supply Voltage Set Point V
Supply Voltage Increment Resolution (Note 18)
2.7 3.5 V
SVM
SV
0.08 0.1 0.12 V
INC
Supply Voltage Default Set Point 2.7 μA
Supply Voltage Monitor Current Consumption
20 μs
I
SVM
Supply Voltage Monitor Setup Time (Time from Supply Voltage Monitor Enabled to SVMRDY Is
t
SVM_SU
15 25 μs
Set to 1) (Note 18)
REAL-TIME CLOCK
RTC Input Frequency f
RTC Operating Current I
32kHz watch cry stal 32,768 Hz
32KIN
V
= 2.7V, guaranteed by design 0.45 0.7
RTC
DVDD
= 3.6V 0.5 0.8
V
DVDD
LCD
LCD Reference Voltage V
LCD Bias Voltage 1 V
LCD Bias Voltage 2 V
LCD Adjustment Voltage V
LCD Bia s Re sistor R
LCD Adjustment Resistor R
LCD Segment and COM Voltage (Note 18)
LCD Output Rise Time t
V
LCD
1/3 bias
LCD1
1/3 bias
LCD2
Guaranteed by design 0
ADJ
40 k
LCD
LRA[3:0] = 15 80 k
LADJ
V
SEGxx
t
LCD_RI SE
LCD_RI SE
Pin is driven at V
Pin is driven at V
Pin is driven at V
Pin is driven at V
COM output load = 5000pF, SEG output load = 200pF, V
LCD
LCD1
LCD2
ADJ
LCD
= 3V, I
= 2V, I
= 1V, I
= 0V, I
= 3.3V
= -3μA
SEGxx
= -3μA
SEGxx
= -3μA
SEGxx
= -3μA -0.1 +0.1
SEGxx
3.6 V
DVDD
V
+
ADJ
V
LCD
0.02
V
LCD1
2/3 (V
2/3 (V
-
-
- V
LCD
ADJ
V
+
ADJ
- V
LCD
ADJ
V
0.02
-
V
LCD2
0.02
200 μs
)
0.4 x V
V
LCD1
0.02
V
LCD2
0.02
)
LCD
LCD
+
+
V
μA
V
V
V
V
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
8 _______________________________________________________________________________________
Note 12: Programming time does not include overhead associated with the utility ROM interface. Note 13: V
REF
= AVDD.
Note 14: The operational input voltage range for each individual input of a differentially configured pair is from GND to AVDD. The
operational input voltage difference is from -V
REF
/2 to +V
REF
/2.
Note 15: The typical value is applied when a conversion is requested with ADPMO = 0. Under these conditions, the minimum delay
is met. If ADPMO = 1, the user is responsible for ensuring the 4µs delay time is met.
Note 16: Switching ADC reference from either internal or external reference to AVDD. Sample accuracy is not guaranteed prior to
ADC reference settlement.
Note 17: Total on-board decoupling capacitance on the AVDD pin < 100nF. The output impedance of the regulator driving the
AVDD pin < 10Ω.
Note 18: This parameter is guaranteed by design and is not production tested.
RECOMMENDED DC OPERATING CONDITIONS (continued)
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, TA= -40°C to +85°C.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
SPI (See Figures 1 and 2)
SPI Master Operating Frequency 1/t
SPI Slave Operating Frequency 1/t
SCLK Output Pulse-Width High/Low
SCLK Input Pulse-Width High/Low
t
MCH
t
SCH
MOSI Outp ut Hold T i me After SCLK Sample Edge
MOSI Output Valid to Sample Edge
MISO Input Valid to SCLK Sample Edge Rise/Fall Setup
MISO Input to SCLK Sample Edge Rise/ Fal l Ho ld
SCLK Inactive to MOSI Inactive t
SSEL Active to First Shift Edge t
MOSI Input to SCLK Sample Edge Rise/Fall Setup
MOSI Input from SCLK Sample Edge Transit ion Hold
MISO Output Valid After SCLK Shift Edge Transit ion
SSEL Inactive t
SCLK Inactive to SSEL Rising t
MISO Output Di sabled After SSEL Edge Rise
MCK
f
SCK
(t
/2)
, t
MCL
, t
t
SCL
CL = 50pF
t
MOH
t
MOV
25 ns
t
MIS
0 ns
t
MIH
MLH
4tCK ns
SSE
t
20 ns
SIS
t
SIH
t
SOV
SSH
SD
t
SLH
MCK
- 25
(t
MCK
- 25
(t
MCK
- 25
(t
MCK
- 25
tCK +
tCK +
tCK +
/2)
/2)
/2)
25
25
25
fCK/2 MHz
ns
/2 ns
SCK
ns
ns
ns
ns
3t
ns
ns
2t
/8 MHz
CK
+
CK
25
CK
50
+
ns
ns
MAXQ2010
SSEL
SHIFT SHIFTSAMPLE SAMPLE
MOSI
MISO
SCLK
CKPOL/CKPHA
0/1 OR 1/0
SCLK
CKPOL/CKPHA
0/0 OR 1/1
t
SCH
t
SCL
t
SIS
t
SOV
t
RF
t
SD
t
SLH
t
SSH
t
SIH
t
SSE
t
SCK
MSB MSB-1
LSB
MSB LSBMSB-1
SSEL
SHIFT SHIFTSAMPLE SAMPLE
MOSI
MISO
SCLK
CKPOL/CKPHA
0/1 OR 1/0
SCLK
CKPOL/CKPHA
0/0 OR 1/1
t
MCK
t
MCH
t
MCL
t
MOH
t
MOV
t
MIS
t
MIH
t
MLH
t
RF
MSB MSB-1
MSB MSB-1
LSB
LSB
16-Bit Mixed-Signal Microcontroller with LCD
_______________________________________________________________________________________ 9
Figure 2. SPI Slave Timing
Figure 1. SPI Master Timing
MAXQ2010
16-Bit Mixed-Signal Microcontroller with LCD
10 ______________________________________________________________________________________
I2C ELECTRICAL CHARACTERISTICS
(V
DVDD
= V
AVDD
= 2.7V to 3.6V, TA= -40°C to +85°C.)
Note 19: Devices that use nonstandard supply voltages that do not conform to the intended I
2
C bus system levels must relate their
input levels to the voltage to which the pullup resistors R
P
are connected. See Figure 3.
Note 20: C
B
—Capacitance of one bus line in pF.
Note 21: The maximum fall time of 300ns for the SDA and SCL bus lines shown in the
I2C Bus Controller Timing
table is longer than
the specified maximum t
OF_I2C
of 250ns for the output stages. This allows series protection resistors (RS) to be connected
between the SDA/SCL pins and the SDA/SCL bus lines as shown in the
I2C Bus Controller Timing (Acting as I2C Slave)
table without exceeding the maximum specified fall time. See Figure 3.
SDA
P6.7
SCL
P6.6
RSR
S
I2C
DEVICE
RSR
S
I2C
DEVICE
RPR
P
V
DVDD
MAXQ2010
Figure 3. Series Resistors (RS) for Protecting Against High-Voltage Spikes
PARAMETER S YMBOL TEST CONDITIONS
Input Low Voltage (Note 19) V
Input High Voltage (Note 19) V
Input Hystere sis (Schmitt) V
Output Logic-Low (Open Drain or Open Collector)
-0.5 0.3 x V
IL_I2C
0.7 x V
IH_I2C
IHYS_I2C VDVDD
V
OL_I2C
> 2V 0.05 x V
V
> 2V, 3mA s in k
DVDD
current
Output Fall Time from
to V
V
IH_MIN
Capacitance from 10pF to
IL_MAX
with Bus
250 20 + 0.1CB 250 ns
t
OF_I2C
400pF (Notes 20, 21)
Pulse Width of Spike Filtering That Mu st Be
t
0 50 ns
SP_I2C
Suppressed by Input Filter
STANDARD MODE FAST MODE
MIN MAX MIN MAX
-0.5 0.3 x V
DVDD
0.7 x V
DVDD
DVDD VDVDD
V
DVDD
0 0.4 0 0.4 V
UNITS
V
DVDD
+ 0.5V V
Input Current on I/O I
I/O Capacitance C
IN_I2C
IO_I2C
Input voltage from 0.1 x V
to 0.9 x V
DVDD
DVDD
-10 +10 -10 +10 μA
10 10 pF
Loading...
+ 23 hidden pages