Ais 3624 DQ
Ais 3624 DQ
Description
The AIS3624DQ is an ultra-low-power high-
performance three-axis accelerometer with a
digital serial interface SPI standard output, an I2C
QFN 24 (4x4x1.8 mm3) compatible interface is also available.
The device features ultra-low-power operational
modes that allow advanced power saving and
Features smart sleep-to-wake functions.
Wide supply voltage range: 2.4 V to 3.6 V The AIS3624DQ has dynamically user selectable
full scales of ±6g/±12g/±24g and it is capable of
1.8 V low voltage compatible IOs measuring accelerations with output data rates
Ultra-low-power mode consumption from 0.5 Hz to 1 kHz.
down to 10 μA
The self-test capability allows the user to check
6g/±12g/24g dynamically selectable full the functioning of the sensor in the final
scale application.
SPI/I2C digital output interface The device may be configured to generate an
16-bit data output, 12-bit resolution interrupt signal by inertial wakeup/free-fall events
2 independent programmable interrupt as well as by the position of the device itself.
generators Thresholds and timing of interrupt generators are
programmable by the end user on the fly.
System sleep-to-wake function
The AIS3624DQ is available in small, quad flat
Embedded self-test
no-lead package (QFN) with the reduced 4x4 mm
Extended temperature range -40°C to 105°C footprint required by many applications and it is
10000 g high shock survivability guaranteed to operate over an extended
temperature range from -40 °C to +105 °C.
ECOPACK®, RoHS and “Green” compliant
(see Section 8) This product may be used in a variety of
AEC-Q100 qualification automotive non-safety applications such as:
Motion-activated functions
Telematic boxes
Impact recognition and logging systems
Vibration monitoring and compensation
Contents
3 Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 Sensing element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 IC interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3 Factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 Application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.1 Soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 Digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.1 I2C serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.1.1 I2C operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.2 SPI bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.2.1 SPI read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2.2 SPI write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.2.3 SPI read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6 Register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
7 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.1 WHO_AM_I (0Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.2 CTRL_REG1 (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.3 CTRL_REG2 (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.4 CTRL_REG3 [interrupt CTRL register] (22h) . . . . . . . . . . . . . . . . . . . . . . 27
7.5 CTRL_REG4 (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.6 CTRL_REG5 (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.7 HP_FILTER_RESET (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.8 REFERENCE (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.9 STATUS_REG (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.10 OUT_X_L (28h), OUT_X_H (29) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.11 OUT_Y_L (2Ah), OUT_Y_H (2Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.12 OUT_Z_L (2Ch), OUT_Z_H (2Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.13 INT1_CFG (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.14 INT1_SRC (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.15 INT1_THS (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.16 INT1_DURATION (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.17 INT2_CFG (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.18 INT2_SRC (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.19 INT2_THS (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.20 INT2_DURATION (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.1 QFN 24L package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9 Soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.1 General guidelines for soldering surface-mount MEMS sensors . . . . . . . 37
9.2 PCB design guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.3 PCB design rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.4 Stencil design and solder paste application . . . . . . . . . . . . . . . . . . . . . . . 38
9.5 Process considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
10 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
List of tables
List of figures
X+
Y+ CHARGE
Z+ AMPLIFIER CS
I2C SCL/SPC
a MUX
A/D
CONVERTER CONTROL
LOGIC
SDA/SDO/SDI
Z- SPI
SDO/SA0
Y-
X-
X
19 24
18 1
1
13 6
Y 7
12
FS bit set to 00 ±6
(2)
FS Measurement range FS bit set to 01 ±12 g
FS bit set to 11 ±24
FS bit set to 00
2.55 2.9 3.25
12-bit representation
FS bit set to 01
So Sensitivity 5.19 5.9 6.61 mg/digit
12-bit representation
FS bit set to 11
10.29 11.7 13.11
12-bit representation
Table 4. Electrical characteristics @ Vdd = 3.3 V, T = -40 °C to +105 °C unless otherwise noted (1)
Symbol Parameter Test conditions Min. Typ. Max. Unit
1. Values are guaranteed at 10 MHz clock frequency for SPI with both 4 and 3 wires, based on characterization results, not
tested in production.
2. Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both input and output ports.
3. When no communication is ongoing, data on CS, SPC, SDI and SDO are driven by internal pull-up resistors.
a. Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both ports.
2.5 Terminology
2.5.1 Sensitivity
Sensitivity describes the gain of the sensor and can be determined, for example, by
applying 1 g acceleration to it. As the sensor can measure DC accelerations this can be
done easily by pointing the axis of interest towards the center of the Earth, noting the output
value, rotating the sensor by 180 degrees (pointing to the sky) and noting the output value
again. By doing so, ±1 g acceleration is applied to the sensor. Subtracting the larger output
value from the smaller one, and dividing the result by 2, leads to the actual sensitivity of the
sensor. This value changes very little over temperature and time. The sensitivity tolerance
describes the range of sensitivities of a large population of sensors.
2.5.3 Self-test
Self-test allows checking the sensor functionality without moving it. The self-test function is
off when the self-test bit (ST) of CTRL_REG4 (control register 4) is programmed to ‘0‘.
When the self-test bit of CTRL_REG4 is programmed to ‘1’, an actuation force is applied to
the sensor, simulating a definite input acceleration. In this case the sensor outputs will
exhibit a change in their DC levels which are related to the selected full scale through the
device sensitivity. When self-test is activated, the device output level is given by the
algebraic sum of the signals produced by the acceleration acting on the sensor and by the
electrostatic test-force. If the output signals change within the amplitude specified inside
Table 3, then the sensor is working properly and the parameters of the interface chip are
within the defined specifications.
2.5.4 Sleep-to-wake
The “sleep-to-wakeup” function, in conjunction with low-power mode, allows to further
reduce the system power consumption and develop new smart applications.
AIS3624DQ may be set in a low-power operating mode, characterized by lower data rate
updates. In this way the device, even if sleeping, continues to sense acceleration and
generate interrupt requests.
When the “sleep-to-wake” function is activated, AIS3624DQ is able to automatically wake
up as soon as the interrupt event has been detected, increasing the output data rate and
bandwidth.
With this feature the system may be efficiently switched from low-power mode to full-
performance depending on user-selectable positioning and acceleration events, thus
ensuring power saving and flexibility.
3 Functionality
The AIS3624DQ is a nano, low-power, digital output 3-axis linear accelerometer available or
housed in a QFN package. The complete device includes a sensing element and an IC
interface The device comprises a sensing element and an IC interface which communicates
through an I2C or SPI serial interface from the sensing element to the application.
3.2 IC interface
The complete measurement chain is composed of a low-noise capacitive amplifier which
converts the capacitive unbalancing of the MEMS sensor into an analog voltage using an
analog-to-digital converter.
The acceleration data may be accessed through an I2C/SPI interface thus making the
device particularly suitable for direct interfacing with a microcontroller.
The AIS3624DQ features a Data-Ready signal (RDY) which indicates when a new set of
measured acceleration data is available, thus simplifying data synchronization in the digital
system that uses the device.
The AIS3624DQ may also be configured to generate an inertial wakeup and free-fall
interrupt signal according to a programmed acceleration event along the enabled axes. Both
free-fall and wakeup can be available simultaneously on two different pins.
4 Application hints
24 19
1 18
INT 2 SDA/SDI/SDO
TOP VIEW SDO/SA0
Vdd Vdd_IO
6 13
Z
7 12
100nF 10uF
X
SCL/SPC
INT 1
1
GND CS
Digital signal from/to signal controller. Signal levels are defined by proper selection of Vdd_IO
The device core is supplied through Vdd line while the I/O pads are supplied through the
Vdd_IO line. Power supply decoupling capacitors (100 nF ceramic, 10 μF aluminum) should
be placed as near as possible to the pin 14 of the device (common design practice).
All the voltage and ground supplies must be present at the same time to have proper
behavior of the IC (refer to Figure 5). It is possible to remove Vdd while maintaining Vdd_IO
without blocking the communication bus, in this condition the measurement chain is
powered off.
The functionality of the device and the measured acceleration data is selectable and
accessible through the I2C or SPI interfaces.When using the I2C, CS must be tied high.
The functions, the threshold and the timing of the two interrupt pins (INT 1 and INT 2) can be
completely programmed by the user through the I2C/SPI interface.
5 Digital interfaces
The registers embedded inside the AIS3624DQ may be accessed through both the I2C and
SPI serial interfaces. The latter may be SW configured to operate either in 3-wire or 4-wire
interface mode.
The serial interfaces are mapped onto the same pads. To select/exploit the I2C interface, the
CS line must be tied high (i.e. connected to Vdd_IO).
SPI enable
CS
I2C/SPI mode selection (1: I2C mode; 0: SPI enabled)
SCL I2C serial clock (SCL)
SPC SPI serial port clock (SPC)
SDA I2C serial data (SDA)
SDI SPI serial data input (SDI)
SDO 3-wire interface serial data output (SDO)
SA0 I2C less significant bit of the device address (SA0)
SDO SPI serial data output (SDO)
There are two signals associated with the I2C bus: the serial clock line (SCL) and the Serial
DAta line (SDA). The latter is a bidirectional line used for sending and receiving the data
to/from the interface. Both the lines are connected to Vdd_IO through a pull-up resistor
embedded inside the AIS3624DQ. When the bus is free, both the lines are high.
The I2C interface is compliant with fast mode (400 kHz) I2C standards as well as with the
normal mode.
Table 13. Transfer when master is receiving (reading) one byte of data from slave:
Master ST SAD + W SUB SR SAD + R NMAK SP
Slave SAK SAK SAK DATA
Table 14. Transfer when master is receiving (reading) multiple bytes of data from slave
Master ST SAD+W SUB SR SAD+R MAK MAK NMAK SP
DAT DAT
Slave SAK SAK SAK DATA
A A
Data are transmitted in byte format (DATA). Each data transfer contains 8 bits. The number
of bytes transferred per transfer is unlimited. Data is transferred with the Most Significant bit
(MSb) first. If a receiver can’t receive another complete byte of data until it has performed
some other function, it can hold the clock line, SCL LOW to force the transmitter into a wait
state. Data transfer only continues when the receiver is ready for another byte and releases
the data line. If a slave receiver doesn’t acknowledge the slave address (i.e. it is not able to
receive because it is performing some real time function) the data line must be left HIGH by
the slave. The master can then abort the transfer. A LOW-to-HIGH transition on the SDA
line while the SCL line is HIGH is defined as a STOP condition. Each data transfer must be
terminated by the generation of a STOP (SP) condition.
In order to read multiple bytes, it is necessary to assert the most significant bit of the sub-
address field. In other words, SUB(7) must be equal to 1 while SUB(6-0) represents the
address of first register to be read.
In the presented communication format MAK is Master acknowledge and NMAK is No
Master Acknowledge.
CS
SPC
SDI
RW DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
MS AD5 AD4 AD3 AD2 AD1 AD0
SDO
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
CS is the serial port enable and it is controlled by the SPI master. It goes low at the start of
the transmission and goes back high at the end. SPC is the serial port clock and it is
controlled by the SPI master. It is stopped high when CS is high (no transmission). SDI and
SDO are respectively the serial port data input and output. Those lines are driven at the
falling edge of SPC and should be captured at the rising edge of SPC.
Both the read register and write register commands are completed in 16 clock pulses or in
multiple of 8 in the case of multiple read/write bytes. Bit duration is the time between two
falling edges of SPC. The first bit (bit 0) starts at the first falling edge of SPC after the falling
edge of CS while the last bit (bit 15, bit 23, ...) starts at the last falling edge of SPC just
before the rising edge of CS.
bit 0: RW bit. When 0, the data DI(7:0) is written into the device. When 1, the data DO(7:0)
from the device is read. In latter case, the chip will drive SDO at the start of bit 8.
bit 1: MS bit. When 0, the address will remain unchanged in multiple read/write commands.
When 1, the address is auto incremented in multiple read/write commands.
bit 2-7: address AD(5:0). This is the address field of the indexed register.
bit 8-15: data DI(7:0) (write mode). This is the data that is written into the device (MSb first).
bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first).
In multiple read/write commands further blocks of 8 clock periods will be added. When the
MS bit is ‘0’, the address used to read/write data remains the same for every block. When
the MS bit is ‘1’, the address used to read/write data is increased at every block.
The function and the behavior of SDI and SDO remain unchanged.
CS
SPC
SDI
RW
MS AD5 AD4 AD3 AD2 AD1 AD0
SDO
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
The SPI Read command is performed with 16 clock pulses. Multiple byte read command is
performed adding blocks of 8 clock pulses at the previous one.
CS
SPC
SDI
RW
MS AD5 AD4 AD3 AD2 AD1 AD0
SDO
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 DO15DO14DO13DO12DO11DO10DO9 DO8
CS
SPC
SDI
RW DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
MS AD5 AD4 AD3 AD2 AD1 AD0
The SPI write command is performed with 16 clock pulses. A multiple byte write command
is performed by adding blocks of 8 clock pulses to the previous one.
bit 0: WRITE bit. The value is 0.
bit 1: MS bit. When 0, does not increment the address; when 1, increments the address in
multiple writes.
bit 2 -7: address AD(5:0). This is the address field of the indexed register.
bit 8-15: data DI(7:0) (write mode). This is the data that is written inside the device (MSb
first).
bit 16-... : data DI(...-8). Further data in multiple byte writes.
CS
SPC
SDI
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8
RW
MS AD5 AD4 AD3 AD2 AD1 AD0
CS
SPC
SDI/O
RW DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
MS AD5 AD4 AD3 AD2 AD1 AD0
6 Register mapping
The table given below provides a list of the 8-bit registers embedded in the device and the
corresponding addresses.
Registers marked as Reserved must not be changed. Writing to those registers may cause
permanent damage to the device.The content of the registers that are loaded at boot should
not be changed. They contain the factory calibration values. Their content is automatically
restored when the device is powered up.
7 Register description
The device contains a set of registers which are used to control its behavior and to retrieve
acceleration data. The register address, made of 7 bits, is used to identify them and to write
the data through the serial interface.
The PM bits allow selecting between power-down and two operating active modes. The
device is in power-down mode when the PD bits are set to “000” (default value after boot).
Table 19 shows all the possible power mode configurations and respective output data
rates. Output data in the low-power modes are computed with low-pass filter cutoff
frequency defined by the DR1 and DR0 bits.
The DR bits, in the normal-mode operation, select the data rate at which acceleration
samples are produced. In low-power mode they define the output data resolution. Table 20
shows all the possible configurations for the DR1 and DR0 bits.
Table 19. Power mode and low-power output data rate configurations
Output data rate [Hz]
PM2 PM1 PM0 Power mode selection
ODRLP
0 0 0 Power-down --
0 0 1 Normal mode ODR
0 1 0 Low-power 0.5
0 1 1 Low-power 1
1 0 0 Low-power 2
1 0 1 Low-power 5
1 1 0 Low-power 10
Table 20. Normal-mode output data rate configurations and low-pass cutoff
frequencies
Output Data Rate [Hz] Low-pass filter cutoff
DR1 DR0
ODR frequency [Hz]
0 0 50 37
0 1 100 74
1 0 400 292
1 1 1000 780
The BOOT bit is used to refresh the content of internal registers stored in the flash memory
block. At the device power-up the content of the flash memory block is transferred to the
internal registers related to the trimming functions to allow correct behavior of the device
itself. If for any reason the content of trimming registers is changed, it is sufficient to use this
bit to restore the correct values. When the BOOT bit is set to ‘1’, the content of internal flash
is copied inside the corresponding internal registers and it is used to calibrate the device.
These values are factory trimmed and they are different for every accelerometer. They allow
correct behavior of the device and normally they have not to be changed. At the end of the
boot process the BOOT bit is set again to ‘0’.
HPCF[1:0]. These bits are used to configure the high-pass filter cutoff frequency ft which is
given by:
1 - f s
f t = ln 1 – ----------- ------
HPc 2
fs
f t = -------------------
6 HPc
00 1 2 8 20
01 0.5 1 4 10
10 0.25 0.5 2 5
11 0.125 0.25 1 2.5
The BDU bit is used to inhibit the update of the output registers until both upper and lower
register parts are read. In default mode (BDU=0), the output register values are updated
continuously. When the BDU is activated (BDU =1), the content of the output registers is not
updated until both MSB and LSB are read which avoids reading values related to different
sample times.
The TurnOn bits are used for turning on the sleep-to-wake function.
Setting the TurnOn[1:0] bits to 11, the “sleep-to-wake” function is enabled. When an
interrupt event occurs, the device returns to normal mode, increasing the ODR to the value
defined in CTRL_REG1. Although the device is in normal mode, CTRL_REG1 content is not
automatically changed to “normal mode” configuration.
This register sets the acceleration value taken as a reference for the high-pass filter output.
When the filter is turned on (at least one of the FDS, HPen2, or HPen1 bits is equal to ‘1’),
and HPM bits are set to “01”, the filter output is generated, taking this value as a reference.
The D6 - D0 bits set the minimum duration of the Interrupt 2 event to be recognized.
Duration steps and maximum values depend on the ODR chosen.
The D6 - D0 bits set the minimum duration of the Interrupt 2 event to be recognized.
Duration time steps and maximum values depend on the ODR chosen.
8 Package information
OUTLINE AND
MECHANICAL DATA
QFPN-24 (4x4x1.8mm)
Quad Flat Package No lead
9 Soldering information
The QFPN-24 package is compliant with the ECOPACK®, RoHS and “Green” standard.
It is qualified for soldering heat resistance according to JEDEC J-STD-020C, in MSL3
conditions.
For complete land pattern and soldering recommendations, please refer to the technical
note TN0019 available on www.st.com.
A = Clearance from PCB land edge to solder mask opening ≤0.1 mm to ensure that some
solder mask remains between PCB pads
B = PCB land length = QFPN solder pad length + 0.1 mm
C = PCB land width = QFPN solder pad width + 0.1 mm
D = PCB thermal pad solder mask opening = QFPN thermal pad side + 0.2 mm
The thermal pad must not be soldered.
10 Revision history
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.