background image

ROM-5780 User Manual

28

Export GPIO then you can use control GPIO from user space through sysfs. 

Export GPIO0 

Set GPIO direction to in/out 

Set GPIO value 0/1 if GPIO pin define is output 

Used as IRQ signal 

Note: 

You have to configure GPIO to input 

Unexport GPIO0 

GPIO 0 and GPIO 1 are taken as an example: 
Connect GPIO 0 and GPIO 1 
Export GPIO 0 and GPIO 1 

Set GPIO 1 to output 

Set GPIO 2 to input 

Change GPIO 0 to 1 and read GPIO 2 value

GPIO10

GPIO2_A3

67

GPIO11

GPIO4_C5

149

Содержание ROM-5780

Страница 1: ...User Manual ROM 5780 Rockchip RK3399 Cortex A72 A53 SMARC 2 1 Computer on Module...

Страница 2: ...mes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our...

Страница 3: ...the equip ment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the distance between th...

Страница 4: ...524 Power Cord 3P UL 10A 125V 180 cm 70 8 in 170203183C Power Cord 3P Europe WS 010 WS 083 183 cm 72 in 170203180A Power Cord 3P UK 2 5A 3A 250V 183 cm 72 in 1700008921 Power Cord 3P PSE 183 cm 72 in...

Страница 5: ...ient over voltage 12 Never pour any liquid into an opening This may cause fire or electrical shock 13 Never open the equipment For safety reasons the equipment should be opened only by qualified servi...

Страница 6: ...ROM 5780 User Manual vi...

Страница 7: ...ger 12 3 2 Quick Start Guide 16 3 2 1 Debug Port Connection 16 3 2 2 Debug Port Settings 16 Chapter 4 Software Functionality 17 4 1 Test Tools 18 4 1 1 HDMI 18 4 1 2 Multi display 19 4 1 3 Audio Test...

Страница 8: ...ROM 5780 User Manual viii...

Страница 9: ...Chapter 1 1 Introduction This chapter introduces the ROM 5780 platform Sections include Introduction Specifications...

Страница 10: ...l be provided along with open sourced Linux BSP test utilities hardware design utilities and refer ence drivers 1 2 Product Features Compatible Module SMARC 2 1 Processor System CPU Rockchip RK3399 Ar...

Страница 11: ...T 1 x 4 wire UART SPI 1 CAN GPIO 12 x GPIO Ports I2C 5 Camera Input 1 x 4 lane MIPI CSI 1 x 2 lane MIPI CSI System Bus Touch Keypad Power Power Supply Voltage 4 75 5 25V Power Consumption 8 52W Max En...

Страница 12: ...4 1 3 Mechanical Specifications Dimensions SMARC form factor size D x W 82 x 50 mm 3 22 x 1 9 in Height on Top Under 3 0 mm base on SPEC definition without heat sink Height on Bottom Under 1 3 mm bas...

Страница 13: ...2 Idle mode DUT power management off and no running any program 4 OS Debian 9 5 Test software qa sh heavy loading for CPU VPU GPU 1 5 Environmental Specifications Operating Temperature 0 60 C 20 85 C...

Страница 14: ...ROM 5780 User Manual 6...

Страница 15: ...2 H W Installation This chapter details mechanical and connector information for the ROM 5780 CPU Computer on Module Sections include Connector Information Block Diagram Functions available with ROM D...

Страница 16: ...your system 2 1 1 Connector List Switch SW1 UART Debug Port Selection SW2 AT ATX Mode Selection Position Description SW1 SW2 UART Debug Port selection AT ATX mode selection Setting Function SW1 2 3 No...

Страница 17: ...9 ROM 5780 User Manual Chapter 2 H W Installation 2 2 Block Diagram Figure 2 1 ROM 5780 Block Diagram...

Страница 18: ...ROM 5780 User Manual 10...

Страница 19: ...Chapter 3 3 Pin Definitions Quick Start Guide This chapter comprises pin defini tions and a quick start guide...

Страница 20: ...DSI1_D1 S11 CSI0_D0 P12 GND S12 CSI0_D0 P13 CSI1 DSI1_D2 S13 GND P14 CSI1 DSI1_D2 S14 CSI0_D1 P15 GND S15 CSI0_D1 P16 CSI1 DSI1_D3 S16 GND P17 CSI1 DSI1_D3 S17 P18 GND S18 P19 GBE0_MDI3 S19 P20 GBE0_...

Страница 21: ...B0 S60 USB5 P61 USB0 S61 GND P62 USB0_EN_OC S62 USB3_SSTX P63 USB0_VBUS_DET S63 USB3_SSTX P64 USB0_OTG_ID S64 GND P65 USB1 S65 USB3_SSRX P66 USB1 S66 USB3_SSRX P67 USB1_EN_OC S67 GND P68 GND S68 USB3...

Страница 22: ...P109 GPIO1 S109 eDP1_AUX P110 GPIO2 S110 GND P111 GPIO3 S111 eDP1_TX0 P112 GPIO4 S112 eDP1_TX0 P113 GPIO5 S113 eDP1_HDP P114 GPIO6 S114 eDP1_TX1 P115 GPIO7 S115 eDP1_TX1 P116 GPIO8 S116 LCD1_VDD_EN P...

Страница 23: ...BKLT_PWM P142 GND S142 P143 S143 GND P144 S144 P145 S145 WDT_TIME_OUT P146 S146 PCIE_WAKE P147 VDD_IN S147 VDD_RTC P148 VDD_IN S148 LID P149 VDD_IN S149 SLEEP P150 VDD_IN S150 VIN_PWR_BAD P151 VDD_IN...

Страница 24: ...cation programs such as HyperTerminal Tera Term or PuTTY can be used in these applications The example below describes the serial terminal setup using HyperTerminal on a Windows host 1 Connect ROM 578...

Страница 25: ...Chapter 4 4 Software Functionality This chapter details the software programs on the ROM 5780 plat form...

Страница 26: ...you have any problems during testing please contact Advantech for help 4 1 1 HDMI 4 1 1 1 HDMI Resolution 1 Entry start Preferences Monitor Settings 2 Turn on HDMI and select resolution 4 1 1 2 HDMI A...

Страница 27: ...see the following infor mation on debug console Afterwards you can input the following command to configure Multi Display settings 4 1 2 2 eDP and HDMI 1 eDP is main display please set in u boot as f...

Страница 28: ...by default so the CODEC can be turned on directly using the com mand 1 Record 2 Playback 4 1 3 2 Use the CODEC of the I2S1 for recording and playback The second codec needs to be configured before us...

Страница 29: ...1 and connect the card to CN6 PCIe_D slot on ROM DB5901 Step 2 Connect the antenna 1750007990 01 to the SMA F connector on 9680015491 and connect the IPEX connector to MT1 on EC20 CEFAG mod ule Step 3...

Страница 30: ...al 22 4 1 5 Wi Fi BT Test 4 1 5 1 Wi Fi 1 Click the Wi Fi icon in the bottom right corner of the screen and select a Wi Fi connection for example Advantech for guest 2 Enter the Wi Fi password to conn...

Страница 31: ...er Manual Chapter 4 Software Functionality 3 If the password is correct the device will connect quickly 4 1 5 2 BT 1 Entry start Preferences Bluetooth manager Click the Search button to search for Blu...

Страница 32: ...eption 4 1 6 UART User Debian Linux UART serial port access is through the tty devices The tty devices have different names depending on UART drivers for different boards Device Node ROM DB5901 Carrie...

Страница 33: ...ices connected on the I2C switch cannot be 0x73 because the address of the I2C switch TCA9545 is already 0x73 If the addresses are the same there will be a conflict and data will not be transferred 4...

Страница 34: ...hen set the RTC Set one incorrect time then read RTC to verify Restore the RTC time to system time 4 1 10 SPI Flash Test Add a file to the SPI device node then read it back to check if the values are...

Страница 35: ...on for GPIOs must be formed as GPIO GPI O_bank _ gpio_bit The numeric value of GPIO is calculated as follows 32 x gpio_bank gpio_bit gpio_bit A0 A7 0 7 B0 B7 8 15 C0 C7 16 23 D0 D7 24 31 E g GPIO2_B0...

Страница 36: ...Set GPIO value 0 1 if GPIO pin define is output Used as IRQ signal Note You have to configure GPIO to input Unexport GPIO0 GPIO 0 and GPIO 1 are taken as an example Connect GPIO 0 and GPIO 1 Export G...

Страница 37: ...v8858 ROM 5780 requires controlling the camera reset and power pins If ROM 5901 is used as the ROM 5780 base plate the power pin is multiplexed with GPIO0 The reset pin is multiplexed with GPIO2 Users...

Страница 38: ...ROM 5780 User Manual 30...

Страница 39: ...Chapter 5 5 Advantech Services This chapter details Advantech s Design in services technical sup port and warranty policy for the ROM 5780 evaluation kit...

Страница 40: ...ls for customers These tools help customers develop their carrier board and differentiate their embedded products and applications Full range of RISC products Comprehensive document support Design Ass...

Страница 41: ...especially when inte grating CPU modules into carrier boards The Acquisition of Information Despite obtaining sufficient information for making decisions concerning specialized vertical applications s...

Страница 42: ...d recommendations for carrier board design This design guide gives customers clear guidelines during their carrier board develop ment Advantech offers a complete pin out check list for different form...

Страница 43: ...he shelf products and third party off the shelf products used to assemble Configure to Order products are entitled to a two year complete and prompt global warranty service Product defects in design m...

Страница 44: ...2 Repair Process 5 3 2 1 Obtaining an RMA Number All returns from customers must be authorized with an Advantech Return Merchan dise Authorization RMA number Any returns of defective units or parts wi...

Страница 45: ...d Should DOA cases fail Advantech will take full responsibility for the product and transportation charges If the items are not DOA but fail within warranty the sender will bear the freight charges Fo...

Страница 46: ...ot caused by Advantech design or manufacturing customers will be charged US 60 or US 120 for in warranty or out of warranty repair analysis reports respectively 5 3 2 5 Custody of Products Submitted f...

Страница 47: ...39 ROM 5780 User Manual Chapter 5 Advantech Services...

Страница 48: ...ions are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion fro...

Отзывы: