Intel Edison Kit for Arduino Скачать руководство пользователя страница 10

 

Shield pin configuration 

 
 

2.3

 

Pin function multiplexing control (detailed) 

Table 4 lists the GPIO outputs dedicated to pin multiplexing control.  Different functions may be selected for 
specific shield I/O pins by setting these GPIO outputs to 0/1 (low/high). Additionally, some of the SoC GPIO pins 
also feature internal mux options. These are listed as “SoC Pin Modes”.  

Currently, these are configured by setting the required pin mode for the corresponding SoC GPIO pin N, via 

/sys/kernel/debug/gpio_debug/gpioN/current_pinmux

, to  “mode[0/1/2/...]” 

Table 4 

Pin function multiplexing control 

Shiel
d pin 

GPIO pin mux 

SoC pin modes 

Pin 

Linux 

0 (low) 

1 (high) 

Power-on default 

Pin 

Linux 

IO0 

 

 

 

 

GP130 

130 

GPIO 

UART 

 

IO1 

 

 

 

 

GP131 

131 

GPIO 

UART 

 

IO2 

 

 

 

 

GP128 

128 

GPIO 

UART 

 

IO3 

 

 

 

 

GP12 

12 

GPIO 

PWM 

 

IO4 

 

 

 

 

GP129 

129 

GPIO 

UART 

 

IO5 

 

 

 

 

GP13 

13 

GPIO 

PWM 

 

IO6 

 

 

 

 

GP182 

182 

GPIO 

PWM 

 

IO7 

 

 

 

 

GP48 

48 

GPIO 

 

 

IO8 

 

 

 

 

GP49 

49 

GPIO 

 

 

IO9 

 

 

 

 

GP183 

183 

GPIO 

PWM 

 

IO10  U34_ IO1.7 

263 

PWM4_OUT 

GP41 

Pulled down input 

GP41 

41 

GPIO 

I2S 

 

SSP5_FS_1 

U16_ IO1.0 

240 

GP41 

SSP5_FS_1

 

Pulled up input 

1

 

GP111 

111 

GPIO 

SPI 

IO11  U34_ IO1.6 

262 

PWM5_OUT 

GP43 

Pulled down input  GP43 

43 

GPIO 

I2S 

 

SSP5_TXD 

GP115 

115 

GPIO 

SPI 

U16_ IO1.1 

241 

GP43 

SSP5_TXD 

Pulled up  input 

1

 

IO12  U16_ IO1.2 

242 

GP42 

SSP5_RXD 

Pulled up  input 

1

 

GP42 

42 

GPIO 

I2S   

 

GP114 

114 

GPIO 

SPI 

IO13  U16_ IO1.3 

243 

GP40 

SSP5_CLK 

Pulled up  input 

1

 

GP40   

40 

GPIO 

I2S 

 

GP109 

109 

GPIO 

SPI 

IO14  U17_ IO0.0 

200 

GP44 

A0 

Pulled up  input 

1

 

GP44 

44 

GPIO 

 

 

IO15  U17_ IO0.1 

201 

GP45 

A1 

Pulled up  input 

1

 

GP45 

45 

GPIO 

 

 

IO16  U17_ IO0.2 

202 

GP46 

A2 

Pulled up  input 

1

 

GP46 

46 

GPIO 

 

 

IO17  U17_ IO0.3 

203 

GP47 

A3 

Pulled up  input 

1

 

GP47 

47 

GPIO 

 

 

IO18  U17_ IO0.4 

204 

GP14   

A4 

Pulled up  input 

1

 

GP14   

14 

GPIO 

I2C-6 

I2C-8 

I2C6_SCL 

GP28 

28 

GPIO 

IO19  U17_ IO0.5 

205 

GP165 

A5 

Pulled up  input 

1

  GP165 

165 

GPIO 

I2C-6 

I2C-8 

I2C6_SDA 

GP27 

27 

GPIO 

1.

  These pins are pulled up inputs at power-on. This effectively enables the mux switches (i.e. mux function 1 is selected). 

 

 

Intel® Edison Kit for Arduino*  

 

 

Hardware Guide 

 

December 2014 

10 

 

 

Document Number: 331191-004 

Содержание Edison Kit for Arduino

Страница 1: ...Intel Edison Kit for Arduino Hardware Guide December 2014 Revision 004 Document Number 331191 004 ...

Страница 2: ...have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them The information here is subject to change without notice Do not finalize a design with this information Intel software products are copyrighted by and shall remain the property of Intel Corporation Use duplication or disclosure is subject to restrictions stated in Intel s Software License Agree...

