Advantech ITA-2231 Series User Manual
Advantech ITA-2231 Series User Manual

Advantech ITA-2231 Series User Manual

2u fanless embedded computer core i dual core rackmount ipc
Hide thumbs Also See for ITA-2231 Series:
Table of Contents

Advertisement

Quick Links

User Manual
ITA-2231 Series
2U Fanless Embedded Computer
Core i Dual Core Rackmount IPC

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ITA-2231 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Advantech ITA-2231 Series

  • Page 1 User Manual ITA-2231 Series 2U Fanless Embedded Computer Core i Dual Core Rackmount IPC...
  • Page 2 This document is copyrighted 2017, by Advantech Co. Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to alter the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, trans- lated or transmitted in any form or by any means without the prior written permission of Advantech.
  • Page 3 Because of Advantech’s high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an Advantech product is defec- tive, it will be repaired or replaced at no charge during the warranty period. For out- of-warranty repairs, you will be billed according to the cost of replacement materials, service time and freight.
  • Page 4 Message to the Customer Advantech Customer Services Every Advantech product is built with the most exact specifications to ensure reliable performance in the harsh and demanding conditions typical of industrial environ- ments. Whether your new Advantech equipment is destined for a laboratory or fac- tory floor, be assured that your product can provide the reliability and ease of operation for which the name Advantech is renowned.
  • Page 5 Warnings, Cautions, and Notes Warning! Warnings indicate conditions, which if not observed, can cause personal injury! Caution! Cautions are included to help you avoid damaging hardware or losing data. e.g. There is a danger of a new battery exploding if it is incorrectly installed. Replace the battery only with the same or equivalent type recom- mended by the manufacturer.
  • Page 6 The sound pressure level at the operator's position according to IEC 704-1:1982 is no more than 70 dB (A). DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
  • Page 7 The fuses must be replaced by service person. Service person shall fully disconnect the power before servicing to avoid the risk of electric shock. Safety Precaution - Static Electricity Follow these simple precautions to protect yourself from harm and the products from damage.
  • Page 8 ITA-2231 User Manual viii...
  • Page 9: Table Of Contents

    Contents Chapter Overview..........1 Introduction ....................2 Specification....................2 Power Supply Information ................. 3 Table 1.1: Power supply: ............. 3 Environment ....................3 Table 1.2: Environment ............... 3 Dimension ....................4 Figure 1.1 ITA-2231 Dimension........... 4 Figure 1.2 ITA-2231 Diagram ............5 Table 1.3: Part List ..............
  • Page 10 Chapter System Installation ......19 Introduction ..................... 20 3.1.1 Installing Mainboard mini-PCIe card and mini SATA....20 Figure 3.1 Installing M.2 and mini-PCIe ........20 3.1.2 Installing HDD Module ..............20 Figure 3.2 Installing HDD Module..........21 3.1.3 Installing the Top Cover.............. 21 Figure 3.3 Installing the Top Cover ...........
  • Page 11 5.2.7 Serial IO windows Driver Setup ..........54 5.2.8 USB3.0 windows Driver Setup............ 55 Sequence Network Interfaces in Windows8.1 and Windows10 by ITA-EM Network Card ..................56 5.3.1 Introduction ................. 56 5.3.2 Remove Inbox Driver ..............56 Chapter GPIO Programming Guide ....61 ITA-2231 Digital DIO Definition ...............
  • Page 12 ITA-2231 User Manual...
  • Page 13: Chapter 1 Overview

    Chapter Overview...
  • Page 14: Introduction

    Introduction ITA-2231 is a 2U fanless embedded rackmount industrial computer with wide voltage input range. Based on Core i7 Quad-core processor, it is a comprehensive moni- toring and communication management system. The powerful computing platform supports 7/24 operation. Specification  Chipset: Intel Core i7 processor and Intel QM170 chipset ...
  • Page 15: Power Supply Information

    Power Supply Information ITA-2231 supports hot swap power supply module with dual or single power input. Table 1.1: Power supply: Direct/alternating 110V DC/ 100-240V AC Input voltage 110 VDC --- 1.2 A Current input: 100-240 VAC --- 1.2-0.55 A Power input interface 3P European terminal block Power1 AC+ Power2 DC or Power1 AC+ Power2 AC or Power1 Dual power input DC+Power2 DC...
  • Page 16: Dimension

    Dimension Figure 1.1 ITA-2231 Dimension ITA-2231 User Manual...
  • Page 17: Figure 1.2 Ita-2231 Diagram

    Figure 1.2 ITA-2231 Diagram Table 1.3: Part List Base Power supply module Front panel Top cover Motherboard Handle Back plate Heat sink 3.5 HDD bracket Hand guard (top) 2.5 HDD adapter bracket Hand guard (bottom) Blank bracket (rear) PC104 Blank bracket Blank bracket (front) ITA-2231 User Manual...
  • Page 18 ITA-2231 User Manual...
  • Page 19: Chapter 2 Industrial Motherboard

    Chapter Industrial Motherboard...
  • Page 20: Introduction

    Introduction This chapter introduces internal jumper settings and external pin assignment for application integration. System Status LED 2.2.1 System View Alarm LED COM LED HDD LED LAN LED Figure 2.1 Front View Alarm LED HDD LED Figure 2.2 Rear View 2.2.2 System Status LED Indicator The LED indicator at the bottom left of the front panel indicates system link/activity...
  • Page 21: Network Interface Led Indicator

    2.2.3 Network Interface LED Indicator The following table provides detailed information of LED definition. Item Status Color Description 1000M Receiving/transferring network 1000M Green data. 100M Receiving/transferring network 100M Orange data. 10M Receiving/transferring network data. Connected Flash Green Connecting. 2.2.4 Serial Port Status LED Indicator The following table provides detailed information of LED definition.
  • Page 22: Jumper And Connector Location

    A pair of needle-nose pliers may be helpful when working with jumpers. If you have any doubts about the best hardware configuration for your application, contact your local distributor or sales representative before you make any changes. Generally, you simply need a standard cable to make most connections. 2.3.2 Jumper and Connector Location The board has a number of connectors and jumpers that allow you to configure your...
  • Page 23: Figure 2.4 Jumper And Connector Location On Backplane

    VIO1 PCI104 ITA-EM Slot1 ITA-EM Slot2 ITA-EM Slot3 Figure 2.4 Jumper and Connector Location on Backplane Table 2.1: Jumper Name Function JCMOS1 Clear CMOS settings PSON1 Start-up mode selection VCCGPIO1 GPIO voltage selection Default setting Clear CMOS setting Table 2.2: JCMOS1: Clear CMOS settings Closed Pins Setting Normal (+V3.3_SB)*...
  • Page 24: I/O Connector

    AT mode ATX mode Table 2.3: PSON1: Start-up mode selection Closed Pins Setting AT mode ATX mode* *Default setting Table 2.4: VCCGPIO1: GPIO voltage selection Closed Pins Setting +V5_SB* +V3.3_SB +V3.3 *Default setting I/O Connector Figure 2.5 ITA-2231 Front I/O Connectors USB 2.0 x 3, ITA-EM Module Interface USB 3.0 x 2...
  • Page 25: Com Connector

    2.4.1 COM Connector ITA-2231 provides two DB9 connectors for RS-232/422/485. Table 2.5: COM Connectors RS-232 RS-422 RS-485 Signal Name Signal Name Signal Name DATA- DATA+ 2.4.2 DVI-D Connector Table 2.6: DVI-D Connector Signal Signal T.M.D.S. Data2- Ground T.M.D.S. Data2+ +5V Power Ground Ground Ground...
  • Page 26: Dvi-I Connector

    2.4.3 DVI-I Connector ITA-2231 offers 1 DVI-I connector. Table 2.7: DVI-I Connector Signal Signal T.M.D.S. Data2- Hot Plug Detect T.M.D.S. Data2+ T.M.D.S. Data0- Ground T.M.D.S. Data0+ VGA DCC Clock Ground VGA DCC Data Ground DDC Clock Ground DDC Data DVI Detect Analog Vertical Sync T.M.D.S.
  • Page 27: Usb 2.0 Connector

    2.4.5 USB 2.0 Connector Table 2.9: USB2.0 Pin Assignment Signal Signal +V5(VCC) USB DATA+ USB DATA- 2.4.6 USB 3.0 Connector ITA-2231 provides two USB 3.0 connectors which are USB UHCI Rev. 3.0 compliant and can be disabled via BIOS setup. Table 2.10: USB 3.0 Pin Assignment Signal Signal...
  • Page 28: Lan Connector

    2.4.8 LAN Connector ITA-2231 provides two RJ-45 Ethernet connectors, which are IEEE 802.3U 10/100/ 1000 Mbps compliant, with LEDs indicating network status. Table 2.11: LAN Connector Signal Name A1/B1 MDIO0+ A2/B2 MDIO0- A3/B3 MDIO1+ A4/B4 MDIO2+ A5/B5 MDIO2- A6/B6 MDIO1- A7/B7 MDIO3+ A8/B8...
  • Page 29 Connection for AC mains: Power installation must be performed with a qualified electrician and follow US National Electrical Code, ANSI/NFPA 70 and Canadian Electrical Code, Part I, CSA C22.1. Use No. 14 AWG, 75°C solid copper wire with RHW, THHW, THW, THWN, XHHW, USE or ZW type pressure terminal connector and 4.5 lb-in torque force when connecting to a terminal block.
  • Page 30 To Disconnect Power supply: Turn off DC supply source and equipment. Disconnect the power cord from equipment. Remove the signal cables from the connectors. Remove the earthed cable from the protective earthed terminal of the equip- ment. ITA-2231 User Manual...
  • Page 31: Chapter 3 System Installation

    Chapter System Installation...
  • Page 32: Introduction

    Introduction The following procedures will instruct you to install all modules into ITA-2231. 3.1.1 Installing Mainboard mini-PCIe card and mini SATA ITA-2231 mainboard has a mini-PCIe slot and a M.2 slot. Each one has a label for users to distinguish them. Insert a mini-PCIe card and M.2 card to the respective slot and fix with two screws.
  • Page 33: Installing The Top Cover

    Figure 3.2 Installing HDD Module 3.1.3 Installing the Top Cover Please refer to the following instructions to install the top cover. Insert the top cover towards the front panel and make sure it's installed firmly. Fix the top cover with two screws. Figure 3.3 Installing the Top Cover 3.1.4 Installing Ears and Handles...
  • Page 34: Installing The Ita-Em Card Module

    Figure 3.4 Installing the Foot Stand 3.1.5 Installing the ITA-EM Card Module Please refer to the following instructions to install the ITA-EM card module. Open the top cover of the ITA-2231 chassis. Insert the ITA-EM module as demonstrated in the following figure. a.Firstly, insert the I/O side of the module into the I/O panel of the chassis.
  • Page 35: Chapter 4 Ami Bios Setting

    Chapter AMI BIOS Setting...
  • Page 36: Introduction

    Introduction This chapter introduces how to configure the AMI BIOS for ITA-2231 series.With the AMIBIOS Setup program, you can modify BIOS settings and control the special fea- tures of your computer. The Setup program uses a number of menus forsaking changes and turning the special features on or off.
  • Page 37: Main Setup

    Figure 4.2 Press <DEL> to Enter Setup Screen 4.2.1 Main Setup When you first enter the BIOS Setup Utility, you will enter the Main setup screen. You can always return to the Main setup screen by selecting the Main tab. There are two Main Setup options.
  • Page 38: Advanced Bios Features Setup

    Press the <Tab> key or the <Arrow> keys to move between fields. The date must be entered in MM/DD/YY format. The time must be entered in HH:MM:SS format. 4.2.2 Advanced BIOS Features Setup Select the Advanced tab from the ITA-2231 setup screen to enter the Advanced BIOS Setup screen.
  • Page 39: Figure 4.5 Trusted Computing

    4.2.2.1 Trusted Computing Figure 4.5 Trusted Computing Security Device Support  Enable or Disable TPM. 4.2.2.2 AMT Configuration Figure 4.6 AMT Configuration  Intel AMT Enable or Disable AMT.  BIOS Hotkey Pressed ITA-2231 User Manual...
  • Page 40: Figure 4.7 Pch-Fw Configuration

    This item allows the BIOS to trigger AMT via the hotkey. MEBX Selection Screen  Enable or disable MEBX selection screen.  Hide Un-Configure ME Configuration Prompt This item allows users to choose whether to hide the option of ME configuration initialization.
  • Page 41: Figure 4.8 F81866 Super Io Configuration

    4.2.2.4 F81866 Super IO Configuration Figure 4.8 F81866 Super IO Configuration DVI only  This item allows users to choose whether to connect to a DVI display device only. Figure 4.9 Serial Port Configuration  Serial Port Enable or disable serial port. Default: Enable. ...
  • Page 42: Figure 4.10Hardware Monitor

     Change settings[1] Select the IO port and IRQ value of serial port.  Change settings[2] Selects the mode of serial port (half duplex/full duplex).  Serial Port Mode Selects the serial port mode (RS232/RS485). 4.2.2.5 Hardware Monitor Figure 4.10 Hardware Monitor This item is used for hardware monitoring.
  • Page 43: Figure 4.11Serial Port Console Redirection

    4.2.2.6 Serial Port Console Redirection Figure 4.11 Serial Port Console Redirection Console redirection  Enable or disable serial port console redirection.  Console Redirection Settings When the serial port redirection function is enabled, the user can configure redirection pamameters, such as terminal type and transmission rate, on the subpage.
  • Page 44: Figure 4.12Cpu Configuration

    4.2.2.7 CPU Configuration Figure 4.12 CPU Configuration  Hyper-threading Enable or disable hyper-threading.  Active Processor Cores Configure the number of processor cores.  Intel Virtualization Technology Enable or disable VT technology.  Boot performance mode Configures the performance mode of the CPU. ...
  • Page 45: Figure 4.13Sata Configuration

    Enable of disable Intel(R) Speed shift Technology. CPU C sates  Enable or disable C-State.  4.2.2.8 SATA Configuration Figure 4.13 SATA Configuration  SATA Controller(s) Enable or disable SATA controller.  SATA Mode Selection Select SATA mode (AHCI or RAID). ...
  • Page 46: Figure 4.14Network Stack Configuration

    4.2.2.9 Network Stack Configuration Figure 4.14 Network Stack Configuration Network Stack  Enable or disable the UEFI network stack. When network stack is enabled, the users will have to configure the following param- eters (as shown in the figure above): ...
  • Page 47 Set the PXE boot waiting time. Media detect count  Set the number of media detection times. 4.2.2.10 CSM Configuration  CSM Support Enable or disable CSM support.  GateA20 Active Set the activating time of GateA20.  Option ROM Messages Set the display mode of option ROM message.
  • Page 48 4.2.2.11 USB Configuration  Legacy USB Support Enable or disable legacy USB support. XHCI Hand-off  Enable or disable XHCI hand-off. This item is the alternative for OS which do not have the XHCI hand-off function.  USB Mass Storage Driver Support Enable or disable USB storage device support.
  • Page 49 4.2.2.12 PCIE COM Port Configuration Configure the corresponding PCIE serial port card.  Serial Port Mode Configure the serial port mode to RS232, RS422 or RS485. ITA-2231 User Manual...
  • Page 50: Advanced Chipset Features Setup

    4.2.3 Advanced Chipset Features Setup  VT-d Enable or disable VT-d technology.  Above 4GB MMIO BIOS assignment Enable or disable BIOS assignment for MMIO above 4GB. ITA-2231 User Manual...
  • Page 51: Figure 4.15Intel Graphics Configuration

    4.2.3.1 Graphics Configuration Figure 4.15 Intel Graphics Configuration IGFX VBIOS Version  Shows the current VBIOS version.  Graphics Turbo IMON Current Sets the IMON current value. GTT size  Set GTT size.  Aperture size Sets aperture size.  DVMT Pre-Allocated Sets the video memory size pre-allocated by DVMT5.0.
  • Page 52  LCD control Please refer to the following screen. Primary IGFX Boot Display  Select the display device in POST phase. ITA-2231 supports HDMI, DVI, EDP screen and VGA display.  eDP LVDS Panel Type Select the screen type supported by ITB-172. ...
  • Page 53: Figure 4.16Peg Port Configuration

    4.2.3.2 PEG Port Configuration Figure 4.16 PEG Port Configuration Enable Root Port  Enable or disable the port.  Max Link Speed Configure the max link speed of PEG port. Detect Non-Compliance Device  Enable or disable non-compliance device detection. PCH-IO Configurations ITA-2231 User Manual...
  • Page 54  Intel PCH RC Version Display the current Intel PCH RC version.  Intel PCH SKU Name Indicates the model name of current Intel PCH.  Intel PCH Rev ID Indicates the version of current Intel PCH. PCI Express Configuration ...
  • Page 55: Figure 4.17Pci Express Configuration

    Figure 4.17 PCI Express Configuration PCI Express Root Port  Enable or disable the current port.  Hot plug Enable or disable hot-plug support for PCIE device. PCIe speed  Sets the speed of the PCIe port.  Detect Non-Compliance device Are incompatible devices detected? ITA-2231 User Manual...
  • Page 56: Boot Setup

    Boot Setup Figure 4.18 Boot Setup 4.3.1 Boot Configuration  Setup Prompt Timeout This item is the waiting time of pressing the Setup button. If the Setup button is not pressed within the set time, the system will continue to boot. ...
  • Page 57: Hard Drive Bbs Priorities

    4.3.2 Hard Drive BBS Priorities Figure 4.19 Hard Drive BBS Priorities This item indicates the boot sequence of boot devices. Security Setup Figure 4.20 Setup Security Menu  Administrator Password This item is used to set Administrator Password.  User Password This item is used to set User Password.
  • Page 58: Save & Exit Setup

    4.4.1 Save & Exit Setup Figure 4.21 Setup Save & Exit Menu  Save Changes and Exit When you have completed system configuration, select this option to save your changes, exit BIOS setup and reboot the computer so the new system configu- ration parameters can take effect.
  • Page 59  Discard Changes and Reset Select this option to quit Setup without making any permanent changes to the system configuration. 1.Select Discard Changes and Reset from the Exit menu and press <Enter>. The following message appears: Discard Changes and Reset Setup Now? [Ok] [Cancel] 2.Select Ok to discard changes and exit.
  • Page 60 ITA-2231 User Manual...
  • Page 61: Chapter 5 Driver Installation

    Chapter Driver Installation...
  • Page 62: Introduction

    Introduction Advantech offers a complete range of Device Driver and software support for Win- dows programming developers. You can apply the Windows Device Drivers to the most popular Windows Programming tools, such as Visual C++, Visual Basic, Bor- land C++ Builder and Borland Delphi.
  • Page 63: Chipset Windows Driver Setup

    5.2.1 Chipset Windows Driver Setup Insert the driver CD into your system’s CD-ROM drive. You can see the ITA-2231 driver folder. Navigate to the "Chipset" folder and click "SetupChipset.exe" to com- plete the installation of the driver. 5.2.2 VGA Windows Driver Setup Insert the driver CD into your system’s CD-ROM drive.
  • Page 64: Lan Windows Driver Setup

    5.2.3 LAN windows Driver Setup Insert the driver CD into your system’s CD-ROM drive. You can see the ITA-2231 driver folder. Navigate to the "LAN" folder and click "PROWinx64.rar" to complete the installation of the driver. 5.2.4 AUDIO windows Driver Setup Insert the driver CD into your system’s CD-ROM drive.
  • Page 65: Me Windows Driver Setup

    5.2.5 ME windows Driver Setup Insert the driver CD into your system’s CD-ROM drive. You can see the ITA-2231 driver folder. Navigate to the "ME" folder and click "SetupME.exe" to complete the installation of the driver. 5.2.6 RST windows Driver Setup Insert the driver CD into your system’s CD-ROM drive.
  • Page 66: Serial Io Windows Driver Setup

    5.2.7 Serial IO windows Driver Setup Insert the driver CD into your system’s CD-ROM drive. You can see the ITA-2231 driver folder. Navigate to the "Serial IO" folder and click "SetupSerialIO.exe" to complete the installation of the driver. ITA-2231 User Manual...
  • Page 67: Usb3.0 Windows Driver Setup

    5.2.8 USB3.0 windows Driver Setup Insert the driver CD into your system’s CD-ROM drive. You can see the ITA-2231 driver folder. Navigate to the "USB 3.0" folder and click "SetupAdaptationDriver.exe" to complete the installation of the driver. Note: In Win10, ITA-2231 can directly use the USB 3.0 driver included in Win10 OS, instead of installing USB 3.0 driver additionally.
  • Page 68: Sequence Network Interfaces In Windows8.1 And Windows10 By Ita-Em Network Card

    Sequence Network Interfaces in Windows8.1 and Windows10 by ITA-EM Network Card 5.3.1 Introduction The built-in driver of Windows 8.1 x64 system is unable to sequence network inter- faces based on the order of ITA-EM slots. Therefore, after sequencing network inter- face IDs by SSID tool, the user needs to uninstall the network card driver in Windows8.1 x64 system, then re-install the corresponding network card driver to sequence network interfaces.
  • Page 69 Uninstall the corresponding network interface driver by Devcon.exe and the fol- lowing commands.  CMD : cdRemove_InBoxDriver devcon.exe /r remove =net Remove the .sys file of the corresponding network card by the following com- mands.  CMD : del C:\Windows\System32\drivers\e1i63x64.sys ITA-2231 User Manual...
  • Page 70 Find the .sys file in C:\Windows\System32\DriverStore according to the com- mands demonstrated in Section 5.3.2.5, then remove driver files from driver storage by the following commands.  CMD : QC:\Windows\System32\DriverStore\FileRepository\e1d64x64.inf_amd64_166 75c6772c15190 Create a desktop shortcut after running the batch file, and then double-click on the shortcut icon.
  • Page 71 ITA-2231 User Manual...
  • Page 72 ITA-2231 User Manual...
  • Page 73: Chapter 6 Gpio Programming Guide

    Chapter GPIO Programming Guide...
  • Page 74: Ita-2231 Digital Dio Definition

    Please carefully read and study the below screenshots and source codes in blue. Please download the specification of NXP Semiconductors PCA9554 for program- ming. ITA-2231 Digital DIO Definition See Section 2.3.6. Configuration Sequence ITA-2231’s GPIO is realized through PCA9554 GPIO IC connected to ICH SMBUS. Therefore, the configuration and access to GPIO IC is completed by IO Space accessing to ICH SMBUS controller.
  • Page 75 Below is pin desription for PCA9554: Below is the diagram of command bytes: ITA-2231 User Manual...
  • Page 76 PCA9554 has in all 4 registers to control GPIO. PCA9554 register 0: If one GPIO Pin is set to Input, you can read input value from the bit that register 0 corresponds to. PCA9554 register 1: If one GPIO Pin is set to Output, you can read input value from the bit that register 1 corresponds to.
  • Page 77 PCA9554 register 2: If one GPIO Pin is set to Input, you can control the polarity of input pin from the bit that register 2 corresponds to. PCA9554 register 3: Register 3 is used to set each GPIO as Input or Output: If the bit is ‘0’, the corresponding GPIO pin is set as Ouput;...
  • Page 78: Function Call For Reference

    Example: Here take ITA-2231 as an example. Assume GPIO 00 is set as output and GPIO 7 is set as Input, with two pins interconnected, how to set the corresponding register? GPIO 00 corresponds to PCA9554 0x40 IO0, while GPIO 07 corresponds to PCA9554 0x40 IO7.
  • Page 79 outportb(SMBUS_PORT + 3, offset);// Write register offset to SMB_BASE + newiodelay();//delay newiodelay();//delay outportb(SMBUS_PORT + 2, 0x48);// Write SMBUS command SMB_BASE + 2. 0x48 means starting byte data transmission newiodelay();//delay newiodelay();//delay for (i = 0; i <= 0x100; i++) newiodelay();//longer delay chk_smbus_ready();//Whether SMBUS is ready return(inportb(SMBUS_PORT + 5));// Byte value read from SMB_BASE + 5 /////////////////////////////////////////////////////////////////////////////////////////////////////...
  • Page 80 for (i = 0; i <= 0x100; i++) newiodelay();//longer delay chk_smbus_ready();//?Whether SMBUS is ready ///////////////////////////////////////////////////////////////////////////////////////////////////// chk_smbus_ready() //To decide whether SMBUS is ready or has completed the action, you should wait for a long time to check whether SMBUS has successfully transmitted the command. Since error may rarely occurs, BIOS code does not make judgement on the return value of this function in read and write of SUMBUS byte.
  • Page 81 returnresult; ///////////////////////////////////////////////////////////////////////////////////////////////////// BYTE check_data(WORD addr) BYTE data; for(i = 0; i <= 6; i++) data = inportb(addr); if (data != 0) break; returndata; ///////////////////////////////////////////////////////////////////////////////////////////////////// void newiodelay() //Shorter delay outportb(0xeb, 0);//IO port 0xeb No real device occupies. Write a value to this port can realize delay function.
  • Page 82 Output High to GPIO 00: data = smbus_read_byte(0x40, 0x03);// Read slave 0x40 register 3 byte data &= 0xfe;//bit 0 is set as 0 smbus_write_byte(0x40, 0x03, data)//Write back. GPIO 00 is set for output data = smbus_read_byte(0x40, 0x01)//Read slave 0x40 register 1 data |= 0x01;//bit 0 is set as 1 which stands for high smbus_write_byte(0x40, 0x01, data)//Write back.
  • Page 83 Appendix Programming the Watchdog Timer...
  • Page 84: Appendix A Programming The Watchdog Timer

    Programming the Watchdog Timer The ITA-2231's watchdog timer can be used to monitor system software operation and take corrective action if the software fails to function within the programmed period. This section describes the operation of the watchdog timer and how to pro- gram it.
  • Page 85: Example Program

    A.1.3 Example Program ;----------------------------------------------------------- Enable watchdog timer and set 10 sec. as timeout interval ;----------------------------------------------------------- Mov dx,A65h ; Select register 65h, watchdog timer I/O port address 680h+ register shifts 65h Mov al,80h ; Set second as counting unit Out dx,al Mov dx,A66h ;...
  • Page 86 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 of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2017...

Table of Contents