-
Notifications
You must be signed in to change notification settings - Fork 139
Pins used by the Bela cape
giuliomoro edited this page Jun 11, 2017
·
23 revisions
The Bela cape uses pin 24
on header P8
and pins 10-15-17-18-19-20-21-22-23-24-25-26-28-29-30-31
on header P9
, plus power and ground.
Additionally, a number of pins are used for the digital I/O: pins 7-8-9-10-11-12-15-16-18-27-2-29-30
on header P8
and pins 12-14-16
on P9
. These can be disabled in software if they are needed for other users.
The Bela multiplexer capelet additionally uses pins 41-42-43-44-45-46
on P8
.
The Bela audio expander capelet does not use any additional pins from P8
or P9
.
An up-to-date list of the pins an pinmuxer settings can be found in the device trees and overlays in https://github.com/BelaPlatform/Bela/tree/master/resources.
Below is a summary:
Uses both McASP channel 0 and I2C bus 2
"P9.25", 0x1ac 0x00 /* mcasp0_ahclkx, MODE0 | OUTPUT_PULLDOWN */
"P9.28", 0x19c 0x22 /* mcasp0_axr2, MODE2 | INPUT_PULLDOWN */
"P9.29", 0x194 0x20 /* mcasp0_fsx, MODE0 | OUTPUT_PULLDOWN */
"P9.30", 0x198 0x20 /* mcasp0_axr0, MODE0 | OUTPUT_PULLDOWN */
"P9.31", 0x190 0x20 /* mcasp0_aclkx, MODE0 | OUTPUT_PULLDOWN */
"P9.19", 0x17c 0x33 /* i2c2_scl | INPUT_PULLUP | MODE2*/
"P9.20", 0x178 0x33 /* i2c2_sda | INPUT_PULLUP | MODE2*/
"P9.17", 0x15c 0x10 /* spi0_cs0, MODE0 | OUTPUT_PULLUP */
"P9.18", 0x158 0x10 /* spi0_d1, MODE0 | OUTPUT_PULLUP */
"P9.21", 0x154 0x30 /* spi0_d0, MODE0 | INPUT_PULLUP */
"P9.22", 0x150 0x30 /* spi0_sclk, MODE0 | INPUT_PULLUP */
"P9.27", 0x1a4 0x37 /* gpio3[19] | MODE7 | INPUT | pullup */
"P8.07", 0x90 0x27 /* MODE7 | INPUT | GPIO */
"P8.08", 0x94 0x27 /* MODE7 | INPUT | GPIO */
"P8.09", 0x9c 0x27 /* MODE7 | INPUT | GPIO */
"P8.10", 0x98 0x27 /* MODE7 | INPUT | GPIO */
"P8.11", 0x34 0x27 /* MODE7 | INPUT | GPIO */
"P8.12", 0x30 0x27 /* MODE7 | INPUT | GPIO */
"P9.12", 0x78 0x27 /* MODE7 | INPUT | GPIO */
"P9.14", 0x48 0x27 /* MODE7 | INPUT | GPIO */
"P8.15", 0x3c 0x27 /* MODE7 | INPUT | GPIO */
"P8.16", 0x38 0x27 /* MODE7 | INPUT | GPIO */
"P9.16", 0x4c 0x27 /* MODE7 | INPUT | GPIO */
"P8.18", 0x8c 0x27 /* MODE7 | INPUT | GPIO */
"P8.27", 0xe0 0x27 /* MODE7 | INPUT | GPIO */
"P8.28", 0xe8 0x27 /* MODE7 | INPUT | GPIO */
"P8.29", 0xe4 0x27 /* MODE7 | INPUT | GPIO */
"P8.30", 0xec 0x27 /* MODE7 | INPUT | GPIO */
"P9.26", 0x180 0x73 /* i2c1_sda, MODE3 | INPUT_PULLUP | SLEWCTRL_SLOW */
"P9.24", 0x184 0x73 /* i2c1_scl, MODE3 | INPUT_PULLUP | SLEWCTRL_SLOW */
"P8.41", 0x0b0 0x25 /* lcd_data4.pr1_pru1_pru_r30_4, MODE5 | OUTPUT | PRU */
"P8.42", 0x0b4 0x25 /* lcd_data5.pr1_pru1_pru_r30_5, MODE5 | OUTPUT | PRU */
"P8.43", 0x0a8 0x25 /* lcd_data2.pr1_pru1_pru_r30_2, MODE5 | OUTPUT | PRU */
"P8.44", 0x0ac 0x25 /* lcd_data3.pr1_pru1_pru_r30_3, MODE5 | OUTPUT | PRU */
"P8.45", 0x0a0 0x25 /* lcd_data0.pr1_pru1_pru_r30_0, MODE5 | OUTPUT | PRU */
"P8.46", 0x0a4 0x25 /* lcd_data1.pr1_pru1_pru_r30_1, MODE5 | OUTPUT | PRU */