Configure Io18/Io19 For I C Connectivity - Intel Edison Kit for Arduino Hardware Manual

Table of Contents

Advertisement

11.6
Configure IO18/IO19 for I
To configure IO18 and IO19 for I
1.
Refer to Table 2 for the GPIO numbers. According to Table 2, the GPIO numbers for IO18 and IO19 are 28
and 27, respectively.
2.
According to Table 4, GPIO 204 must be set to 1 to select GPIO/I
'mode1' to select I
3.
According to Table 4, GPIO 205 must be set to 1 to select GPIO/I2C, and GPIO 27 pin-mux must be set to
'mode1' to select I
4.
GPIO 14 and GPIO 165 are also connected to the I
impedance inputs when I
5.
According to Table 7, GPIO 236 must be set to 0 to disable the output direction for GPIO 14, and GPIO 237
must be set to 0 to disable the output direction for GPIO 165.
6.
According to Table 7, GPIO 212 and 213 must be set as high-impedance inputs to disable the pullup
resistors for IO18 and IO19, respectively.
7.
According to Table 6, the TRI_STATE_ALL signal is controlled by GPIO 214.
After you have gathered all of this information, enter the following commands in Linux:
# echo 28 > /sys/class/gpio/export
# echo 27 > /sys/class/gpio/export
# echo 204 > /sys/class/gpio/export
# echo 205 > /sys/class/gpio/export
# echo 236 > /sys/class/gpio/export
# echo 237 > /sys/class/gpio/export
# echo 14 > /sys/class/gpio/export
# echo 165 > /sys/class/gpio/export
# echo 212 > /sys/class/gpio/export
# echo 213 > /sys/class/gpio/export
# echo 214 > /sys/class/gpio/export
# echo high > /sys/class/gpio/gpio214/direction
# echo high > /sys/class/gpio/gpio204/direction
# echo high > /sys/class/gpio/gpio205/direction
# echo in > /sys/class/gpio/gpio14/direction
# echo in > /sys/class/gpio/gpio165/direction
# echo low > /sys/class/gpio/gpio236/direction
# echo low > /sys/class/gpio/gpio237/direction
# echo in > /sys/class/gpio/gpio212/direction
# echo in > /sys/class/gpio/gpio213/direction
# echo mode1 > /sys/kernel/debug/gpio_debug/gpio28/current_pinmux
# echo mode1 > /sys/kernel/debug/gpio_debug/gpio27/current_pinmux
# echo low > /sys/class/gpio/gpio214/direction
You should be able to use IO18 and IO19 for I
Intel® Edison Kit for Arduino*
Hardware Guide
30
2
C connectivity, do the following:
2
C for IO18.
2
C for IO19.
2
C is in use on these pins, to prevent them driving a signal on the I
2
C communication.
2
C connectivity
2
C, and GPIO 28 pin-mux must be set to
2
C signals, and should be configured as high-
Document Number: 331191-004
Shield pin configuration
2
C bus.
December 2014

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Edison Kit for Arduino and is the answer not in the manual?

Table of Contents