Advantech PCM-9588 user manual RA02 Start

Page 94

jne

test_result

 

;RA02 - END

 

 

 

;RA02

cmp

al,00h

 

;RA02

jne

test_fail

 

;4.Set GPIO 1,3,5,7 as output,GPIO 0,2,4,6 as input

;RA02 - START

 

 

 

pop

cx

 

 

push

cx

 

 

mov

ax,5e87h

 

mov

bx,0255h

 

int

15h

 

 

;RA02 - END

 

 

 

;4. Set GPIO 1,3,5,7 Output High

;RA02 - START

 

 

 

pop

cx

;restore

NO. of GPIO chip

push

cx

;save NO. of GPIO chip

mov

ax,5e87h

 

mov

bx,04ffh

 

int

15h

 

 

;RA02 - END

 

 

 

;6. Check GPIO 0,2,4,6 value

 

;RA02 - START

 

 

 

pop

cx

;restore

NO. of GPIO chip

push

cx

;save NO. of GPIO chip

mov

ax,5e87h

 

mov

bx,0300h

 

int

15h

 

 

pop

cx

;restore

NO. of GPIO chip

push

cx

;save NO. of GPIO chip

dec

cx

 

 

mov

al,Fail_lenght

 

mul

cl

 

 

lea

dx, Fail_Str

 

add

dx,ax

 

 

cmp

bl,0ffh

 

jne

test_result

 

;4. Set GPIO 1,3,5,7 Output differential

pop

cx

;restore

NO. of GPIO chip

PCM-9588 User Manual

84

Image 94
Contents PCM-9588 Copyright AcknowledgementsRepairs under Warranty Product Warranty 2 yearsWarranty Period Exclusions from WarrantyTechnical Support and Assistance Declaration of ConformityFCC Class a Ordering information Optional accessoriesPacking List Model Number DescriptionPage Contents Introduction & Installation Appendix aOptional Extras for the PCM-9588 Page Chapter Chipset Product SpecificationsIntroduction Functional SpecGeneral Introduction Chipset ICH6M I/O Other chipsetWeight g with Cooler 480 g Mechanical SpecificationsElectrical Specifications Power supply VoltagePCM-9588 ATX Power Consumption Environment Specifications Operating HumidityPage W Installation Jumpers Jumper SettingsJumper list Jumper description JP8 LCD Panel Power SelectJP9 Backlight control select Connector Settings ConnectorsConnector list Connector ListVGA connector CN8 Power connector CN5Inverter connector CN6 Lvds connector CN9COM port connector CN19, CN41 IDE Connector CN162.12 PC-104 plus connector CN17 USB connectors CN20, CN28, CN38Sata Connector CN31 and CN32 2.20 -V5 and -V12 connector CN27DVI interface connector CN30 LAN LED connector CN34Jumper and Connector Locations MechanicalBoard Dimensions Board Dimension Layout Component SidePage Bios Operation Bios Introduction Bios SetupMain Menu Standard Cmos Features Advanced Bios Features Boot Up NumLock Status Disabled First / Second / Third / Other Boot DriveBoot Up Floppy Seek Disabled Boot Up NumLock StatusEnabledAdvanced Chipset Features Integrated Peripherals Super IO Device OnChip IDE DeviceOnboard Device Onboard Serial port 1 3F8Power Management Setup HDD Power Down Disabled Run VGA Bios if S3 Resume AutoPower Management Min Saving Suspend Mode 1 HourPCI VGA Palette Snoop Disabled 7 PnP/PCI ConfigurationsReset Configuration Data Disabled Init Display First PCI SlotCurrent System/CPU Temp Show Only Shutdown Temperature DisabledPC Health Status V / 3.3 V / 5 V / 12 V Show OnlySpread Spectrum Disabled Load Optimized DefaultsFrequency/voltage Control Set Password To Establish PasswordTo Change Password Save & Exit SetupTo Disable Password Quit Without Saving Page W Introduction & Installation Windows XP Professional Driver InstallationS/W Introduction Other OSSusi Introduction Susi Application LibrarySusi Functions Watchdog API Susi InstallationVGA Control API Hardware Monitor APIManual Installation Express InstallationWindows CE Sample Programs Windows Graphics ModeSusi Sample Programs SusiDemo.exeTest Read Multiple Input Pin GpioTest Read Single Input Pin Test Write Single Output PinRead a byte Test Write Multiple Output Pins4.5 I2C Write a byteSMBus Read a wordRead Multiple bytes Write a wordWrite Multiple bytes Screen on/off control VGA ControlBrightness control Watchdog Hardware Monitor Page Extension I/O Installation PC-104 plus PCIAppendix a Table A.1 CN2 CD In connector CN2 CD in connectorCN4 Audio connector Table A.2 CN4 Audio connectorCN5 Power connector Table A.3 CN5 Power connectorTable A.4 CN6 Inverter connector CN6 Inverter connectorCN8 VGA connector Table A.5 CN8 VGA connectorCN9 Lvds connector Table A.6 CN9 Lvds connectorCN10 TTL connector High Bits Table A.7 CN10 TTL connector High BitsCN11 TTL connector Low Bits Table A.8 CN11 TTL connector Low BitsCN12 LAN connector Table A.9 CN12 LAN connectorTable A.10 CN13 HDD LED and Power LED 10 CN13 HDD LED and Power LED11 CN15 LPT / FDD connector Table A.11 CN15 LPT / FDD connector12 CN16 IDE connector Table A.12 CN16 IDE connector13 CN17 PC104-plus connector Table A.13 CN17 PC-104/+ Connector14 CN19 COM1~4 connector Table A.14 CN19 COM1~4 ConnectorTable A.15 CN20 USB1/2 Connector 15 CN20 USB1/2 Connector16 CN22 Reset Button connector Table A.16 CN22 Reset Bottom ConnectorTable A.17 CN23 Power Button Connector 17 CN23 Power Button connector18 CN24 SIR connector Table A.18 CN24 SIR ConnectorTable A.19 CN25 PS2 Keyboard/Mouse connector 19 CN25 PS2 Keyboard/Mouse connector20 CN26 CF Typeii connector Table A.20 CN26 CF Typeii connector21 CN27 -V5 and -V12 connector Table A.21 CN27 -V5 and -V12 connector23 CN29 DDR2 Sodimm Socket 22 CN28 USB3/4 ConnectorTable A.22 CN28 USB3/4 Connector Table A.23 CN29 DDR2 Sodimm Socket24 CN30 DVI connector Table A.24 CN30 DVI ConnectorTable A.25 CN31 Sata 1 connector 25 CN31 Sata 1 connector26 CN32 Sata 2 connector Table A.26 CN32 Sata 2 connectorTable A.27 CN33 Battery Connector 27 CN33 Battery Connector28 CN34 LAN LED connector Table A.28 CN34 LAN LED ConnectorTable A.29 CN36 GPIO1 Connector 29 CN36 GPIO1 Connector30 CN37 GPIO2 Connector Table A.30 CN37 GPIO2 ConnectorTable A.31 CN38 USB5/6 Connector 31 CN38 USB5/6 Connector32 CN41 COM 5/6 RS-422 / 485 connector Table A.32 CN41 COM 5/6 / 422 / 485 connectorAppendix B PCM-10586-9588E Cable kit for PCM-9588 Table B.1 PCM-10586-9588E Cable kit for PCM-9588Appendix C Watchdog Timer Gpio Sample Code RA02 StartRA02 Start Ax=5E78 RA02 Start Mov Bx,0400h Int 15h RA02 END Check GPI 1,3,5,7 value RA02 Start CH device ID Newiodelay Push ax push cx Mov Dx,SMBusPort +04h Al,ch Clc Mov Cx,0800h ChkI2cOK Al,dx Get status END Page Appendix D Over-current protection Input PowerPower requirement Rising timeI/O Port Table D.1 I/O Port