Problem with STM32U5G9 SPI DMA transfers
Dear All,
I am interfacing my STM32U5G9 device with VS1011 audio decoder, over SPI using DMA.
My setup mostly works, I can configure the decoder send and receive data from the chip.
But over a long period of time (hours of having the device running) I am no longer able to send data and I see that my SPI peripheral is effectively in a stuck state. The registers of the SPI and the DMA in that state are shown below and they are not changing over a reasonable amount of time:
SPI1 peripheral configuration:

and the SPI registers when the peripheral is stuck:

DMA configuration:

and the DMA registers when the device is stuck:

From what I gather from the manual, at this stage the peripheral has 2 packets that it's supposed to send (DMA CBR1 register) and there is nothing happening based on the CSR register, is this correct?
Is there a specific issue revealed by the values of the registers?
Is there something that can be done configuration wise to avoid this issue?
Is there anything that can be done at run time that if this situation is encountered to "reset" the peripheral and continue normal operation?
Thank you very much in advance.
