Resolved! HAL_I2C_Mem_Read disables interrupts
I have set up a STM32F103 as a I2C master. I have found that calling the function HAL_I2C_Mem_Read sometimes disables all interrupts for more than 140us. Needless to say this causes significant problems with the timing of other external interrupts. T...