STM32U585 I2C SCL remains low and I2C hangs
Hi,
I have two STM32L0 (slave) and STM32U585 (master) MCUs. I have no issue when Slave transmits data to Master. But, if Master transmits signal to Slave, it sends all the 9 clock pulses with address bits, but then the SCL remains low while SDA returns high.
I see my code hangs at this point and never continues, until I restart the MCU:
*/* Write data to TXDR */
hi2c->Instance->TXDR = *hi2c->pBuffPtr;*
This is located in HAL_I2C_Master_Transmit() function.
It seems to be a common issue with either STM32 or HAL libraries. Wondering if anyone could find a fix for that.
