cancel
Showing results for 
Search instead for 
Did you mean: 

hal_i2c_addrcallback not invoked with STM32H7

KKane
Associate II

I'm working with STM32H743 and faced the problem that

"hal_i2c_addrcallback doesn't invoked", it was invoked in other STM32 series such as F4 but H7 series doesn't work. does anyone faced same problem ? and if you have any clue ?

2 REPLIES 2

Perhaps it isn't a software issue, have you scoped the signals and confirmed the slave responds to the bus?

Check pin/clock configurations.

Other than that you'll need to dig into the library and see how it differs from the one that works.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KKane
Associate II

Many thanks for your feedback. Actually "HAL_I2C_SlaveTxCpltCallback(I2C_HandleTypeDef *I2cHandle)" is surely working in H7 but only "hal_i2c_addrcall back" doesn't work...