Pi pico pioasm in Micropython documentation

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
pjcoleman52
Posts: 1
Joined: Wed Feb 10, 2021 5:47 pm

Pi pico pioasm in Micropython documentation

Post by pjcoleman52 » Fri Feb 12, 2021 1:17 pm

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

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Pi pico pioasm in Micropython documentation

Post by dhylands » Fri Feb 12, 2021 7:55 pm

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.

Post Reply