Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6834

General • RP2040 5v-safe question

$
0
0
Hi

I know Eben has said in the past that the RP2040 GPIOs can be driven by 5v inputs as long as the pin is not used as an output.

I have an odd requirement where a pin needs to be either pulled to gnd or left floating: there is an external 2k pullup resistor to 5v and a second sink that can independently pull the line to gnd. My thought is thus that I could set the output value to 0 and enable or disable the output mask depending on whether I need a logic low or logic high.

Given that I will never be outputting logic-high to the pin, does that pin require a voltage-shifter?

Thanks!

Geoff

Statistics: Posted by gwinkless — Sat Sep 27, 2025 1:19 pm — Replies 0 — Views 52



Viewing all articles
Browse latest Browse all 6834

Trending Articles