Hello @foofera
hmm, the I2C communication working in setup() suggest the wiring is ok.
Are you using pull-up resistors on intSCL and intSDA?
Have you tried lowering the I2C bus speed?
Have you tried to put a delay between issuing I2C commands in your loop() code?
Have you tried to control a different I2C slave device from your STM32? Does that work in both setup() and loop()?
Thanks
Felix