Skip to main content
Giorgi Ivanishvili
Associate
May 24, 2017
Question

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

  • May 24, 2017
  • 2 replies
  • 752 views
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
    This topic has been closed for replies.

    2 replies

    Khouloud GARSI
    Technical Moderator
    May 24, 2017
    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

    Angus Cunningham-Burley_O
    Visitor II
    August 18, 2017
    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