Open jernejp21 opened 2 years ago
From the manual:
PE must be kept low during at least three APB clock cycles in order to perform the software reset. This is ensured by writing the following software sequence:
- Write PE = 0
- Check PE = 0
- Write PE = 1
STM32MP157 doesn't have SWRST bit in I2C_CR1 register. Instead, you have to use PE bit to reset I2C.