Page 1 of 1

Pi pico pioasm in Micropython documentation

Posted: Fri Feb 12, 2021 1:17 pm
by pjcoleman52
Hi,
I have been trying to understand the state machine programming on the Pi pico. I understand the Micropython port is developed by this group. I have looked at the examples that are on the pico repository and the Micropython SDK document. It does have a lot of information but I am trying to use the input system and can't seem to find an example or documentation on how to use it and interface it to Micropython.

I hope to construct a simple logic-analyser with trigger patterns and use the DMA for the capture.

I have posted on the Pi pico forum and been told that the Micropython is the responsibility of this group ????

I am grateful for all ideas and help.

Thanks
Patrick

Re: Pi pico pioasm in Micropython documentation

Posted: Fri Feb 12, 2021 7:55 pm
by dhylands
There are some PIO examples over here:
https://github.com/micropython/micropyt ... amples/rp2

In particular, the uart_rx.py implements the Rx portion of a UART. This was just implemented and requires a recent version of micropython (after Feb 1)

The pinchange implements a pin change detector.