Skip to main content

Site Navigation

Your Account

Choose Language

Duet 2 Pinout table

The detailed information for the Duet 2 (Wifi and Ethernet) pinouts

Please also refer to the schematic when using this table (Schematics are on github for each specific hardware version Hardware Overview: Version History )

Note the pin # referred to in the table in the internal firmware pin number not the logical pin numbers used by the M42 command as explained in Using servos and controlling unused IO pins

Key
PowerGNDProcessorCommsGPIOExpansionNot Used
Sam PinPIOABCExtraPin Namepin #Exp
1PD0GTXCKE4_STEP64E4_STEP
2PD31ESP_DATA_RDY95
3VDDOUTVDDOUTn/a
4PE0E2_STOP96SG_TST
5VDDINVDDINn/a
6PE1E3_STOP97CS6
7PE2E4_STOP98CS7
8GNDGNDn/a
9ADVREFADVREFn/a
10PE3E5_STOP99CS8
11PC0D0PWML0AFE0_AD14E6_DIR32E6_DIR
12PC27A9TIOB4AFE0_AD13THERMISTOR659THERMISTOR6
13PC26A8TIOA4AFE0_AD12FAN158
14PC31A13TCLK5AFE0_AD11THERMISTOR563THERMISTOR5
15PC30A12TIOB5AFE0_AD10THERMISTOR462THERMISTOR6]4
16PC29A11TIOA5AFE0_AD9THERMISTOR361THERMISTOR3
17PC12NCS3TIOB8CANRX1AFE0_AD8THERMISTOR244
18PC15NCS1PWML1CANTX1AFE0_AD7THERMISTOR147
19PC13NWAITPWML0AFE0_AD6THERMISTOR045
20PB1PWMH1TXD0AFE0_AD5SPI0_MOSI27SPI0_MOSI
21PB0PWMH0RXD0AFE0_AD4SPI0_MISO26SPI0_MISO
22PA20PWML1A16AFE0_AD3HEATER120
23PA19PWML0A15AFE0_AD2HEATER019
24PA18PCK2A14AFE0_AD1THERMISTOR718THERMISTOR7
25PA17PCK1PWMH3AFE0_AD0E6_STOP17SX1509_INT
26PB2CANTX0NPCS2CTS0AFE1_AD0SPI0_CS128
27PE4ESP_RST100
28PE5ESP_EN101
29VDDCOREVDDCOREn/a
30VDDIOVDDIOn/a
31PB3CANRX0PCK2RTS0AFE1_AD1PWR_FAIL_DET129
32PA21RXD1PCK1AFE1_AD2SPI1_MISO21SPI1_MISO
33VDDCOREVDDCOREn/a
34PD30SAM_TFR_RDY94
35PA7PWMH3XIN32ENC_SW7
36PA8AFE0_ADTRGWKUP5XOUT32EN_11+128
37PA22TXD1NPCS3NCS2AFE1_AD3SPI1_MOSI22SPI1_MOSI
38PC1D1PWML1AFE1_AD4Z_PROBE_IN33
39PC2D2PWML2AFE1_AD5Z_PROBE_MOD34
40PC3D3PWML3AFE1_AD6HEATER335HEATER3
41PC4D4NPCS1AFE1_AD7PWR_FAIL_DET236
42PA13MOSIPWMH2MOSI13
43VDDIOVDDIOn/a
44GNDGNDn/a
45PA16TIOB1PWML2WKUP15HEATER216
46PA23SCK1PWMH0A19PIODCCLKSPI1_SCK23SPI1_SCK
47PD27PWML3E6_STEP91E6_STEP
48PC7D7TCLK6EN_1039
49PA15TIOA1PWML3WKUP14HEATER715HEATER7
50VDDCOREVDDCOREn/a
51PA14SPCKPWMH3WKUP8SPCK14
52PD25PWML1E4_EN89E4_EN
53PD26PWML2E5_EN90E5_EN
54PC6D6TIOB6ENN38ENN
55PD24PWML0E3_EN88E3_EN
56PA24RTS1PWMH1A20PIODC0CS524CS5
57PD23PWMH3E2_EN87E2_EN
58PC5D5TIOA6HEATER437HEATER4
59PA25CTS1PWMH2A23PIODC1DIR_1125DIR_11
60PD22PWMH2E3_DIR86E3_DIR
61GNDGNDn/a
62PA26DCD1TIOA2MCDA2PIODC2MCDA2106
63PD21PWMH1DIR_1085
64PA11NPCS0PWMH0WKUP7NPCS011
65PD20PWMH0STEP_1084
66PA10UTXD0NPCS2UTXD010UTXD0
67PD19NCS3STEP_1183
68PA12MISOPWMH1MISO12
69PD18NCS1STEP_1282
70PA27DTR1TIOB2MCDA3PIODC3MCDA3107
71PD28E2_DIR92E2_DIR
72VDDIOVDDIOn/a
73PA5NPCS3URXD1WKUP4URXD15
74PD17GTXERE5_DIR81E5_DIR
75PA9URXD0NPCS1PWMFI0WKUP6URXD09URXD0
76PC28A10TCLK4DIR_1260
77PA4TWCK0TCLK0WKUP3TWCK04TWCK0
78PD16GTX3E4_DIR80E4_DIR
79PB6TMSPB6/TMS??PB6
80VDDIOVDDIOn/a
81VDDCOREVDDCOREn/a
82PC8NWETIOA7HEATER540HEATER5
83NRSTNRSTn/a
84PD14GRXCKX_EN78
85TESTn/a
86PC9NANDOETIOB7Y_EN41
87PB12PWML1ERASEERASEn/a
88PD13GCOLZ_DIR77
89PB7TCKTCKn/a
90PC10NANDWETCLK7Z_EN42
91PA3TWD0NPCS3TWD03TWD0
92PD12GRX3Y_DIR76
93PA2PWMH2DATRGWKUP2Y_STOP2
94PC11NRDTIOA8HEATER643HEATER6
95GNDGNDn/a
96VDDIOVDDIOn/a
97PC14NCS0TCLK8X_STOP46
98PD11GRX2X_DIR75
99PA1PWMH1TIOB0A18WKUP1E0_DIR1
100PC16A21/NANDALEE1_STOP48
101PD10GCRSE0_STOP74
102PA0PWMH0TIOA0A17WKUP0FAN2
103PC17A22/NANDCLEE0_EN49
104JTAGSELNot Usedn/a
105PB4TWD1PWMH2TDITDIn/a
106PD15GTX2PS_ON79
107VDDCOREVDDCOREn/a
108PD29Z_STOP93
109PB5TWCK1PWML0WKUP13TDOTDOn/a
110PD9GMDIOE1_DIR73
111PC18A0PWMH0SPI0_CS250
112PA28DSR1TCLK1MCCDAPIODC4MCCDA102
113PD8GMDCZ_STEP72
114PA6PCK0UTXD1UTXD16
115GNDGNDn/a
116PA30PWML2NPCS2MCDA0WKUP11/PIODC6MCDA0104
117PC19A1PWMH1SPI0_CS351CS3
118PA31NPCS1PCK2MCDA1PIODC7MCDA1105
119PD7GRXERY_STEP71
120PC20A2PWMH2SPI0_CS452CS4
121PD6GRX1X_STEP70
122PC21A3PWMH3SD_CD53
123VDDCOREVDDCOREn/a
124PC22A4PWML3USB_PWR_MON54
125PD5GRX0E0_STEP69
126PD4GRXDVE1_STEP68
127PC23A5TIOA3FAN055
128PD3GTX1E5_STEP67E5_STEP
129PA29RI1TCLK2MCCKPIODC5MCCK103
130PC24A6TIOB3SPI0_CS056
131PD2GTX0E2_STEP66E2_STEP
132PD1GTXENE3_STEP65E3_STEP
133PC25A7TCLK3E1_EN57
134VDDIOVDDIOn/a
135GNDGNDn/a
136PB10DDMDDMn/a
137PB11DDPDDPn/a
138GNDGNDn/a
139VDDPLLVDDPLLn/a
140PB14NPCS1PWMH3DAC1E6_EN31E6_EN
141PB8XOUTXOUTn/a
142PB9XINXINn/a
143VDDIOVDDIOn/a
144PB13PWML2PCK0SCK0DAC0SPI0_SCK30SPI0_SCK

2 Comments

Going to use this to build an intelligent spreadsheet for assigning gpio for different 3d printers.

Patrick Ryan - Reply

How do you even read this table? Which column indicates Logical Pin Numbers and which column indicates Psychical pin numbers on the Duet 2? I am trying to rectify the caution statement:

Note that these logical pin numbers are not the physical pin numbers on the expansion header, or the internal pin numbering within the firmware.

But cannot find the decryption key.

Kim - Reply

Add Comment

View Statistics:

Past 24 Hours: 2

Past 7 Days: 28

Past 30 Days: 143

All Time: 2,176