Skip to content
Discussion options

You must be logged in to vote

@jimmo Thank you for the pointer to the cyw43 driver - It does indeed look as if both a sizeable PIO program and two DMA channels are used, and that the driver uses the pio_claim_unused_sm and dma_claim_unused_channel to allocate its resources. Looking at rp2_pio.c in the MicroPython code, however, I could not figure out whether it would make sure that the Python code attempts to use a state machine that is already in use by the WiFi stack (the i2s driver seems to use pio_claim_unused_sm though).

I'm currently working on a project where I use both PIO blocks and interestingly, things mostly work - I had problems when trying to use state machine 0, and that is probably caused by its use in…

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hanshuebner
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@hanshuebner
Comment options

@hanshuebner
Comment options

@rkompass
Comment options

@hanshuebner
Comment options

@andrewleech
Comment options

andrewleech Aug 1, 2023
Collaborator Sponsor

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants