
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
2
C, so these pins need extra multiplexing (muxing) in order to be usable.
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
GPIO pin mux SoC pin modes Output enable
(high = output)
Pullup
enable
Linux pin 0 (low) 1 (high) 0 1 Linux Linux
131 GPIO UART 249 217
128 GPIO UART 250 218
12 GPIO PWM 251 219
182 GPIO PWM 254 222
48 GPIO 255 223
49 GPIO 256 224
43 262 PWM see 241 GPIO I2S or SPI 259 227
241 GPIO or I2S GPIO or SPI TXD
42 242 GPIO or I2S GPIO or SPI RXD GPIO I2S or SPI 260 228
46 202 GPIO A2 GPIO 234 210
IO17 (A3)
47 203 GPIO A3 GPIO 235 211
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.
Intel® Edison Kit for Arduino*
December 2014 Hardware Guide
Document Number: 331191-004 9
Commenti su questo manuale