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

Add SMPS mode pin to Raspi Pico pins.c #4137

Merged
merged 1 commit into from
Feb 5, 2021
Merged

Add SMPS mode pin to Raspi Pico pins.c #4137

merged 1 commit into from
Feb 5, 2021

Conversation

ferret-guy
Copy link

@ferret-guy ferret-guy commented Feb 5, 2021

Add SMPS mode pin to Raspi Pico pins.c; see section 4.3. Using the ADC of the Pico datasheet for discussion.

Driving this pin high forces the onboard regulator into a lower noise (higher quiescent current) PWM mode.

Note: I haven't actually built with this change, but the pin defs seem to exist, should be pretty low risk.

Add SMPS mode pin to Raspi Pico pins.c; see section "4.3. Using the ADC" of the Pico datasheet for discussion. 

Driving this pin high forces the onboard regulator into a lower noise PWM mode.
@tannewt tannewt self-requested a review February 5, 2021 20:08
@tannewt tannewt added enhancement rp2 Raspberry Pi RP2 Micros labels Feb 5, 2021
@tannewt tannewt added this to the 6.2.0 milestone Feb 5, 2021
Copy link
Member

@tannewt tannewt 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! Note you can (almost) always access chip level pin names from the microcontroller.pin module. Totally fine to have this in the board as well. Thanks!

@tannewt tannewt merged commit c6a7b00 into adafruit:main Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement rp2 Raspberry Pi RP2 Micros
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants