Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

SDK • RP2040, c++, dma chain, count how many times the chain was triggered ?

$
0
0
Hello,

I am using 2 dma chained together to write data from PIO to a ring buffer and i would like to know if there is way to know how many times the chain was triggered.

Basically, between 2 copies from the ring buffer to a buffer where i process the data, i would want to know if missed data because the ring buffer write address wrapped 2+ times.

Thanks

Statistics: Posted by eccegratum — Tue Dec 02, 2025 12:35 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles