Shield pin configuration
2.2
Pin function multiplexing control (summary)
All GPIO pins on the Arduino* header require some internal GPIOs to be set up before the pin is usable. This is
usually as simple as setting an output enable, pullup enable, and mode. However, some pins have extra
functionality such as SPI, PWM, or I
Table 3 shows this such that a programmer can easily see all the muxing pins affected for a given Arduino* header
pin. The color codes in the table show related boxes. For example, the blue boxes are meant to show the
relationship between the pin mux pins and the pin modes. This table is a synopsis of the more detailed tables
below, which contain extra information, such as schematic pin numbers. For most needs, this synopsized table
should suffice.
Table 3
Arduino* pin mux and pin mode settings
Linux
GPIO
pin
Linux pin
130
IO0
130
IO0
131
IO1
128
IO2
12
IO3
129
IO4
13
IO5
182
IO6
48
IO7
49
IO8
183
IO9
41
263
IO10
240
43
262
IO11
241
42
242
IO12
40
243
IO13
44
200
IO14 (A0)
45
201
IO15 (A1)
46
202
IO16 (A2)
47
203
IO17 (A3)
14
204
IO18 (A4)
165
205
IO19 (A5)
Note:
Before setting up any muxing, set pin 214 (TRI_STATE_ALL) to LOW, make all of your changes, then set pin
214 to HIGH.
December 2014
Document Number: 331191-004
2
C, so these pins need extra multiplexing (muxing) in order to be usable.
GPIO pin mux
0 (low)
1 (high)
PWM
see 240
GPIO or I2S
GPIO or SPI_FS
PWM
see 241
GPIO or I2S
GPIO or SPI TXD
GPIO or I2S
GPIO or SPI RXD
GPIO or I2S
GPIO or SPI CLK
GPIO
A0
GPIO
A1
GPIO
A2
GPIO
A3
GPIO or I2C SDA
A4
GPIO or I2C SCL
A5
SoC pin modes
Output enable
(high = output)
0
1
GPIO
UART
GPIO
UART
GPIO
UART
GPIO
UART
GPIO
PWM
GPIO
UART
GPIO
PWM
GPIO
PWM
GPIO
GPIO
GPIO
PWM
GPIO
I2S or SPI
GPIO
I2S or SPI
GPIO
I2S or SPI
GPIO
I2S or SPI
GPIO
GPIO
GPIO
GPIO
GPIO
I2C-6
GPIO
I2C-6
Intel® Edison Kit for Arduino*
Pullup
enable
Linux
Linux
248
216
248
216
249
217
250
218
251
219
252
220
253
221
254
222
255
223
256
224
257
225
258
226
259
227
260
228
261
229
232
208
233
209
234
210
235
211
236
212
237
213
Hardware Guide
9
Need help?
Do you have a question about the Edison Kit for Arduino and is the answer not in the manual?