2024-01-25 08:04 AM
Salve,
il problema che riscontro con il seguente codice è quello di vedere in debug il caricamento dell'array tx da 4 a 7.
Anche provando a debuggare line by line vedo che il codice entra solo nella funzione HAL_I2SEx_TxRxCpltCallback
senza mai richiamare la (half) .
Le due funzioni citate sopra dovrebbero attivare in modalità interrupt
HAL_I2SEx_TransmitReceive_DMA (&hi2s2, txBuf, rxBuf, 4)
2024-01-26 02:41 AM - edited 2024-01-26 04:26 AM
Hello @CiStoProvando and welcome to the Community :),
Thanks to develop your posts in English so it helps us, and the users of our community understand your question and try to help you.
Nucleo-H745ZI-Q connected to pmod I2S2
Greetings,
the problem I encounter with the following code is to see the loading of the tx array from 4 to 7 in debug. Even trying to debug line by line I see that the code only enters the HAL_I2SEx_TxRxCpltCallback function without ever recalling the (half) .
The two functions mentioned above should activate in interrupt mode HAL_I2SEx_TransmitReceive_DMA (&hi2s2, txBuf, rxBuf, 4).
Could you please check the interrupt priorities?
I recommend you the following examples which use I2S in DMA mode:
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.