Identity Crisis
SPI Sensor ID Reads Wrong Debug
Symptom
The bring-up log reads WHOAMI:0xD0. U2's datasheet gives its ID as 0x68. The registers and bit fields are on the Datasheet tab.
Circuit
Pass condition
USART1 prints WHOAMI:0x and the ID in U2's register 0x75, as two upper-case hex digits, from one read in one CS frame.
Notes
The bench's U2 answers on SPI1 from power-up. The firmware asks U2 for its ID once, at boot.