Skip to content

Commit

Permalink
Updated pins.csv from @robert-hh
Browse files Browse the repository at this point in the history
  • Loading branch information
graeme-winter committed Sep 21, 2024
1 parent cda1bee commit d1fd156
Showing 1 changed file with 98 additions and 109 deletions.
207 changes: 98 additions & 109 deletions ports/samd/boards/ADAFRUIT_GRAND_CENTRAL_M4_EXPRESS/pins.csv
Original file line number Diff line number Diff line change
@@ -1,109 +1,98 @@
# Pins listed below in order of board pinout picture from Adafruit, with breaks
# corresponding to the same spacing as on the board

# Analogue input (16 pins) and output (first two of these)

PIN_PA02,A0
PIN_PA05,A1
PIN_PB03,A2
PIN_PC00,A3
PIN_PC01,A4
PIN_PC02,A5
PIN_PC03,A6
PIN_PB04,A7


PIN_PB05,A8
PIN_PB06,A9
PIN_PB07,A10
PIN_PB08,A11
PIN_PB09,A12
PIN_PA04,A13
PIN_PA06,A14
PIN_PA07,A15

# Big digital block at bottom of board

PIN_PD12,D22
PIN_PA15,D23
PIN_PC17,D24
PIN_PC16,D25
PIN_PA12,D26
PIN_PA13,D27
PIN_PA14,D28
PIN_PB19,D29
PIN_PA23,D30
PIN_PA22,D31
PIN_PA21,D32
PIN_PA20,D33
PIN_PA19,D34
PIN_PA18,D35
PIN_PA17,D36
PIN_PA16,D37
PIN_PB15,D38
PIN_PB14,D39
PIN_PC13,D40
PIN_PC12,D41
PIN_PC15,D42
PIN_PC14,D43
PIN_PC11,D44
PIN_PC10,D45
PIN_PC06,D46
PIN_PC07,D47
PIN_PC04,D48
PIN_PC05,D49
PIN_PD11,D50
PIN_PD08,D51
PIN_PD09,D52
PIN_PD10,D53

# Digital row down other side of board - N.B. diplicates

PIN_PC30,LED_TX
PIN_PC31,LED_RX
PIN_PC24,NEOPIXEL

PIN_PB21,SCL
PIN_PB20,SDA
PIN_PA03,AREF
PIN_PB01,D13
PIN_PB00,D12
PIN_PB23,D11
PIN_PB22,D10
PIN_PB02,D9
PIN_PB18,D8

PIN_PD21,D7
PIN_PD20,D6
PIN_PC21,D5
PIN_PC20,D4
PIN_PC19,D3
PIN_PC18,D2
PIN_PB24,D1
PIN_PB25,D0

PIN_PB16,D14
PIN_PB17,D15
PIN_PC22,D16
PIN_PC23,D17
PIN_PB12,D18
PIN_PB13,D19
PIN_PB20,D20
PIN_PB21,D21

PIN_PB26,SD_MOSI
PIN_PB27,SD_SCK
PIN_PB28,SD_CS
PIN_PB29,SD_MISO
PIN_PB31,SD_CARD_DETECT


# QSPI flash

PIN_PB11,QSPI_CS
PIN_PB10,QSPI_SCK
PIN_PA08,QSPI_D0
PIN_PA09,QSPI_D1
PIN_PA10,QSPI_D2
PIN_PA11,QSPI_D3

# The lines contain pairs of Pin name and Pin number.
# Pin names must be valid Python identifiers.
# Pin numbers have the form Pxnn, with x being A, B, C or D.
# Lines starting with # or empty lines are ignored.

A0,PA02
A1,PA05
A2,PB03
A10,PB07
A11,PB08
A12,PB09
A13,PA04
A14,PA06
A15,PA07
A3,PC00
A4,PC01
A5,PC02
A6,PC03
A7,PB04
A8,PB05
A9,PB06
AREF,PA03
CS,PD10
D0,PB25
D1,PB24
D10,PB22
D11,PB23
D12,PB00
D13,PB01
D2,PC18
D22,PD12
D23,PA15
D3,PC19
D4,PC20
D44,PC11
D45,PC10
D46,PC06
D47,PC07
D48,PC04
D49,PC05
D5,PC21
D6,PD20
D7,PD21
D8,PB18
D9,PB02
MISO,PD11
MOSI,PD08
NEOPIXEL,PC24
PCC_CLK,PA14
PCC_D0,PA16
PCC_D1,PA17
PCC_D10,PC12
PCC_D11,PC13
PCC_D12,PC14
PCC_D13,PC15
PCC_D2,PA18
PCC_D3,PA19
PCC_D4,PA20
PCC_D5,PA21
PCC_D6,PA22
PCC_D7,PA23
PCC_D8,PB14
PCC_D9,PB15
PCC_DEN1,PA12
PCC_DEN2,PA13
PCC_XCLK,PB19
RX1,PB13
RX2,PC23
RX3,PB17
RXLED,PC31
SCK,PD09
SCL,PB21
SCL_1,PC17
SD_CD,PB31
SD_CS,PB28
SD_MISO,PB29
SD_MOSI,PB26
SD_SCK,PB27
SDA,PB20
SDA_1,PC16
SWO,PB30
TX1,PB12
TX2,PC22
TX3,PB16
TXLED,PC30

QSPI_CS,PB11
QSPI_SCK,PB10
QSPI_D0,PA08
QSPI_D1,PA09
QSPI_D2,PA10
QSPI_D3,PA11

USB_DM,PA24
USB_DP,PA25

SWCLK,PA30
SWDIO,PA31

0 comments on commit d1fd156

Please sign in to comment.