Hi Roshan1512,
The SPI and I2C pins of BMA400 are multiplexed. As shown in the schematic in the data sheet, the SDA of I2C should be connected to the SDI pin of BMA400. In I2C mode, the CS pin of BMA400 should be connected to VDDIO.
If you don't know how to operate BMA400 registers, we recommend using BMA400's sensor API&example directly, as it has encapsulated the process of accessing registers into an API, and you only need to call the API to access BMA400 registers.
... View more