Knowledge Base Article

Unaligned Transfers of Small Payloads Fail on SG-DMA

Description

The Scatter Gather DMA SOPC Builder peripheral does not correctly handle unaligned transfers with small payloads. A payload length smaller than the data width causes erroneous data transfers.

Resolution

Avoid using DMA devices to transfer small payloads.

If absolutely necessary, for a 32-bit SG-DMA, a minimum length of 4 bytes guarantees that data is transferred correctly.

Updated 26 days ago
Version 3.0
No CommentsBe the first to comment