README: add notes on DMA1

This commit is contained in:
Zack Buhman 2023-08-24 19:35:47 +00:00
parent 23c0dfa9da
commit 61ca304384

View File

@ -162,6 +162,22 @@ the increment added an offset of RA0/WA0 after each bus transfer:
Note that the DMA transfer length is always decremented by 1 after 4 bytes are Note that the DMA transfer length is always decremented by 1 after 4 bytes are
transferred, regardless of the size of the bus transfer. transferred, regardless of the size of the bus transfer.
Note that selecting DMA1 on a 4-byte bus does not generate misaligned
writes; instead, the following happens:
.. code:: c
uint32_t src[] = { 1, 2, 3, 4, ... };
extern uint32_t dst[];
dst[0] = src[0];
dst[0] = src[1];
dst[1] = src[2];
dst[1] = src[3];
...
// dst = { 1, 1, 3, 3, ... };
The SCU manual (ST-97-R5-072694) contains this contradictory text: The SCU manual (ST-97-R5-072694) contains this contradictory text:
Only add numbers 0 and 1 are valid for the A-Bus and the write unit is Only add numbers 0 and 1 are valid for the A-Bus and the write unit is