Страница 3: ... 3 7 Intel Edison kit for Arduino expansion mechanicals 17 4 Powering the Intel Edison kit for Arduino 18 4 1 Boot voltage selection DCIN signal 19 5 Batteries 20 6 Layout 21 6 1 Antenna keepout 21 6 2 Layout SD card I2S SPI I2C 21 6 3 LEDs 22 7 Handling 23 8 Debug UART and Low Power Sleep Mode 24 9 Buttons 25 9 1 Software recovery FWR_RCVR and RCVR_MODE 25 10 Digikey sources 26 11 Shield pin conf...

Страница 4: ...ng an Intel Edison compute module 23 Figure 9 Digikey sources 26 Tables Table 1 Product specific documents 6 Table 2 Shield pin GPIO mapping 8 Table 3 Arduino pin mux and pin mode settings 9 Table 4 Pin function multiplexing control 10 Table 5 GPIO interrupt support 11 Table 6 Miscellaneous GPIOs 11 Table 7 Pin direction and pullup control 12 Table 8 Intel Edison kit for Arduino header signal list...

Страница 5: ...014 001 First public release September 9 2014 002 Minor corrections September 15 2014 003 Added product overview chapter and shield pin configuration chapter September 18 2014 004 Updated sections on software recovery mode pin function mux controls and LEDs December 1 2014 Intel Edison Kit for Arduino December 2014 Hardware Guide Document Number 331191 004 5 ...

Страница 6: ... Edison compute module 1 2 Terminology Term Definition PWM Pulse width modulation GPIO General purpose input output ADC Analog to digital converter SPI Serial peripheral interface I2 C Inter integrated circuit 1 3 References Table 1 Product specific documents Reference Name Number location 331188 Intel Edison Board Support Package User Guide 331189 Intel Edison Compute Module Hardware Guide 331190...

Страница 7: ...their respective functions which can be broadly categorized as follows see Figure 1 External GPIO Used for digital input output signaling via the external shield pins Pin multiplexing control Used for selecting different functions available on a given shield pin Pin buffer level shifter direction control Used to configure the buffer on a given shield pin for input or output Pin pullup resistor con...

Страница 8: ...ote 2 IO11 43 SPI_2_TXD I2S_2_TXD Note 1 PWM5_OUT Note 2 IO12 42 SPI_2_RXD I2S_2_RXD Note 1 IO13 40 SPI_2_CLK I2S_2_CLK Note 1 IO14 44 AIN0 IO15 45 AIN1 IO16 46 AIN2 IO17 47 AIN3 IO18 14 AIN4 I2C_6_SDA IO19 165 AIN5 I2C_6_SCL 1 Some additional functions are available on certain SoC pins such as I2S and UART flow control but they are not currently supported by the Arduino library However it may be ...

Страница 9: ...SoC pin modes Output enable high output Pullup enable Linux pin 0 low 1 high 0 1 Linux Linux IO0 130 GPIO UART 248 216 IO0 130 GPIO UART 248 216 IO1 131 GPIO UART 249 217 IO2 128 GPIO UART 250 218 IO3 12 GPIO PWM 251 219 IO4 129 GPIO UART 252 220 IO5 13 GPIO PWM 253 221 IO6 182 GPIO PWM 254 222 IO7 48 GPIO 255 223 IO8 49 GPIO 256 224 IO9 183 GPIO PWM 257 225 IO10 41 263 PWM see 240 GPIO I2S or SPI...

Страница 10: ...4_ IO1 7 263 PWM4_OUT GP41 Pulled down input GP41 41 GPIO I2S SSP5_FS_1 U16_ IO1 0 240 GP41 SSP5_FS_1 Pulled up input 1 GP111 111 GPIO SPI IO11 U34_ IO1 6 262 PWM5_OUT GP43 Pulled down input GP43 43 GPIO I2S SSP5_TXD GP115 115 GPIO SPI U16_ IO1 1 241 GP43 SSP5_TXD Pulled up input 1 IO12 U16_ IO1 2 242 GP42 SSP5_RXD Pulled up input 1 GP42 42 GPIO I2S GP114 114 GPIO SPI IO13 U16_ IO1 3 243 GP40 SSP5...

Страница 11: ...Y Y Y IO13 40 Y Y Y Y Y IO14 44 Y Y Y Y Y IO15 45 Y Y Y Y Y IO16 46 Y Y Y Y Y IO17 47 Y Y Y Y Y IO18 14 Y Y Y Y Y IO19 165 Y Y Y Y Y 1 Level triggered interrupts are not supported by the Arduino library a limitation of the GPIO sysfs interface 2 5 Miscellaneous GPIOs The GPIOs listed in Table 6 are used for other platform functions and for Arduino shield compatibility Table 6 Miscellaneous GPIOs F...

