I am attempting to communicate with a LIS3MDL through the SPI interface, yet I am unable to get a single, valid response back. Moreover, the responses I am getting violate the setup and hold times on the SPI interface.
You can see from the following image that I am attempting to read from the LIS3MDL's WHO_AM_I register (address: 0x0F; expected: 0x3D), but I am getting garbage out. Moreover, the output from the LIS3MDL is transitioning at the rising and negative edges of SCLK!
I have the LIS3MDL breakout board (STEVAL-MKI137V1) so I expect the hardware should be solderd properly.
Any other suggestions or anyone having a similar issue?