pico-coder / sigrok-pico

Use a raspberry pi pico (rp2040) as a logic analyzer and oscilloscope with sigrok
778 stars 87 forks source link

For info - another sigrok/pico project with merge still open #8

Closed tony1tf closed 2 years ago

tony1tf commented 2 years ago

Hi @pico-coder

I found another one - might be useful if you needed to exchange any ideas.

https://github.com/markb139/pico_logic

pico-coder commented 2 years ago

Dang, wish I'd found that before I started coding. Having a real USB implementation might have come in handy.

At this point (now that the serial bugs are worked out) I'm not sure there is a large motivation to going with USB TMC (test and measurement class) rather than what I have. While the serial CDC might add an additional layer, I directly call the tud function call from the rp2040 code to send sample data. Thus I bypass all the serial overhead in the performance critical part of the design. The host still sees some overhead, but normally the host is much faster, and from what I've experience it seems like the sigrok driver overhead is much larger than the serial processing overhead.

I did file an issue to get a bit of discussion going https://github.com/markb139/pico_logic/issues/9

pico-coder commented 2 years ago

So far no response from the pulseview moderators as to what version or when any of the repos might be accepted, but closing this out as there is nothing further to be done.