IBM CMX58886CX Wake-on-aDIO, Interrupt and Wake Event Generation, WakeEnable Int Mask Function

Page 67

Figure 5 aDIO Match Mode

Strobe Mode

Another interrupt mode supported by aDIO is Strobe mode. This allows the strobe pin of the DIO connector to trigger an interrupt. A low to high transition on the strobe pin will cause an interrupt request. The request will remain high until the Clear Register is read from. Additionally, the Compare Register latched in the value at Port 0 when the Strobe pin made a low to high transition. No further strobes will be available until a read of the Compare Register is made. You must read the Compare Register, and then clear interrupts so that the latched value in the compare register is not lost. To enter Strobe mode, set bits [4:3] of the DIO-Control register to “01”.

Wake-on-aDIO

The aDIO Strobe, Match and Event interrupt can be used to generate a wake event. This event can wake the CPU from any power-down mode, including Soft-Off (S5). Wake from aDIO will work as long at +5V Standby power is applied to the board. To use the aDIO to wake the system, Wake from aDIO must first be enabled in the BIOS setup utility. Then the aDIO is configured in the appropriate interrupt mode. The “Wake Enable” bit is then set in the Wake Control Register at 0x454. The CPU can then be placed in a standby mode, and the aDIO interrupt will wake the system.

During system standby, a 32kHz clock is used for the aDIO instead of an 8.33 MHz clock. Therefore, transitions must be at least 30 us in order to trigger a wake event.

If the aDIO is to be used for a wake event only, and not an interrupt, the “Int Mask” bit can be set in the Wake Control Register. This will block the interrupt, but still allow a wake event to occur. The various settings for “Wake Enable” and “Int Mask” are shown in Table 46 below.

Table 46 Interrupt and Wake Event Generation

WakeEnable Int Mask

Function

 

 

00 No Interrupt or Wake event is generated

0

1

Interrupt Only

1

0

Wake Event Only

1

1

Interrupt and Wake Event

 

 

 

BDM-610000050 Rev A

Chapter 4: Using the cpuModule 59

Image 67
Contents BDM-610000050 Revision a CMX58886CX cpuModulesRevision Date Reason for Change 06/30/06 Initial release Revision HistoryCMX58886CX cpuModules Iv CMX58886CX cpuModule Table of Contents Audio CN11 MultiPort CN6Memory Map Address Map BDM-610000050 Rev a Vii Application Notes System RecoveryChapter CMX58886CX cpuModule top view CMX58886CX cpuModulesThermal Monitor and Thermal Throttling Error-Correction CodesADIO with Wake-on-aDIO CMX58886CX cpuModule Model Options Cable Kits and AccessoriesOrdering Information CMX58886CX Model OptionsBoard Features VGA, SVGA, XGA, SXGA, Uxga Bios CMX58886CX cpuModule Simplified Block Diagram Block DiagramOperating Conditions SpecificationsPhysical Characteristics Power ConsumptionIoc Electrical CharacteristicsElectrical Characteristics Symbol Parameter Test Condition Min Max12 CMX58886CX cpuModule Contact Information 14 CMX58886CX cpuModule Getting Started CMX58886CX Connector Locations Connector LocationsCMX58886CX Basic Connectors Connecting a Keyboard Connecting the Utility CableConnecting to the PC/104-PlusPCI Bus PCI Bus Expansion Card Power Slot Selection SwitchesPCI Bus Signaling Levels Booting the CMX58886CX cpuModule for the First Time Connecting the cpuModule 22 CMX58886CX cpuModule Fan Power +5 Pin Auxiliary Power Connector CN31 Auxiliary Power CN3Pin Signal Function Reserved Power Supply Protection+3.3 +12 Speaker Utility Port Connector CN5Utility Port Connector CN5 Pin Signal Function In/OutMouse System ResetSoft Power Button KeyboardBattery Svga Video Connector CN18 Svga Video Connector CN18Resolution Colors Refresh Rates Svga Video ResolutionsTested Lvds Panels Lvds Flat Panel Video Connector CN19Flat Panel Video Connector CN19 Manufacturer Model Number Resolution Color DepthEide Connector CN101 Eide Connector CN10Pin Signal ATA/IDE Disk Chip Socket U161 ATA/IDE Disk Chip Socket U16Serial Port 1 CN7 and Serial Port 2 CN8 RS-232 Serial Port DefaultSerial Port Settings Serial Port in RS-232 ModePort Half-Duplex RS-485 ModeRS-422 or RS-485 Serial Port Full-Duplex ConnectionsPin Signal Function In/Out DB-9 Serial Port in RS-422/485 ModeCN6 Pin Function MultiPort Configured as an Advanced Digital I/O aDIO PortMultiPort CN6 MultiPort aDIO PinoutMultiPort Connector CN6 as a Parallel Port MultiPort Configured as a Parallel PortCN6 Pin Signal Function In/Out DB-25 MultiPort Connector Floppy Pinout CN61 MultiPort Configured as a Floppy Drive ControllerCN6 Pin Function DB-25 Floppy Drive Pin USB Connector CN17 USB 2.0 Connector CN17Ethernet Connector CN20 Ethernet 10/100Base-T and -TX Connector CN20RJ-45 Pin Pin DIL Pin Signal Function In/Out Pin DIL Pin Signal Function In/Out Audio Connector CN11Audio CN11 PC/104-PlusPCI Bus CN16 PC/104-PlusBus Signal Assignments1Pin Address and Data PC/104-PlusPCI Bus SignalsPower Supplies and VIO Bridge Link CN4 Bridge Link CN4Optional RTC Battery Input CN13 External Power Management CN12Fan Power, +5 V CN14 Fan Power, Switched CN15 Fan Power, Switched CN15Using the cpuModule Setup Keys RTD Enhanced AMI BiosConfiguring the RTD Enhanced AMI Bios Entering the Bios SetupField Active Keys Selections Main Menu Setup FieldsPower On Self Test Post Codes Main Menu Setup FieldsBooting to Boot Block Flash with Fail Safe Boot ROM First Megabyte Memory Map Memory MapAddress hex Description O Addresses Reserved for the CMX58886CX cpuModule Address MapAddress Range hex Bytes Device Hardware Interrupts Interrupt Normal Use TimerHardware Interrupts Used on the CMX58886CX cpuModule Port 1 Data I/O Address 451h MultiPort Advanced Digital I/O Ports aDIODigital I/O Register Set Port 0 Data I/O Address 450hDIO-Control I/O Address 453h-Write Access DIO-Control I/O Address 453h-Read AccessMulti-Function at Address 452h1 =Interrupt triggers a Wake Event =Interrupt is enabledInterrupts Wake Control I/O Address 451hWake-on-aDIO WakeEnable Int Mask FunctionInterrupt and Wake Event Generation Ethernet 10/100Base-T and -TX MultiPort Parallel Port ControlMultiPort Floppy Drive AC’97 AudioCable Modes IDE Controller ConfigurationCable Detection Configuring the ATA/IDE Disk Chip Socket Legacy Mode and Native Mode IDEReal Time Clock Registers Real Time Clock ControlRegisters Number Function Wake Control I/O Address 455h Watchdog Timer ControlFurther Temperature Reduction Fan ModeThermal Management Power Button Modes Power ManagementAdvanced Power Management APM Advanced Configuration and Power Interface AcpiATX Power Supply Signals AT vs. ATX Power SuppliesReducing Power Consumption Manual LED Colors Multi-Color LEDLED Colors Multi-Color LED I/O Address 456h70 CMX58886CX cpuModule Reset Status I/O Address 457h Read Access Reset Status RegisterReset Status I/O Address 457h Write Access Address Reset Description Reset Status Description and PrioritesEeprom Register Description Bit Signal Function Read / WriteUser Eeprom User Eeprom I/O Address 456hFeatures and Settings That Can Affect Boot Time Loading Default Bios Settings System RecoveryBooting to the Fail Safe Boot ROM Fsbr Interrupt Request Lines What happens when an interrupt occurs?Basic Interrupt Information for Programmers How long does it take to respond to an interrupt?Sample Code Writing an Interrupt Service Routine ISRIntel 8259 Programmable Interrupt Controller PCI Interrupts78 CMX58886CX cpuModule Appendix a Hardware Reference Jumper Settings and Locations Pins 1-2 +12 Pins 2-3 +5 Jumper Pins Function DefaultPins 1-2 +5 Pins 2-3 +3.3 Pins 1-2 +3.3 Pins 2-3 +5CMX58886CX Solder Blobs Solder Positions Function Default BlobPositions 1-2 +5 Positions 2-3 +3.3 Onboard PCI Devices Onboard PCI DevicesDevice ID Vendor ID Description CMX58886CX Physical Dimensions ±0.005 inches Physical DimensionsAppendix B Troubleshooting Troubleshooting Common Problems and SolutionsProblem Cause Solution Troubleshooting cont’d Troubleshooting a PC/104-PlusSystemHow to Obtain Technical Support Appendix C Idan Dimensions and Pinout IDAN-CMX58886CX Connectors Idan Dimensions and ConnectorsExternal I/O Connections PS/2 Mouse 6-Pin mini-DIN Connector femaleKeyboard 6-Pin mini-DIN Connector female Idan Pin # Signal FunctionCOM1/COM2 RS-422/485 9-Pin D Connector male COM1/COM2 RS-232 9-Pin D Connector maleIdan Pin # Signal Function Mode Idan Pin # ADIO Port Parallel Port Floppy Port CPU Pin # MultiPort 25-Pin D Connector femaleIdan Pin # Signal Name CPU Pin # Panel 25-Pin mini D Connector femaleIdan Pin # Signal Function CPU Pin # Svga 15-Pin High Density D Connector femaleEthernet 9-Pin D Connector female USB 9-Pin D Connector maleIdan Pin # 10Base-T Signal CPU Pin # Idan Pin # Signal CPU Pin # Audio 9-Pin D Connector female98 CMX58886CX cpuModule Interrupt Programming PC/104 and PC/104-PlusSpecificationsApplication Notes Drivers and Example Programs100 CMX58886CX cpuModule Appendix E Limited Warranty 102 CMX58886CX cpuModule