Skip to content

abort() hangs #1

@bapowell

Description

@bapowell

For me this always hangs:

while p[0]:

To fix, I replaced
while p[0]:
with
while self.busy():

This seems to agree with the comment at raspberrypi/pico-sdk#923:

...After aborting a channel, poll the CTRL.BUSY bit to wait for completion (not the ABORT bit), ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions