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.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.
Statistics: Posted by bzzt_ — Thu Sep 26, 2024 9:44 pm