The SPI communication in the BMA400 requires a dummy byte, which means that the first byte read from the BMA400 via the SPI is a dummy byte and should be ignored, while the bytes that follow are real data. You can find relevant information in the BMA400 Datasheet.
Could you please provide more information, such as API version (BMA400), hardware connection, sample code/steps for calling the sensor library, etc., so that we can perform further analysis?
... View more