~/talk

MicroPython on the RP2040

Talkat Swiss Python Summit 2022 · on Thursday, 2022-09-22· [embedded-and-hardware, python]
links:none on file
slides:none on file

MicroPython runs on the RP2040 and exposes PIO state machines (two blocks of four SMs) for deterministic I/O with single‑cycle instructions; an example implements a NOT gate with about 40 ns input‑to‑output delay. The board has dual cores and MicroPython can launch work on the second core via _thread, useful to isolate an async loop. DMA lacks high‑level bindings, but registers are usable through uctypes memory‑mapped DMA access. A software DAC built with PIO+SPI produces a working staircase output, though slower than an LTC2644.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Micropython overview
  3. 3:30RP2040 hardware
  4. 5:17Peripherals and development
  5. 7:37Micropython hardware control
  6. 11:07Clock management
  7. 12:40Dual-core processing
  8. 16:51Programmable IO
  9. 21:17PIO implementation examples
  10. 25:38Low-level register access
  11. 28:12Real-world application
  12. 31:51Language choice and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.