SPI communications with an Yost Labs IMU
You almost certainly shouldn't raise CSN after each byte, only after the entire packet.
Although the data sheet is not explicit the chip select is usually used to frame an entire command. As it is at the moment it keeps starting a new transaction.
I like the comment in the data sheet that &quot;...the 3-Space Sensor will not work properly in outer space or on planets with no magnetic field&quot;.