Actually in my understanding, no need to use another pin for interrupt resource, can STM's SCL pin be used as an interrupt pin? if yes, you may set SCL as interrupt pin by default, and in the ISR, change this pin as I2C SCL function for the further communication. The driving capability can be referred from the data sheet as below:

Hope that helps,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------