Advantech PCM-9588 user manual Newiodelay

Page 96

;Output : AL - Value read ;============================================================== Ct_I2CReadByteProcNear

push cx

 

mov

dx,SMBus_Port +04h

inc

ch

 

mov

al,ch

;ID cmd(read)

out

dx,al

 

NEWIODELAY

 

NEWIODELAY

 

call

CT_Chk_SMBus_Ready

pop

ax

 

mov

dl,03h

 

out

dx,al

;Index

NEWIODELAY

 

NEWIODELAY

 

mov

dl,02h

 

mov

al,48h

 

out

dx,al

;Read data

NEWIODELAY

 

NEWIODELAY

 

mov

cx, 100h

 

@@:

newiodelay loop short @B

call

CT_Chk_SMBus_Ready

mov

dl,05

 

in

al,dx

;Data0

NEWIODELAY

NEWIODELAY

ret

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

;CH - device ID

PCM-9588 User Manual

86

Image 96
Contents PCM-9588 Copyright AcknowledgementsProduct Warranty 2 years Warranty PeriodRepairs under Warranty Exclusions from WarrantyDeclaration of Conformity Technical Support and AssistanceFCC Class a Optional accessories Packing ListOrdering information Model Number DescriptionPage Contents Introduction & Installation Appendix aOptional Extras for the PCM-9588 Page Chapter Product Specifications IntroductionChipset Functional SpecGeneral Introduction Chipset ICH6M I/O Other chipsetMechanical Specifications Electrical SpecificationsWeight g with Cooler 480 g Power supply VoltagePCM-9588 ATX Power Consumption Environment Specifications Operating HumidityPage W Installation Jumper Settings JumpersJumper list JP8 LCD Panel Power Select Jumper descriptionJP9 Backlight control select Connectors Connector listConnector Settings Connector ListPower connector CN5 Inverter connector CN6VGA connector CN8 Lvds connector CN9IDE Connector CN16 2.12 PC-104 plus connector CN17COM port connector CN19, CN41 USB connectors CN20, CN28, CN382.20 -V5 and -V12 connector CN27 DVI interface connector CN30Sata Connector CN31 and CN32 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 First / Second / Third / Other Boot Drive Boot Up Floppy Seek DisabledBoot Up NumLock Status Disabled Boot Up NumLock StatusEnabledAdvanced Chipset Features Integrated Peripherals OnChip IDE Device Onboard DeviceSuper IO Device Onboard Serial port 1 3F8Power Management Setup Run VGA Bios if S3 Resume Auto Power Management Min SavingHDD Power Down Disabled Suspend Mode 1 Hour7 PnP/PCI Configurations Reset Configuration Data DisabledPCI VGA Palette Snoop Disabled Init Display First PCI SlotShutdown Temperature Disabled PC Health StatusCurrent System/CPU Temp Show Only V / 3.3 V / 5 V / 12 V Show OnlyLoad Optimized Defaults Spread Spectrum DisabledFrequency/voltage Control Set Password To Establish PasswordSave & Exit Setup To Change PasswordTo Disable Password Quit Without Saving Page W Introduction & Installation Driver Installation S/W IntroductionWindows XP Professional Other OSSusi Application Library Susi IntroductionSusi Functions Susi Installation VGA Control APIWatchdog API Hardware Monitor APIExpress Installation Manual InstallationWindows CE Windows Graphics Mode Susi Sample ProgramsSample Programs SusiDemo.exeGpio Test Read Single Input PinTest Read Multiple Input Pin Test Write Single Output PinTest Write Multiple Output Pins 4.5 I2CRead a byte Write a byteSMBus Read a wordWrite a word Read Multiple bytesWrite Multiple bytes VGA Control Screen on/off controlBrightness control Watchdog Hardware Monitor Page Extension I/O Installation PC-104 plus PCIAppendix a CN2 CD in connector CN4 Audio connectorTable A.1 CN2 CD In connector Table A.2 CN4 Audio connectorCN5 Power connector Table A.3 CN5 Power connectorCN6 Inverter connector CN8 VGA connectorTable A.4 CN6 Inverter 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 connector10 CN13 HDD LED and Power LED 11 CN15 LPT / FDD connectorTable A.10 CN13 HDD LED and Power LED 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 Connector15 CN20 USB1/2 Connector 16 CN22 Reset Button connectorTable A.15 CN20 USB1/2 Connector Table A.16 CN22 Reset Bottom Connector17 CN23 Power Button connector 18 CN24 SIR connectorTable A.17 CN23 Power Button Connector Table A.18 CN24 SIR Connector19 CN25 PS2 Keyboard/Mouse connector 20 CN26 CF Typeii connectorTable A.19 CN25 PS2 Keyboard/Mouse connector Table A.20 CN26 CF Typeii connector21 CN27 -V5 and -V12 connector Table A.21 CN27 -V5 and -V12 connector22 CN28 USB3/4 Connector Table A.22 CN28 USB3/4 Connector23 CN29 DDR2 Sodimm Socket Table A.23 CN29 DDR2 Sodimm Socket24 CN30 DVI connector Table A.24 CN30 DVI Connector25 CN31 Sata 1 connector 26 CN32 Sata 2 connectorTable A.25 CN31 Sata 1 connector Table A.26 CN32 Sata 2 connector27 CN33 Battery Connector 28 CN34 LAN LED connectorTable A.27 CN33 Battery Connector Table A.28 CN34 LAN LED Connector29 CN36 GPIO1 Connector 30 CN37 GPIO2 ConnectorTable A.29 CN36 GPIO1 Connector Table A.30 CN37 GPIO2 Connector31 CN38 USB5/6 Connector 32 CN41 COM 5/6 RS-422 / 485 connectorTable A.31 CN38 USB5/6 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 Input Power Power requirementOver-current protection Rising timeI/O Port Table D.1 I/O Port