cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupts I2C

JGóme.1
Associate II

Good afternoon everyone!

I hope you are well. I happen to be new to handling STM32 and I want to generate an interrupt with I2C, CAN ANYONE HELP ME WITH THAT?

I just need to know what functions I need and how I generate the interrupt routine.

I have a STM32F401RE board Thank you!

1 REPLY 1
Imen.D
ST Employee

Hello @Julian Gómez​ and welcome to the Community :)

I recommend you the I2C example within STM32CubeF4 MCU package:

\STM32Cube_FW_F4_V1.26.2\Projects\STM32F401-Discovery\Examples\I2C\

This will help you to handle I2C data buffer transmission/reception between two boards, using an interrupt.

Hope my answer helped you!

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen