I am reading a sensor's ID register over SPI. The datasheet says it should return 0x58, but I get 0x2C or 0xB0 depending on the settings I try, which looks like the right value shifted by one bit. Wiring has been checked twice.
How do I determine the SPI mode from a datasheet that only shows a timing diagram, and what else causes a one-bit shift like this?




