I am using an STM32L476 to run an MMC5983MA magnetometer and a LIS2HH12 accelerometer, using I2C. The devices are initialised using the STM cube generated code, then the registers are set, and then checked. When I check the accelerometer registers, ...