-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
Another odd S3 related issue. In S2 (and previous versions), I have no problem with pin irqs. In S3, the IRQ handler seems to not be called.
- I've tried a variety of the RTC pins (GPIO0 - GPIO21)
- Tried different pull options
- I am able to read the correct logic level using pin.value()
- I have a variety of different boards I've tested (and pins) and seeming consistency in S3 specific issue.
from machine import Pin
p = Pin(5, Pin.IN, pull=Pin.PULL_DOWN)
p.irq(lambda pin:print(pin))
I have no problem on ESP32-S2 as tested on:
- UM FeatherS2
- UM TinyS2
On S3, seeing the issues on:
- ESP official S3 dev kit
- UM ProS3
- My custom S3 board
My gut feel would be this would be related to pin definition for RTC pins in machine_pin.c. I don't see anything popping out at me, though eyes aren't properly calibrated here.
Metadata
Metadata
Assignees
Labels
No labels