background image

12 How to use the interfaces in Linux

ReliaGATE 10-14 User manual Rev. 0-10

12.2

How to use the GPIOs: the GPIO Utility

The ReliaGATE 10-14 includes the

gpio_utility

which provides a more convenient way to drive many

of the GPIO functions from the command line:

gpio_utility pin_name function

pin_name

It is the required GPIO line in the format

gpioN

or

gpioBank_Pin

.

function

It may be set as follows:

0 or 1

to set the state of a GPIO output

In or Out

to set the direction of a GPIO

Unexport

to release the GPIO from

sysfs

(not normally required)

The GPIOs are exported by default at start-up.

12.3

How to drive the LED Indicators

The ReliaGATE 10-14 includes 4 LEDs which are available for use in application programs. These LEDs
are provided by GPIO lines which are available through the

sysfs

interface.

The table below shows the GPIO line and color associated with each LED:

LED #

GPIO

Color

1

108

Green

2

109

Green

3

110

Amber

4

111

Amber

EXAMPLES:

To turn ON LED 1, enter the following command:

gpio_utility gpio108 1

To turn OFF LED 1, enter the following command:

gpio_utility gpio108 0

To read the status of LED 1, enter the following command:

gpio_utility gpio108

The current state of the LED is determined by reading the associated GPIO.

The output is as follows:

l

If LED 1 is ON, then

gpio108

= 1

l

If LED 1 is OFF, then

gpio108

= 0

For more information see:

"General Purpose IO" on the previous page

.

64 / 90

Summary of Contents for ReliaGATE 10-14 Series

Page 1: ...User manual ReliaGATE 10 14 Multi service IoT Edge Gateway NXP i MX8 LTE Cat 1 Rev 0 10 20 October 2020 REGATE 10 14_Man_ENG_0 10 ENGLISH...

Page 2: ...e in compliance with the applicable regulations Revision history Revision Description Date 0 10 Release 0 10 l Added sections o Packaging and packaging waste in chapter 7 o Product disposal and recycl...

Page 3: ...ive technical assistance on page 17 2 Know the ReliaGATE 10 14 and its interfaces For more information see l Product overview on page 23 l Technical specifications on page 25 l Interfaces overview on...

Page 4: ...This page has been intentionally left blank...

Page 5: ...it peuvent devenir chaudes 15 3 How to receive technical assistance 17 3 1 How to ask for technical support 17 3 2 How to send a product for repair 17 4 Comment obtenir une assistance technique 19 4 1...

Page 6: ...cations 47 9 2 Internal Cellular Modem and GNSS vers 35 36 37 48 9 2 1 Internal Cellular Modem specifications 48 9 2 2 Main cellular antenna requirements 48 9 2 3 Second cellular antenna requirements...

Page 7: ...M port mode 67 12 7 How to use the Internal Cellular Modem 71 12 7 1 How to select the MiniSIM card holder to use 71 12 7 2 Note for LE910C1 NF1 Modem AT T Verizon firmware support 71 12 7 3 How to di...

Page 8: ...ons 83 15 3 How to supply power and turn ON the product 84 15 4 How to turn OFF the product 85 15 5 How to reduce the power consumption of the product 85 15 6 How to hardware reset the product 85 16 H...

Page 9: ...ch Technical Support for more information see How to receive technical assistance on page 17 1 1 Warning messages 1 1 1 Warning messages for harm to persons To indicate an imminently hazardous situati...

Page 10: ...ion cables in places where they may be trampled or compressed 5 Make sure that the power points and plugs are in good condition before using them 6 Do not overload the power points and plugs 7 Make su...

Page 11: ...ety instructions 1 4 Caution product s surfaces may become hot Depending on the operating environment temperature product s surfaces may become hot creating a burn hazard Always allow the product s su...

Page 12: ...This page has been intentionally left blank...

Page 13: ...ument contacter le Support Technique d Eurotech pour plus d informations voir Comment obtenir une assistance technique page 19 2 1 Messages d avertissement 2 1 1 Messages d avertissement relatifs au d...

Page 14: ...d tre pi tin s ou comprim s 5 S assurer que les prises de courant et les connecteurs d alimentation sont en bon tat avant de les utiliser 6 Ne pas surcharger les prises de courant et les connecteurs...

Page 15: ...tention les surfaces du produit peuvent devenir chaudes Selon la temp rature ambiante lors de l utilisation les surfaces du produit peuvent devenir br lantes engendrant un risque de br lure Laisser to...

Page 16: ...This page has been intentionally left blank...

Page 17: ...Any product returned to Eurotech that is found to be damaged due to inadequate packaging will not be covered by the warranty To send a product for repair complete the following steps 1 Go to the Eurot...

Page 18: ...This page has been intentionally left blank...

Page 19: ...Eurotech qui se trouve endommag en raison d un emballage inad quat ne sera pas couvert par la garantie Pour retourner un produit en Service Apr s Vente proc der comme suit 1 Se connecter au Support Eu...

Page 20: ...This page has been intentionally left blank...

Page 21: ...air Negative signal Negative signal in differential pair 3 3 3 3 V signal level 5 5 V signal level NC No Connection Reserved Use is reserved to Eurotech 5 2 Conventions for signal types Convention Des...

Page 22: ...This page has been intentionally left blank...

Page 23: ...sion options allow adding extra features with side modules such as the LoRa LPWAN Gateway unit or the DAQ unit that provides analog input and more DI O ports The ReliaGATE 10 14 is equipped with TPM 2...

Page 24: ...terconnecting and power cables l Be used with an external DC power supply source that o Must meet the requirements stated on the identification label of the product o Must deliver a minimum power of 2...

Page 25: ...noise and surge protected on Type A connectors Serial 2x RS 232 422 485 protected and isolated 5 wires 1x Serial Console TTL Digital I O 4x Digital Inputs Optoisolated 2x Digital Outputs Optoisolated...

Page 26: ...107 L x 85 W x 46 H mm Antennas Connectors and Mounting Bracket excluded Weight 330g without DIN Rail Mounting Clip Bracket Enclosure Material Aluminum Magnesium Alloy Software OS Eurotech Everyware...

Page 27: ...Model number example l Regulatory marks depending on product version l Power supply specifications l Serial number l MAC ID number l IMEI number Rear side of the produc see Rear Side overview on page...

Page 28: ...This page has been intentionally left blank...

Page 29: ...t has been manufactured in compliance with the European Parliament and Council Directive 94 62 EC of 20 December 1994 on packaging and packaging waste 7 1 3 Product disposal and recycling This product...

Page 30: ...g to the making available on the market of radio equipment For more information see Technical specifications on page 25 Modification statement Eurotech has not approved any changes or modifications to...

Page 31: ...e Only 52 5260 Not Supported 56 5280 Not Supported 60 5300 Not Supported 64 5320 Not Supported 100 5500 Not Supported 104 5520 Not Supported 108 5540 Not Supported 112 5560 Not Supported 116 5580 Not...

Page 32: ...rt 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This product generates uses and can radiate radio frequency...

Page 33: ...z Wi Fi usage Channel Number Frequency MHz North America FCC 36 5180 Indoor Usage Only 40 5200 Indoor Usage Only 44 5220 Indoor Usage Only 48 5240 Indoor Usage Only 52 5260 Not Supported 56 5280 Not S...

Page 34: ...dans cette liste et dont le gain est sup rieur au gain maximal indiqu pour tout type figurant sur la liste sont strictement interdits pour l exploitation de l metteur 7 2 5 ISED Class B Digital Devic...

Page 35: ...in dBi Wi Fi BT Linx Technologies ANT DB1 RAF RPS 2 5 dBi 2 4 GHz 4 6 dBi 5 GHz GNSS 2J ANTENNA 2J4301MPGF 3 9 dBi Cellular 2J ANTENNA 2JW0124 3 0 dBi NOTICE Within the EU antennas have to be used in...

