Advantech PCM-9588 user manual Clc Mov Cx,0800h ChkI2cOK Al,dx Get status

Page 98

clc

 

 

mov

cx,0800h

 

Chk_I2c_OK:

 

 

in

al,dx

;get status

NEWIODELAY

 

out

dx,al

;clear status

NEWIODELAY

 

test

al, 02H

;termination of command ?

jnz

short Clear_final

and

al, NOT 40H;mask INUSE bit

or

al,al

;status OK ?

jz

short Clear_final

test

al,04h

;device error

jnz

short SMBus_Err

loop short Chk_I2c_OK ;SMbus error due to timeout

SMBus_Err:

stc ret

Clear_final:

clc ret

CT_Chk_SMBus_ReadyEndp

;;===============================================================

Delay5msprocnear push cx mov cx, 1000

@@:

NEWIODELAY loop short @B pop cx

ret

Delay5ms ENDP Phoenix_debuger proc near

pushf push cx

push offset PhdebugRetAddr push cs

PCM-9588 User Manual

88

Image 98
Contents PCM-9588 Copyright AcknowledgementsRepairs under Warranty Product Warranty 2 yearsWarranty Period Exclusions from WarrantyFCC Class a Declaration of ConformityTechnical Support and Assistance 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 Jumper list Jumper SettingsJumpers JP9 Backlight control select JP8 LCD Panel Power SelectJumper description 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 OnlyFrequency/voltage Control Load Optimized DefaultsSpread Spectrum Disabled Set Password To Establish PasswordTo Disable Password Save & Exit SetupTo Change Password Quit Without Saving Page W Introduction & Installation Windows XP Professional Driver InstallationS/W Introduction Other OSSusi Functions Susi Application LibrarySusi Introduction Watchdog API Susi InstallationVGA Control API Hardware Monitor APIWindows CE Express InstallationManual Installation 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 wordWrite Multiple bytes Write a wordRead Multiple bytes Brightness control VGA ControlScreen on/off 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