Content-Length: 295493 | pFad | http://github.com/adafruit/circuitpython/pull/10202

FF Fix analogbufio.BufferedIn pin validation on RP2350B by dhalbert · Pull Request #10202 · adafruit/circuitpython · GitHub
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

Fix analogbufio.BufferedIn pin validation on RP2350B #10202

Merged
merged 2 commits into from
Mar 31, 2025

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Mar 30, 2025

  • Fixes Adafruit Metro RP2350 analogbufio #10201.

  • Fix analogbufio.BufferedIn pin validation on RP2350B.

  • Usepico-sdk-supplied ADC_BASE_PIN instead of figuring out the base pin ourselves.

  • Disallow using board.A3 (GPIO29) on Pico W and Pico 2 W for analogbufio.BufferedIn, and document that. GPIO29 pin has a voltage divider attached to monitor VSYS, and is also shared with SPI SCK connected to the radio module. AnalogIn special-cases A3 to make it available, but that was complicated, and I think the use case for GPIO29 with analogbufio is limited.

@dhalbert dhalbert changed the base branch from main to 9.2.x March 30, 2025 18:56
@dhalbert dhalbert requested review from tannewt and eightycc March 30, 2025 21:41
eightycc
eightycc previously approved these changes Mar 30, 2025
Copy link
Collaborator

@eightycc eightycc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also affects Pimoroni Pico Plus 2W. Not sure whether that's important to mention. Overall all it looks good as is.

@dhalbert dhalbert force-pushed the analogbufio-pin-validation branch from 9c0fe60 to aa580ea Compare March 31, 2025 03:08
@dhalbert dhalbert requested a review from eightycc March 31, 2025 03:40
Copy link
Collaborator

@eightycc eightycc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Copy link

@jepler jepler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@dhalbert dhalbert merged commit 4cfef7c into adafruit:9.2.x Mar 31, 2025
388 checks passed
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

Successfully merging this pull request may close these issues.

Adafruit Metro RP2350 analogbufio
3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adafruit/circuitpython/pull/10202

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy