Hi champs,
According to TRM, we set TRANSFER_SIZE and then we will have TRANSFER_SIZE + 1 DMA transfers, right?
If we refer to Figure 10-4. DMA State Diagram, we can see TRANSFER_COUNT = TRANSFER_SIZE at the beginning of DMA event trigger, does this mean if we set TRANSFER_SIZE = 4, then we will have 5 DMA transfers and the TRANSFER_COUNT should be 4, 3, 2, 1 and 0 respectively? but in the State Diagram DMA won't do transfer when TRANSFER_COUNT = 0.
How can DMA conduct 5 transfers when TRANSFER_SIZE = 4 based on DMA State Diagram? Please advise your comments, thanks.
-Luke