Fix off-by-one error by pre-triggering DMA3 and restarting the loop at DMA2.