Skip to content

Commit 8b74037

Browse files
committed
add warnings to keypad and rp2pio as well
1 parent 2a69075 commit 8b74037

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ports/raspberrypi/bindings/rp2pio/__init__.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
//| introduction and guide to working with PIO in CircuitPython, see `this
1818
//| Learn guide <https://learn.adafruit.com/intro-to-rp2040-pio-with-circuitpython>`_.
1919
//|
20+
//| .. warning:: Using PIO inputs on Raspberry Pi RP2350 A2 stepping has some limitations
21+
//| due to a GPIO hardware issue that causes excessive leakage current (~120uA).
22+
//| A pin can read as high even when driven or pulled low, if the input signal is high
23+
//| impedance or if an attached pull-down resistor is too weak (has too high a value).
24+
//| See the warning in `digitalio` for more information.
2025
//| """
2126
//|
2227

shared-bindings/keypad/__init__.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ const mp_obj_property_t keypad_generic_events_obj = {
7070
//| For more information about working with the `keypad` module in CircuitPython,
7171
//| see `this Learn guide <https://learn.adafruit.com/key-pad-matrix-scanning-in-circuitpython>`_.
7272
//|
73+
//| .. warning:: Using pull-downs with `keypad` on Raspberry Pi RP2350 A2 stepping has some limitations
74+
//| due to a GPIO hardware issue that causes excessive leakage current (~120uA).
75+
//| A pin can read as high even when driven or pulled low, if the input signal is high
76+
//| impedance or if an attached pull-down resistor is too weak (has too high a value).
77+
//| See the warning in `digitalio` for more information.
78+
//|
7379
//| .. jinja
7480
//| """
7581

0 commit comments

Comments
 (0)