cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f401 Discovery I2C + External Interrupt

hgarcia101685
Associate
Posted on November 24, 2015 at 17:24

Hi, 

I am working on a project where I am communicating with a capacitive touch sensor via I2C.  I have successfully achieved read/write over I2C , and now I would like to use the external device's interrupt line to trigger the reads/writes from the discovery board.  I have discovered that I can get interrupts to work in a separate project, and I can get I2C working in a separate project.  However, when I bring the two together, my I2C works only(external interrupts no longer work).  Any ideas as to what might be happening??  I am also open to suggestions in using an third party library or start from a different example project if that's what you recommend.

I am using:

1)STM32401 Discovery

2)STM32Cube_FW_F4_V1.4.0 code base

3)I2C example: examples/I2c/I2C_TwoBoards_ComIT

4)External Interrupts example: examples/GPIO/GPIO_EXTI

#discovery #stm32f4 #i2c #hal #exti
0 REPLIES 0