BMA400 Sensor API + SPI nrf9160 Problem
While using the BMA400 Sensor library I want to communicate with BMA400 on the board using the SPI interface.
I managed to connect to BMA400 SPI correctly using my SPI definitions, but I cannot make it work with Sensor library.
Are there any examples or suggestions to make this work on any other Nordic platform using the SPI interface?
Re: BMA400 Sensor API + SPI nrf9160 Problem
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?