Skip to content

S3 Pin IRQ #8488

@stephanelsmith

Description

@stephanelsmith

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy