background image

 

23

3.21  8-bit GPIO Function 

The HS-7165 offers one 8-bit input/output port. 

z

 

 CN10: 8-bit GPIO 

PIN Description PIN Description 

VCC 

GND 

GD0 

GD4 

GD1 

GD5 

GD2 

GD6 

GD3 

10

GD7 

1

9

10

2

 

EX. Sample Code Using GPIO 5 

#include <conio.h> 
#include <stdio.h> 
#include <io.h> 
void main(void) 

unsigned char byte_cr29; 
outportb(0x2e, 0x87); // enter Super I/O configuration mode 
outportb(0x2e, 0x87); 
outportb(0x2e,0x29); // set CR29 bit 5 
byte_cr29 = (inportb(0x2f) | 0x20); // to switch UARTA to GPIO5 
outportb(0x2f, byte_cr29); 
outportb(0x2e, 0x07); // locate logical device 8 
outportb(0x2e, 0x08); 
outportb(0x2e, 0x30); // set CR30 bit 1 (enable GPIO5) 
outportb(0x2f, 0x02); 
outportb(0x2e, 0xe0); // set GP54 ~ GP57 
outportb(0x2f, 0x0F); // GP54 ~ GP57 as output pins 

Summary of Contents for HS-7165

Page 1: ...HS 7165 Intel Mobile Dual Core processor PICMG1 3 Full size SBC 1066 800MHz FSB CompactFlash DVI I CRT LVDS Dual GB LAN Audio SATA RS 232 422 485 4 COM 7 USB2 0 WDT H W Monitor...

Page 2: ...anted permission by BOSER Technology Co Ltd BOSER Technology Co Ltd reserves the right to change or improve the contents of this document without due notice BOSER Technology Co Ltd assumes no responsi...

Page 3: ...ctor List 9 3 5 Configuring the CPU 10 3 6 System Memory 10 3 7 VGA Controller 10 3 8 Serial ATA Connector 13 3 9 Serial Port Connectors 13 3 10 Ethernet Connector 15 3 11 USB Port 15 3 12 CMOS Data C...

Page 4: ...tings 28 4 5 Advanced PCI PnP Settings 31 4 6 Boot Settings 32 4 7 Security Settings 33 4 8 Advanced Chipset Settings 34 4 9 Exit Options 35 Chapter 5 Software Utilities 37 5 1 Chipset Driver Installa...

Page 5: ...mpleted on a sample of the equipment identified below Equipment Class Information Technology Equipment Product Model Series HS 7165 This Product Complies With EN55022 Class A for Radiated emissions EN...

Page 6: ...strap available from most electronic component stores when handling boards and components Fasten the ALLIGATOR clip of the strap to the end of the shielded wire lead from a grounded object Please wear...

Page 7: ...ditional features include an enhanced I O with CF DVI I CRT LVDS dual GB LAN audio SATA 4 COM and 7 USB2 0 interfaces The Intel GM45 integrated Intel Gen5 0 GMA 4500MHD Graphics shared system memory u...

Page 8: ...lowing features Socket P for Intel Mobile Dual Core processor supports 1066 800 667MHz FSB 2 x DIMMs up to 4GB DDR2 SDRAM Intel GM45 ICH9 M system chipset Intel GM45 integrated VGA for CRT LVDS 2 x 10...

Page 9: ...arallel 4 x SATA 1 x 6 pin header for PS 2 KB MS GPIO 8 bit general purpose input output port z Display Chipset Intel GM45 integrated Intel GMA 4500MHD Display Memory Shared system memory up to 352MB...

Page 10: ...4 1 3 Board Dimensions...

Page 11: ...a raised surface and carefully inspect the board for any damage that might have occurred during shipment Ground the board and exercise extreme care to prevent damage to the board from static electrici...

Page 12: ...bracket 1 It is recommended that you keep all the parts of the delivery package intact and store them in a safe dry place for any unforeseen event requiring the return shipment of the product In case...

Page 13: ...nt reminders and steps to take before you begin with your installation process 1 Make sure that all jumper settings match their default settings and CMOS setup correctly Refer to the sections on this...

Page 14: ...8 3 2 Board Layout...

Page 15: ...n 13 3 4 Connector List Connector Definition Page CN3 CN4 LVDS Panel Connector 10 CN6 CN5 DDRII Socket 10 CN7 CN8 CN9 CN32 SATA 0 SATA 3 Connector 13 CN10 8 bit GPIO 23 CN12 Parallel Port 16 CN14 RS 4...

Page 16: ...1 3 1 3 1 3 3 6 System Memory The HS 7165 provides two 240 pin DIMM sockets at locations CN6 CN5 It supports DDR2 up to 4GB SDRAM 3 7 VGA Controller The HS 7165 provides four types of connection for...

Page 17: ...DDCCL 1 7 12 3 9 14 5 6 11 2 8 13 4 10 15 z CN3 CN4 LVDS Interface Connector PIN Description PIN Description 1 VLCD 2 VLCD 3 GND 4 GND 5 A0 B0 6 A0 B0 7 A1 B1 8 A1 B1 9 A2 B2 10 A2 B2 11 CLK1 CLK2 12...

Page 18: ...the working voltage of the flat panel connected to the system Jumper JP2 offers two voltage settings for the user z JP2 Panel Voltage Select Options Settings 3 3V default Short 2 3 5V Short 1 2 1 3 z...

Page 19: ...7 GND 1 7 z JP13 JP14 JP15 JP16 CF or SATA 3 Connector Select Settings Options JP13 JP14 JP15 JP16 SATA 3 default Short 1 2 CF Short 2 3 1 3 1 3 1 3 1 3 3 9 Serial Port Connectors The HS 7165 offers 1...

Page 20: ...3 COM 4 use RS 232 or RS 422 485 Select Options Settings RS 232 default Open RS 485 Transmit Only 1 Short 1 2 3 4 5 7 8 10 RS 485 by RTS 1 Short 1 2 3 4 7 9 8 10 RS 422 485 Full Duplex 2 Short 1 2 3 4...

Page 21: ...escription 1 MDI0 2 MDI0 3 MDI1 4 MDI1 5 N C 6 330 pull 3 3V 7 MDI2 8 MDI 2 9 MDI3 10 MDI3 1 10 3 11 USB Port The HS 7165 provides one 8 pin connector at location CN25 CN26 CN33 and CN34 is external U...

Page 22: ...13 Parallel Port CN12 is a standard 26 pin flat cable connector designed to accommodate parallel port connection onboard the HS 7165 z CN12 Parallel Port PIN Description PIN Description 1 Strobe 14 A...

Page 23: ...an Power Connector PIN Description 1 GND 2 12V 3 Fan In 1 3 z PW1 4 pin ATX Power Connector PIN Description 1 GND 2 GND 3 12V 4 12V 4 2 1 3 3 15 Keyboard Mouse Connectors The CN18 is an internal 6 pin...

Page 24: ...t Button HDD LED ATX Power Button 3 17 Watchdog Timer Once the Enable cycle is active a Refresh cycle is requested before the time out period This restarts counting of the WDT period When the time cou...

Page 25: ...27UHG_Port 1 8 set as Logical Device 8 if count_value 60 outportb 83627UHG_Port 0xf5 Register_Setup inportb 83627UHG_Port 1 Register_Setup 0x08 outportb 83627UHG_Port 1 Register_Setup set as minute mo...

Page 26: ...outportb 83627UHG_Port 1 8 set as Logical Device 8 outportb 83627UHG_Port 0xf6 outportb 83627UHG_Port 1 counting set WDT count value 3 18 Audio Connectors The HS 7165 has an onboard RealTek ALC202A au...

Page 27: ...ce located at the solder side of the board The designated CN17 connector once soldered with an adapter can hold CompactFlash cards of various sizes Please turn off the power before inserting the CF ca...

Page 28: ...15 GND 16 GND 17 GND 18 SDA2 19 SDA1 20 SDA0 21 DATA0 22 DATA1 23 DATA2 24 470 pull GND 25 N C 26 N C 27 DATA11 28 DATA12 29 DATA13 30 DATA14 31 DATA15 32 SDCS3 33 N C 34 UOR 35 IOW 36 EWE0 37 IRQ 38...

Page 29: ...tdio h include io h void main void unsigned char byte_cr29 outportb 0x2e 0x87 enter Super I O configuration mode outportb 0x2e 0x87 outportb 0x2e 0x29 set CR29 bit 5 byte_cr29 inportb 0x2f 0x20 to swi...

Page 30: ...24 This page is the blank page...

Page 31: ...one of the disks and then launch and turn control over to the operating system While the BIOS is in control the Setup program can be activated in one of two ways 1 By pressing Del immediately after sw...

Page 32: ...ot save changes into CMOS Status Page Setup Menu and Option Page Setup Menu Exit current page and return to Main Menu PgUp key Decrease the numeric value or make changes PgDn key Increase the numeric...

Page 33: ...vanced PCIPnP Boot Security Chipset Exit System Overview AMIBIOS Version 08 00 15 Build Date 02 12 10 ID A7165009 Processor Intel R Core TM 2 Duo CPU P8400 2 26GHz Speed 2266MHz Count 1 System Memory...

Page 34: ...ation Change Field USB Configuration Tab Select Field AHCI Configuration F1 General Help F10 Save and Exit ESC Exit v02 61 C Copyright 1985 2006 American Megatrends Inc BIOS SETUP UTILITY Main Advance...

Page 35: ...uper IO Chipset Serial Port1 Address 3F8 Serial Port2 Address 2F8 Serial Port2 Mode Normal Serial Port3 Address 3E8 Serial Port4 Address 2E8 Parallel Port Address 378 Select Item Parallel Port Mode No...

Page 36: ...een USB 2 0 Controller Mode HiSpeed Select Item Change Field Tab Select Field F1 General Help F10 Save and Exit ESC Exit v02 61 C Copyright 1985 2006 American Megatrends Inc BIOS SETUP UTILITY Main Ad...

Page 37: ...make any changes to the default settings BIOS SETUP UTILITY Main Advanced PCIPnP Boot Security Chipset Exit Advanced PCI PnP Settings WARNING Setting wrong values in below sections may cause system to...

Page 38: ...egatrends Inc BIOS SETUP UTILITY Main Advanced PCIPnP Boot Security Chipset Exit Boot Settings Configuration Quick Boot Enabled Quiet Boot Disabled Select Screen AddOn ROM Display Mode Force BIOS Sele...

Page 39: ...ings Supervisor Password Not Installed User Password Not Installed Select Screen Change Supervisor Password Select Item Change User Password Change Field Boot Sector Virus Protection Disabled Tab Sele...

Page 40: ...ridge Chipset Configuration Boots Graphic Adapter Priority PEG PCI Internal Graphics Mode Select Enabled 128MB PAVP Mode Lite PEG Port Configuration Select Screen PEG Port Auto Select Item Change Fiel...

Page 41: ...PCIE Port 5 Auto F1 General Help F10 Save and Exit ESC Exit v02 61 C Copyright 1985 2006 American Megatrends Inc 4 9 Exit Options BIOS SETUP UTILITY Main Advanced PCIPnP Boot Security Chipset Exit Ex...

Page 42: ...36 This is the blank page...

Page 43: ...ontains an auto run program that invokes the installation programs for the chipset VGA LAN and audio drivers The following sections describe the installation procedures of each driver based on WinXP o...

Page 44: ...g the CHIPSET button in Step 1 the program launches the Setup that will assist you in the installation process Click on the Next button to proceed 3 The License Agreement dialog box then appears on th...

Page 45: ...39 4 When the Readme File Information dialog box pops up just clock on the Next button to proceed 5 Click on the Finish to completed the installation...

Page 46: ...er Installation 1 Insert the CD that comes with the board into the CD ROM drive Click VGA to install Intel GM45 video driver 2 The Welcome to the Setup program dialog box appears on the screen Choose...

Page 47: ...41 3 The Intel License Agreement dialog box appears on the screen Choose Yes to proceed 4 When the Readme File Information dialog box pops up just click on the Next button to proceed...

Page 48: ...42 5 The Installshield Wizard dialog box appears on the screen Click on Next to proceed 6 When Setup Progress finished just click on Next button to proceed...

Page 49: ...omputer now button then click Finish to reboot your system to take the effect once the installation is completed 5 3 LAN Driver Installation 1 Insert the CD that comes with the board into the CD ROM d...

Page 50: ...44 2 When the dialog box below appears make sure you close all other Windows applications the click on the Next button to proceed 3 The Setup Status dialog box then appears on the screen...

Page 51: ...4 When setup is finished please reboot your computer to take the effect 5 4 Audio Driver Installation 1 Insert the CD that comes with the board into the CD ROM drive Click Audio to install audio driv...

Page 52: ...the dialog box below appears Click on Yes to proceed 3 Please select Yes I want to restart my computer now button then click Finish to reboot your system to take the effect once the installation is c...

Reviews: