ICG-20330
High Performance 3-Axis OIS/EIS Optimized MEMS Gyro
APPLICATIONS
GENERAL DESCRIPTION
The ICG-20330 is a 3-axis MotionTracking® device
that includes a 3-axis gyroscope in a small
3x3x 0.75 mm (16-pin LGA) package.
High performance specs
o Gyroscope sensitivity error: ±1%
o Gyroscope noise: 5 mdps/Hz
FEATURES
Includes 512-byte FIFO to reduce traffic on the
serial bus interface, and reduce power
consumption by allowing the system processor
to burst read sensor data and then go into a
low-power mode
EIS FSYNC support
1% Gyro initial sensitivity eliminates OIS
dynamic calibration
Optimized OIS/EIS programmable gyro
FSR of ±31.25dps, ±62.5dps, ±125ps and
±250dps
High Resolution at up to 1048 LSB/(º/s)
Low 5mdps/√Hz Noise
User-programmable interrupts
Wake-on-motion interrupt for low power
operation of applications processor
512-byte FIFO buffer enables the
applications processor to read the data in
bursts
On-Chip 16-bit ADCs and Programmable
Filters
Host interface: 7 MHz SPI or 400 kHz Fast
Mode I2C
Digital-output temperature sensor
VDD operating range of 1.71 V to 3.45 V
MEMS structure hermetically sealed and
bonded at wafer level
RoHS and Green compliant
ICG-20330 includes on-chip 16-bit ADCs,
programmable digital filters, an embedded
temperature sensor, and programmable interrupts.
The device features an operating voltage range
down to 1.71V. Communication ports include I2C
and high-speed SPI at 7 MHz.
ORDERING INFORMATION
PART
OIS (Optical Image Stabilization) in phone
camera modules, DSLR, and DSC
EIS (Electronic Image Stabilization) in
DSC, and phone camera modules
AXES
TEMP RANGE
PACKAGE
ICG‐20330† X,Y,Z
‐40°C to +85°C
16‐Pin LGA
†Denotes RoHS and Green-Compliant Package
TYPICAL OPERATING CIRCUIT
BLOCK DIAGRAM
1.8 – 3.3VDC
16
INT
X Gyro
Self
test
Y Gyro
Self
test
Z Gyro
ADC
ADC
ADC
Interrupt
Status
Register
Signal Conditioning
Self
test
VDDIO
1.8 – 3.3 VDC
CS
Slave I2C and
SPI Serial
Interface
FIFO
C3, 10 nF
SA0 / SDO
SCL / SPC
SDA / SDI
RESV
VDD
C4, 2.2 F
C2, 0.1 F
ICG-20330
SCL
SCL/SPC
SDA
SDA/SDI
AD0
SA0/SDO
VDDIO
User & Config
Registers
CS
REGOUT
15
14
C1, 0.47 F
GND
1
13
2
12
NC
11
NC
3
ICG-20330
4
10
5
9
NC
NC
FSYNC
Sensor
Registers
Bias & LDOs
VDD
InvenSense reserves the right to change the
detail specifications as may be required to
permit improvements in the design of its
products.
GND
7
8
FSYNC
Charge
Pump
6
INT
ADC
RESV
Temp Sensor
REGOUT
InvenSense Inc.
1745 Technology Drive, San Jose, CA 95110 U.S.A
+1(408) 988–7339
www.invensense.com
Document Number: DS-000127
Revision: 1.0
Release Date: 06/15/2016
ICG-20330
TABLE OF CONTENTS
General Description ........................................................................................................................................ 1
Ordering Information ...................................................................................................................................... 1
Block Diagram ................................................................................................................................................. 1
Applications .................................................................................................................................................... 1
Features .......................................................................................................................................................... 1
Typical Operating Circuit ................................................................................................................................. 1
1
2
3
INTRODUCTION ........................................................................................................................................... 7
1.1
Purpose and Scope ............................................................................................................................... 7
1.2
Product Overview................................................................................................................................. 7
1.3
Applications .......................................................................................................................................... 7
Features ....................................................................................................................................................... 8
2.1
Gyroscope Features ............................................................................................................................. 8
2.2
Additional Features .............................................................................................................................. 8
Electrical Characteristics ............................................................................................................................. 9
3.1
Gyroscope Specifications ..................................................................................................................... 9
3.2 Electrical Specifications ...................................................................................................................... 10
3.2.2 D.C. Electrical Characteristics ..................................................................................................... 10
3.2.2 A.C. Electrical Characteristics ...................................................................................................... 11
3.2.3 Other Electrical Specifications .................................................................................................... 12
4
3.3
I2C Timing Characterization ................................................................................................................ 13
3.4
SPI Timing Characterization ............................................................................................................... 14
3.5
Absolute Maximum Ratings ............................................................................................................... 15
Applications Information ........................................................................................................................... 16
4.1
Pin Out Diagram and Signal Description ............................................................................................ 16
4.2
Typical Operating Circuit .................................................................................................................... 17
4.3
Bill of Materials for External Components ......................................................................................... 17
4.4
Block Diagram .................................................................................................................................... 18
4.5
Overview ............................................................................................................................................ 18
4.6
Three‐Axis MEMS Gyroscope with 16‐bit ADCs and Signal Conditioning .......................................... 18
4.7 I2C and SPI Serial Communications Interfaces ................................................................................... 19
4.7.1 ICG‐20330 Solution Using I2C Interface ...................................................................................... 19
4.7.2 ICG‐20330 Solution Using SPI Interface ...................................................................................... 20
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 2 of 56
ICG-20330
4.8
Self‐Test .............................................................................................................................................. 20
4.9
Clocking .............................................................................................................................................. 21
4.10 Sensor Data Registers ........................................................................................................................ 21
4.11 FIFO .................................................................................................................................................... 21
4.12 Interrupts ........................................................................................................................................... 21
4.13 Digital‐Output Temperature Sensor .................................................................................................. 21
4.14 Bias and LDOs ..................................................................................................................................... 21
4.15 Charge Pump ...................................................................................................................................... 22
4.16 Standard Power Modes ...................................................................................................................... 22
5
Programmable Interrupts .......................................................................................................................... 23
6
Digital Interface ......................................................................................................................................... 24
6.1
I2C and SPI Serial Interfaces ............................................................................................................... 24
6.2
I2C Interface ........................................................................................................................................ 24
6.3
I2C Communications Protocol ............................................................................................................ 24
6.4
I2C Terms ............................................................................................................................................ 27
6.5
SPI Interface ....................................................................................................................................... 28
7
Serial Interface Considerations ................................................................................................................. 29
7.1
8
ICG‐20330 Supported Interfaces ........................................................................................................ 29
Assembly ................................................................................................................................................... 30
8.1
Orientation of Axes ............................................................................................................................ 30
8.2
Package Dimensions ........................................................................................................................... 31
9
Part Number Package Marking ................................................................................................................. 33
10
Reference ............................................................................................................................................... 34
11
Register Map .......................................................................................................................................... 35
12
Register Descriptions ............................................................................................................................. 37
12.1 Registers 0 to 2 – Gyroscope Self‐Test Registers ............................................................................... 37
12.2 Register 4 – Gyroscope Offset Temperature Compensation (TC) Register ........................................ 38
12.3 Register 5 – Gyroscope Offset Temperature Compensation (TC) Register ........................................ 38
12.4 Register 07 – Gyroscope Offset Temperature Compensation (TC) Register ...................................... 39
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 3 of 56
ICG-20330
12.5 Register 08 – Gyroscope Offset Temperature Compensation (TC) Register ...................................... 39
12.6 Register 10 – Gyroscope Offset Temperature Compensation (TC) Register ...................................... 39
12.7 Register 11 – Gyroscope Offset Temperature Compensation (TC) Register ...................................... 40
12.8 Registers 19 – Gyro Offset Adjustment Register ............................................................................... 40
12.9 Registers 20 – Gyro Offset Adjustment Register ............................................................................... 40
12.10
Registers 21 – Gyro Offset Adjustment Register ............................................................................ 41
12.11
Registers 22 – Gyro Offset Adjustment Register ............................................................................ 41
12.12
Registers 23 – Gyro Offset Adjustment Register ............................................................................ 41
12.13
Register 24 – Gyro Offset Adjustment Register ............................................................................. 42
12.14
Register 25 – Sample Rate Divider ................................................................................................. 42
12.15
Register 26 – Configuration ............................................................................................................ 43
12.16
Register 27 – Gyroscope Configuration .......................................................................................... 44
12.17
Register 35 – FIFO Enable ............................................................................................................... 45
12.18
Register 54 – FSYNC Interrupt Status ............................................................................................. 46
12.19
Register 55 – INT Pin / Bypass Enable Configuration ..................................................................... 46
12.20
Register 56 – Interrupt Enable ....................................................................................................... 47
12.21
Register 58 – Interrupt Status ........................................................................................................ 47
12.22
Registers 65 and 66 – Temperature Measurement ....................................................................... 48
12.23
Registers 67 to 72 – Gyroscope Measurements ............................................................................. 49
12.24
Register 104 – Signal Path Reset .................................................................................................... 50
12.24
Register 106 – User Control............................................................................................................ 51
12.25
Register 107 – Power Management 1 ............................................................................................ 52
12 26
Register 108 – Power Management 2 ............................................................................................ 53
12.27
Register 114 and 115 – FIFO Count Registers ................................................................................ 53
12.28
Register 116 – FIFO Read Write ...................................................................................................... 54
12.29
Register 117 – Who Am I ................................................................................................................ 54
13
Revision History ..................................................................................................................................... 55
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 4 of 56
ICG-20330
LIST OF FIGURES
Figure 1. I2C Bus Timing Diagram ...................................................................................................................... 13
Figure 2. SPI Bus Timing Diagram ..................................................................................................................... 14
Figure 3. Pin‐out Diagram for ICG‐20330 3.0x3.0x0.75 mm LGA ..................................................................... 16
Figure 4. ICG‐20330 LGA Application Schematic .............................................................................................. 17
Figure 5. ICG‐20330 Block Diagram .................................................................................................................. 18
Figure 6. ICG‐20330 Solution Using I2C Interface ............................................................................................. 19
Figure 7. ICG‐20330 Solution Using SPI Interface ............................................................................................. 20
Figure 8. START and STOP Conditions .............................................................................................................. 25
Figure 9. Acknowledge on the I2C Bus .............................................................................................................. 25
Figure 10. Complete I2C Data Transfer ............................................................................................................. 26
Figure 11. Typical SPI Master / Slave Configuration ......................................................................................... 28
Figure 12. I/O Levels and Connections ............................................................................................................. 29
Figure 13. Orientation of Axes of Sensitivity and Polarity of Rotation ............................................................. 30
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 5 of 56
ICG-20330
LIST OF TABLES
Table 1. Gyroscope Specifications ...................................................................................................................... 9
Table 2. D.C. Electrical Characteristics .............................................................................................................. 10
Table 3. A.C. Electrical Characteristics .............................................................................................................. 12
Table 4. Other Electrical Specifications ............................................................................................................ 12
Table 5. I2C Timing Characteristics ................................................................................................................... 13
Table 6. SPI Timing Characteristics (7 MHz Operation) .................................................................................... 14
Table 7. Absolute Maximum Ratings ................................................................................................................ 15
Table 8. Signal Descriptions .............................................................................................................................. 16
Table 9. Bill of Materials ................................................................................................................................... 17
Table 10. Standard Power Modes for ICG‐20330 ............................................................................................. 22
Table 11. Table of Interrupt Sources ................................................................................................................ 23
Table 12. Serial Interface .................................................................................................................................. 24
Table 13. I2C Terms ........................................................................................................................................... 27
Table 14. ICG‐20330 Register Map ................................................................................................................... 36
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 6 of 56
ICG-20330
1 INTRODUCTION
1.1 PURPOSE AND SCOPE
This document is a preliminary product specification, providing a description, specifications, and design related
information on the ICG-20330 MotionTracking device for imaging applications, such as Optical Image
Stabilization, OIS, or Electronic Image Stabilization, EIS. The device is housed in a small 3x3x0.75 mm 16-pin
LGA package.
1.2 PRODUCT OVERVIEW
The ICG-20330 is a 3-axis MotionTracking device that has a 3-axis gyroscope in a small 3x3x0.75 mm (16-pin
LGA) package. It also features a 512-byte FIFO for EIS applications to lower the traffic on the serial bus
interface, and reduce power consumption by allowing the system processor to burst read sensor data for a
given video frame. The unique support for FSYNC (frame sync), facilitates synchronization of Video Frame
Sync from Image sensors and Motion data from gyro collected during a given frame via an interrupt to the host.
The gyroscope has a programmable full-scale range of ±31.25, ±62.5, ±125 and ±250 degrees/sec, optimized
for Image Stabilization applications.
Other industry-leading features include on-chip 16-bit ADCs, programmable digital filters, an embedded
temperature sensor, and programmable interrupts. The device features I2C and SPI serial interfaces, a VDD
operating range of 1.71 V to 3.6 V, and a separate digital IO supply, VDDIO from 1.71 V to 3.6 V.
Communication with all registers of the device is performed using either I2C at 400 kHz or SPI at 7 MHz.
By leveraging its patented and volume-proven CMOS-MEMS fabrication platform, which integrates MEMS
wafers with companion CMOS electronics through wafer-level bonding, InvenSense has driven the package
size down to a footprint and thickness of 3x3x0.75 mm (16-pin LGA), to provide a very small yet
high-performance, low-cost package. The device provides high robustness by supporting 10,000g shock
reliability.
1.3 APPLICATIONS
OIS, Optical Image Stabilization in phone camera modules, DSLR, and DSC
EIS, Electronic Image Stabilization in DSC, and phone camera modules
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 7 of 56
ICG-20330
2 FEATURES
2.1 GYROSCOPE FEATURES
The triple-axis MEMS gyroscope in the ICG-20330 includes a wide range of features:
Digital-output X-, Y-, and Z-axis angular rate sensors (gyroscopes) with a user-programmable fullscale range of ±31.25, ±62.5, ±125 and ±250 °/sec and integrated 16-bit ADCs
Digitally-programmable low-pass filter
Factory calibrated sensitivity scale factor
Self-test
2.2 ADDITIONAL FEATURES
The ICG-20330 includes the following additional features:
512-byte FIFO buffer enable the applications processor to read the data in bursts
Digital-output temperature sensor
User-programmable digital filters for gyroscope and temp sensor
10,000 g shock tolerant
400-kHz Fast Mode I2C for communicating with all registers
7-MHz SPI serial interface for communicating with all registers
MEMS structure hermetically sealed and bonded at wafer level
RoHS and Green compliant
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 8 of 56
ICG-20330
3 ELECTRICAL CHARACTERISTICS
3.1 GYROSCOPE SPECIFICATIONS
Typical Operating Circuit of section 0, VDD = 1.8 V, VDDIO = 1.8 V, TA = 25°C, unless otherwise noted.
PARAMETER
CONDITIONS
MIN
TYP
MAX
UNITS
NOTES
GYROSCOPE SENSITIVITY
Full-Scale Range
ADC Word Length
Sensitivity Scale Factor
Sensitivity Scale Factor Tolerance
Sensitivity Scale Factor Variation Over
Temperature
Nonlinearity
Cross-Axis Sensitivity
FS_SEL= 0
FS_SEL= 1
FS_SEL= 2
FS_SEL= 3
FS_SEL= 0
FS_SEL=1
FS_SEL= 2
FS_SEL= 3
25°C
-20°C to +75°C
Best fit straight line; 25°C
±31.25
±62.5
±125
±250
16
1048
524
262
131
±1
±3
º/s
º/s
º/s
º/s
bits
LSB/(º/s)
LSB/(º/s)
LSB/(º/s)
LSB/(º/s)
%
%
3
3
3
3
3
3
3
3
3
1
1
±0.1
±2
%
%
1
1
±5
±5
º/s
º/s
2
1
0.06
0.30
0.005
º/s-rms
º/s-p-p
º/s/√Hz
2
2
2
29
KHz
KHz
250
Hz
2
1
3
ms
1
ZERO-RATE OUTPUT (ZRO)
Initial ZRO Tolerance
ZRO Variation Over Temperature
25°C
-20°C to +75°C
GYROSCOPE NOISE PERFORMANCE (FS_SEL=0)
Total RMS Noise
Total Peak-to-Peak Noise
Rate Noise Spectral Density
GYROSCOPE MECHANICAL
Mechanical Frequency
Sensor Mechanical Bandwidth
LOW PASS FILTER RESPONSE
DLPFCFG = 2 (92 Hz)
DLPFCFG = 2 (92 Hz)
At 10 Hz
25
1.6
Programmable Range
92
80
GYROSCOPE START-UP TIME
OUTPUT DATA RATE
27
Programmable, Normal (Filtered)
mode
1000
8000
Table 1. Gyroscope Specifications
Notes:
1.
2.
3.
4.
Derived from validation or characterization of parts on PCB, not guaranteed in production.
Tested in production.
Guaranteed by design.
Calculated from Total RMS Noise.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 9 of 56
Hz
1
ICG-20330
3.2 ELECTRICAL SPECIFICATIONS
3.2.2
D.C. Electrical Characteristics
Typical Operating Circuit of section 0, VDD = 1.8 V, VDDIO = 1.8 V, TA = 25°C, unless otherwise noted.
PARAMETER
CONDITIONS
MIN
TYP
MAX
UNITS
NOTES
VDD
1.71
1.8
3.45
V
1
VDDIO
1.71
1.8
3.45
V
1
SUPPLY VOLTAGES
SUPPLY CURRENTS & BOOT TIME
Active Current
Full-Chip Sleep Mode
Boot Time
3-Axis Gyroscope
2.9
mA
1
VDD on to first register write
10
50
µA
ms
1
1
°C
1
TEMPERATURE RANGE
Operating Temperature Range
-40
+85
Table 2. D.C. Electrical Characteristics
Notes:
1. Derived from validation or characterization of parts, not guaranteed in production.
2. Based on simulation.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 10 of 56
ICG-20330
3.2.2
A.C. Electrical Characteristics
Typical Operating Circuit of section 0, VDD = 1.8 V, VDDIO = 1.8 V, TA = 25°C, unless otherwise noted.
Parameter
Conditions
MIN
TYP
MAX
UNITS
NOTES
100
ms
1
85
°C
1
0
°C
1
326.8
LSB/°C
1
100
ms
1
100
ms
1
0.3*VDDIO
V
V
pF
1
SUPPLIES
Supply Ramp Time
Monotonic ramp. Ramp rate
is 10% to 90% of the final
value
0.01
TEMPERATURE SENSOR
Operating Range
Ambient
Room Temperature Offset
25°C
Sensitivity
Untrimmed
-40
Power-On RESET
Supply Ramp Time (TRAMP)
Valid power-on RESET
Start-up time for register read/write
From power-up
I2C ADDRESS
SA0 = 0
SA0 = 1
0.01
11
1101000
1101001
DIGITAL INPUTS (FSYNC, SA0, SPC, SDI, CS)
VIH, High Level Input Voltage
VIL, Low Level Input Voltage
CI, Input Capacitance
0.7*VDDIO
< 10
DIGITAL OUTPUT (SDO, INT)
VOH, High Level Output Voltage
VOL1, LOW-Level Output Voltage
VOL.INT, INT Low-Level Output Voltage
Output Leakage Current
tINT, INT Pulse Width
RLOAD = 1MΩ;
RLOAD = 1MΩ;
0.9*VDDIO
0.1*VDDIO
0.1
OPEN = 1, 0.3 mA sink
Current
OPEN = 1
LATCH_INT_EN = 0
100
50
V
V
V
1
nA
µs
I2C I/O (SCL, SDA)
VIL, LOW Level Input Voltage
VIH, HIGH-Level Input Voltage
Vhys, Hysteresis
VOL, LOW-Level Output Voltage
IOL, LOW-Level Output Current
Output Leakage Current
tof, Output Fall Time from VIHmax to VILmax
-0.5V
0.7*VDDIO
0.3*VDDIO
VDDIO +
0.5V
0.1*VDDIO
3 mA sink current
VOL = 0.4V
VOL = 0.6 V
Cb bus capacitance in pf
0
0.4
3
6
100
300
20+0.1Cb
V
V
V
V
mA
mA
nA
ns
1
INTERNAL CLOCK SOURCE
Sample Rate
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
FCHOICE_B = 1,2,3
SMPLRT_DIV = 0
FCHOICE_B = 0;
DLPFCFG = 0 or 7
SMPLRT_DIV = 0
FCHOICE_B = 0;
DLPFCFG = 1,2,3,4,5,6;
SMPLRT_DIV = 0
32
kHz
2
8
kHz
2
1
kHz
2
Page 11 of 56
ICG-20330
Parameter
Clock Frequency Initial Tolerance
Frequency Variation over Temperature
Conditions
CLK_SEL = 0, 6 or gyro
inactive; 25°C
CLK_SEL = 1,2,3,4,5 and
gyro active; 25°C
CLK_SEL = 0,6 or gyro
inactive
CLK_SEL = 1,2,3,4,5 and
gyro active
MIN
MAX
UNITS
-5
TYP
+5
%
1
-1
+1
%
1
-10
+10
%
1
%
1
±1
NOTES
Table 3. A.C. Electrical Characteristics
Notes:
1. Derived from validation or characterization of parts, not guaranteed in production.
2. Guaranteed by design.
3.2.3
Other Electrical Specifications
Typical Operating Circuit of section 0, VDD = 1.8 V, VDDIO = 1.8 V, TA = 25°C, unless otherwise noted.
PARAMETER
CONDITIONS
MIN
TYP
MAX
UNITS
NOTES
kHz
1
7
MHz
1, 2
400
100
kHz
kHz
1
1
SERIAL INTERFACE
SPI Operating Frequency, All
Registers Read/Write
Low Speed Characterization
High Speed Characterization
SPI Modes
I2C Operating Frequency
100
±10%
1
Modes 0
and 3
All registers, Fast-mode
All registers, Standard-mode
Table 4. Other Electrical Specifications
Notes:
1. Derived from validation or characterization of parts, not guaranteed in production.
2. SPI clock duty cycle between 45% and 55% should be used for 7-MHz operation.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 12 of 56
ICG-20330
3.3 I2C TIMING CHARACTERIZATION
Typical Operating Circuit of section 0, VDD = 1.8 V, VDDIO = 1.8 V, TA = 25°C, unless otherwise noted.
Parameters
I2C TIMING
fSCL, SCL Clock Frequency
tHD.STA, (Repeated) START Condition Hold Time
Conditions
I2C FAST-MODE
MIN
MAX
UNITS
NOTES
400
0.6
kHz
µs
1
1
1.3
0.6
0.6
µs
µs
µs
1
1
1
0
100
20+0.1Cb
20+0.1Cb
0.6
µs
ns
ns
ns
µs
1
1
1
1
1
µs
1
pF
µs
µs
1
1
1
tLOW, SCL Low Period
tHIGH, SCL High Period
tSU.STA, Repeated START Condition Setup Time
tHD.DAT, SDA Data Hold Time
tSU.DAT, SDA Data Setup Time
tr, SDA and SCL Rise Time
tf, SDA and SCL Fall Time
tSU.STO, STOP Condition Setup Time
Cb bus cap. from 10 to 400 pF
Cb bus cap. from 10 to 400 pF
tBUF, Bus Free Time Between STOP and START
Condition
Cb, Capacitive Load for each Bus Line
tVD.DAT, Data Valid Time
tVD.ACK, Data Valid Acknowledge Time
TYP
300
300
1.3
< 400
0.9
0.9
Table 5. I2C Timing Characteristics
Notes:
1.
Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets.
tf
SDA
tSU.DAT
tr
70%
30%
70%
30%
continued below at
tf
SCL
tr
70%
30 %
S
tVD.DAT
70%
30 %
tHD.DAT
tHD.STA
1/fSCL
tLOW
1st clock cycle
9th clock cycle
tHIGH
tBUF
SDA
70 %
30 %
A
tSU. STA
tHD.STA
SCL
70%
30 %
Sr
tSU.STO
tVD.ACK
9th clock cycle
P
S
Figure 1. I2C Bus Timing Diagram
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 13 of 56
A
ICG-20330
3.4 SPI TIMING CHARACTERIZATION
Typical Operating Circuit of section 0, VDD = 1.8 V, VDDIO = 1.8 V, TA = 25°C, unless otherwise noted.
Parameters
MIN
Conditions
TYP
MAX
UNITS
7
MHz
NOTES
SPI TIMING
fSCLK, SCLK Clock Frequency
tLOW, SCLK Low Period
64
ns
tHIGH, SCLK High Period
64
ns
tSU.CS, CS Setup Time
8
ns
tHD.CS, CS Hold Time
500
ns
5
ns
tSU.SDI, SDI Setup Time
tHD.SDI, SDI Hold Time
7
tVD.SDO, SDO Valid Time
Cload = 20pF
tHD.SDO, SDO Hold Time
Cload = 20pF
ns
59
ns
50
ns
6
tDIS.SDO, SDO Output Disable Time
ns
Table 6. SPI Timing Characteristics (7 MHz Operation)
Notes:
1.
CS
Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets.
70%
30%
tSU;CS
SCLK
tHIGH
tHD;CS
1/fCLK
70%
30%
tSU;SDI
SDI
70%
30%
tHD;SDI
tLOW
LSB IN
MSB IN
tDIS;SDO
tVD;SDO
SDO
MSB OUT
70%
30%
LSB OUT
Figure 2. SPI Bus Timing Diagram
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 14 of 56
ICG-20330
3.5 ABSOLUTE MAXIMUM RATINGS
Stress above those listed as “Absolute Maximum Ratings” may cause permanent damage to the device. These
are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to
the absolute maximum ratings conditions for extended periods may affect device reliability.
Parameter
Rating
Supply Voltage, VDD
-0.5 V to +4 V
Supply Voltage, VDDIO
-0.5 V to +4 V
REGOUT
-0.5 V to 2 V
Input Voltage Level (SA0, FSYNC, SCL, SDA)
-0.5 V to VDD + 0.5 V
Acceleration (Any Axis, unpowered)
10,000g for 0.2 ms
Storage Temperature Range
-40°C to +125°C
2 kV (HBM);
250 V (MM)
Electrostatic Discharge (ESD) Protection
Latch-up
JEDEC Class II (2),125°C
±100 mA
Table 7. Absolute Maximum Ratings
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 15 of 56
ICG-20330
4 APPLICATIONS INFORMATION
4.1 PIN OUT DIAGRAM AND SIGNAL DESCRIPTION
Pin Number
Pin Name
1
VDDIO
Pin Description
2
SCL/SPC
I2C serial clock (SCL); SPI serial clock (SPC)
3
SDA/SDI
I2C serial data (SDA); SPI serial data input (SDI)
4
SA0/SDO
I2C slave address LSB (SA0); SPI serial data output (SDO)
Digital I/O supply voltage
5
CS
Chip select (0 = SPI mode; 1 = I2C mode)
6
INT
Interrupt digital output (totem pole or open-drain)
7
RESV
8
FSYNC
Reserved. Do not connect.
9
NC
Connect to GND or do not connect
10
NC
Connect to GND or do not connect
11
NC
Connect to GND or do not connect
12
NC
Connect to GND or do not connect
13
GND
14
REGOUT
15
RESV
16
VDD
Synchronization digital input (optional). Connect to GND if unused.
Connect to GND
Regulator filter capacitor connection
Reserved. Connect to GND
Power Supply
Table 8. Signal Descriptions
REGOUT
14
VDD
RESV
16 15
VDDIO
1
13
GND
SCL/SPC
2
12
NC
ICG-20330
SDA/SDI
3
11
NC
SA0/SDO
4
10
NC
CS
5
9
NC
6
7
8
INT
RESV
FSYNC
LGA Package (Top View)
16-pin, 3 mm x 3 mm x 0.75 mm
Typical Footprint and thickness
+Z
IC
G20
+Y
33
0
+X
Orientation of Axes of Sensitivity and Polarity of Rotation
Figure 3. Pin-out Diagram for ICG-20330 3.0x3.0x0.75 mm LGA
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 16 of 56
ICG-20330
4.2 TYPICAL OPERATING CIRCUIT
1.8 – 3.3VDC
RESV
VDD
C4, 2.2 F
C2, 0.1 F
16
VDDIO
1.8 – 3.3 VDC
C3, 10 nF
SCL SCL/SPC
SDA
AD0
VDDIO
SDA/SDI
SA0/SDO
CS
REGOUT
15
14
C1, 0.47 F
GND
1
13
2
12
NC
11
NC
3
ICG-20330
4
10
5
9
7
NC
INT
RESV
8
FSYNC
6
NC
Figure 4. ICG-20330 LGA Application Schematic
4.3 BILL OF MATERIALS FOR EXTERNAL COMPONENTS
Component
REGOUT Capacitor
VDD Bypass Capacitors
VDDIO Bypass Capacitor
Label
Specification
Quantity
C1
Ceramic, X7R, 0.47 µF ±10%, 2 V
1
C2
Ceramic, X7R, 0.1 µF ±10%, 4 V
1
C4
Ceramic, X7R, 2.2 µF ±10%, 4 V
1
C3
Ceramic, X7R, 10 nF ±10%, 4 V
1
Table 9. Bill of Materials
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 17 of 56
ICG-20330
4.4 BLOCK DIAGRAM
ICG-20330
INT
X Gyro
ADC
Self
test
Y Gyro
ADC
Self
test
Z Gyro
ADC
Interrupt
Status
Register
Signal Conditioning
Self
test
CS
Slave I2C and
SPI Serial
Interface
FIFO
SA0 / SDO
SCL / SPC
SDA / SDI
User & Config
Registers
FSYNC
Temp Sensor
ADC
Sensor
Registers
Charge
Pump
Bias & LDOs
VDD
GND
REGOUT
Figure 5. ICG-20330 Block Diagram
4.5 OVERVIEW
The ICG-20330 is comprised of the following key blocks and functions:
Three-axis MEMS rate gyroscope sensor with 16-bit ADCs and signal conditioning
Primary I2C and SPI serial communications interfaces
Self-Test
Clocking
Sensor Data Registers
FIFO
Interrupts
Digital-Output Temperature Sensor
Bias and LDOs
Charge Pump
Standard Power Modes
4.6 THREE‐AXIS MEMS GYROSCOPE WITH 16‐BIT ADCS AND SIGNAL CONDITIONING
The ICG-20330 consists of three independent vibratory MEMS rate gyroscopes, which detect rotation about
the X-, Y-, and Z- Axes. When the gyros are rotated about any of the sense axes, the Coriolis Effect causes
a vibration that is detected by a capacitive pickoff. The resulting signal is amplified, demodulated, and filtered
to produce a voltage that is proportional to the angular rate. This voltage is digitized using individual on-chip
16-bit Analog-to-Digital Converters (ADCs) to sample each axis. The full-scale range of the gyro sensors may
be digitally programmed to ±31.25, ±62.5, ±125 and ±250 degrees per second (dps). The ADC sample rate is
programmable up to 8,000 samples per second with user-selectable low-pass filters that enable a wide range
of cut-off frequencies.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 18 of 56
ICG-20330
4.7 I2C AND SPI SERIAL COMMUNICATIONS INTERFACES
The ICG-20330 communicates to a system processor using either a SPI or an I2C serial interface. The ICG20330 always acts as a slave when communicating to the system processor. The LSB of the I2C slave address
is set by pin 4 (SA0).
4.7.1
ICG‐20330 Solution Using I2C Interface
In the figure below, the system processor is an I2C master to the ICG-20330.
Figure 6. ICG-20330 Solution Using I2C Interface
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 19 of 56
ICG-20330
4.7.2
ICG‐20330 Solution Using SPI Interface
In the figure below, the system processor is an SPI master to the ICG-20330. Pins 2, 3, 4, and 5 are used to
support the SPC, SDI, SDO, and CS signals for SPI communications.
Interrupt
Status
Register
Processor SPI Bus : for reading all
data
INT
CS
ICG-20330
2
Slave I C
or SPI
Serial
Interface
nCS
SDO
SDI
SPC
SPC
SDI
SDO
System
Processor
FIFO
Config
Register
Sensor
Register
Factory
Calibration
Bias & LDOs
VDD
GND
REGOUT
Figure 7. ICG-20330 Solution Using SPI Interface
4.8 SELF‐TEST
Self-test allows for the testing of the mechanical and electrical portions of the sensors. The self-test for each
measurement axis can be activated by means of the gyroscope self-test registers (registers 27 and 28).
When the self-test is activated, the electronics cause the sensors to be actuated and produce an output signal.
The output signal is used to observe the self-test response.
The self-test response is defined as follows:
Self-test response = Sensor output with self-test enabled – Sensor output with self-test disabled
The self-test response for each gyroscope axis is defined in the gyroscope specification table.
When the value of the self-test response is within the specified min/max limits of the product specification, the
part has passed self-test. When the self-test response exceeds the min/max values, the part is deemed to
have failed self-test. It is recommended to use InvenSense MotionApps software for executing self-test.
For further information on Self-Test, please refer to the register map of ICG-20330.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 20 of 56
ICG-20330
4.9 CLOCKING
The ICG-20330 has a flexible clocking scheme, allowing a variety of internal clock sources to be used for the
internal synchronous circuitry. This synchronous circuitry includes the signal conditioning and ADCs, and
various control circuits and registers. An on-chip PLL provides flexibility in the allowable inputs for generating
this clock.
Allowable internal sources for generating the internal clock are:
a) An internal relaxation oscillator
b) Auto-select between internal relaxation oscillator and gyroscope MEMS oscillator to use the best
available source
The only setting supporting specified performance in all modes is option b). It is recommended that option b)
be used.
4.10 SENSOR DATA REGISTERS
The sensor data registers contain the latest gyroscope and temperature measurement data. They are readonly registers, and are accessed via the serial interface. Data from these registers may be read anytime.
4.11 FIFO
The ICG-20330 contains a 512-byte FIFO register that is accessible via the Serial Interface. The FIFO
configuration register determines which data is written into the FIFO. Possible choices include gyro data and
temperature readings, and FSYNC input. A FIFO counter keeps track of how many bytes of valid data are
contained in the FIFO. The FIFO register supports burst reads. The interrupt function may be used to
determine when new data is available.
For further information regarding the FIFO, please refer to the register map of ICG-20330.
4.12 INTERRUPTS
Interrupt functionality is configured via the Interrupt Configuration register. Items that are configurable include
the INT pin configuration, the interrupt latching and clearing method, and triggers for the interrupt. Items that
can trigger an interrupt are (1) Clock generator locked to new reference oscillator (used when switching clock
sources); (2) new data is available to be read (from the FIFO and Data registers); (3) FIFO overflow. The
interrupt status can be read from the Interrupt Status register.
4.13 DIGITAL‐OUTPUT TEMPERATURE SENSOR
An on-chip temperature sensor and ADC are used to measure the ICG-20330 die temperature. The readings
from the ADC can be read from the FIFO or the Sensor Data registers.
4.14 BIAS AND LDOS
The bias and LDO section generates the internal supply and the reference voltages and currents required by
the ICG-20330. Its two inputs are an unregulated VDD and a VDDIO logic reference supply voltage. The LDO
output is bypassed by a capacitor at REGOUT. For further details on the capacitor, please refer to the Bill of
Materials for External Components.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 21 of 56
ICG-20330
4.15 CHARGE PUMP
An on-chip charge pump generates the high voltage required for the MEMS oscillator.
4.16 STANDARD POWER MODES
The following table lists the user-accessible power modes for ICG-20330.
Mode
Name
1
Sleep Mode
2
Standby Mode
Gyro
Off
Drive On
Table 10. Standard Power Modes for ICG-20330
Notes:
1. Power consumption for individual modes can be found in section 0.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 22 of 56
ICG-20330
5 PROGRAMMABLE INTERRUPTS
The ICG-20330 has a programmable interrupt system which can generate an interrupt signal on the INT pin.
Status flags indicate the source of an interrupt. Interrupt sources may be enabled and disabled individually.
Interrupt Name
Module
FIFO Overflow
FIFO
Data Ready
Sensor Registers
Table 11. Table of Interrupt Sources
For information regarding the interrupt enable/disable registers and flag registers, please refer to the register
map of ICG-20330 in this document.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 23 of 56
ICG-20330
6 DIGITAL INTERFACE
6.1 I2C AND SPI SERIAL INTERFACES
The internal registers and memory of the ICG-20330 can be accessed using either I2C at 400 kHz or SPI at
7 MHz. SPI operates in four-wire mode.
Pin Number
Pin Name
1
VDDIO
Pin Description
4
SA0 / SDO
I2C Slave Address LSB (SA0); SPI serial data output (SDO)
2
SCL / SPC
I2C serial clock (SCL); SPI serial clock (SPC)
3
SDA / SDI
I2C serial data (SDA); SPI serial data input (SDI)
Digital I/O supply voltage.
Table 12. Serial Interface
Note:
To prevent switching into I2C mode when using SPI, the I2C interface should be disabled by setting the
I2C_IF_DIS configuration bit. Setting this bit should be performed immediately after waiting for the time
specified by the “Start-Up Time for Register Read/Write” in Section 6.3.
For further information regarding the I2C_IF_DIS bit, please refer to the register map of ICG-20330.
6.2 I2C INTERFACE
I2C is a two-wire interface comprised of the signals serial data (SDA) and serial clock (SCL). In general, the
lines are open-drain and bi-directional. In a generalized I2C interface implementation, attached devices can be
a master or a slave. The master device puts the slave address on the bus, and the slave device with the
matching address acknowledges the master.
The ICG-20330 always operates as a slave device when communicating to the system processor, which thus
acts as the master. SDA and SCL lines typically need pull-up resistors to VDD. The maximum bus speed is
400 kHz.
The slave address of the ICG-20330 is b110100X which is 7 bits long. The LSB bit of the 7-bit address is
determined by the logic level on pin SA0. This allows two ICG-20330s to be connected to the same I2C bus.
When used in this configuration, the address of one of the devices should be b1101000 (pin SA0 is logic low)
and the address of the other should be b1101001 (pin SA0 is logic high).
6.3 I2C COMMUNICATIONS PROTOCOL
START (S) and STOP (P) Conditions
Communication on the I2C bus starts when the master puts the START condition (S) on the bus, which is
defined as a HIGH-to-LOW transition of the SDA line while SCL line is HIGH (see figure below). The bus is
considered to be busy until the master puts a STOP condition (P) on the bus, which is defined as a LOW to
HIGH transition on the SDA line while SCL is HIGH (see figure below).
Additionally, the bus remains busy if a repeated START (Sr) is generated instead of a STOP condition.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 24 of 56
ICG-20330
SDA
SCL
S
P
START condition
STOP condition
Figure 8. START and STOP Conditions
Data Format / Acknowledge
I2C data bytes are defined to be 8 bits long. There is no restriction to the number of bytes transmitted per data
transfer. Each byte transferred must be followed by an acknowledge (ACK) signal. The clock for the
acknowledge signal is generated by the master, while the receiver generates the actual acknowledge signal
by pulling down SDA and holding it low during the HIGH portion of the acknowledge clock pulse.
If a slave is busy and cannot transmit or receive another byte of data until some other task has been performed,
it can hold SCL LOW, thus forcing the master into a wait state. Normal data transfer resumes when the slave
is ready, and releases the clock line (refer to the following figure).
DATA OUTPUT BY
TRANSMITTER (SDA)
not acknowledge
DATA OUTPUT BY
RECEIVER (SDA)
acknowledge
SCL FROM
MASTER
1
2
START
condition
8
9
clock pulse for
acknowledgement
Figure 9. Acknowledge on the I2C Bus
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 25 of 56
ICG-20330
Communications
After beginning communications with the START condition (S), the master sends a 7-bit slave address followed
by an 8th bit, the read/write bit. The read/write bit indicates whether the master is receiving data from or is
writing to the slave device. Then, the master releases the SDA line and waits for the acknowledge signal (ACK)
from the slave device. Each byte transferred must be followed by an acknowledge bit. To acknowledge, the
slave device pulls the SDA line LOW and keeps it LOW for the high period of the SCL line. Data transmission
is always terminated by the master with a STOP condition (P), thus freeing the communications line. However,
the master can generate a repeated START condition (Sr), and address another slave without first generating
a STOP condition (P). A LOW to HIGH transition on the SDA line while SCL is HIGH defines the stop condition.
All SDA changes should take place when SCL is low, with the exception of start and stop conditions.
SDA
SCL
1 –7
8
9
1–7
8
9
1–7
8
9
S
P
START ADDRESS
condition
ACK
R/W
DATA
ACK
DATA
ACK
STOP
condition
Figure 10. Complete I2C Data Transfer
To write the internal ICG-20330 registers, the master transmits the start condition (S), followed by the I2C
address and the write bit (0). At the 9th clock cycle (when the clock is high), the ICG-20330 acknowledges the
transfer. Then the master puts the register address (RA) on the bus. After the ICG-20330 acknowledges the
reception of the register address, the master puts the register data onto the bus. This is followed by the ACK
signal, and data transfer may be concluded by the stop condition (P). To write multiple bytes after the last ACK
signal, the master can continue outputting data rather than transmitting a stop signal. In this case, the ICG20330 automatically increments the register address and loads the data to the appropriate register. The
following figures show single and two-byte write sequences.
Single-Byte Write Sequence
Master
S
AD+W
Slave
RA
ACK
DATA
ACK
P
ACK
Burst Write Sequence
Master
S
AD+W
Slave
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
RA
ACK
DATA
ACK
DATA
ACK
P
ACK
Page 26 of 56
ICG-20330
To read the internal ICG-20330 registers, the master sends a start condition, followed by the I2C address and
a write bit, and then the register address that is going to be read. Upon receiving the ACK signal from the ICG20330, the master transmits a start signal followed by the slave address and read bit. As a result, the ICG20330 sends an ACK signal and the data. The communication ends with a not acknowledge (NACK) signal
and a stop bit from master. The NACK condition is defined such that the SDA line remains high at the 9th clock
cycle. The following figures show single and two-byte read sequences.
Single-Byte Read Sequence
Master
S
AD+W
Slave
RA
ACK
S
AD+R
ACK
NACK
ACK
P
DATA
Burst Read Sequence
Master
S
AD+W
Slave
RA
ACK
S
ACK
AD+R
ACK
ACK
DATA
NACK
DATA
6.4 I2C TERMS
Signal
S
AD
W
R
ACK
NACK
RA
DATA
P
Description
Start Condition: SDA goes from high to low while SCL is high
Slave I2C address
Write bit (0)
Read bit (1)
Acknowledge: SDA line is low while the SCL line is high at the 9th
clock cycle
Not-Acknowledge: SDA line stays high at the 9th clock cycle
ICG-20330 internal register address
Transmit or received data
Stop condition: SDA going from low to high while SCL is high
Table 13. I2C Terms
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 27 of 56
P
ICG-20330
6.5 SPI INTERFACE
SPI is a 4-wire synchronous serial interface that uses two control lines and two data lines. The ICG-20330
always operates as a Slave device during standard Master-Slave SPI operation.
With respect to the Master, the Serial Clock output (SPC), the Serial Data Output (SDO) and the Serial Data
Input (SDI) are shared among the Slave devices. Each SPI slave device requires its own Chip Select (CS) line
from the master.
CS goes low (active) at the start of transmission and goes back high (inactive) at the end. Only one CS line is
active at a time, ensuring that only one slave is selected at any given time. The CS lines of the non-selected
slave devices are held high, causing their SDO lines to remain in a high-impedance (high-z) state so that they
do not interfere with any active devices.
SPI Operational Features
1.
2.
3.
4.
5.
Data is delivered MSB first and LSB last
Data is latched on the rising edge of SPC
Data should be transitioned on the falling edge of SPC
The maximum frequency of SPC is 7 MHz
SPI read and write operations are completed in 16 or more clock cycles (two or more bytes). The
first byte contains the SPI Address, and the following byte(s) contain(s) the SPI data. The first bit
of the first byte contains the Read/Write bit and indicates the Read (1) or Write (0) operation. The
following 7 bits contain the Register Address. In cases of multiple-byte Read/Writes, data is two
or more bytes:
SPI Address format
MSB
R/W A6 A5 A4
SPI Data format
MSB
D7
D6 D5
D4
A3
D3
A2
D2
A1
LSB
A0
D1
LSB
D0
6. Supports Single or Burst Read/Writes.
SPC
SDI
SPI Master
SDO
CS1
SPI Slave 1
CS
CS2
SPC
SDI
SDO
CS
SPI Slave 2
Figure 11. Typical SPI Master / Slave Configuration
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 28 of 56
ICG-20330
7 SERIAL INTERFACE CONSIDERATIONS
7.1 ICG‐20330 SUPPORTED INTERFACES
The ICG-20330 supports I2C communications on its serial interface.
The ICG-20330’s I/O logic levels are set to be VDDIO.
The figure below depicts a sample circuit of ICG-20330. It shows the relevant logic levels and voltage
connections.
VDDIO
(0V ‐ VDDIO)
SYSTEM BUS
VDD
VDDIO
VDD
INT
SDA
(0V ‐ VDDIO)
SCL
VDD_IO
System
Processor IO
(0V ‐ VDDIO)
(0V ‐ VDDIO)
(0V ‐ VDDIO)
SYNC
VDDIO
ICG‐20330
VDDIO
(0V, VDDIO)
SA0
Figure 12. I/O Levels and Connections
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 29 of 56
ICG-20330
8 ASSEMBLY
This section provides general guidelines for assembling InvenSense Micro Electro-Mechanical Systems
(MEMS) gyros packaged in LGA package.
8.1 ORIENTATION OF AXES
The diagram below shows the orientation of the axes of sensitivity and the polarity of rotation. Note the pin 1
identifier (•) in the figure.
+Z
ICG
-2
033
+Y
0
+X
Figure 13. Orientation of Axes of Sensitivity and Polarity of Rotation
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 30 of 56
ICG-20330
8.2 PACKAGE DIMENSIONS
16 Lead LGA (3x3x0.75) mm NiAu pad finish
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 31 of 56
ICG-20330
DIMENSIONS IN MILLIMETERS
SYMBOLS
Total Thickness
Substrate Thickness
Mold Thickness
A
A1
A2
MIN
NOM
MAX
0.7
0.75
0.8
0.105 REF
0.63 REF
D
2.9
3
E
2.9
3
3.1
Lead Width
W
0.2
0.25
0.3
Lead Length
L
e
n
0.3
0.35
0.4
0.5 BSC
16
D1
2 BSC
E1
1 BSC
Body Size
Lead Pitch
Lead Count
Edge Ball Center to Center
Body Center to Contact Ball
Ball Width
Ball Diameter
Ball Opening
Ball Pitch
Ball Count
Pre‐Solder
Package Edge Tolerance
Mold Flatness
Coplanarity
Ball Offset (Package)
Ball Offset (Ball)
Lead Edge to Package Edge
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
3.1
SD
‐‐‐ BSC
SE
b
e1
n1
‐‐‐ BSC
‐‐‐
‐‐‐
‐‐‐
‐‐‐
‐‐‐
‐‐‐
‐‐‐
‐‐‐
‐‐‐
‐‐‐
aaa
bbb
ddd
eee
fff
M
0.01
0.1
0.2
0.08
‐‐‐
‐‐‐
0.06
0.11
Page 32 of 56
ICG-20330
9 PART NUMBER PACKAGE MARKING
The part number package marking for ICG-20330 devices is summarized below:
Part Number
Part Number Package Marking
ICG-20330
IC2330
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 33 of 56
ICG-20330
10 REFERENCE
Please refer to “InvenSense MEMS Handling Application Note (AN-IVS-0002A-00)” for the following
information:
Manufacturing Recommendations
o Assembly Guidelines and Recommendations
o PCB Design Guidelines and Recommendations
o MEMS Handling Instructions
o ESD Considerations
o Reflow Specification
o Storage Specifications
o Package Marking Specification
o Tape & Reel Specification
o Reel & Pizza Box Label
o Packaging
o Representative Shipping Carton Label
Compliance
o Environmental Compliance
o DRC Compliance
o Compliance Declaration Disclaimer
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 34 of 56
ICG-20330
11 REGISTER MAP
The following table lists the register map for the ICG-20330.
The device will come up in sleep mode upon power-up. In order to take the device out of the sleep mode set
the PWR_MGMT_1[6] = 0 in register 107 (sleep mode bit in power management register).
Addr
(Hex)
Addr
(Dec.)
Register Name
Serial
I/F
Accessible in
Sleep and
LPA Modes?
00
00
SELF_TEST_X_GYRO
READ/
WRITE
N
XG_ST_DATA[7:0]
01
01
SELF_TEST_Y_GYRO
READ/
WRITE
N
YG_ST_DATA[7:0]
02
02
SELF_TEST_Z_GYRO
READ/
WRITE
N
ZG_ST_DATA[7:0]
04
04
XG_OFFS_TC_H
READ/
WRITE
N
05
05
XG_OFFS_TC_L
READ/
WRITE
N
07
07
YG_OFFS_TC_H
READ/
WRITE
N
08
08
YG_OFFS_TC_L
READ/
WRITE
N
0A
10
ZG_OFFS_TC_H
READ/
WRITE
N
0B
11
ZG_OFFS_TC_L
READ/
WRITE
N
ZG_OFFS_TC_L [7:0]
13
19
XG_OFFS_USRH
READ/
WRITE
N
X_OFFS_USR [15:8]
N
X_OFFS_USR [7:0]
Bit7
-
Bit6
-
Bit5
Bit4
-
Bit3
-
-
Bit1
Bit0
-
XG_OFFS_
TC_H [9]
XG_OFFS_
TC_H [8]
-
YG_OFFS_
TC_H [9]
YG_OFFS_
TC_H [8]
-
ZG_OFFS_
TC_H [9]
ZG_OFFS_
TC_H [8]
XG_OFFS_TC_L [7:0]
-
-
-
-
-
YG_OFFS_TC_L [7:0]
-
-
-
-
-
14
20
XG_OFFS_USRL
READ/
WRITE
15
21
YG_OFFS_USRH
READ/
WRITE
N
Y_OFFS_USR [15:8]
16
22
YG_OFFS_USRL
READ/
WRITE
N
Y_OFFS_USR [7:0]
N
Z_OFFS_USR [15:8]
Z_OFFS_USR [7:0]
17
23
ZG_OFFS_USRH
READ/
WRITE
18
24
ZG_OFFS_USRL
READ/
WRITE
N
19
25
SMPLRT_DIV
READ/
WRITE
Y
N
-
FIFO_
MODE
SMPLRT_DIV[7:0]
1A
26
CONFIG
READ/
WRITE
1B
27
GYRO_CONFIG
READ/
WRITE
N
XG_ST
YG_ST
ZG_ST
23
35
FIFO_EN
READ/
WRITE
N
TEMP
_FIFO_EN
XG_FIFO_E
N
YG_FIFO_E
N
ZG_FIFO_E
N
36
54
FSYNC_INT
READ
to
CLEA
R
N
FSYNC_IN
T
-
-
37
55
INT_PIN_CFG
READ/
WRITE
Y
-
INT_OPEN
LATCH
_INT_EN
38
56
INT_ENABLE
READ/
WRITE
Y
3A
58
INT_STATUS
READ
to
CLEA
R
N
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Bit2
EXT_SYNC_SET[2:0]
WOM_EN
-
-
-
DLPF_CFG[2:0]
FS_SEL [1:0]
-
FCHOICE_B[1:0]
-
-
-
-
-
-
-
-
-
INT_RD
_CLEAR
FSYNC_INT
_LEVEL
FSYNC
_INT_MOD
E_EN
-
-
FIFO
_OFLOW
_EN
-
GDRIVE_IN
T_EN
-
DATA_RDY
_INT_EN
FIFO
_OFLOW
_INT
-
GDRIVE_IN
T
-
DATA
_RDY_INT
Page 35 of 56
ICG-20330
Addr
(Hex)
Addr
(Dec.)
Register Name
Serial
I/F
Accessible in
Sleep and
LPA Modes?
41
65
TEMP_OUT_H
READ
N
42
66
TEMP_OUT_L
READ
N
TEMP_OUT[7:0]
43
67
GYRO_XOUT_H
READ
N
GYRO_XOUT[15:8]
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TEMP_OUT[15:8]
44
68
GYRO_XOUT_L
READ
N
GYRO_XOUT[7:0]
45
69
GYRO_YOUT_H
READ
N
GYRO_YOUT[15:8]
46
70
GYRO_YOUT_L
READ
N
GYRO_YOUT[7:0]
47
71
GYRO_ZOUT_H
READ
N
GYRO_ZOUT[15:8]
48
72
GYRO_ZOUT_L
READ
N
GYRO_ZOUT[7:0]
N
-
-
-
-
-
-
-
TEMP
_RST
FIFO
_RST
-
SIG_COND
_RST
68
104
SIGNAL_PATH_RESET
READ/
WRITE
6A
106
USER_CTRL
READ/
WRITE
N
-
FIFO_EN
-
I2C_IF
_DIS
-
6B
107
PWR_MGMT_1
READ/
WRITE
Y
DEVICE_
RESET
SLEEP
-
GYRO_
STANDBY
TEMP_DIS
6C
108
PWR_MGMT_2
READ/
WRITE
Y
-
-
-
-
-
72
114
FIFO_COUNTH
READ
Y
73
115
FIFO_COUNTL
READ
Y
FIFO_COUNT[7:0]
74
116
FIFO_R_W
READ/
WRITE
Y
FIFO_DATA[7:0]
75
117
WHO_AM_I
READ
N
WHOAMI[7:0]
-
CLKSEL[2:0]
STBY_XG
STBY_YG
FIFO_COUNT[12:8]
Table 14. ICG-20330 Register Map
Note: Register Names ending in _H and _L contain the high and low bytes, respectively, of an internal register
value.
In the detailed register tables that follow, register names are in capital letters, while register values are in capital
letters and italicized. For example, the GYRO_XOUT_H register (Register 59) contains the 8 most significant
bits, GYRO_XOUT[15:8], of the 16-bit X-Axis Gyroscope measurement, GYRO_XOUT.
The reset value is 0x00 for all registers other than the registers below, also the self-test registers contain preprogrammed values and will not be 0x00 after reset.
Register 107 (0x01) Power Management 1
Register 117 (0x92) WHO_AM_I
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 36 of 56
STBY_ZG
ICG-20330
12 REGISTER DESCRIPTIONS
This section describes the function and contents of each register within the ICG-20330.
Note: The device will come up in active mode upon power-up.
12.1 REGISTERS 0 TO 2 – GYROSCOPE SELF‐TEST REGISTERS
Register Name: SELF_TEST_X_GYRO, SELF_TEST_Y_GYRO, SELF_TEST_Z_GYRO
Type: READ/WRITE
Register Address: 00, 01, 02 (Decimal); 00, 01, 02 (Hex)
REGISTER
SELF_TEST_X_GYRO
SELF_TEST_Y_GYRO
SELF_TEST_Z_GYRO
BIT
[7:0]
[7:0]
[7:0]
NAME
FUNCTION
XG_ST_DATA[7:0]
The value in this register indicates the self-test
output generated during manufacturing tests. This
value is to be used to check against subsequent
self-test outputs performed by the end user.
YG_ST_DATA[7:0]
The value in this register indicates the self-test
output generated during manufacturing tests. This
value is to be used to check against subsequent
self-test outputs performed by the end user.
ZG_ST_DATA[7:0]
The value in this register indicates the self-test
output generated during manufacturing tests. This
value is to be used to check against subsequent
self-test outputs performed by the end user.
The equation to convert self-test codes in OTP to factory self-test measurement is:
ST _ OTP ( 2620 / 2 FS ) * 1 .01( ST _ code 1) (lsb)
where ST_OTP is the value that is stored in OTP of the device, FS is the Full Scale value, and ST_code is
based on the Self-Test value (ST_ FAC) determined in InvenSense’s factory final test and calculated based
on the following equation:
ST _ code round (
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
log(ST _ FAC /(2620 / 2 FS ))
) 1
log(1.01)
Page 37 of 56
ICG-20330
12.2 REGISTER 4 – GYROSCOPE OFFSET TEMPERATURE COMPENSATION (TC) REGISTER
Register Name: XG_OFFS_TC_H
Register Type: READ/WRITE
Register Address: 04 (Decimal); 04 (Hex)
BIT
NAME
FUNCTION
[7:2]
-
Reserved
[1:0]
XG_OFFS_TC_H[9:8]
Bits 9 and 8 of the 10-bit offset of X gyroscope (2’s complement)
12.3 REGISTER 5 – GYROSCOPE OFFSET TEMPERATURE COMPENSATION (TC) REGISTER
Register Name: XG_OFFS_TC_L
Type: READ/WRITE
Register Address: 05 (Decimal); 05 (Hex)
BIT
NAME
FUNCTION
[7:0]
XG_OFFS_TC_L[7:0]]
Bits 7 to 0 of the 10-bit offset of X gyroscope (2’s complement)
Description:
The temperature compensation (TC) registers are used to reduce gyro offset variation due to
temperature change. The TC feature is always enabled. However, the compensation only
happens when a TC coefficient is programed during factory trim which gets loaded into these
registers at power up or after a DEVICE_RESET. If these registers contain a value of zero,
temperature compensation has no effect on the offset of the chip. The TC registers have a 10bit magnitude and sign adjustment in all full scale modes with a resolution of 2.52 mdps/C steps.
If these registers contain a non-zero value after power up, the user may write zeros to them to
see the offset values without TC with temperature variation. Note that doing so may result in
offset values that exceed data sheet “Initial ZRO Tolerance” in other than normal ambient
temperature (~25 °C). The TC coefficients maybe restored by the user with a power up or a
DEVICE_RESET.
The above description also applies to registers 7-8 and 10-11.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 38 of 56
ICG-20330
12.4 REGISTER 07 – GYROSCOPE OFFSET TEMPERATURE COMPENSATION (TC) REGISTER
Register Name: YG_OFFS_TC_H
Register Type: READ/WRITE
Register Address: 07 (Decimal); 07 (Hex)
BIT
NAME
FUNCTION
[7:2]
-
Reserved
[1:0]
YG_OFFS_TC_H[9:8]
Bits 9 and 8 of the 10-bit offset of Y gyroscope (2’s complement)
12.5 REGISTER 08 – GYROSCOPE OFFSET TEMPERATURE COMPENSATION (TC) REGISTER
Register Name: YG_OFFS_TC_L
Register Type: READ/WRITE
Register Address: 08 (Decimal); 08 (Hex)
BIT
NAME
FUNCTION
[7:0]
YG_OFFS_TC_L[7:0]]
Bits 7 to 0 of the 10-bit offset of Y gyroscope (2’s complement)
12.6 REGISTER 10 – GYROSCOPE OFFSET TEMPERATURE COMPENSATION (TC) REGISTER
Register Name: ZG_OFFS_TC_H
Register Type: READ/WRITE
Register Address: 10 (Decimal); 0A (Hex)
BIT
NAME
FUNCTION
[7:2]
-
Reserved
[1:0]
ZG_OFFS_TC_H[9:8]
Bits 9 and 8 of the 10-bit offset of Z gyroscope (2’s complement)
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 39 of 56
ICG-20330
12.7 REGISTER 11 – GYROSCOPE OFFSET TEMPERATURE COMPENSATION (TC) REGISTER
Register Name: ZG_OFFS_TC_L
Register Type: READ/WRITE
Register Address: 11 (Decimal); 0B (Hex)
BIT
NAME
FUNCTION
ZG_OFFS_TC_L[7:0]]
Bits 7 to 0 of the 10-bit offset of Z gyroscope (2’s complement)
[7:0]
12.8 REGISTERS 19 – GYRO OFFSET ADJUSTMENT REGISTER
Register Name: XG_OFFS_USRH
Register Type: READ/WRITE
Register Address: 19 (Decimal); 13 (Hex)
BIT
[7:0]
NAME
FUNCTION
X_OFFS_USR[15:8]
Bits 15 to 8 of the 16-bit offset of X gyroscope (2’s complement).
This register is used to remove DC bias from the sensor output.
The value in this register is added to the gyroscope sensor value
before going into the sensor register.
12.9 REGISTERS 20 – GYRO OFFSET ADJUSTMENT REGISTER
Register Name: XG_OFFS_USRL
Register Type: READ/WRITE
Register Address: 20 (Decimal); 14 (Hex)
BIT
[7:0]
NAME
FUNCTION
X_OFFS_USR[7:0]
Bits 7 to 0 of the 16-bit offset of X gyroscope (2’s complement).
This register is used to remove DC bias from the sensor output.
The value in this register is added to the gyroscope sensor value
before going into the sensor register.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 40 of 56
ICG-20330
12.10 REGISTERS 21 – GYRO OFFSET ADJUSTMENT REGISTER
Register Name: YG_OFFS_USRH
Register Type: READ/WRITE
Register Address: 21 (Decimal); 15 (Hex)
BIT
[7:0]
NAME
FUNCTION
Y_OFFS_USR[15:8]
Bits 15 to 8 of the 16-bit offset of Y gyroscope (2’s complement).
This register is used to remove DC bias from the sensor output.
The value in this register is added to the gyroscope sensor value
before going into the sensor register.
12.11 REGISTERS 22 – GYRO OFFSET ADJUSTMENT REGISTER
Register Name: YG_OFFS_USRL
Register Type: READ/WRITE
Register Address: 22 (Decimal); 16 (Hex)
BIT
[7:0]
NAME
FUNCTION
Y_OFFS_USR[7:0]
Bits 7 to 0 of the 16-bit offset of Y gyroscope (2’s complement).
This register is used to remove DC bias from the sensor output.
The value in this register is added to the gyroscope sensor value
before going into the sensor register.
12.12 REGISTERS 23 – GYRO OFFSET ADJUSTMENT REGISTER
Register Name: ZG_OFFS_USRH
Register Type: READ/WRITE
Register Address: 23 (Decimal); 17 (Hex)
BIT
[7:0]
NAME
FUNCTION
Z_OFFS_USR[15:8]
Bits 15 to 8 of the 16-bit offset of Z gyroscope (2’s complement).
This register is used to remove DC bias from the sensor output.
The value in this register is added to the gyroscope sensor value
before going into the sensor register.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 41 of 56
ICG-20330
12.13 REGISTER 24 – GYRO OFFSET ADJUSTMENT REGISTER
Register Name: ZG_OFFS_USRL
Register Type: READ/WRITE
Register Address: 24 (Decimal); 18 (Hex)
BIT
[7:0]
NAME
FUNCTION
Z_OFFS_USR[7:0]
Bits 7 to 0 of the 16-bit offset of Z gyroscope (2’s complement).
This register is used to remove DC bias from the sensor output.
The value in this register is added to the gyroscope sensor value
before going into the sensor register.
12.14 REGISTER 25 – SAMPLE RATE DIVIDER
Register Name: SMPLRT_DIV
Register Type: READ/WRITE
Register Address: 25 (Decimal); 19 (Hex)
BIT
[7:0]
NAME
SMPLRT_DIV[7:0]
FUNCTION
Divides the internal sample rate (see register CONFIG) to generate the
sample rate that controls sensor data output rate, FIFO sample rate. NOTE:
This register is only effective when FCHOICE_B register bits are 2’b00, and
(0 < DLPF_CFG < 7).
This is the update rate of the sensor register:
SAMPLE_RATE = INTERNAL_SAMPLE_RATE / (1 + SMPLRT_DIV)
Where INTERNAL_SAMPLE_RATE = 1kHz
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 42 of 56
ICG-20330
12.15 REGISTER 26 – CONFIGURATION
Register Name: CONFIG
Register Type: READ/WRITE
Register Address: 26 (Decimal); 1A (Hex)
BIT
NAME
FUNCTION
[7]
-
[6]
FIFO_MODE
Reserved.
When set to ‘1’, when the FIFO is full, additional writes will not be written to
FIFO.
When set to ‘0’, when the FIFO is full, additional writes will be written to the
FIFO, replacing the oldest data.
[5:3]
EXT_SYNC_SET[2:0]
Enables the FSYNC pin data to be sampled.
EXT_SYNC_SET
FSYNC bit location
0
function disabled
1
TEMP_OUT_L[0]
2
GYRO_XOUT_L[0]
3
GYRO_YOUT_L[0]
4
GYRO_ZOUT_L[0]
FSYNC will be latched to capture short strobes. This will be done such that if
FSYNC toggles, the latched value toggles, but won’t toggle again until the new
latched value is captured by the sample rate strobe.
[2:0]
DLPF_CFG[2:0]
For the DLPF to be used, FCHOICE_B[1:0] is 2’b00.
See the table below.
The DLPF is configured by DLPF_CFG, when FCHOICE_B [1:0] = 2b’00. The gyroscope and
temperature sensor are filtered according to the value of DLPF_CFG and FCHOICE_B as shown in
the table below.
FCHOICE_B
DLPF_CFG
X
1
0
0
0
0
1
0
0
0
0
0
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Temperature
Sensor
Gyroscope
X
X
0
1
2
7
3-dB
BW
(Hz)
8173
3281
250
176
92
3281
Noise
BW (Hz)
Rate
(kHz)
Delay
(ms)
3-dB BW
(Hz)
8595.1
3451.0
306.6
177.0
108.6
3451.0
32
32
8
1
1
8
0.064
0.11
0.97
2.9
3.9
0.17
4000
4000
4000
188
98
4000
Page 43 of 56
ICG-20330
12.16 REGISTER 27 – GYROSCOPE CONFIGURATION
Register Name: GYRO_CONFIG
Register Type: READ/WRITE
Register Address: 27 (Decimal); 1B (Hex)
BIT
NAME
FUNCTION
[7]
XG_ST
X Gyro self-test.
[6]
YG_ST
Y Gyro self-test.
[5]
ZG_ST
Z Gyro self-test.
Gyro Full Scale Select:
00 = ±31.25 dps
[4:3]
FS_SEL[1:0]
01= ±62.5 dps
10 = ±125 dps
11= ±250 dps
[2]
-
Reserved.
[1:0]
FCHOICE_B[1:0]
Used to bypass DLPF as shown in table 1 above.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 44 of 56
ICG-20330
12.17 REGISTER 35 – FIFO ENABLE
Register Name: FIFO_EN
Register Type: READ/WRITE
Register Address: 35 (Decimal); 23 (Hex)
BIT
NAME
FUNCTION
[7]
TEMP_FIFO_EN
1 – Write TEMP_OUT_H and TEMP_OUT_L to the FIFO at the sample rate;
If enabled, buffering of data occurs even if data path is in standby.
0 – Function is disabled.
[6]
XG_FIFO_EN
1 – Write GYRO_XOUT_H and GYRO_XOUT_L to the FIFO at the sample
rate; If enabled, buffering of data occurs even if data path is in standby.
0 – Function is disabled.
1 – Write GYRO_YOUT_H and GYRO_YOUT_L to the FIFO at the sample
rate; If enabled, buffering of data occurs even if data path is in standby.
[5]
[4]
YG_FIFO_EN
0 – Function is disabled.
ZG_FIFO_EN
Note: Enabling any one of the bits corresponding to the Gyros or Temp data
paths, data is buffered into the FIFO even though that data path is not
enabled.
1 – Write GYRO_ZOUT_H and GYRO_ZOUT_L to the FIFO at the sample
rate; If enabled, buffering of data occurs even if data path is in standby.
0 – Function is disabled.
[3]
-
Reserved.
[2:0]
-
Reserved.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 45 of 56
ICG-20330
12.18 REGISTER 54 – FSYNC INTERRUPT STATUS
Register Name: FSYNC_INT
Register Type: READ to CLEAR
Register Address: 54 (Decimal); 36 (Hex)
BIT
NAME
FUNCTION
[7]
FSYNC_INT
This bit automatically sets to 1 when a FSYNC interrupt has been
generated. The bit clears to 0 after the register has been read.
12.19 REGISTER 55 – INT PIN / BYPASS ENABLE CONFIGURATION
Register Name: INT_PIN_CFG
Register Type: READ/WRITE
Register Address: 55 (Decimal); 37 (Hex)
BIT
NAME
FUNCTION
[7]
INT_LEVEL
[6]
INT_OPEN
[5]
LATCH_INT_EN
[4]
INT_RD_CLEAR
[3]
FSYNC_INT_LEVEL
[2]
FSYNC_INT_MODE_EN
[1]
-
When this bit is equal to 1, the FSYNC pin will trigger an interrupt when
it transitions to the level specified by FSYNC_INT_LEVEL. When this
bit is equal to 0, the FSYNC pin is disabled from causing an interrupt.
Reserved.
[0]
-
Reserved.
1 – The logic level for INT pin is active low.
0 – The logic level for INT pin is active high.
1 – INT pin is configured as open drain.
0 – INT pin is configured as push-pull.
1 – INT pin level held until interrupt status is cleared.
0 – INT pin indicates interrupt pulse’s width is 50 s.
1 – Interrupt status is cleared if any read operation is performed.
0 – Interrupt status is cleared only by reading INT_STATUS register.
1 – The logic level for the FSYNC pin as an interrupt is active low.
0 – The logic level for the FSYNC pin as an interrupt is active high.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 46 of 56
ICG-20330
12.20 REGISTER 56 – INTERRUPT ENABLE
Register Name: INT_ENABLE
Register Type: READ/WRITE
Register Address: 56 (Decimal); 38 (Hex)
BIT
NAME
FUNCTION
[7:5]
WOM_EN
[4]
FIFO_OFLOW_EN
[3]
-
Reserved.
[2]
GDRIVE_INT_EN
Gyroscope Drive System Ready interrupt enable.
[1]
-
Reserved.
[0]
DATA_RDY_INT_EN
Data ready interrupt enable.
‘111’ – Enable WoM interrupt.
‘000’ – Disable WoM interrupt. This is the default setting.
1 – Enables a FIFO buffer overflow to generate an interrupt.
0 – Function is disabled.
12.21 REGISTER 58 – INTERRUPT STATUS
Register Name: INT_STATUS
Register Type: READ to CLEAR
Register Address: 58 (Decimal); 3A (Hex)
BIT
NAME
FUNCTION
[7]
-
Reserved.
[6]
-
Reserved.
[5]
-
Reserved.
[4]
FIFO_OFLOW_INT
This bit automatically sets to 1 when a FIFO buffer overflow has been
generated. The bit clears to 0 after the register has been read.
[3]
-
Reserved.
[2]
GDRIVE_INT
Gyroscope Drive System Ready interrupt.
[1]
-
Reserved.
[0]
DATA_RDY_INT
This bit automatically sets to 1 when a Data Ready interrupt is
generated. The bit clears to 0 after the register has been read.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 47 of 56
ICG-20330
12.22 REGISTERS 65 AND 66 – TEMPERATURE MEASUREMENT
Register Name: TEMP_OUT_H
Register Type: READ only
Register Address: 65 (Decimal); 41 (Hex)
BIT
NAME
FUNCTION
[7:0]
TEMP_OUT[15:8]
High byte of the temperature sensor output.
Register Name: TEMP_OUT_L
Register Type: READ only
Register Address: 66 (Decimal); 42 (Hex)
BIT
NAME
FUNCTION
Low byte of the temperature sensor output.
[7:0]
TEMP_degC
TEMP_OUT[7:0]
= ((TEMP_OUT –
RoomTemp_Offset)/Temp_Sensitivity)
+ 25degC
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 48 of 56
ICG-20330
12.23 REGISTERS 67 TO 72 – GYROSCOPE MEASUREMENTS
Register Name: GYRO_XOUT_H
Register Type: READ only
Register Address: 67 (Decimal); 43 (Hex)
BIT
NAME
FUNCTION
[7:0]
GYRO_XOUT[15:8]
High byte of the X-Axis gyroscope output.
Register Name: GYRO_XOUT_L
Register Type: READ only
Register Address: 68 (Decimal); 44 (Hex)
BIT
NAME
FUNCTION
Low byte of the X-Axis gyroscope output.
[7:0]
GYRO_XOUT[7:0]
GYRO_XOUT =
Gyro_Sensitivity * X_angular_rate
Nominal
FS_SEL = 0
Conditions
Gyro_Sensitivity = 131 LSB/(º/s)
Register Name: GYRO_YOUT_H
Register Type: READ only
Register Address: 69 (Decimal); 45 (Hex)
BIT
NAME
FUNCTION
[7:0]
GYRO_YOUT[15:8]
High byte of the Y-Axis gyroscope output.
Register Name: GYRO_YOUT_L
Register Type: READ only
Register Address: 70 (Decimal); 46 (Hex)
BIT
NAME
FUNCTION
Low byte of the Y-Axis gyroscope output.
[7:0]
GYRO_YOUT[7:0]
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
GYRO_YOUT =
Gyro_Sensitivity * Y_angular_rate
Nominal
FS_SEL = 0
Conditions
Gyro_Sensitivity = 131 LSB/(º/s)
Page 49 of 56
ICG-20330
Register Name: GYRO_ZOUT_H
Register Type: READ only
Register Address: 71 (Decimal); 47 (Hex)
BIT
NAME
FUNCTION
[7:0]
GYRO_ZOUT[15:8]
High byte of the Z-Axis gyroscope output.
Register Name: GYRO_ZOUT_L
Register Type: READ only
Register Address: 72 (Decimal); 48 (Hex)
BIT
NAME
FUNCTION
Low byte of the Z-Axis gyroscope output.
GYRO_ZOUT[7:0]
[7:0]
GYRO_ZOUT =
Gyro_Sensitivity * Z_angular_rate
Nominal
Conditions
FS_SEL = 0
Gyro_Sensitivity = 131 LSB/(º/s)
12.24 REGISTER 104 – SIGNAL PATH RESET
Register Name: SIGNAL_PATH_RESET
Register Type: READ/WRITE
Register Address: 104 (Decimal); 68 (Hex)
BIT
NAME
FUNCTION
[7:1]
-
Reserved.
Reset temp digital signal path.
[0]
TEMP_RST
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Note: Sensor registers are not cleared. Use SIG_COND_RST to clear
sensor registers.
Page 50 of 56
ICG-20330
12.24 REGISTER 106 – USER CONTROL
Register Name: USER_CTRL
Register Type: READ/WRITE
Register Address: 106 (Decimal); 6A (Hex)
BIT
NAME
FUNCTION
[7]
-
Reserved.
1 – Enable FIFO operation mode.
[6]
FIFO_EN
0 – Disable FIFO access from serial interface. To disable FIFO writes by
DMA, use FIFO_EN register.
[5]
-
Reserved.
[4]
I2C_IF_DIS
1 – Reset I2C Slave module and put the serial interface in SPI mode only.
This bit auto clears after one clock cycle of the internal 20 MHz clock.
[3]
-
Reserved.
[2]
FIFO_RST
1 – Reset FIFO module. Reset is asynchronous. This bit auto clears after
one clock cycle of the internal 20 MHz clock.
[1]
-
Reserved
[0]
SIG_COND_RST
1 – Reset all gyro digital signal path and temp digital signal path. This bit also
clears all the sensor registers.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 51 of 56
ICG-20330
12.25 REGISTER 107 – POWER MANAGEMENT 1
Register Name: PWR_MGMT_1
Register Type: READ/WRITE
Register Address: 107 (Decimal); 6B (Hex)
BIT
NAME
FUNCTION
[7]
DEVICE_RESET
1 – Reset the internal registers and restores the default settings. The bit
automatically clears to 0 once the reset is done.
[6]
SLEEP
When set to 1, the chip is set to sleep mode.
[5]
-
Reserved.
[4]
GYRO_STANDBY
When set, the gyro drive and pll circuitry are enabled, but the sense paths
are disabled. This is a low power mode that allows quick enabling of the
gyros.
[3]
TEMP_DIS
When set to 1, this bit disables the temperature sensor.
Code
[2:0]
CLKSEL[2:0]
Clock Source
0
Internal 20 MHz oscillator
1
Auto selects the best available clock source – PLL if ready, else
use the Internal oscillator.
2
Auto selects the best available clock source – PLL if ready, else
use the Internal oscillator.
3
Auto selects the best available clock source – PLL if ready, else
use the Internal oscillator.
4
Auto selects the best available clock source – PLL if ready, else
use the Internal oscillator.
5
Auto selects the best available clock source – PLL if ready, else
use the Internal oscillator.
6
Internal 20 MHz oscillator.
7
Stops the clock and keeps timing generator in reset.
Note: The default value of CLKSEL[2:0] is 000. It is required that CLKSEL[2:0] be set to 001 to achieve full
gyroscope performance.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 52 of 56
ICG-20330
12 26 REGISTER 108 – POWER MANAGEMENT 2
Register Name: PWR_MGMT_2
Register Type: READ/WRITE
Register Address: 108 (Decimal); 6C (Hex)
BIT
NAME
FUNCTION
[7]
-
Reserved.
[6]
-
Reserved.
[5]
-
Reserved.
[4]
-
Reserved.
[3]
-
Reserved.
[2]
STBY_XG
[1]
STBY_YG
[0]
STBY_ZG
1 – X gyro is disabled.
0 – X gyro is on.
1 – Y gyro is disabled.
0 – Y gyro is on.
1 – Z gyro is disabled.
0 – Z gyro is on.
12.27 REGISTER 114 AND 115 – FIFO COUNT REGISTERS
Register Name: FIFO_COUNTH
Register Type: READ Only
Register Address: 114 (Decimal); 72 (Hex)
BIT
NAME
FUNCTION
[7:5]
-
Reserved.
[4:0]
FIFO_COUNT[12:8]
High bits. Count indicates the number of written bytes in the FIFO.
Reading this byte latches the data for both FIFO_COUNTH, and
FIFO_COUNTL.
Register Name: FIFO_COUNTL
Register Type: READ Only
Register Address: 115 (Decimal); 73 (Hex)
BIT
NAME
FUNCTION
Low Bits. Count indicates the number of written bytes in the FIFO.
[7:0]
FIFO_COUNT[7:0]
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Note: Must read FIFO_COUNTH to latch new data for both
FIFO_COUNTH and FIFO_COUNTL.
Page 53 of 56
ICG-20330
12.28 REGISTER 116 – FIFO READ WRITE
Register Name: FIFO_R_W
Register Type: READ/WRITE
Register Address: 116 (Decimal); 74 (Hex)
BIT
NAME
FUNCTION
[7:0]
FIFO_DATA[7:0]
Read/Write command provides Read or Write operation for
the FIFO.
Description:
This register is used to read and write data from the FIFO buffer.
Data is written to the FIFO in order of register number (from lowest to highest). If all the FIFO enable
flags (see below) are enabled, the contents of registers 59 through 72 will be written in order at the
Sample Rate.
The contents of the sensor data registers (Registers 59 to 72) are written into the FIFO buffer when
their corresponding FIFO enable flags are set to 1 in FIFO_EN (Register 35).
If the FIFO buffer has overflowed, the status bit FIFO_OFLOW_INT is automatically set to 1. This bit
is located in INT_STATUS (Register 58). When the FIFO buffer has overflowed, the oldest data will
be lost and new data will be written to the FIFO unless register 26 CONFIG, bit[6] FIFO_MODE = 1.
If the FIFO buffer is empty, reading register FIFO_DATA will return a unique value of 0xFF until new
data is available. Normal data is precluded from ever indicating 0xFF, so 0xFF gives a trustworthy
indication of FIFO empty.
12.29 REGISTER 117 – WHO AM I
Register Name: WHO_AM_I
Register Type: READ only
Register Address: 117 (Decimal); 75 (Hex)
BIT
NAME
FUNCTION
[7:0]
WHOAMI
Register to indicate to user which device is being accessed.
This register is used to verify the identity of the device. The contents of WHOAMI is an 8-bit device ID.
The default value of the register is 0x92. This is different from the I2C address of the device as seen
on the slave I2C controller by the applications processor. The I2C address of the ICG-20330 is 0x68 or
0x69 depending upon the value driven on AD0 pin.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 54 of 56
ICG-20330
13 REVISION HISTORY
REVISION
DATE
REVISION
DESCRIPTION
06/15/2016
1.0
Initial Release
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 55 of 56
ICG-20330
This information furnished by InvenSense is believed to be accurate and reliable. However, no responsibility is assumed by InvenSense
for its use, or for any infringements of patents or other rights of third parties that may result from its use. Specifications are subject to
change without notice. InvenSense reserves the right to make changes to this product, including its circuits and software, in order to
improve its design and/or performance, without prior notice. InvenSense makes no warranties, neither expressed nor implied, regarding
the information and specifications contained in this document. InvenSense assumes no responsibility for any claims or damages arising
from information contained in this document, or from the use of products and services detailed therein. This includes, but is not limited to,
claims or damages based on the infringement of patents, copyrights, mask work and/or other intellectual property rights.
Certain intellectual property owned by InvenSense and described in this document is patent protected. No license is granted by implication
or otherwise under any patent or patent rights of InvenSense. This publication supersedes and replaces all information previously supplied.
Trademarks that are registered trademarks are the property of their respective companies. InvenSense sensors should not be used or
sold in the development, storage, production or utilization of any conventional or mass-destructive weapons or for any other weapons or
life threatening applications, as well as in any other life critical applications such as medical equipment, transportation, aerospace and
nuclear instruments, undersea equipment, power plant equipment, disaster prevention and crime prevention equipment.
©2016 InvenSense, Inc. All rights reserved. InvenSense, MotionTracking, MotionProcessing, MotionProcessor, MotionFusion,
MotionApps, Digital Motion Processor, AAR, and the InvenSense logo are trademarks of InvenSense, Inc. Other company and product
names may be trademarks of the respective companies with which they are associated.
©2016 InvenSense, Inc. All rights reserved.
Document Number: DS-000127
Revision: 1.0
Rev Date: 06/15/2016
Page 56 of 56