Hello QQW,
1.Firstly, please refer the following BMA456 I2C schematic to check bma456 device address. If SDO pin was connected to high level, device address should be 0x19. Otherwise, device address should be 0x18;
2.In writing config file function bma4_write_config_file(), it has a SW procedure in code. After you run the code, you could capture I2C waveform by logic analyzer and check if the I2C waveform match with your SW procudure.
... View more