I2C interrupt not triggered
I'm running out of ideas, there is no interrupt triggered when sending data over I2C.
Processor: STM32L451
Middleware: FreeRTOS
I2C interrupts are enabled in STMCubeMx, also pins are configured for I2C.
Sending data with HAL_I2C_Master_Transmit_IT():
CR1: PE, TXIE, NACKIE, STOPIE, TCIE, ERRIE are enabled
ISR: BUSY, TXIS, TXE are set
Handlers for all I2C interfaces (event and error) are placed in the interrupt vector table in startup_stm32l451vetx.s
Directly in these handlers i put a breakpoint and additionally turned on a debug LED, but neither the breakpoint is reached nor the LED is turned on.
I tried it with all 4 I2C interfaces, none triggers an interrupt.
On the I2C line, i can see the first byte is sent and acknowledged by the receiver; the ACK also disappears after one clock, so the I2C interface obviously has received the ACK.
Tried it with another board as well, to no success.
Sending data with HAL_I2C_Master_Transmit() (not interrupt driven) works fine.
Then i enabled the debug LED in the timer interrupt, this is working, so interrupts are not generally disabled.
Has someone an idea what else i could check?
