DMA doesn't work correctly with specified ring size #10725
Unanswered
HarleyYan
asked this question in
RP2040 / Pico
Replies: 1 comment 4 replies
-
Since your data size is 32bit (4 bytes), the source and destination addresses must be aligned to a 4 byte boundary, the lower two bits of the address must be 0. Are you sure that you want to do 32bit transfers? Maybe set data size to 0, to make single byte transfers. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I want to use DMA to transfer same data repeatedly, and I found ring size can achieve this.
so, I test it with following steps:
the upython codes as below, but I didn't get the right results I expected, and i get different results every time I run it.
where is wrong in my code?
anyone can help? thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions