2024-07-14 01:35 AM - last edited on 2024-07-14 08:15 AM by STOne-32
In `HAL_I2C_MspInit()`, `I2C4_ER_IRQn` and `I2C4_EV_IRQn` are switched.
In CubeMX, ticking an Event interrupt for I2C4 generates an Error interrupt, and vice versa.
The same behavior was observed in STM32CubeIDE 1.11.0.
2024-07-14 08:14 AM
Dear @doron-k ,
Thank you for joining our STCommunity. Many thanks for spotting this issue , for tracking purposes please have this #186522 number. It seems similar to this one on august 2023 - STM32CubeIde generates incorrect code for I2C4 · Issue #5 · STMicroelectronics/STM32CubeH5 · GitHub.
Thank you again.
Cheers,
STOne-32.