cancel
Showing results for 
Search instead for 
Did you mean: 

lis2dw12 is not sending device id

basavanagouda
Associate II

Hi All,

I'm facing some strange issue with LIS2DW12 sensor. I tried to read device ID from the sensor, most of the time its sends the device ID but some time it sends 0xFF.

I'm not able to figure it out why sensor sending 0xFF. I checked the clock,CS, and reg value, everything is fine. To make it work, i need to reset the controller.

Please let me know how to solve this issue.

Thanks in advance,

Basavanagouda.

1 REPLY 1
Miroslav BATEK
ST Employee

Can you connect a logic analyzer or oscilloscope to SPI bus and share the waveforms?

I think it is an issue in your microcontroler or wrong SPI settings (timing).