Re:Raspberry Pico-based 100-Msps logic analyzer
by rcxdude on Monday July 04, 2022 @06:31PM
(#31982405)
They don't require it. When I used it, everything was just written in assembly (you get a few more instructions but you're still basically doing bitbanging with cycle counting, so using C is a bit awkward anyway). The PIOs are a pretty neat trimmed down version of the idea though, clearly someone put a fair amount of effort into making them as flexible as they are for how minimalist they are.
[ Parent
| on HN ]
Re:Raspberry Pico-based 100-Msps logic analyzer
by jrockway on Monday July 04, 2022 @06:57PM
(#31982560)
I think C is a trap, honestly. I have used the PRUs before and wrote my code in C. 99% of the time, I was just reading the assembly outputs trying to figure out how many instructions some C statement actually compiles to. Should have just written raw assembly for the timing-sensitive parts.