Страница 12: ... down input U39_IO0 0 219 Pulled up input IO4 U34_ IO0 4 252 Pulled down input U39_IO0 0 220 Pulled up input IO5 U34_ IO0 5 253 Pulled down input U39_IO0 0 221 Pulled up input IO6 U34_ IO0 6 254 Pulled down input U39_IO0 0 222 Pulled up input IO7 U34_ IO0 7 255 Pulled down input U39_IO0 7 223 Pulled up input IO8 U34_ IO1 0 256 Pulled down input U39_IO0 7 224 Pulled up input IO9 U34_ IO1 1 257 Pull...

Страница 13: ...duino block diagram 3 3V 5V Level Translation provided on board between all Edison I O and Shield Headers UART 2 Host USB Full size Type A USB 0TG Client USB Micro Type B 7 to 15 V Brick Power Supply FIAS H AGF SPI0 SPI 1 RX 4 IO3 7 IO6 5 IO4 6 IO5 8 IO7 3 IO2 2 TX 1 IO8 4 IO11 7 GND 5 IO12 6 IO13 8 AREF 3 IO10 2 IO9 9 SDA 10 SCL VIN 8 5V 5 IOREF 2 3 3V 4 RESET 3 1 GND 6 GND 7 A5 6 A2 3 A1 2 A0 1 ...

Страница 14: ...Analog A2 Analog input or digital I O Analog A3 Analog input or digital I O Analog A4 SDA Analog input digital I O or I2 C data also connected to digital header Analog A5 SCL Analog input digital I O or I2 C data also connected to digital header Digital SCL I2 C clock Digital SDA I2 C data Digital AREF ADC reference voltage select AREF or IOREF via jumper J8 on board Digital GND Ground Digital 13 ...

Страница 15: ... pins then those unused pins of the first four pins cannot be used as a GPIO They will have any function they cannot be inputs or outputs Table 9 Table 9 Intel Edison kit for Arduino PWM swizzler signal assignments Digital pin Uno Uno Edison I O Edison PWM 11 IO PWM 5 GP43 SSP2_TXD PWM3 10 IO PWM 4 GP41 SSP2_FS0 PWM3 PWM2 9 IO PWM 3 GP183_PWM3 PWM3 PWM2 PWM1 6 IO PWM 2 GP182_PWM2 PWM2 PWM1 PWM0 5 ...

Страница 16: ...igital pins can be configured to have an external pull up resistor connected The pullup value is fixed at 47 kohm 3 5 Intel Edison kit for Arduino USB interface The Intel Edison compute module has a single USB 2 0 interface This interface is the primary method for downloading code The Intel Edison compute module is designed to support OTG using the ID signal Circuitry on the Intel Edison kit for A...

Страница 17: ... charge at 100 mA This charger is designed to charge standard lithium ion batteries with 4 2 V maximum charging voltage End users are responsible for choosing a suitable battery and following all safety precautions to assure overcharging or charging when the battery temperature is too high is avoided For low power applications those shields running off 3 3 V a lithium ion battery 3 0 to 4 3 Vmax c...

Страница 18: ... be limited to 1 A maximum continuous The 4 35 V rail powers a battery charger and the Intel Edison compute module The 4 3 V supply is also designed to generate 1 A and has the same protections thermal and short circuit as the 5 V supply The charger is designed to only accept 1 A maximum from the 4 35 V rail and will charge a battery at 100 mA The charger will supply power from the 4 35 V input or...

Страница 19: ...We recommend battery packs with internal protection circuits 4 1 Boot voltage selection DCIN signal DCIN is a signal that indicates whether the Intel Edison compute module is being powered from a battery or from an external power source DCIN also sets the voltage level required on VSYS in order to boot When DCIN is floating or tied to ground the voltage on VSYS must rise from 2 5 to 3 5 V in 10 ms...

Страница 20: ...ufacturer s guidelines when charging batteries Generally charging current should not exceed 50 to 70 of the rated capacity For example a 200 mAH battery should be charged with 70 200 mA 140 mA The Intel Edison kit for Arduino has a 100 mA charging current the Intel Edison Breakout Board has a 190 mA charging current Intel Edison Kit for Arduino Hardware Guide December 2014 20 Document Number 33119...

