Hello Fleshdeck,
During sensor initialization, loading the configuration file should not be repeated. If you need to reinitialize the sensor after your main controller is reset, you need to reset the sensor first and then reinitialize it.
/* BMA4xy softreset */ rslt = bma4_set_command_register(0xB6, dev);
delay...
start reinitializ...
... View more