i2c1 block with DMA is not working (STM32h743) - when the first transaction is sent from master board to slave board - > the i2c1_event interrupt is triggered and it is stuck in an endless loop.
i've created 2 threads - i2c_tx_dma and i2c_rx_dma which use the HAL_I2C_Master_Transmit_DMA and HAL_I2C_Slave_Receive_DMA.
I am working with 2 boards of the STM32h74 family:
first board-> configured RX DMA on i2c1 block as a slave and activate HAL_I2C_Slave_Receive_DMA
second board-> configured TX DMA on i2c1 block as master and activate HAL_I2C_Master_Transmit_DMA.
the i2c1_event interrupt is triggered on the slave board and it is stuck in an endless loop.
# my DMA stream handler interrupt is not triggered at all
# my call back function is not triggered as well
# my i2c1_tx_buffer and i2c1_rx_buffer buffers are not fill up at all and remain empty
the attached picture with:
1) i2c1_rx_buffer and i2c1_tx_buffer declarations:
2) flash ld file code with the buffers sections
3) MX_DMA_Init()
4) HAL_I2C_MspInit() of I2C1:

5) i2c interrupts:
6) start of my main::
7) i2c call back functions:
I would love to get some guidance and understanding of what I am doing wrong