Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Pin Map

This table lists all the GpioPins that Final provides, and the Periph instances it provides. Note that if you enable a numbered Periph, you can’t use the correspoding GpioPins or another peripheral that it overlaps with. If you enable an optional feature, such as Uart CTS/RTS then the same restriction applies. “Def(ault) Periph” doesn’t mean it is enabled by default; ALL periphs and pins must be enabled to be used; it just means this is a conventional or highlighted use, eg I2c1 and Uart0.

GPIODef PeriphAlt Periph 1Alt Periph 2
2I2C1 SDA
3I2C1 SCL
4I2C2 SDAUART2 TX
5I2C2 SCLUART2 RX
6I2C3 SDAUART2 CTS^
7SPI0 CE1^I2C3 SCLUART2 RTS^
8SPI0 CE0UART3 TX
9SPI0 MISOUART3 RX
10SPI0 MOSIUART3 CTS^
11SPI0 SCLKUART3 RTS^
12PWM0SPI5 CE0
13PWM1SPI5 MISO
14UART0 TXDSPI5 MOSI
15UART0 RXDSPI5 SCLK
16UART0 CTS^SPI1 CE2^
17UART0 RTS^SPI1 CE1^
18SPI1 CE0I2S (i2s) @
19SPI1 MISOI2S (i2s) @
20SPI1 MOSII2S (i2s) @
21SPI1 SCLKI2S (i2s) @
22
23
24
25
26SPI5 CE1^
27

Notes ^ - indicates an optional feature; if not enabled, GPIO pin is available. See the chapter for the peripheral type for details
@ I2S audio (ALSA); Final does not drive it. Use true i2s.reserved! before reset so BCM 18–21 are not restored — see I2S (reserved stub).