2026-04-17 5:20 AM - last edited on 2026-04-17 5:30 AM by Amel NASRI
Hello
I am trying to implement I²C slave on a STM32U385RGTxQ in non-blocking mode, on I2C2.
To match I²C standard I tried to use the Address macthed interruption but the interruption is never trigged. I used the function HAL_I2C_EnableListen_IT(&hi2c2) to enabled it;
My issue is, I don't reach neither the I2C2_EV_IRQHandler(void), the I2C2_ER_IRQHandler(void) or the HAL_I2C_AddrCallback() when sending the slave address.
Please found attached my project. And bellow some pictures of my I2C2 init, an oscilloscope capture and my I2C2 register when I am in debugger :
Best Regards
Thibaud HABRAND
Solved! Go to Solution.
2026-04-17 5:59 AM
I had an hardware issue on my SCL pin sorry about this useless post
2026-04-17 5:59 AM
I had an hardware issue on my SCL pin sorry about this useless post