English
Language : 

LSM330DL Datasheet, PDF (23/54 Pages) STMicroelectronics – Linear sensor module 3D accelerometer sensor and 3D gyroscope sensor
LSM330DL
Digital interfaces
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.
Default address
The SDO/SA0 pad can be used to modify the least significant bit of the device address. If
the SA0 pad is connected to a voltage supply, LSb is ‘1’ (ex. address 0011001b), else if the
SA0 pad is connected to ground, the LSb value is ‘0’ (ex address 0011000b).
The slave address is completed with a Read/Write bit. If the bit was ‘1’ (Read), a repeated
START (SR) condition will have to be issued after the two sub-address bytes. If the bit is ‘0’
(Write), the Master will transmit to the slave with the direction unchanged. Table 16 and
Table 17 explain how the SAD+Read/Write bit pattern is composed, listing all the possible
configurations.
Linear acceleration address: the default (factory) 7-bit slave address is
001100xb
Table 16. Linear acceleration SAD+Read/Write patterns
Command
SAD[6:1]
SAD[0] = SA0
R/W
Read
001100
0
1
Write
001100
0
0
Read
001100
1
1
Write
001100
1
0
SAD+R/W
00110001 (31h)
00110000 (30h)
00110011 (33h)
00110010 (32h)
Angular rate sensor: the default (factory) 7-bit slave address is 110100xb
Table 17. Angular rate SAD+Read/Write patterns
Command
SAD[6:1]
SAD[0] = SA0
Read
110100
0
Write
110100
0
Read
110100
1
Write
110100
1
R/W
SAD+R/W
1
11010001 (D1h)
0
11010000 (D0h)
1
11010011 (D3h)
0
11010010 (D2h)
Doc ID 022018 Rev 1
23/54