DMA sync fix in Tx and Rx processing loops