Hi @ggowd.1 ,
The i2c protocol on the LIS2DTW12 is enabled by keeping the CS pin (pin2) high.
then, you need to send an i2c command with one of the two device address.
the device address is either 0x30 or 0x32 and can be selected by keeping the SA0 pin (pin3) high or low respectively.
Refer to chapter 6.1.1 of the datasheet for more informations about this.
The WHO_AM_I register reports 0x44.
For example, assuming you're using an STM32, the i2c1 interface and SA0 is low
#define SAD 0x30
uint8_t who_am_i;
HAL_I2C_Mem_Read(&hi2c1, SAD, 0x0f, 1, &who_am_i, 1, 0xff);
For more example and reference code you can look at the official repository:
GitHub - STMicroelectronics/lis2dtw12-pid: lis2dtw12 platform independent driver based on Standard C language and compliant with MISRA standard