~/talk

Deep Dive into Pin Control in Zephyr

Talkat Zephyr Developer Summit 2022 · 2022-06-07..06-09· [embedded-and-hardware]
slides:none on file

Zephyr introduces a standardized pinctrl API that moves vendor quirks into devicetree and an soc header, exposes one driver call pin control configure pins, and reuses a Linux-inspired state-model with default and sleep states so drivers apply states instead of bit fiddling. Two devicetree styles (grouping or per-pin nodes) map multiplexing and properties. A RAM-backed option called dynamic pin control lets configs swap at boot, demonstrated by rerouting UART to alternate pins with a button, and the sample works on Nordic hardware.

AI-written summary · about

  1. 0:00Intro
  2. 1:43Pin control vs. GPIO
  3. 3:33Pin Control in Zephyr 3.1: Example (W)
  4. 6:17State Model Background
  5. 7:42State Model: Example
  6. 8:16Standard States
  7. 14:25Pin configuration grouping approach (1)
  8. 17:16Pin configuration: node approach (1)
  9. 22:13Pin Control Drivers: Example (111)
  10. 25:24Using pin control in drivers (1)
  11. 30:27Conclusions
  12. 33:36Dymamic Pin Control: Example (0)
~/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.