Pin 2(CS) and 3(SDO/SA0) how to connect this two pin with micro controller in i2c configuration.
According to the datasheet of LIS2DE12, if you want to use I2C, then CS (pin 2) needs to be connected to logic high (Vdd).
SA0 (pin 3) determines the I2C slave address of the device (important mainly if you plan to use more devices with possibly conflicting address). Anyway, connect it to logic 0 (GND) / logic 1 (Vdd).
Retrieving data ...