mhc icon indicating copy to clipboard operation
mhc copied to clipboard

DMA Settings corrupt after on/off cycle.

Open youpko opened this issue 3 years ago • 0 comments

I was configuring my project but changed a couple of DMA settings on and off. But after that the SPI/UART driver DMA options don't work properly anymore. Turning DMA on and off again corrupt the state of the DMA configuration.

I tried to clear the DMA state by disabling all the SPI/UART DMA options, but the channels don't get freed in the DMA Settings window and leave me with 4 out of 8 channels unusable.

The following image shows that 4 channels are not configurable anymore, while there is not a single module configured to use DMA. e97a4a7164

After this the SPI/UART driver DMA options also get confused. If i turn the DMA on for multiple driver instances they all try to take DMA0 for both rx/tx, And the module doens't allow me to manually change the DMA channel see the following image: da855f6cf8

youpko avatar Aug 08 '21 09:08 youpko