Page 36: ...This page has been intentionally left blank...

Page 37: ...l Purpose Green 2 USER2 General Purpose Green 3 USER3 General Purpose Amber 4 USER4 General Purpose Amber 5 CELL Internal Cellular Modem activity only for versions 35 36 37 l LED ON Modem ON l LED bli...

Page 38: ...1 connector 2 Digital IN OUT Analog IN connector 3 Antenna connector for 2 4 GHz 5 GHz Wi Fi Bluetooth 4 Main antenna connector for the Internal Cellular Modem only for versions 35 36 37 5 Antenna con...

Page 39: ...es overview The Bottom Side Interfaces are as follows Figure 8 3 Bottom Side Interfaces layout Ref Description 1 Power IN connector 2 DisplayPort 3 USB0 connector 4 USB1 connector 5 Ethernet ETH0 conn...

Page 40: ...0 10 8 4 Right Side Interfaces overview The Right Side Interface is as follows Figure 8 4 Right Side Interfaces layout Ref Description 1 Expansion connector Table 8 4 Right Side Interfaces description...

Page 41: ...f Description 1 Service Panel includes the Service Interfaces 8 5 1 Anti Tamper Function The ReliaGATE 10 14 is equipped with anti tamper detection when the Service Panel or the case is opened the int...

Page 42: ...removed otherwise dust and other particulates may enter the system If it is necessary to have extended access to the Service Panel take appropriate precautions to stop any particulates from entering...

Page 43: ...the Ignition Key control functionality 3 DIP switch for SD card internal eMMC BOOT 4 MiniSIM push pull card holder 1 top 5 MiniSIM push pull card holder 2 bottom 6 TTL System Serial Console 7 Reset p...

Page 44: ...OFF this means no resistors inserted The DIP switches allow you to control the following functions SW Function Description 1 Ignition Key control functionality ON Ignition Key control enabled OFF Igni...

Page 45: ...board in the Service Panel l The MicroSD card holder is a push push type The MicroSD card holder allows you to insert a MicroSD card for additional data storage l The dual MiniSIM cards holder is a pu...

Page 46: ...14 User manual Rev 0 10 8 6 Rear Side overview The Rear Side is as follows Figure 8 7 Rear Side layout Ref Description 1 Product Label position 2 DIN Rail Mounting Clip 3 Earth connection terminal Tab...

Page 47: ...l 802 11n 2 4GHz 5GHz o 20Mhz BW Up to 72 2Mbps using short GI MCS0 7 o 40Mhz BW Up to 144 4Mbps using short GI MCS0 7 l 802 11ac 5GHz HT20 MCS0 8 VHT40 MCS0 9 VHT80 MCS0 9 Transmission Power l 802 1...

Page 48: ...DD Cat 1 3GPP release 9 compliant 9 2 1 2 LTE data l Uplink up to 5 Mbps l Downlink up to 10 Mbps 9 2 1 3 Supported RF bands TELIT variant LTE FDD 4G bands HSA 3G bands 2G bands LE910C1 NF B2 B4 B5 B1...

Page 49: ...h any other antenna or transmitter l The antenna must not be installed inside metal cases 9 2 5 LTE Single antenna operation notes Single LTE antenna operation can be supported however typically wirel...

Page 50: ...ed for the GLONASS application The GNSS pre filter must meet the following requirements l Source and load impedance 50 Ohm l Insertion loss 1575 42 1576 42 MHz 1 4 dB Max l Insertion loss 1565 42 1585...

Page 51: ...n l Full scale range 0 to 36VDC l Input impedance 100kOhm 9 3 2 Digital IN OUT and Analog IN connector specifications Connector Layout Connector Specifications l DMC 1 5 8 G1F 3 5 LR Header l Gender M...

Page 52: ...1 D1 _TERM O TXD1 2A Z1 D1 _TERM O RTS1 3A GND_ISO P Ground Reference 4A A1_TERM I RXD1 5A B1_TERM I CTS1 1B COM1 Y2 D2 _TERM O TXD2 2B Z2 D2 _TERM O RTS2 3B GND_ISO P Ground Reference 4B A2_TERM I RX...

Page 53: ...nector Pinout Pin Signal Type Description 1 Lane0P IO Lane 0 positive 2 GND P Ground 3 Lane 0N IO Lane 0 negative 4 Lane1P IO Lane 1 positive 5 GND P Ground 6 Lane 1N IO Lane 1 negative 7 Lane2P IO La...

Page 54: ...ose applications on the bottom side l USB 0 max load 500 mA l USB 1 max load 500 mA 9 6 1 USB 0 and USB 1 connectors specifications Connector Layout Connector Specifications l USB Type A socket l Gend...

Page 55: ...nector has integrated magnetics 9 7 2 ETH 0 and ETH 1 connectors specifications Connector Layout Connector Specifications l RJ 45 socket l Gender Female Mating Connector Specifications l RJ 45 plug l...

Page 56: ...mm pitch l Example Manufacturer Pinrex Part Number 221 92 12GB51 or equivalent Connector Pinout Pin Signal Type Description 1 VCC 3v3 EXT P 3 3V 100mA max power supply 2 GND P Ground 3 VCC 5v_EXT P 5V...

Page 57: ...tions Connector Layout Connector Specifications l Shrouded header l Gender Male l Type Pitch 1 25 mm 3 pin Mating Connector Specifications l Connector Housing l Gender Female l Type Pitch 1 25 mm 3 pi...

Page 58: ...2 The RTC backup supercap The ReliaGATE 10 14 includes a non removable supercap The RTC backup supercap can retain the time stamp for at least 10 days when the ReliaGATE 10 14 is powered OFF NOTE this...

Page 59: ...arranty 10 3 Docker Docker is installed in the default Linux image and can be used to create manage and launch containers Once installed the data partition is mounted on var lib docker and this is whe...

Page 60: ...6 Partition layout The partition layout is as follows Partition File System Size approximately Description 1 FAT 130 MB Boot Partition Contains the system boot artifacts 2 EXT4 2 GB System A Entire ro...

Page 61: ...etc issue net The text displayed after a successful login via ssh or the serial console is contained in etc motd 11 3 How to login via the Serial Console The serial console of the ReliaGATE 10 14 is a...

Page 62: ...How to login via eth0 To login using eth0 complete the following steps 1 Ensure that the client PC is using an IP address on the same subnet as eth0 e g 172 16 0 2 2 Enter the command ssh root 172 16...

Page 63: ...e represented by the following directories sys class gpio gpioxxx where xxx is the number of the associated GPIO line Filename Functions value Get or set the value of the GPIO line can be 0 or 1 direc...

Page 64: ...to drive the LED Indicators The ReliaGATE 10 14 includes 4 LEDs which are available for use in application programs These LEDs are provided by GPIO lines which are available through the sysfs interfa...

Page 65: ...ne associated with each IO IO Line GPIO Dig In1 106 Dig In2 107 Dig In3 96 Dig In4 97 Dig Out1 42 Dig Out2 43 EXAMPLES To turn ON Dig Out1 enter the following command gpio_utility gpio42 1 To read the...

Page 66: ...ng an input voltage rage of 0 to 36 3 volts Linux drivers are included which provide an IIO interface within the sysfs file system Each ADC appears as a directory containing various files which allow...

Page 67: ...etserial or the serial mode library 12 6 1 Termination and Bias Resistors Termination resistors are used to reduce reflections when long cables are used at high baud rates Reflections can significantl...

Page 68: ...ons allow the level of the line driver output enable pin both during and after transmission in RS 485 mode to be overridden in special circumstances During normal operation these options should not be...

Page 69: ...ethsetserial h RTS_AUTO RTS_HI RTS_LOW state during Specified the state of the line driver enable during a transmission and may be one of the following constants defined in ethsetserial h RTS_AUTO RTS...

Page 70: ...ello include stdio h include fcntl h include unistd h include sys stat h include sys types h include ethserialmode h int main int argc char argv int fd struct _eth_serial_mode mode mode terminator 0 m...

Page 71: ...2 1 telit he910 chat AT SIMSELECT 2 The value of the active SIM card is stored in a non volatile memory therefore the same SIM card remains active even after a power cycle of the system 12 7 2 Note fo...

Page 72: ...ain By default the ReliaGATE 10 14 is ship with the global regulatory domain set this will allow it to function in most countries However in order to optimize it for the Wi Fi domain if and when the f...

Page 73: ...Key monitoring only See also DIP switches meaning on page 44 SW 1 Ignition Key Status Key Signal Level Product Status ON From OFF GND to ON VIN Rising edge The product turns ON ON From ON VIN to OFF...

Page 74: ...kup supercap remains charged The RTC offers 3 timestamps l Timestamp1 captures the most recent tamper detection event l Timestamp2 captures the last time the RTC switched to battery backup power OFF l...

Page 75: ...cript is called with the following parameters Parameter 1 The date of the last tamper event formatted as YYYY MM DD Parameter 2 The time of the last tamper event formatted as hh mm ss After the script...

Page 76: ...o device2 in_accel_z_raw To output the three dimensional values for the gyroscope use the following commands watch n 1 cat sys bus iio devices iio device3 in_anglvel_x_raw watch n 1 cat sys bus iio de...

Page 77: ...own the system cleanly It should only be used as a last resort as this type of reset may lead to data loss and file system corruption 12 15 1 How to start stop the Watchdog from the command line To st...

Page 78: ...o best support the use case The ReliaGATE 10 14 currently supports these restore modes Restore Mode Description 1 default When the reset pushbutton is pressed restores the inactive file system to fact...

Page 79: ...ECHANICAL SPECIFICATIONS 13 1 Product mechanical dimensions The product electronics are housed in an aluminum alloy enclosure having the following dimensions 107 L x 85 W x 46 H mm Antennas Connectors...

Page 80: ...This page has been intentionally left blank...

Page 81: ...ly for example in a cabinet technical compartment NOTICE Always use the Earth connection terminal to connect the ReliaGATE 10 14 to an earth point in the installation For more information see Earth co...

Page 82: ...the product on a horizontal DIN rail complete the following steps 1 Position the product so that the lower side of the mounting bracket hooks on the lower edge of the DIN rail see step 1 2 Push the pr...

Page 83: ...is protected against surge noise reverse polarity over voltage NOTICE The Power IN connector is NOT protected against short circuit Always include an external fuse to protect the product The ReliaGAT...

Page 84: ...ts the product requirements and complies with the relevant standards and regulations In case of uncertainties contact the Eurotech Technical Support Team for more information see How to receive techni...

Page 85: ...1 in the Service Panel l If SW 1 is ON the Ignition Key control enabled to turn OFF the ReliaGATE 10 14 OFF follow these steps 1 Disconnect the KEY pin from Power IN The DynaGATE 10 12 performs a safe...

Page 86: ...This page has been intentionally left blank...

Page 87: ...the product complete the following steps 1 Make sure your hands are dry 2 Turn OFF all the power supply sources 3 Disconnect all cables apart from the earth connection terminal 4 Make sure that all t...

Page 88: ...This page has been intentionally left blank...

Page 89: ...ReliaGATE 10 14 User manual Rev 0 10 Notes NOTES 89 90...

Page 90: ...otech com For your Eurotech local contact refer to For the Eurotech Global Support Centre refer to For the Eurotech Download Area refer to eurotech com contacts support eurotech com eurotech com downl...

Reviews: