Skip to content

RP2 PIO: access to EXECCTRL_SIDE_PINDIR to use side-set for pin dirs #10027

Closed
@pdg137

Description

@pdg137

The RP2040 PIO has a feature called "side-set" that can set the levels or dirs of pins as part of any PIO instruction. However, it appears that only the levels are supported, and there's no way to use side-set to set pin directions. Here's the relevant quote from the datasheet:

image

It seems like this should be a configuration parameter to rp2.StateMachine().

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions