Hi,
Reference manual SPNU515C is unclear about the functionality of DMA AIM. In section 16.2.8 it writes:
When Auto-initiation Mode (AIM) bit of Channel Control Register (Section 16.3.2.4) is enabled for a channel and the channel is triggered by a software request for a block transfer, the channel will restart again using the same channel information stored at the respective control packet after one block transfer is completed. In the case of Hardware Request, the channel needs to be retriggered each time after a block is complete even if auto-initiation is enabled.
However, in section 16.3.1.4 it writes:
The corresponding hardware enable bit is cleared automatically for the following conditions:
• At the end of a block transfer if the auto-initiation bit AIM (see CHCTRL) is not active.
• If an AHB bus error is detected for an active channel.
It seems like the second section is saying that AIM=1 will prevent the hardware enable bit from being cleared, but the first section is saying that AIM=1 will NOT prevent the hardware enable bit from being cleared. Which section is correct?