I2C master jams, unable to clear STOPF flag - probable hardware bug
After receiving by master the last byte a new transmit is started (CR2.START set) from within the last ISR.RXNE ISR handler call with CR2.AUTOEND set.
As a result, ISR.STOPF flag gets set and it does not get cleared setting ICF.STOPCF. Peripheral jams and only reset helps (CR1.PE off/on). Surprisingly, ICF.STOPCF flag gets set even when this event is disabled (CR1.STOPIE not set). I am not certain it is a bug or undocumented limitation.
Tested with STM32L432