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

General • Re: RP2040: Substantial PIO jitter in I2S clock

$
0
0
The only time I have seen jitter in my PIO programs was when I used a fractional divider for the state machine. I guess I have also seen delays introduced when the PIO code was waiting for data in the Tx FIFO or an empty slot in the Rx FIFO but that doesn't sound like what you are seeing.

To help narrow down the issue, you could try a couple of things (it you haven't already tried them):
  • If you always have the I2S hardware connected to the pins, try disconnecting it or using a different set of unused pins to make sure that it isn't somehow driving that signal sometimes.
  • Write a simpler PIO program that is just 2 NOPs with side setting of a pin high and low to see if it suffers from the same problem.

Statistics: Posted by adam_green — Fri Aug 30, 2024 11:44 pm



Viewing all articles
Browse latest Browse all 5381

Trending Articles