Skip to content

Renesas-RA: Pin-IRQ does not behave as expected. #15272

@robert-hh

Description

@robert-hh

Port, board and/or hardware

Rensas-RA, Board RA6M2

MicroPython version

MicroPython v1.24.0-preview.36.gdc9e733ad on 2024-06-12; EK-RA6M2 with RA6M2

Reproduction

from machine import Pin, idle

p5=Pin("P005", Pin.IN)
p6=Pin("P006", Pin.OUT, value=0)

def cb(pin):
    global p6
    p6(1)
    p6(0)
    
p5.irq(handler=cb, trigger=Pin.IRQ_FALLING)

while True:
    idle()

Expected behaviour

Response pulse at Pin P006.

Observed behaviour

No pulse. If I call the callback directly, I get a pulse.

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions