background image

Appendix

C

C

Programming the 
GPIO

Summary of Contents for PCE-5130

Page 1: ...User Manual PCE 5130 Socket M Intel CoreTM 2 Duo CoreTM Duo Celeron M processor PICMG 1 3 CPU Board with PCIe DDR2 VGA Dual GbE LAN ...

Page 2: ...vironments Whether your new Advantech equipment is destined for the labo ratory or the factory floor you can be assured that your product will provide the reliability and ease of operation for which the name Advantech has come to be known Your satisfaction is our primary concern Here is a guide to Advantech s customer services To ensure you get the full benefit of our services please follow the in...

Page 3: ... radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Opera tion of this device in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his her own expense The user is advised that any equipment changes or modifications not ex...

Page 4: ...B DDR2 533 DDR2 N 78 01G66 420 96D2 1G533NN AP ELPIDA E5108AGBG 6E E 64x8 1 GB DDR2 667 DDR2 N 78 01G92 420 N A ELPIDA E5108AGBG 6E E 64x8 2 GB DDR2 669 DDR2 N 78 A1G9O 404 96D2 2G667 AP SEC K4T1G08400 128x8 DSL 512 MB DDR2 533 DDR2 N N A N A infineon HYB18T512 800AF37 FSS43331 64x8 1 GB DDR2 533 DDR2 N N A N A ELPIDA E5108AE 5C E 64x8 1 GB DDR2 667 DDR2 N N A N A ELPIDA E5108AGBG 6E E 64x8 2 GB D...

Page 5: ... ZCE6 64x8 1GB DDR2 533 DDR2 N TS128ML Q64V5J 96D2 1G533NN TR1 SEC K4T51083QC ZCD5 64X8 1GB DDR2 667 DDR2 N TS2QNJ2 3450 6S 96D2 1G667NN TR SEC K4T51083QE ZCE6 64x8 1GB DDR2 668 DDR2 N TS2QNJ2 3450 6S TS128ML Q64V6J 96D2 1G667NN TR SEC K4T51083QG HCE6 64x8 1GB DDR2 667 DDR2 N N A N A SEC K4T51083QC ES 2GB DDR2 669 DDR2 N TS5QNU2 3451 6S 96D2 2G667 TR SAMSUNG K4T1G084QD ZCE6 128x8 2GB DDR2 667 DDR2...

Page 6: ...our dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example type of PC CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any on screen messages you get when the problem occurs 2 Call your dealer and describe the problem Please have your manual pr...

Page 7: ...or your local sales representative immediately Also notify the carrier Retain the shipping carton and packing material for inspection by the carrier After inspection we will make arrange ments to repair or replace the unit 1 PCE 5130 PICMG 1 3 Single Host Board 1 PCE 5130 startup manual P N 2002513010 1 CD with utility P N 2062513000 1 FDD cable P N 1700340640 1 User note for full sized CPU card P...

Page 8: ...PCE 5130 User Manual viii ...

Page 9: ...e 1 5 Watchdog timer output JWDT1 11 Table 1 6 H W monitor alarm JOBS1 12 1 8 4 COM2 RS 232 422 485 mode selector JESTCOM2 13 Figure 1 3 COM2 RS 232 422 485 jumper setting 13 Table 1 7 COM2 RS 232 422 485 mode selector 13 1 9 System Memory 15 1 10 Memory Installation Procedures 15 1 11 Cache Memory 15 1 12 Processor Installation 16 Chapter 2 Connecting Peripherals 19 2 1 Introduction 20 2 2 Floppy...

Page 10: ...es screen 42 3 6 Integrated Peripherals 44 Figure 3 6 Integrated peripherals 44 Figure 3 7 On Chip IDE Device 44 Figure 3 8 Onboard Device 45 Figure 3 9 Super I O Device 46 3 7 Power Management Setup 48 Figure 3 10Power management setup screen 1 48 Figure 3 11Power management setup screen 2 48 Table 3 1 Power Saving 49 3 8 PnP PCI Configurations 50 Figure 3 12PnP PCI configurations screen 50 3 9 P...

Page 11: ...er connector CPUFAN1 80 B 10 Power LED and Keyboard Lock Connector JFP3 PWR_LED KEY LOCK 80 Table B 10 Power LED and keyboard lock connector JFP3 PWR_LED KEY LOCK 80 B 11 External Speaker Connector JFP2 SPEAKER 81 Table B 11 External speaker connector JFP2 SPEAKER 81 B 12 Reset Connector JFP1 RESET 81 Table B 12 Reset connector JFP1 RESET 81 B 13 HDD LED JFP2 HDDLED 81 Table B 13 HDD LED JFP2 HDDL...

Page 12: ...PCE 5130 User Manual xii Appendix C Programming the GPIO 87 C 1 Supported GPIO Register 88 C 1 1 GPIO registers 88 C 1 2 GPIO example program 1 88 ...

Page 13: ...Chapter 1 1 Hardware Configuration ...

Page 14: ...r various industrial control applications With one PCIe x16 and four PCIe x1 lanes going to the backplane PCE 5130 can connect to various kinds of expansion slots such as PCI PCI X and PCIe slots with different backplanes With outstanding performance and exceptional features PCE 5130 is an ideal com puting platform for up and coming industrial applications both for today and for tomorrow 1 2 Featu...

Page 15: ...EPP SPP ECP port can be configured to LPT1 A standard DB 25 female connector provided Serial ports Two serial ports one is RS 232 and other one is RS 232 422 485 PS 2 keyboard and mouse connector One 6 pin mini DIN connectors is located on the mounting bracket for easy connection to a PS 2 keyboard and mouse via the Y cable included in the package USB port Supports up to eight USB 2 0 ports with t...

Page 16: ... 3 3 V 5 VSB Current 2 81 A 0 99 A 2 47 A 0 25 A Board size 338 58 mm L x 126 39 mm W 13 3 x 4 98 Board weight 0 490 kg 1 4 Jumpers and Connectors Connectors on the PCE 5130 single host board link it to external devices such as hard disk drives and a keyboard In addition the board has a number of jumpers used to configure your system for your application The tables below list the function of each ...

Page 17: ...D Sub JSETCOM2 COM2 RS 232 422 485 mode selection JIR1 Infrared connector JFP3 Keyboard Lock and Power LED Power LED Suspend Fast flash ATX AT System On ON ATX AT System Off OFF AT System Off Slow flash ATX JFP2 External speaker SATA HDD LED connector JFP1 Power Switch Reset connector JCASE1 Case Open CPUFAN1 CPU FAN connector 4 pin LANLED1 LAN1 2 LED extension connector HDAUD1 Connector for HD au...

Page 18: ... and connector locations JFP1 JFP2 JFP3 DIMMA1 DIMMB1 LVDS1 VP1 JLVDS1 CPUFAN1 SPI_CN1 HDAUD1 CMOS1 JIR1 JWDT1 JOBS1 JSETCOM2 GPIO1 LPC1 BMC1 KBMS2 KBMS1 VGA1 LAN2 LAN1 COM1 for VG Sku LANLED1 COM2 COM1 for G2 Sku USB12 USB34 for VG Sku USB3 for G2 Sku LPT1 FDD1 IDE1 ISA1 ISA2 JIR1 JCASE1 ...

Page 19: ...7 PCE 5130 User Manual Chapter 1 Hardware Configuration 1 6 PCE 5130 Block Diagram Figure 1 2 PCE 5130 block diagram ...

Page 20: ...rounding wrist strap at all times Place all electronic components on a static dissipative surface or in a static shielded bag when they are not in the chassis Caution The computer is provided with a battery powered real time clock There is a danger of explosion if battery is incorrectly replaced Replace only with same or equivalent type recommended by the manufacturer Dis card used batteries accor...

Page 21: ...ON a jumper you connect the pins with the clip To open or turn OFF a jumper you remove the clip Sometimes a jumper consists of a set of three pins labeled 1 2 and 3 In this case you connect either pins 1 and 2 or 2 and 3 A pair of needle nose pliers may be useful when set ting jumpers 1 8 2 CMOS clear CMOS1 The PCE 5130 CPU card contains a jumper that can erase CMOS data and reset the system BIOS ...

Page 22: ...PCE 5130 User Manual 10 CMOS1 ...

Page 23: ...ture means the PCE 5130 can recover from a software failure or an EMI problem The J2 jumper settings control the outcome of what the computer will do in the event the watchdog timer is tripped Table 1 5 Watchdog timer output JWDT1 Function Jumper Setting IRQ11 Reset default setting Note The interrupt output of the watchdog timer is a low level signal It will be held low until the watchdog timer is...

Page 24: ... on board security OBS events including fan speed voltage temperature and case open For parameter settings see PC Health Status on page 51 Table 1 6 H W monitor alarm JOBS1 Function Jumper Setting Enable OBS alarm Disable OBS alarm default setting JIR1 JWDT1 JOBS1 JIR1 1 2 closed 1 2 1 2 open 1 2 ...

Page 25: ... 422 485 modes for COM2 The default setting is RS 232 Figure 1 3 COM2 RS 232 422 485 jumper setting Table 1 7 COM2 RS 232 422 485 mode selector Function Jumper Setting RS 232 5 6 7 9 8 10 13 15 14 16 closed RS 422 3 4 9 11 10 12 15 17 16 18 closed RS 485 1 2 9 11 10 12 15 17 16 18 closed Note RS 485 does not support auto flow control RS232 RS422 RS485 ...

Page 26: ...PCE 5130 User Manual 14 JSETCOM2 COM1 for COM2 COM1 for G2 ...

Page 27: ...parity Also note that the PCE 5130 accepts DDR2 400 533 667 MHz SDRAM and DDR2 SDRAM The PCE 5130 does NOT support ECC error checking and correction 1 10 Memory Installation Procedures To install DIMMs first make sure the two handles of the DIMM socket are in the open position i e the handles lean outward Insert the DIMM module into the plas tic guides on both ends of the socket Then press the DIM...

Page 28: ...steps to install the processor 1 Turn the screw to release the pin contacts 2 Align the triangular marking on the processor with the small arrow on the corner of the socket Warning Without a fan or heat sink the CPU will overheat and cause damage to both the CPU and the single board computer To install a CPU first turn off your system Locate the processor socket 479 ...

Page 29: ...Chapter 1 Hardware Configuration 3 Turn the screw to its original position 4 Use a small dab of thermal paste and install the heat sink on the CPU The recessed area of the heat sink accommodates the capacitors avoiding contact ...

Page 30: ...PCE 5130 User Manual 18 ...

Page 31: ...Chapter 2 2 Connecting Peripherals ...

Page 32: ...FDD1 You can attach up to two floppy disk drives to the PCE 5130 s onboard controller You can use 3 5 720 KB 1 44 MB drives The motherboard comes with a 34 pin daisy chain drive connector cable On the board end of the cable is a 34 pin flat cable connector On the other end are two sets of 34 pin flat cable connectors usually used for 3 5 drives The set on the end after the twist in the cable conne...

Page 33: ...er 2 Connecting Peripherals 2 3 Parallel Port LPT1 The parallel port is normally used to connect the motherboard to a printer The PCE 5130 includes an onboard parallel port accessed through a 26 pin flat cable connec tor LPT1 LPT1 ...

Page 34: ...al Serial Bus ports with complete Plug Play and hot swap support for up to 127 external devices These USB ports comply with USB Specification Rev 2 0 support transmission rates up to 480 Mbps and are fuse protected The USB interface can be disabled in the system BIOS setup USB12 USB34 for VG Sku ...

Page 35: ...cting Peripherals 2 5 VGA Connector VGA1 The PCE 5130 includes a VGA interface that can drive conventional CRT displays VGA1 is a standard 15 pin D SUB connector commonly used for VGA Pin assign ments for VGA1 are detailed in Appendix B VGA1 ...

Page 36: ... want to disable the port or change these parameters later you can do this in the system BIOS setup Different devices implement the RS 232 422 485 standards in different ways If you are having problems with a serial device be sure to check the pin assignments for the connector Note There are single COM cable kits for PCE 5130 COM port pin headers if you need to use more serial ports you may purcha...

Page 37: ... Mouse Connector KBMS1 Two on board 6 pin mini DIN connectors KBMS1 provide connections to PS 2 key board and mouse by the Y cable 1700060202 in the package The on board KBMS2 pin header provides connection for the chassis front panel PS 2 keyboard and mouse connector KBMS2 KBMS1 ...

Page 38: ...PCE 5130 User Manual 26 2 8 CPU Fan Connector CPUFAN1 This connector supports cooling fans of 500 mA 6 W or less CPUFAN1 ...

Page 39: ...27 PCE 5130 User Manual Chapter 2 Connecting Peripherals 2 9 Front Panel Connectors JFP1 JFP2 JFP3 There are several external switches to monitor and control the PCE 5130 JFP1 JFP2 JFP3 ...

Page 40: ... pins 5 and 7 as closed 2 9 3 Reset connector JFP1 Many computer cases offer the convenience of a reset button Connect the wire from the reset button 2 9 4 HDD LED connector JFP2 You can connect an LED to connector JFP2 to indicate when the HDD is active 2 9 5 ATX soft power switch JFP1 If your computer case is equipped with an ATX power supply you should connect the power on off button on your co...

Page 41: ...29 PCE 5130 User Manual Chapter 2 Connecting Peripherals 2 10 H W Monitor Alarm JOBS1 Closed Enable OBS Alarm Open Disable OBS Alarm JIR1 JWDT1 JOBS1 ...

Page 42: ...acks on the rear plate provide convenient connectivity Table 2 2 LAN LED indicators Lan Mode LED1 LED2 1000 MGbps Link on Green On Yellow On 1000 Active Green On Yellow Flashes 1000 MGbps Link Off Off Off 100 MGbps Link on Orange On Yellow On 100 Active Orange On Yellow Flashes 100 MGbps Link Off Off Off 10 MGbps Link on Off Yellow On 10 Active Off Yellow Flashes 10 MGbps Link Off Off Off LAN2 LAN...

Page 43: ... 12 High Definition Audio Module Interface This HDAUD1 pin header is the connection interface to Advantech s 7 1 channel high definition audio module Note Advantech 7 1 channel high definition audio module ordering informa tion P N PCA AUDIO HDA1E HDAUD1 FDD1 ...

Page 44: ...PCE 5130 User Manual 32 2 13 GPIO Header GPIO1 This is a 14 pin digital I O header Refer to Appendix B for detailed information on the pin assignments and to Appendix C for the programming guide GPIO1 ...

Page 45: ...r Manual Chapter 2 Connecting Peripherals 2 14 Case Open Connector JCASE1 The 2 pin case open connector is for any chassis with a case open sensor When the case is open the buzzer on the motherboard will sound JCASE1 ...

Page 46: ...LAN Mode LED1 LED2 1000Mbps Link on Green on Yellow on 1000Mbps Active Green on Yellow flashing 1000Mbps Link off Off Off 100Mbps Link on Orange on Yellow on 100Mbps Link active Orange on Yellow flashing 100Mbps Link off Off Off 10Mbps Link on Off Yellow on 10Mbps Link active Off Yellow flashing 10Mbps Link off Off Off ...

Page 47: ...35 PCE 5130 User Manual Chapter 2 Connecting Peripherals LANLED1 ...

Page 48: ...features high performance serial ATA interfaces up to 150 MB s these long thin cables ease cabling to hard drives or CD DVD drives These two on board SATA ports can be configured as RAID 0 or 1 Please see the detailed BIOS setting instructions for this in Chapter 3 SATA2 SATA1 ...

Page 49: ...Chapter 3 3 Award BIOS Setup ...

Page 50: ...per ation in harsh industrial environments causes a soft error BIOS will recheck the data in CMOS RAM and automatically restore the original data in flash ROM to CMOS RAM for booting 3 2 Entering Setup Turn on the computer and press Del to enter the BIOS setup Figure 3 1 Award BIOS Setup initial screen Note If you intend to change the CMOS settings without restoring the previ ous backup you have t...

Page 51: ... Access Mode The options are CHS LBA Large Auto Capacity Capacity of currently installed hard disk Cylinder Number of cylinders Head Number of heads Precomp Write precomp Landing Zone Landing zone Sector Number of sectors Drive A Drive B This category identifies the types of floppy disk drives installed in the system The options are None 360K 5 25 1 2M 5 25 720K 3 5 1 44M 3 5 2 88M 3 5 Halt On Thi...

Page 52: ...ure 3 3 Advanced BIOS features screen 1 Figure 3 4 Advanced BIOS features screen 2 CPU Features Delay Prior to thermal This feature controls the activation of the Thermal Monitor s automatic mode It allows you to determine when the Pentium 4 s Thermal Monitor should be activated in automatic mode after the system boots For example with the default value of 16 Minutes the BIOS activates the Thermal...

Page 53: ... Normal A pin in the keyboard controller controls GateA20 Fast Default lets chipset control GateA20 Typematic Rate Setting The typematic rate is the rate key strokes repeat as determined by the keyboard controller The commands are Enabled or Disabled Enabling allows the typematic rate and delay to be selected Typematic Rate Chars Sec The BIOS accepts the following input values characters second fo...

Page 54: ...CE 1530 as shown in Figure 3 4 Figure 3 5 Advanced chipset features screen DRAM Timing Selectable This item allows you to control the DRAM speed The selections are Manual or By SPD CAS Latency Time When DRAM Timing Selectable is set to Manual this field is adjustable This controls the CAS latency which determines the time interval between SDRAM starting a read command and receiving it The options ...

Page 55: ... the video BIOS resulting in better system performance However if any program writes to this memory area a system error may occur The choices are Enabled and Disabled Memory Hole At 15M 16M Enabling this feature reserves 15 MB to 16 MB memory address space for ISA expansion cards that specifically require this setting This makes memory from 15 MB and up unavailable to the system Expansion cards ca...

Page 56: ...se fields allow you to select the LCD Panel type The default values for these ports are 640x480 18bit SC 800x600 18bit SC 1024x768 18bit SC 1028x1024 18bit DC Init Display First Choose the first display interface to initiate while booting The choice is PCI Slot or Onboard 3 6 Integrated Peripherals Figure 3 6 Integrated peripherals Figure 3 7 On Chip IDE Device ...

Page 57: ...ng Select RAID to use SATA for RAID On Chip Serial ATA Choose the status of serial ATA The default setting is Auto which lets the sys tem arrange all parallel and serial ATA resources automatically The Disabled setting disables the SATA controller The Combined Mode combines PATA and SATA and maximum of 2 IDE drives in each channel The Enhanced Mode enables both SATA and PATA and a maximum of 6 IDE...

Page 58: ...Control Options are Enabled and Disabled Select Disabled if you don t want to use onboard LAN controller1 Onboard LAN2 Control Options are Enabled and Disabled Select Disabled if you don t want to use the onboard LAN controller2 Note Correct sequence of onboard Lan controllers Lan1 Lan2 shows in the Onboard Device BIOS view Figure 3 9 Super I O Device Onboard FDC Controller When enabled this field...

Page 59: ...ort connector You can select 378 IRQ7 278 IRQ5 3BC IRQ7 or Disabled If you install an I O card with a parallel port make sure there is no conflict in the address assign ments The single board computer can support up to three parallel ports Parallel Port Mode This field allows you to set the operation mode of the parallel port The setting Normal allows normal speed operation but in one direction on...

Page 60: ... screen 1 Figure 3 11 Power management setup screen 2 PCI Express PM Function This allow you to control Power On by onboard LAN chip feature ACPI Function The choices are Enabled and Disabled Power Management This category allows you to select the type or degree of power saving and is directly related to the following modes HDD Power Down Suspend Mode There are three selections for Power Managemen...

Page 61: ...lows you to power on the system by LAN The choices are Enabled and Disabled CPU THRM Throttling This option controls the CPU speed as a percentage of regular power the choices are 87 5 75 62 5 50 37 5 25 12 and 12 5 PowerOn by Modem To enabled or disable the function to power on the system via a Modem connec tion from a remote host The choice Enabled and Disabled PowerOn by Alarm The choices are E...

Page 62: ...CI Configurations Figure 3 12 PnP PCI configurations screen Reset Configuration Data The default is Disabled Select Enabled to reset Extended System Configuration Data ESCD if you have installed a new add on card and system configuration is in such a state that the OS cannot boot Resources Controlled By The commands here are Auto ESCD or Manual Choosing Manual requires you to choose resources from...

Page 63: ...5F Current System Temperature This shows you the current temperature of system Current CPU Temperature This shows the current CPU temperature CPU FAN Speed This shows the current CPU FAN operating speed System FAN 1 2 Speed This shows the current operating speed of the system fans VCORE and Other Voltages This shows the voltage of VCORE 1 5V 3 3 5V 12V 12V 5V VBAT V and 5VSB V ACPI Shutdown Temper...

Page 64: ...pectrum This setting allows you to reduce EMI by modulating the signals the CPU gener ates so that the spikes are reduced to flatter curves This is achieved by varying the frequency slightly so that the signal does not use any particular frequency for more than a moment The choices are Disabled and Enabled ...

Page 65: ...can change the password stored in the CMOS The password must be no longer than eight 8 characters Remember to enable the password setting feature you must first select either Setup or System from the Advanced BIOS Features menu 3 12 Save Exit Setup If you select this and press Enter the values entered in the setup utilities will be recorded in the CMOS memory of the chipset The processor will chec...

Page 66: ...PCE 5130 User Manual 54 ...

Page 67: ...Chapter 4 4 Chipset Software Installation Utility ...

Page 68: ...ur application software s user manual before performing the installa tion 4 2 Introduction The Intel Chipset Software Installation CSI utility installs the Windows INF files that outline to the operating system how the chipset components will be configured This is needed for the proper functioning of the following features Core PCI PnP services IDE Ultra ATA 100 66 33 and Serial ATA interface supp...

Page 69: ...into your system s CD ROM drive Select the folder Intel INF then click infinst_autol exe A message pops up telling you to install the CSI utility before other device drivers Windows XP is used as an example in the following steps 2 Click Next when you see the following message 3 Click Yes when you see the following message ...

Page 70: ...PCE 5130 User Manual 58 4 Click Next when you see the following message 5 When the following message appears click Finish to complete the installation and restart Windows ...

Page 71: ...Chapter 5 5 VGA Setup ...

Page 72: ... Intel Dynamic Video Memory Technology DVMT3 0 PCE 5130 handles diverse applications by providing the maximum availability of system memory for general computer usage and supplying additional graphics memory when a 3D intensive application requests it DVMT balances memory allocation between applications and video assuring optimum efficiency LVDS Interface PCE 5130 provides an 18 bit dual channel L...

Page 73: ...E 5130 User Manual Chapter 5 VGA Setup 2 You will see a welcome window Please click Yes to continue the installation 3 Elect to restart the computer now or later and click Finish to complete the installation ...

Page 74: ...PCE 5130 User Manual 62 ...

Page 75: ...Chapter 6 6 LAN Configuration ...

Page 76: ...lation Wake on LAN WOL support PCI Express X1 host interface 6 3 Installation The PCE 5130 Intel 82573 82574 Gigabit integrated controller s supports all major network operating systems However the installation procedure varies with different operating systems In the following sections refer to the one that provides the driver setup procedure for the operating system you are using Note Before inst...

Page 77: ...sert the driver CD into your system s CD ROM drive Selecting the folder LAN then click the proper LAN driver for the OS Windows XP is used as an example in the following steps 2 Select I accept the terms in the license agreement and click Next to con tinue 3 Click Next to continue ...

Page 78: ...PCE 5130 User Manual 66 4 Click Install Software to start the installation procedure 5 The driver will be installed automatically and the LAN function will be enabled after the installation ...

Page 79: ...Appendix A A Programming the Watchdog Timer ...

Page 80: ...ions Can be enabled and disabled by user s program Timer can be set from 1 to 255 seconds or 1 to 255 minutes Generates an interrupt or reset signal if the software fails to reset the timer before time out A 1 2 Programming the watchdog timer The I O port address of the watchdog timer is 2E hex and 2F hex 2E hex is the address port 2F hex is the data port You must first write an address value into...

Page 81: ...nit default Write 1 to bit 3 set minutes as counting unit F6 hex write 0 stop timer default 01 FF hex The amount of the count in seconds or minutes depends on the value set in register F5 hex This number decides how long the watchdog timer waits for strobe before generating an interrupt or reset signal Writing a new value to this register can reset the timer to count with the new value F7 hex read...

Page 82: ...nable the function of watchdog timer Mov al 30h Out dx al Inc dx Mov al 01h Out dx al Dec dx Set second as counting unit Mov al 0f5h Out dx al Inc dx In al dx And al not 08h Out dx al Dec dx Set timeout interval as 10 seconds and start counting Mov al 0f6h Out dx al Inc dx Mov al 10 Out dx al Dec dx Lock W83627HF Mov al 0aah Out dx al 2 Enable watchdog timer and set 5 minutes as timeout interval M...

Page 83: ...t dx al Dec dx Set minute as counting unit Mov al 0f5h Out dx al Inc dx In al dx Or al 08h Out dx al Dec dx Set timeout interval as 5 minutes and start counting Mov al 0f6h Out dx al Inc dx Mov al 5 Out dx al Dec dx Lock W83627HF Mov al 0aah Out dx al 3 Enable watchdog timer to be reset by mouse Mov dx 2eh Unlock W83627HF Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer...

Page 84: ...ck W83627HF Mov al 0aah Out dx al 4 Enable watchdog timer to be reset by keyboard Mov dx 2eh Unlock W83627HF Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al Dec dx Enable the function of watchdog timer Mov al 30h Out dx al Inc dx Mov al 01h Out dx al Dec dx Enable watchdog timer to be strobed reset by keyboard Mov al 0f7h Out dx al...

Page 85: ...3627HF Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al Dec dx Enable the function of watchdog timer Mov al 30h Out dx al Inc dx Mov al 01h Out dx al Dec dx Generate a time out signal Mov al 0f7h Out dx al Write 1 to bit 5 of F7 register Inc dx In al dx Or al 20h Out dx al Dec dx Lock W83627HF Mov al 0aah Out dx al ...

Page 86: ...PCE 5130 User Manual 74 ...

Page 87: ...Appendix B B I O Pin Assignments ...

Page 88: ...l 1 GND 2 FDHDIN 3 GND 4 N C 5 N C 6 FDEDIN 7 GND 8 INDEX 9 GND 10 MOTOR 0 11 GND 12 DRIVE SELECT 1 13 GND 14 DRIVE SELECT 0 15 GND 16 MOTOR 1 17 GND 18 DIRECTION 19 GND 20 STEP 21 GND 22 WRITE DATA 23 GND 24 WRITE GATE 25 GND 26 TRACK 0 27 GND 28 WRITE PROTECT 29 GND 30 READ DATA 31 GND 32 HEAD SELECT 33 GND 34 DISK CHANGE low active ...

Page 89: ...Signal Pin Signal 1 STROBE 2 AUTOFD 3 D0 4 ERR 5 D1 6 INIT 7 D2 8 SLCTINI 9 D3 10 GND 11 D4 12 GND 13 D5 14 GND 15 D6 16 GND 17 D7 18 GND 19 ACK 20 GND 21 BUSY 22 GND 23 PE 24 GND 25 SLCT 26 N C low active 5 15 1 11 10 6 Table B 3 VGA connector VGA1 Pin Signal Pin Signal 1 RED 9 VCC 2 GREEN 10 GND 3 BLUE 11 N C 4 N C 12 SDT 5 GND 13 H SYNC 6 GND 14 V SYNC 7 GND 15 SCK 8 GND ...

Page 90: ... 232 422 485 Serial Port COM2 8 5 7 6 9 3 2 4 1 Table B 4 RS 232 serial port COM1 Pin Signal 1 DCD 2 DSR 3 RXD 4 RTS 5 TXD 6 CTS 7 DTR 8 RI 9 GND 10 N A Table B 5 RS 232 422 485 serial port COM2 Pin Signal 1 DCD 2 DSR 3 SIN 4 RTS 5 SOUT 6 CTS 7 DTR 8 RI 9 GND ...

Page 91: ...Keyboard Mouse Connector KBMS1 Table B 6 USB Header USB12 34 Pin Signal Pin Signal 1 USB1_VCC5 6 USB2_D 2 USB2_VCC5 7 GND 3 USB1_D 8 GND 4 USB2_D 9 GND 5 USB1_D 10 Key Table B 7 PS 2 keyboard mouse connector KBMS1 Pin Signal 1 KB DATA 2 MS DATA 3 GND 4 VCC 5 KB CLOCK 6 MS CLOCK 5 3 1 2 4 6 ...

Page 92: ... PWR_LED KEY LOCK 5 4 2 3 1 6 Table B 8 External keyboard connector KBMS2 Pin Signal 1 KBCLK 2 KBDAT 3 MSDAT 4 GND 5 MSVCC 6 MSCLK 1 2 4 3 Table B 9 CPU fan power connector CPUFAN1 Pin Signal 1 GND 2 12V 3 Detect 4 FANPWM Table B 10 Power LED and keyboard lock connector JFP3 PWR_LED KEY LOCK Pin Signal 1 LED power 5 V 2 NC 3 GND 4 KEYLOCK 5 GND ...

Page 93: ...or JFP2 SPEAKER B 12 Reset Connector JFP1 RESET B 13 HDD LED JFP2 HDDLED Table B 11 External speaker connector JFP2 SPEAKER Pin Signal 1 SPK 2 NC 3 SPK_IN 4 SPK Table B 12 Reset connector JFP1 RESET Pin Signal 1 RESET 2 GND Table B 13 HDD LED JFP2 HDDLED Pin Signal 1 IDE LED 2 IDE LED ...

Page 94: ...NMP Table B 14 ATX soft power switch JFP1 PWR_SW Pin Signal 1 5 VSB 2 PWR BTN Table B 15 Hi definition audio link connector HDAUD1 Pin Signal Pin Signal 1 ACZ_VCC 2 GND 3 ACZ_SYNC 4 ACZ_BITCLK 5 ACZ_SDOUT 6 ACZ_SDIN0 7 ACZ_SDIN1 8 ACZ_RST 9 ACZ_12V 10 GND 11 GND 12 N C Table B 16 SM bus connector JFP2 SNMP Pin Signal 1 SMB_DATA 2 SMB_CLK ...

Page 95: ...AN1 and LAN2 LED connector LANLED1 Pin Signal 1 LAN1_ACT 2 LAN2_ACT 3 V33_AUX 4 V33_AUX 5 LAN1_LINK1000 6 LAN2_LINK1000 7 LAN1_LINK100 8 LAN2_LINK100 9 V33_AUX 3 1 14 10 8 6 4 2 12 5 7 9 11 13 Table B 18 GPIO header GPIO1 Pin Signal 1 GPIO_1 2 GPIO_5 3 VCC_GPIO 4 GND 5 GPIO_2 6 GPIO_6 7 GND 8 GND 9 GPIO_3 10 GPIO_7 11 GND 12 GND 13 GPIO_4 14 GPIO_8 ...

Page 96: ...Clear math co processor 0F1 Reset math co processor 0F8 0FF Math co processor 200 207 Game I O 290 297 On board hardware monitor 2F8 2FF Serial port 2 378 37F Parallel printer port 1 LPT2 3B0 3BF Intel R Q35 Express Chipset Family 3C0 3CF Intel R Q35 Express Chipset Family 3D0 3DF Color graphics monitor adapter 3F0 3F7 Diskette controller 3F8 3FF Serial port 1 2F8 2FF Serial port 2 400 41F SM bus ...

Page 97: ...Interrupt assignments Priority Interrupt Interrupt source 1 NMI Parity error detected 2 IRQ0 Interval timer 3 IRQ1 Keyboard IRQ2 Interrupt from controller 2 cascade 4 IRQ8 Real time clock 5 IRQ9 Cascaded to INT 0A IRQ 2 6 IRQ10 Serial Port 4 6 7 IRQ11 Serial Port 3 5 8 IRQ12 PS 2 mouse 9 IRQ13 INT from co processor 10 IRQ14 Primary IDE Channel 11 IRQ15 Secondary IDE Channel 12 IRQ3 Serial communic...

Page 98: ...h FFFFFh BIOS CC000h DFFFFh Unused C0000h CBFFFh VGA BIOS A0000h BFFFFh Video Memory 00000h 9FFFFh Base memory Table B 23 PCI bus map Signal IDSEL INT pin GNT REQ PCI slot 1 AD31 INT B C D A GNT A REQ A PCI slot 2 AD30 INT C D A B GNT B REQ B PCI slot 3 AD29 INT D A B C GNT C REQ C PCI slot 4 AD28 INT A B C D GNT D REQ D ...

Page 99: ...Appendix C C Programming the GPIO ...

Page 100: ...rsion register Default 0x00 When set to a 1 the incoming outgoing port value is inverted When set to a 0 the incoming outgoing port value is the same as in data register Extended Function Index Registers EFIRs The EFIRs are write only registers with port address 2Eh or 4Eh on PC AT systems Extended Function Data Registers EFDRs The EFDRs are read write registers with port address 2Fh or 4Fh on PC ...

Page 101: ...0 output for GP10 GP17 OUT DX AL MOV DX 4EH MOV AL F2H OUT DX AL MOV DX 4FH MOV AL 00H Set GPIO is normal not inverter OUT DX AL MOV DX 4EH MOV AL F1H OUT DX AL MOV DX 4FH MOV AL H Put the output value into AL OUT DX AL Exit extended function mode MOV DX 4EH MOV AL AAH OUT DX AL ...

Page 102: ...ations 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 of the publisher All brand and product names are trademarks or registered trademarks of their respective companies Advantech Co Ltd 2009 ...

Reviews: