IBM CMX58886CX Real Time Clock Control, Real Time Clock Registers, Registers Number Function

Page 71

Real Time Clock Control

The cpuModule is equipped with a real time clock (RTC) which provides system date and time functions, and also provides 128 nonvolatile memory locations. The contents of these memory locations are retained whenever an external backup battery is connected, whether or not system power is connected.

You may access the RTC date, time, and memory using an index and data register at I/O addresses 70h and 71h. Address 70h is the Index register. It must be written with the number of the register to read or write. Refer to the map below for valid choices for the index. Data is then written to or read from the selected register by writing or reading (respectively) the data register at address 71h.

WARNING Do NOT change values stored in the RTC registers listed as RESERVED in the table below. Doing so will interfere with proper cpuModule operation.

Registers of the RTC are shown below.

.

Table 47 Real Time Clock Registers

Registers

Registers

Number of

Function

(hex)

(decimal)

Bytes

 

 

 

 

 

00h

0

1

BCD Seconds

 

 

 

 

02h

2

1

BCD Minutes

 

 

 

 

04h

4

1

BCD Hours

 

 

 

 

06h

6

1

Day of Week

 

 

 

 

07h

7

1

Day of Month

 

 

 

 

08h

8

1

Month

 

 

 

 

09h

9

1

Year

 

 

 

 

0A–0Dh

10–13

4

RTC Control Registers

 

 

 

 

0E–31h

14–49

36

RESERVED—Do not modify!

 

 

 

 

32h

50

1

BCD Century

 

 

 

 

33–3Fh

51–63

13

RESERVED—Do not modify!

 

 

 

 

40–7Fh

64–127

64

User RAM

 

 

 

 

BDM-610000050 Rev A

Chapter 4: Using the cpuModule 63

Image 71
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 Memory Map Address Map MultiPort CN6Audio CN11 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 to the PC/104-PlusPCI Bus Connecting the Utility CableConnecting a Keyboard PCI Bus Signaling Levels Slot Selection SwitchesPCI Bus Expansion Card Power Booting the CMX58886CX cpuModule for the First Time Connecting the cpuModule 22 CMX58886CX cpuModule Fan Power +5 Pin Pin Signal Function Auxiliary Power CN3Auxiliary Power Connector CN31 +3.3 +12 Power Supply ProtectionReserved 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 DepthPin Signal Eide Connector CN10Eide Connector CN101 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 PinoutCN6 Pin Signal Function In/Out DB-25 MultiPort Configured as a Parallel PortMultiPort Connector CN6 as a Parallel Port CN6 Pin Function DB-25 Floppy Drive Pin MultiPort Configured as a Floppy Drive ControllerMultiPort Connector Floppy Pinout CN61 USB Connector CN17 USB 2.0 Connector CN17RJ-45 Pin Pin DIL Pin Signal Function In/Out Ethernet 10/100Base-T and -TX Connector CN20Ethernet Connector CN20 Audio CN11 Audio Connector CN11Pin DIL Pin Signal Function In/Out Pin PC/104-PlusBus Signal Assignments1PC/104-PlusPCI Bus CN16 Address and Data PC/104-PlusPCI Bus SignalsPower Supplies and VIO Bridge Link CN4 Bridge Link CN4Fan Power, +5 V CN14 External Power Management CN12Optional RTC Battery Input CN13 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 Address hex Description Memory MapFirst Megabyte Memory Map Address Range hex Bytes Device Address MapO Addresses Reserved for the CMX58886CX cpuModule Hardware Interrupts Used on the CMX58886CX cpuModule Interrupt Normal Use TimerHardware Interrupts Port 1 Data I/O Address 451h MultiPort Advanced Digital I/O Ports aDIODigital I/O Register Set Port 0 Data I/O Address 450hMulti-Function at Address 452h1 DIO-Control I/O Address 453h-Read AccessDIO-Control I/O Address 453h-Write Access =Interrupt triggers a Wake Event =Interrupt is enabledInterrupts Wake Control I/O Address 451hInterrupt and Wake Event Generation WakeEnable Int Mask FunctionWake-on-aDIO Ethernet 10/100Base-T and -TX MultiPort Parallel Port ControlMultiPort Floppy Drive AC’97 AudioCable Detection IDE Controller ConfigurationCable Modes Configuring the ATA/IDE Disk Chip Socket Legacy Mode and Native Mode IDERegisters Number Function Real Time Clock ControlReal Time Clock Registers Wake Control I/O Address 455h Watchdog Timer ControlThermal Management Fan ModeFurther Temperature Reduction 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 Write Access Reset Status RegisterReset Status I/O Address 457h Read 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 Booting to the Fail Safe Boot ROM Fsbr System RecoveryLoading Default Bios Settings 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 +5Positions 1-2 +5 Positions 2-3 +3.3 Solder Positions Function Default BlobCMX58886CX Solder Blobs Device ID Vendor ID Description Onboard PCI DevicesOnboard PCI Devices CMX58886CX Physical Dimensions ±0.005 inches Physical DimensionsAppendix B Troubleshooting Problem Cause Solution Common Problems and SolutionsTroubleshooting 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 FunctionIdan Pin # Signal Function Mode COM1/COM2 RS-232 9-Pin D Connector maleCOM1/COM2 RS-422/485 9-Pin D Connector male 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 femaleIdan Pin # 10Base-T Signal CPU Pin # USB 9-Pin D Connector maleEthernet 9-Pin D Connector female 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