Skip to content

Commit 9ad6d2e

Browse files
committed
samd/docs: Add the Pinout for the Adafruit Metro M4 Airlift board.
Signed-off-by: robert-hh <robert@hammelrath.com>
1 parent f7b0660 commit 9ad6d2e

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

docs/samd/pinout.rst

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,75 @@ The default devices at the board are:
334334
- SPI 1 at pins PA23/PA22/PA17, labelled MOSI, MISO and SCK
335335
- DAC output on pins PA02 and PA05, labelled A0 and A1
336336

337+
Adafruit Metro M4 Airlift pin assignment table
338+
----------------------------------------------
339+
340+
=== ==== ============ ==== ==== ==== ====== ====== ===== ===== =====
341+
Pin GPIO Pin name IRQ ADC ADC Serial Serial TC PWM PWM
342+
=== ==== ============ ==== ==== ==== ====== ====== ===== ===== =====
343+
2 PA02 A0 2 0 - - - - - -
344+
5 PA05 A1 5 5 - - 0/1 0/1 - -
345+
6 PA06 A2 6 6 - - 0/2 1/0 - -
346+
32 PB00 A3 9 12 - - 5/2 7/0 - -
347+
40 PB08 A4 8 2 0 - 4/0 4/0 - -
348+
41 PB09 A5 9 3 1 - 4/1 4/1 - -
349+
23 PA23 D0 7 - - 3/1 5/0 4/1 1/7 0/3
350+
22 PA22 D1 6 - - 3/0 5/1 4/0 1/6 0/2
351+
49 PB17 D2 1 - - 5/1 - 6/1 3/1 0/5
352+
48 PB16 D3 0 - - 5/0 - 6/0 3/0 0/4
353+
45 PB13 D4 13 - - 4/1 - 4/1 3/1 0/1
354+
46 PB14 D5 14 - - 4/2 - 5/0 4/0 0/2
355+
47 PB15 D6 15 - - 4/3 - 5/1 4/1 0/3
356+
44 PB12 D7 12 - - 4/0 - 4/0 3/0 0/0
357+
21 PA21 D8 5 - - 5/3 3/3 7/1 1/5 0/1
358+
20 PA20 D9 4 - - 5/2 3/2 7/0 1/4 0/0
359+
3 PA03 AREF 3 10 - - - - - -
360+
18 PA18 D10 2 - - 1/2 3/2 3/0 1/2 0/6
361+
19 PA19 D11 3 - - 1/3 3/3 3/1 1/3 0/7
362+
16 PA16 D13 0 - - 1/0 3/1 2/0 1/0 0/4
363+
36 PB04 ESP_BUSY 4 - 6 - - - - -
364+
15 PA15 ESP_CS 15 - - 2/3 4/3 3/1 2/1 1/3
365+
33 PB01 ESP_GPIO0 1 13 - - 5/3 7/1 - -
366+
37 PB05 ESP_RESET 5 - 7 - - - - -
367+
55 PB23 ESP_RTS 7 - - 1/3 5/3 7/1 - -
368+
7 PA07 ESP_RX 7 7 - - 0/3 1/1 - -
369+
4 PA04 ESP_TX 4 4 - - 0/0 0/0 - -
370+
43 PB11 FLASH_CS 12 - - - 4/3 5/1 0/5 1/1
371+
11 PA11 FLASH_HOLD 11 11 - 0/3 2/3 1/1 0/3 1/7
372+
9 PA09 FLASH_MISO 9 9 3 0/1 2/0 0/1 0/1 1/5
373+
8 PA08 FLASH_MOSI - 8 2 0/0 2/1 0/0 0/0 1/4
374+
42 PB10 FLASH_SCK 10 - - - 4/2 5/0 0/4 1/0
375+
10 PA10 FLASH_WP 10 10 - 0/2 2/2 1/0 0/2 1/6
376+
14 PA14 MISO 14 - - 2/2 4/2 3/0 2/0 1/2
377+
12 PA12 MOSI 12 - - 2/0 4/1 2/0 0/6 1/2
378+
54 PB22 NEOPIXEL 22 - - 1/2 5/2 7/0 - -
379+
38 PB06 RXLED 6 - 8 - - - - -
380+
13 PA13 SCK 13 - - 2/1 4/0 2/1 0/7 1/3
381+
35 PB03 SCL 9 15 - - 5/1 6/1 - -
382+
34 PB02 SDA 2 14 - - 5/0 6/0 2/2 -
383+
30 PA30 SWCLK 14 - - 7/2 1/2 6/0 2/0 -
384+
31 PA31 SWDIO 15 - - 7/3 1/3 6/1 2/1 -
385+
62 PB30 SWO 14 - - 7/0 5/1 0/0 4/0 0/6
386+
39 PB07 TXLED 7 - 9 - - - - -
387+
24 PA24 USB_DM 8 - - 3/2 5/2 5/0 2/2 -
388+
25 PA25 USB_DP 9 - - 3/3 5/3 5/1 - -
389+
17 PA17 USB_HOSTEN 1 - - 1/1 3/0 2/1 1/1 0/5
390+
0 PA00 - 0 - - - 1/0 2/0 - -
391+
1 PA01 - 1 - - - 1/1 2/1 - -
392+
27 PA27 - 11 - - - - - - -
393+
63 PB31 - 15 - - 7/1 5/0 0/1 4/1 0/7
394+
=== ==== ============ ==== ==== ==== ====== ====== ===== ===== =====
395+
396+
For the definition of the table columns see the explanation at the table
397+
for Adafruit ItsyBitsy M4 Express :ref:`samd51_pinout_table`.
398+
399+
The default devices at the board are:
400+
401+
- UART 3 at pins PA23/PA22, labelled D0/D1 resp. RX/TX
402+
- I2C 5 at pins PB02/PB03, labelled SDA/SCL
403+
- SPI 4 at pins PA12/PA14/PA13, labelled MOSI, MISO and SCK
404+
- DAC output on pins PA02 and PA05, labelled A0 and A1
405+
337406
SEEED XIAO pin assignment table
338407
-------------------------------
339408

0 commit comments

Comments
 (0)