Question
Why wrong sensor answer on SPI bus?
Hi to all.
I correctly set SPI bus as reported on LIS3DSH datasheet:
- Figure 3. SPI slave timing diagram (page 14)
- Figure 7. Read and write protocol (page 25)
Here waveforms:

As first operation I detect sensor reading WHO_AM_I register and getting 0 as output value.
I set wrong SPI bus settings (CLOCK idle value low) and it works.
Why?

Yellow = CS
Green = SDI (data to sensor)
Blue = SCK
Red = SDO (data from sensor)
