Skip to main content
Graduate II
June 9, 2025
Question

I2S/SPI interrupt fires only once, when restarted in IRQ routine (STM32H503)

  • June 9, 2025
  • 1 reply
  • 324 views

I have set up an I2S interface. The idea is to send it an initial HAL_I2S_Transmit_IT() request.
In the ISR of SPI2 I'm sending the next HAL_I2S_Transmit_IT() and this way the transmit should be continously kept running.

What happens is, that the SPI ISR is entered once. The HAL_I2S_Transmit_IT() issued within the ISR, doesn't fire the subsequent IR. Why?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    June 13, 2025

    Hello @chriskuku 

    The second call for HAL_I2S_Transmit_IT() should be in the HAL_I2S_TxCpltCallback().