Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regarding channel numbering. #34

Closed
hanetzer opened this issue Mar 3, 2023 · 4 comments
Closed

regarding channel numbering. #34

hanetzer opened this issue Mar 3, 2023 · 4 comments

Comments

@hanetzer
Copy link

hanetzer commented Mar 3, 2023

You mention 21 channels, D2-D22, and as being the markings on the pcb.
However, my picos and the upstream documentation have the gpio pins
numbered as GPn, not Dn. I assume thats a 1:1 match?

@pico-coder
Copy link
Owner

pico-coder commented Mar 6, 2023

The numbering is per the PICO board signal names, not the RP2040 pin names (though I haven't looked at the RP2040 pin names and maybe they match too...)
https://datasheets.raspberrypi.com/pico/Pico-R3-A4-Pinout.pdf
Thus D2-D22 are GP2 to GP22, and A0-A3 are ADC0-ADC3.
I do need to clarify that in the AnalyzerDetails.md. Also, I'm in the process of supporting more descriptive channel names.

@hanetzer
Copy link
Author

hanetzer commented Mar 7, 2023

Nice, that's what I figured but always good to verify. Unfortunately the pico can't work fast enough
as a logic analyzer for my purposes, but I'm gonna try to adapt the clocked_input example from
pico-examples to sample the lpc clock at 33.3Mhz, do some light parsing to filter out empty cycles,
and forward them over usb (lpc is 33.3Mhz and about a byte of data each cycle, which is too fast
for the 12Mbps the pico's usb is capable of)

@pico-coder
Copy link
Owner

This implementation supports run length encoding (RLE) over the wire so that duplicate samples are not sent. So there is a chance it might work, though at 33Msps the Pico cpu may not be able to process it fast enough.

@pico-coder
Copy link
Owner

Mostly this issue was about pin naming and assignments which is cleared up documentation.
sigrokproject/libsigrok#256 is inflight to support better channel rename support, but that is covered in other issues so closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants