Advantech PCM-9588 user manual CH device ID

Page 95

push

cx

;save NO. of GPIO chip

mov

ax,5e87h

 

 

mov

bx,0422h

 

 

int

15h

 

 

;5. Check GPI 0,2,4,6 value

 

pop

cx

;restore

NO. of GPIO chip

push

cx

;save NO. of GPIO chip

mov

ax,5e87h

 

 

mov

bx,03FFh

 

 

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,33h

 

 

jne

test_result

 

 

pop

cx

;restore

NO. of GPIO chip

push

cx

;save NO. of GPIO chip

dec

cx

 

 

mov

al,Success_lenght

 

mul

cl

 

 

lea

dx, Success1_Str

 

add

dx,ax

 

 

;Do Second PCA9554 test

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

test_result:

 

mov

ah,09h

int

21h

pop

cx

dec

cx

jnz

next_test

Finish_Test:

 

popa

 

.exit

 

;============================================================== ;Input : CL - register index

;CH - device ID

Appendix C Programmable GPIO & Watchdog Timer

85

PCM-9588 User Manual

Image 95
Contents PCM-9588 Acknowledgements CopyrightExclusions from Warranty Product Warranty 2 yearsWarranty Period Repairs under WarrantyFCC Class a Declaration of ConformityTechnical Support and Assistance Model Number Description Optional accessoriesPacking List Ordering informationPage Contents Appendix a Introduction & InstallationOptional Extras for the PCM-9588 Page Chapter Functional Spec Product SpecificationsIntroduction ChipsetGeneral Introduction Other chipset Chipset ICH6M I/OPower supply Voltage Mechanical SpecificationsElectrical Specifications Weight g with Cooler 480 gPCM-9588 ATX Power Consumption Operating Humidity Environment SpecificationsPage W Installation Jumper list Jumper SettingsJumpers JP9 Backlight control select JP8 LCD Panel Power SelectJumper description Connector List ConnectorsConnector list Connector SettingsLvds connector CN9 Power connector CN5Inverter connector CN6 VGA connector CN8USB connectors CN20, CN28, CN38 IDE Connector CN162.12 PC-104 plus connector CN17 COM port connector CN19, CN41LAN LED connector CN34 2.20 -V5 and -V12 connector CN27DVI interface connector CN30 Sata Connector CN31 and CN32Mechanical Jumper and Connector LocationsBoard Dimension Layout Component Side Board DimensionsPage Bios Operation Bios Setup Bios IntroductionMain Menu Standard Cmos Features Advanced Bios Features Boot Up NumLock StatusEnabled First / Second / Third / Other Boot DriveBoot Up Floppy Seek Disabled Boot Up NumLock Status DisabledAdvanced Chipset Features Integrated Peripherals Onboard Serial port 1 3F8 OnChip IDE DeviceOnboard Device Super IO DevicePower Management Setup Suspend Mode 1 Hour Run VGA Bios if S3 Resume AutoPower Management Min Saving HDD Power Down DisabledInit Display First PCI Slot 7 PnP/PCI ConfigurationsReset Configuration Data Disabled PCI VGA Palette Snoop DisabledV / 3.3 V / 5 V / 12 V Show Only Shutdown Temperature DisabledPC Health Status Current System/CPU Temp Show OnlyFrequency/voltage Control Load Optimized DefaultsSpread Spectrum Disabled To Establish Password Set PasswordTo Disable Password Save & Exit SetupTo Change Password Quit Without Saving Page W Introduction & Installation Other OS Driver InstallationS/W Introduction Windows XP ProfessionalSusi Functions Susi Application LibrarySusi Introduction Hardware Monitor API Susi InstallationVGA Control API Watchdog APIWindows CE Express InstallationManual Installation SusiDemo.exe Windows Graphics ModeSusi Sample Programs Sample ProgramsTest Write Single Output Pin GpioTest Read Single Input Pin Test Read Multiple Input PinWrite a byte Test Write Multiple Output Pins4.5 I2C Read a byteRead a word SMBusWrite Multiple bytes Write a wordRead Multiple bytes Brightness control VGA ControlScreen on/off control Watchdog Hardware Monitor Page Extension I/O Installation PCI PC-104 plusAppendix a Table A.2 CN4 Audio connector CN2 CD in connectorCN4 Audio connector Table A.1 CN2 CD In connectorTable A.3 CN5 Power connector CN5 Power connectorTable A.5 CN8 VGA connector CN6 Inverter connectorCN8 VGA connector Table A.4 CN6 Inverter connectorTable A.6 CN9 Lvds connector CN9 Lvds connectorTable A.7 CN10 TTL connector High Bits CN10 TTL connector High BitsTable A.8 CN11 TTL connector Low Bits CN11 TTL connector Low BitsTable A.9 CN12 LAN connector CN12 LAN connectorTable A.11 CN15 LPT / FDD connector 10 CN13 HDD LED and Power LED11 CN15 LPT / FDD connector Table A.10 CN13 HDD LED and Power LEDTable A.12 CN16 IDE connector 12 CN16 IDE connectorTable A.13 CN17 PC-104/+ Connector 13 CN17 PC104-plus connectorTable A.14 CN19 COM1~4 Connector 14 CN19 COM1~4 connectorTable A.16 CN22 Reset Bottom Connector 15 CN20 USB1/2 Connector16 CN22 Reset Button connector Table A.15 CN20 USB1/2 ConnectorTable A.18 CN24 SIR Connector 17 CN23 Power Button connector18 CN24 SIR connector Table A.17 CN23 Power Button ConnectorTable A.20 CN26 CF Typeii connector 19 CN25 PS2 Keyboard/Mouse connector20 CN26 CF Typeii connector Table A.19 CN25 PS2 Keyboard/Mouse connectorTable A.21 CN27 -V5 and -V12 connector 21 CN27 -V5 and -V12 connectorTable A.23 CN29 DDR2 Sodimm Socket 22 CN28 USB3/4 ConnectorTable A.22 CN28 USB3/4 Connector 23 CN29 DDR2 Sodimm SocketTable A.24 CN30 DVI Connector 24 CN30 DVI connectorTable A.26 CN32 Sata 2 connector 25 CN31 Sata 1 connector26 CN32 Sata 2 connector Table A.25 CN31 Sata 1 connectorTable A.28 CN34 LAN LED Connector 27 CN33 Battery Connector28 CN34 LAN LED connector Table A.27 CN33 Battery ConnectorTable A.30 CN37 GPIO2 Connector 29 CN36 GPIO1 Connector30 CN37 GPIO2 Connector Table A.29 CN36 GPIO1 ConnectorTable A.32 CN41 COM 5/6 / 422 / 485 connector 31 CN38 USB5/6 Connector32 CN41 COM 5/6 RS-422 / 485 connector Table A.31 CN38 USB5/6 ConnectorAppendix B Table B.1 PCM-10586-9588E Cable kit for PCM-9588 PCM-10586-9588E Cable kit for PCM-9588Appendix C Watchdog Timer RA02 Start Gpio Sample CodeRA02 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 Rising time Input PowerPower requirement Over-current protectionTable D.1 I/O Port I/O Port