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

General • Re: adc_read() spurious longer execution (PICO)

$
0
0
That printf() is probably not in SRAM, and it's gonna nuke the instruction cache too. Any call inside the function to non-SRAM code might miss on the I-cache forcing NOR fetch and introduce jitter. Might as well go for 4.9.2.2. Free-running Sampling, there is a pacing timer to minimize jitter. There is also a FIFO and DMA if your code is heavily loaded.

Statistics: Posted by katak255 — Fri May 03, 2024 1:42 am



Viewing all articles
Browse latest Browse all 3552

Trending Articles