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

General • Re: RPi Pico PWM Switch time

$
0
0
Bitbang just means using the GPIO to produce the pulses (coded in software, as opposed to using a peripheral). Since generally you're never signalling faster than 1200Hz == 833 us per output cycle, on a Pico there is plenty of time to run a loop to control GPIO directly. To reduce jitter, you can move the critical function to the second core and run it in SRAM.
Thanks for the suggestion! I implemented this, and it works like a charm! Especially accessing that second core came in handy to reduce basically all jitter.

Statistics: Posted by bzzt_ — Thu Sep 26, 2024 9:44 pm



Viewing all articles
Browse latest Browse all 5055

Trending Articles