Obsolete Product(s) - Obsolete Product(s) Obsolete Product(s) - Obsolete Product(s)
7/20
LIS3L02DQ
5 Application Hints
Figure 4. LIS3L02DQ Electrical Connection
The device core is supplied through Vdd line (Vdd typ=3.3V) while the I/O pads are supplied through
Vdd_IO. Power supply decoupling capacitors (100 nF ceramic, 10 µF Al) should be placed as near as pos-
sible to 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 Fig 4).The functionality of the device and the mea-
sured acceleration data is selectable and accessible through the I
2
C/SPI interface.When using the I
2
C,
CS must be tied high while SDO must be left floating.
5.1 Soldering Information
The QFN-44 package is lead free and green package qualified for soldering heat resistance according to
JEDEC J-STD-020D. Land pattern and soldering recommendations are available upon request.
DIRECTION OF THE
DETECTABLE
ACCELERATIONS
LIS3L02DQ
Vdd_IO
CS
SCL/SPC
SDA/SDI/SDO
SDO
RDY/INT
10uF
Vdd
Digital signal from/to signal controller. Signal’s levels are defined by proper selection of Vdd_IO
100nF
GND
(TOP VIEW)
Y
1
X
Z
Obsolete Product(s) - Obsolete Product(s) Obsolete Product(s) - Obsolete Product(s)
LIS3L02DQ
8/20
6 Digital Interfaces
The registers embedded inside the LIS3L02DQ may be accessed through both the I
2
C and SPI serial in-
terfaces. The latter may be software configured to operate either in SPI mode or in 3-wire interface mode.
The serial interfaces are mapped onto the same pads. To select the I
2
C interface, CS line must be tied
high (i.e connected to Vdd).
Table 6. Serial Interface Pin Description
6.1 I
2
C Serial Interface
The LIS3L02DQ I
2
C is a bus slave. The I
2
C is implemented in the way that the data can be written into
the registers whose content can also be read back.
The relevant I
2
C terminology is given in the table below:
Table 7. Serial Interface Pin Description
There are two signals associated with the I
2
C 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 through a pull-up resistor embedded inside the LIS3L02DQ. When the bus
is free both lines are high.
The I
2
C interface is compliant with Fast Mode (400 kHz) I
2
C standards as well as the Normal Mode.
6.2 I
2
C Operation
The transaction on the bus is started through a START signal. A START condition is defined as a HIGH
to LOW transition on the data line while the SCL line is held HIGH. After this has been transmitted by the
Master, the bus is considered busy. The next byte of data transmitted after the start condition contains the
address of the slave in the first 7 bits and the eighth bit tells whether the Master is receiving data from the
slave or transmitting data to the slave. When an address is sent, each device in the system compares the
first seven bits after a start condition with its address. If they match, the device considers itself addressed
by the Master.The Slave ADdress (SAD) associated to the LIS3L02DQ is 0011101.
It’s mandatory to use “acknowledge” during data transfer. The transmitter must release the SDA line dur-
PIN Name PIN Description
CS SPI enable
I
2
C/SPI mode selection (1: I
2
C mode; 0: SPI enabled)
SCL/SPC
I
2
C Serial Clock (SCL)
SPI Serial Port Clock (SPC)
SDA/SDI/SDO
I
2
C Serial Data (SDA)
SPI Serial Data Input (SDI)
3-wire Interface Serial Data Output (SDO)
SDO SPI Serial Data Output (SDO)
Term Description
Transmitter The device which sends data to the bus
Receiver The device which receives data from the bus
Master The device which initiates a transfer, generates clock signals and terminates a transfer
Slave The device addressed by the master
Obsolete Product(s) - Obsolete Product(s) Obsolete Product(s) - Obsolete Product(s)
9/20
LIS3L02DQ
ing the acknowledge pulse. The receiver must then pull the data line LOW so that it remains stable low
during the HIGH period of the acknowledge clock pulse. A receiver which has been addressed is obliged
to generate an acknowledge after each byte of data has been received.
The I
2
C embedded inside the LIS3L02DQ behaves like a slave device and the following protocol must be
adhered to. After the start condition (ST) a slave address is sent, once a slave acknowledge has been
returned, a 8-bit sub-address will be transmitted: the 7 LSB represent the actual register address while the
MSB enables address autoincrement. If the MSB of the SUB field is 1, the SUB (register address) will be
automatically incremented to allow multiple data read/write.
If the LSB of the slave address is ‘1’ (read), a repeated START condition will have to be issued after the
two sub-address bytes; if the LSB is ‘0’ (write) the Master will transmit to the slave with direction un-
changed.
Transfer when Master is writing one byte to slave
Transfer when Master is writing multiple bytes to slave:
Transfer when Master is receiving (reading) one byte of data from slave:
Transfer when Master is receiving (reading) multiple bytes of data from slave
Data is transmitted in byte format. 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 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 read.
Master ST SAD + W SUB DATA SP
Slave SAK SAK SAK
Master ST SAD + W SUB DATA DATA SP
Slave SAK SAK SAK SAK
Master ST SAD + W SUB SR SAD + R NMAK SP
Slave SAK SAK SAK DATA
Master ST SAD + W SUB SR SAD + R MAK
Slave SAK SAK SAK DATA
Master SR MAK NMAK SP
Slav e DATA DATA

EK3L02DQ

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Acceleration Sensor Development Tools EVAL FOR LIS3L02DQ
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet