Having problem to understand DMA
I am trying to learn DMA properly by reading from STM32F407 reference manual . But I am confused at some points. First is about FIFO mode:
- Lets say I am receiving data from UART over DMA and I am using DMA FIFO mode with threshold 1/2(that is 8 byte). And destination and source size is 1 byte. What should I do to get data from FIFO when my number of data to receive is less than 8. For example how to get that datas from the FIFO when I received 5 bytes in my FIFO and not expecting more. Due to threshold level(8byte) is it keeps that datas or it will send them with looking to number of data register is equal 0.
-Second thing where I confused is statements in the below:,

When these two cases occurs? For example higher priority DMA request comes while lower on operation creates one?
And how can I understand one of them occurred?
and last: Am I missing something or these two cases are same, one says suspend and other says disables but what they caused and the solution looked same to me.
What the f*ck kind of suspension is that I should intervene to make it work again. It's f**king disabling, and ****** me off. This document making me crazy sometimes.