Страница 21: ...e 10 Layout SD card Signal parameter Metric mm Standard mils Total length L1 0 254 to 101 6 mm 10 to 4000 mils DATA CMD CTRL to CLK maximum pin to pin length mismatch 2 54 mm 100 mils Minimum main route spacing ratio 60 60 µm 1 1 trace width space CLK to DATA CMD CTRL matching 200 mils Characteristic single ended impedance 42 to 45 ohm 10 Load capacitance 2 to 5 pF Note 1 For SPI total length is 6...

Страница 22: ...s in reset and asserting RESET_OUT low it will turn off DS2 is the standard LED on the Arduino board It runs using the blink code or whenever Digital I O 13 is asserted High It can be used as an indicator under direct control DS3 is the battery charging LED It will turn on when the LTC4067 is charging an attached battery Intel Edison Kit for Arduino Hardware Guide December 2014 22 Document Number ...

Страница 23: ...e PCB edges Avoid holding or exerting pressure to the shields To mate the Intel Edison compute module to the Arduino board apply pressure directly above the connector and to the left corner as shown in Figure 8 Figure 8 Inserting an Intel Edison compute module Intel Edison Kit for Arduino December 2014 Hardware Guide Document Number 331191 004 23 ...

Страница 24: ...enever the Intel Edison compute module is in low power sleep mode In order to avoid this condition when sleep mode is enabled a four wire UART Rx Tx CTS and RTS is required Note Low power sleep mode is disabled by default in the latest image To address this update your firmware as explained in the Getting Started Guide at https communities intel com docs DOC 23147 Intel Edison Kit for Arduino Hard...

Страница 25: ...dison compute module to power down It will leave the I O configuration in the port expanders in its current state Pressing this button momentarily when the Intel Edison compute module is powered down but power is still applied will cause the Intel Edison compute module to reboot If the Intel Edison compute module is running then a momentary press will cause the Intel Edison compute module to go in...

Страница 26: ...ape DF40C 2 0 70DS 0 4V 51 H11908TR ND Tape and Reelt Mini breakout power jack PJ 002BH SMT TR CP 002BHPJCT ND Cut tape PJ 002BH SMT TR CP 002BHPJTR ND Tape and reel Mini breakout USB adapter cable USB A female to Micro A male 10 00649 839 1105 ND Mini breakout male header 2x14 M20 9980745 952 1932 ND Intel Edison Kit for Arduino Hardware Guide December 2014 26 Document Number 331191 004 ...

Страница 27: ...I_STATE_ALL signal to disconnect the shield pins 9 Set the above GPIO numbers to assert their output logic levels as high or low 10 Set the SoC GPIO pin mode for the required functionality 11 Deassert the TRI_STATE_ALL signal to reconnect the shield pins 11 1 Configure IO5 as a GPIO input with pullup resistor disabled To configure IO5 as a GPIO input with pullup resistor disabled do the following ...

Страница 28: ...t_pinmux echo low sys class gpio gpio259 direction echo in sys class gpio gpio227 direction echo in sys class gpio gpio43 direction echo low sys class gpio gpio214 direction You should be able to use IO11 as a GPIO input For example cat sys class gpio gpio43 value 11 3 Configure IO7 as a GPIO input with pullup resistor enabled To configure IO7 as a GPIO input with pullup resistor enabled do the fo...

Страница 29: ...umber According to Table 2 the GPIO number for IO14 is 44 2 According to Table 4 GPIO 200 must be set to 1 to select ADC 3 According to Table 7 GPIO 232 must be set to 0 to disable the output direction for IO14 4 Any GPIO lines directly connected to IO14 should be configured as high impedance inputs to prevent possible current leakage According to Table 7 GPIO 208 is used to enable a pullup resist...

Страница 30: ...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...

Страница 31: ... inputs to disable the pullup resistors for IO10 through IO13 8 According to Table 6 the TRI_STATE_ALL signal is controlled by GPIO 214 9 After you have gathered all of this information enter the following commands in Linux echo 111 sys class gpio export echo 115 sys class gpio export echo 114 sys class gpio export echo 109 sys class gpio export echo 263 sys class gpio export echo 240 sys class gp...

Страница 32: ...mode1 sys kernel debug gpio_debug gpio115 current_pinmux echo mode1 sys kernel debug gpio_debug gpio114 current_pinmux echo mode1 sys kernel debug gpio_debug gpio109 current_pinmux echo low sys class gpio gpio214 direction You should be able to use IO10 through IO13 for SPI connectivity Intel Edison Kit for Arduino Hardware Guide December 2014 32 Document Number 331191 004 ...

Отзывы: