cancel
Showing results for 
Search instead for 
Did you mean: 

Very minor STM32Cube MX bug: DMA2 FIFO Mode checkbox can't be unchecked

Giorgi Ivanishvili
Associate II
Posted on May 24, 2017 at 16:11

Hello, everyone!   

Few days ago accidentally found that DMA FIFO mode checkbox can't be unckecked.

However it should not be a problem to simply change ''DMA_FIFOMODE_ENABLE'' to ''DMA_FIFOMODE_DISABLE'' in code. I think this could be a minor bug.

I'm using latest CubeMX version 4.21.0

Screenshot here:

0690X000006075bQAA.png
2 REPLIES 2
Khouloud GARSI
Lead II
Posted on May 24, 2017 at 17:26

Hi

Ivanishvili.Giorgi

‌,

I will highlight this internallyfor further check.

Thanks for your contribution, all your feedback are welcome in order to improve our solutions.

Khouloud

Posted on August 18, 2017 at 15:06

Hello

Ivanishvili.Giorgi

,

It is normal that you cannot uncheck the Use Fifo checkbox in this case:

  • the DMA memory buffers are used in either Fifo mode or direct mode
  • but direct mode is not allowed for memory-to-memory transfers
  • and DMA2 is the only controller that can perform memory-to-memory transfers.

There is a pop-up when the cursor is placed on the Use Fifo checkbox that states: ''DMDIS bit (Direct mode disable) is forced to 1 by hardware for memory-to-memory transfers''.

0690X000006041vQAA.jpg

Best regards,

Angus