Closed IndustrialMuffin closed 3 years ago
That forum thread you linked to says "MicroPython doesn't provide an API for this (yet)."
AFAIK the examples in this repo only illustrate using MicroPython APIs; so without MicroPython API support for joining PIO FIFOs, there won't be any pico-micropython-examples showing how to join PIO FIFOs.
Seems like a fairly valid point lurch. Now it looks like fifo_join support has recently been added to MicroPython. Gotta figure out how to use it and test it out. fifo_join support added here
If you do figure it out, Pull Requests are always welcome :slightly_smiling_face:
@kevindawson Yes, that's related to @IndustrialMuffin 's "it looks like fifo_join support has recently been added to MicroPython" comment.
My "Pull Requests are always welcome" comment was WRT to adding an example of using FIFO joining to this pico-micropython-examples
repo. Unfortunately all the RPi engineers are too busy with other stuff to have time to add new example code.
@lurch from MicroPython GitHub
example: pio_uart_rx.py
I'm not sure if there's value in duplicating example-code between multiple repos? :shrug: (it can often lead to the situation where fixes made in one version don't appear in the other version)
Sounds like a decision for @aallan to make :smiley:
@lurch with all my reading around - example I had seen ;) Please do not duplicate I think it would be better just to have links
I think it would be better just to have links
Good idea, see #34 :slightly_smiling_face:
@lurch Cool ;) @IndustrialMuffin if your a happy bunny now, please close.
While going through the RP2040 Datasheet https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf Chapter 3 PIO, section 3.5 Functional Details, then looking for documentation and examples of FIFO joining in micropython, the only thing I've found is https://forum.micropython.org/viewtopic.php?t=9814&p=54996
It'd be convenient to have an example of FIFO joining here with all these other wonderful examples.