CMX34GS cpuModules™ User’s Manual BDM-610000082 Revision A ® www.rtd.
CMX34GS cpuModules™ User’s Manual RTD Document Number: BDM-610000082 Revision A Copyright © 2009-2014 RTD Embedded Technologies, Inc. All rights reserved.
CMX34GS cpuModules™ ® www.rtd.
iv CMX34GS cpuModule BDM-610000082 Rev A
Table of Contents Chapter 1 Introduction CMX34GS cpuModules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 aDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . .
Speaker. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Real Time Clock Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing the RTC Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
External I/O Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix D 86 Additional Information Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Drivers and Example Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1 Introduction This manual provides comprehensive hardware and software information for users developing with the CMX34GS PCIe/104 cpuModule. Note Read the specifications beginning on page 9 prior to designing with the cpuModule.
CMX34GS cpuModules RTD's CMX34GS cpuModule represents the latest in low power PCI Express embedded controllers. Based on an AMD Fusion G-Series APU processor and chipset, the CMX34GS is offered with either a low power 615 MHz Single-Core processor or a high performance 1.0 GHz Dual-Core processor that supports a 1.33 GHz frequency on one core, complete with a DDR3 memory interface operating at up to 800 MT/s (400 MHz). All memory chips are soldered directly onto the board.
You can easily customize the cpuModule by stacking PCI/104-Express or PCIe/104 modules such as video controllers, Digital Signal Processors, drive carriers, LAN controllers, or analog and digital data acquisition modules. Stacking modules onto the cpuModule avoids expensive installations of backplanes and card cages, and preserves the module's compactness. The cpuModule uses the RTD Enhanced BIOS.
Ordering Information The CMX34GS cpuModule is available with a selection of processors and memory sizes. The cpuModule can also be purchased as part of an Intelligent Data Acquisition Node (IDAN™) building block, which consists of the cpuModule and a milled aluminum IDAN frame. The IDAN building block can be used in just about any combination with other IDAN building blocks to create a simple but rugged PC/104 stack. Refer to Appendix C, IDAN™ Dimensions and Pinout, for more information.
Board Features • AMD Fusion G-Series FT1 Processor: Part Number Cores Core Frequency Boost Frequency L1 Cache (data) L1 Cache (instruction) L2 Cache CMX34GSS615 One 615 MHz — 32 KByte 32 KByte 512 KByte CMX34GSD1000 Two 1.0 GHz 1 1333 MHz 2 32 KByte 2 32 KByte 512 KByte2 1. For CPU boost, only one processor of the dual-core will have boost enabled 2.
• • • • • • Power Switch etc. Real-Time Clock (external battery required to maintain time only) Nonvolatile storage of CMOS settings without battery Advanced Watchdog timer Complete PC-compatible Single Board Computer I/O • • • AMD Radeon Graphics Part Number Cores Core Frequency AMD Radeon Graphics Clock Frequency (maximum) CMX34GSS615 One 615 MHz HD 6250 276 MHz CMX34GSD1000 Two 1.
– • • • • Two Strobes can be configured as readable inputs Four USB 2.0 (Universal Serial Bus) Ports – Supports 480 Mb/s (high-speed), 12Mb/s (full-speed), and 1.5Mbs (low speed) peripherals – Automatic resettable over-current protection (500 mA @ 5 Vdc per port) – USB Boot capability Serial ATA (SATA) – SATA revision 2.0 with transfer rates up to 3.0 Gbit/sec – Compatability mode supports legacy operating systems. Utility Port 2.0 Connector – 1x USB 2.
Block Diagram The next figure shows a simplified block diagram of the CMX34GS cpuModule.
Specifications Physical Characteristics • • Dimensions: 95.885mm L x 90.170mm W x 15.240mm H (3.775"L x 3.550"W x 0.600"H) Weight: Approximately 0.18 Kg (0.4 lb.) with Heatsink Power Consumption Exact power consumption depends on the actual application. Typical power consumption of the CMX34GS is listed in Table 2. Tables 3 and 4 list power consumption for common applications. It is expected that power consumption of a typical application will be a combination of these scenarios.
Operating Conditions Table 5 Symbol Parameter VCC5 Operating Conditions Test Condition Min. Max. 5V Supply Voltage 4.75V 5.25V VCC12 12V Supply Voltage 11.4V 12.6V VCCSTBY 5V Standby Voltage1 4.75V 5.25V - 500mA -40 -40 +70C +80C -40 +60C 0 90% 1 ICCSTBY 5V Standby Current Ta Ambient Operating Temperature2 Ts Storage Temperature Rh Humidity Board IDAN Non-Condensing 1. 5V Standby is used to power the board when the main supply is turned off (power down modes S3-S5).
Electrical Characteristics The table below lists the Electrical Characteristics of the CMX34GS. Operating outside of these parameters may cause permanent damage to the cpuModule. Table 6 Symbol Electrical Characteristics Parameter Test Condition Min. Max. 0.5 A 5.0 A USB Ports Ioc Overcurrent Limit Each port SVGA Port VOH Output Voltage High HSYNC, VSYNC IOH = –8.0 mA 2.4 V 3.3 V VOL Output Voltage Low HSYNC, VSYNC IOL = 8.0 mA 0.0 V 0.5 V VOH Output Voltage High DDC_* IOH = –4.
Table 6 Symbol Parameter TMIN Update Interval Electrical Characteristics Test Condition Min. — 1ms Max. Utility Port 2.0 Connector (CN5) VRTC Input RTC Voltage1 — IRTC RTC Battery Current — < 4 uA IUTILvcc Utility Supply Current — 500 mA 2.5V 3.6 V 1. Only required to maintain date and time when power is completely removed from the system. Not required for board operation.
Migrating to RTD’s G-Series cpuModules When migrating to RTD’s AMD G-Series cpuModules, there are several differences from preceding cpuModule product families of which the customer should be aware. Connector Pinout & Function Differences The newer AMD G-Series cpuModules have several connector-related differences, which are summarized below. Complete information about the connectors on the CMX34GS can be found in Chapter 3, Connecting the cpuModule.
– When a COM port connector is configured for dual-port mode, enabling/disabling COM port termination enables/disables the termination for both ports on that connector. (Some previous generations of cpuModules have the ability to independently enable/disable termination on both ports when configured for dual-mode.) Software Differences The newer AMD G-Series cpuModules have several software-related differences, which are summarized below.
Contact Information RTD Embedded Technologies, Inc. 103 Innovation Blvd. State College, PA 16803-0906 USA Phone: Fax: +1-814-234-8087 +1-814-234-5218 E-mail: sales@rtd.com techsupport@rtd.com Internet: http://www.rtd.
16 CMX34GS cpuModule BDM-610000082 Rev A
Chapter 2 Getting Started For many users, the factory configuration of the CMX34GS cpuModule can be used to get a PC/104 system operational. You can get your system up and running quickly by following the simple steps described in this chapter, which are: 1. Before connecting the cpuModule, the user must be properly grounded to prevent electrostatic discharge (ESD). For more information, refer to Proper Grounding Techniques on page 26. 2. Connect power. 3. Connect the Utility Port 2.0 cable. 4.
Connector Locations Figure 3 shows the connectors of the CMX34GS cpuModule. Ethernet (CN30) USB 2.0 (CN27) Factory Use (CN9) Factory Use (CN4) COM2&4 (CN9) DisplayPort (CN19) COM1&3 (CN7) SVGA Video (CN18) aDIO (CN6) USB 2.0 (CN17) Utility Port 2.
Table 7 CMX34GS Basic Connectors Connector Function Size and Pitch Mating Connector CN1 PCIe/104 Type 2 Bus (Top) 156-pin, 0.635mm Samtec ASP-129646-03 CN2 PCIe/104 Type 2 Bus (Bottom) 156-pin, 0.635mm Samtec ASP-129637-03 CN3 Auxiliary Power 1x12, 0.1” FCI 65039-025LF CN5 Utility Port 2.0 2x5, 0.1” 3M 89110-0001 CN6 aDIO 2x8, 0.1” 3M 89116-0001 CN7 Serial Port 1 (COM 1&3) 2x5, 0.1” 3M 89110-0001 CN8 Serial Port 2 (COM 2&4) 2x5, 0.
Selecting the Stack Order for the CMX34GS There are several things to consider when selecting the order of boards in the stack. Before selecting the order, be sure to determine which bus connector on each board is the “Active” bus. Typically, if a peripheral module has both PCIe and PCI bus connectors, only the PCIe is active and the PCI is pass-through. The following is a list of rules to use to determine the stack order: 20 1.
Stack Example The figure below shows an example of a complete system stack. Most systems will be a subset of this example. This example stack may be further expanded with PCIe to PCIe bridges, or a PCIe to PCI bridge.
Connecting to the Stack The bus connectors of the cpuModule are simply plugged onto a PC/104 stack to connect to other devices. Follow the procedure below to ensure that stacking of the modules does not damage connectors or electronics. WARNING Do not force the module onto the stack! Wiggling the module or applying too much pressure may damage it. If the module does not readily press into place, remove it, check for bent pins or out-of-place keying pins, and try again.
Connecting to the Utility Port 2.0 The Utility Port 2.0 connector (CN5) implements the following interfaces: • • • • • One USB 2.0 (Universal Serial Bus) port Speaker port (0.1W output) Hardware Reset input Battery input for Real Time Clock Soft Power Button input To use these interfaces, you must connect to the Utility Port 2.0 connector (CN5). The Utility Port 2.0 cable from the RTD cable kit provides a small speaker, two USB 2.
24 CMX34GS cpuModule BDM-610000082 Rev A
Chapter 3 Connecting the cpuModule This chapter provides information on all CMX34GS cpuModule connectors. Proper Grounding Techniques—page 26 Connector Locations —page 26 Auxiliary Power (CN3)—page 28 Utility Port 2.0 Connector (CN5)—page 29 SVGA Video Connector (CN18)—page 32 DisplayPort Connector (CN19)—page 33 Serial Port 1 (CN7) and Serial Port 2 (CN8)—page 35 Advanced Digital I/O (aDIO™) Port (CN6)—page 41 USB 2.
Proper Grounding Techniques Before removing the CMX34GS from its static bag, proper grounding techniques must be used to prevent electrostatic discharge (ESD) damage to the cpuModule. Common grounding procedures include an anti-static mat on a workbench, which may connect to an anti-static wrist strap (also known as an ESD wrist strap) on the wrist of the technician or engineer. Connector Locations Figure 5 shows the connectors of the CMX34GS cpuModule. Ethernet (CN30) USB 2.
Table 8 BDM-610000082 CMX34GS Basic Connectors Connector Function Size and Pitch Mating Connector CN1 PCIe/104 Type 2 Bus (Top) 156-pin, 0.635mm Samtec ASP-129646-03 CN2 PCIe/104 Type 2 Bus (Bottom) 156-pin, 0.635mm Samtec ASP-129637-03 CN3 Auxiliary Power 1x12, 0.1” FCI 65039-025LF CN5 Utility Port 2.0 2x5, 0.1” 3M 89110-0001 CN6 aDIO 2x8, 0.1” 3M 89116-0001 CN7 Serial Port 1 (COM1&3) 2x5, 0.1” 3M 89110-0001 CN8 Serial Port 2 (COM2&4) 2x5, 0.
Auxiliary Power (CN3) The Auxiliary Power connector (CN3) can be used to supply power to devices that are attached to the cpuModule. These devices include hard drive, front-end boards for data acquisition systems, and other devices. Power can also be conveyed to the module through the Auxiliary Power connector (CN3). The cpuModule only requires +5 VDC, +12 VDC, and ground for operation.
Utility Port 2.0 Connector (CN5) The Utility Port 2.0 connector implements the following functions: • • • • • 1x USB 2.0 (Universal Serial Bus) Port Speaker port (0.1W output) Hardware Reset input Soft Power Button input Battery input for Real Time Clock Table 10 provides the pinout of the Utility Por 2.0 connector. Table 10 Utility Port 2.
Speaker A speaker output is available on pins 1 and 2 of the Utility Port 2.0 connector. These outputs are controlled by a transistor to supply 0.1 W of power to an external speaker. The external speaker should have 8 Ohm impedance and be connected between pins 1 and 2. System Reset Pin 3 of the Utility Port 2.0 connector allows connection of an external push-button to manually reset the system. The push-button should be normally open, and connect to ground when pushed.
Battery Pin 9 of the Utility Port 2.0 connector is the connection for an external backup battery. This battery is used by the cpuModule when system power is removed in order to preserve the date and time of the real time clock. Connecting a battery is only required to maintain time when power is completely removed from the cpuModule. A battery is not required for board operation.
SVGA Video Connector (CN18) Table 11 provides the pinout of the video connector.
DisplayPort Connector (CN19) The DisplayPort connector on the CMX34GS cpuModule is a standard PC DisplayPort connector complete with latch holes to provide a rugged connecting solution for latching DisplayPort cables. The DisplayPort supports all mandatory features of the VESA DisplayPort Standard (Version 1.1a), permits a maximum resolution of 1920x1200, and supports up to 8 channels of audio out the connector.
Facing the connector pins of the DisplayPort connector (CN19), the pinout is: 34 19 17 15 13 11 9 7 5 3 1 DPG AUX- AUX+ CFG1 GND LN2- LN2+ GND LN0- LN0+ DPV HPD GND CFG2 LN3- LN3+ GND LN1- LN1+ GND 20 18 16 14 12 10 8 6 4 2 CMX34GS cpuModule BDM-610000082 Rev A
Serial Port 1 (CN7) and Serial Port 2 (CN8) Serial Port 1 (COM1) is implemented on connector CN7, and Serial Port 2 (COM2) is implemented on connector CN8. The serial ports are normally configured as PC compatible full-duplex RS-232 ports, but you may use the BIOS Setup program to reconfigure these ports as half-duplex RS-422 or full-duplex RS-422 or RS-485. If you reconfigure the ports, you must also select the I/O address and corresponding interrupt using Setup.
Facing the serial port’s connector pins, the pinout is: 9 7 5 3 1 GND DTR TXD RXD DCD GND RI CTS RTS DSR 10 8 6 4 2 RS-422 or RS-485 Serial Port You may use the BIOS setup utility to configure the serial ports as RS-422 or RS-485. In this case, you must connect the serial port to an RS-422 or RS-485 compatible device. When using RS-422 mode, you can use the serial ports in either half-duplex (two-wire) or full-duplex (four-wire) configurations.
RS-422 Mode Pinout Table 16 provides the serial port connector pinout when RS-422 mode is enabled.
RS-485 Mode Pinout Table 17 provides the serial port connector pinout when RS-482 mode is enabled Table 17 Serial Port in RS-485 Mode Pin Signal Function In/Out DB-9 1 D– Data (–) in/out 1 2 — Reserved — 6 3 D+ Data (+) in/out 2 4 — Reserved — 7 5 — Reserved — 3 6 — Reserved — 8 7 — Reserved — 4 8 — Reseved — 9 9,10 GND Signal Ground out 5 Facing the serial port connector, the pinout is: 9 7 5 3 1 GND Rsvd Rsvd D+ D- GND Rsvd Rsvd Rsvd Rsvd
Dual Serial Port Modes The serial port connectors can be configured as dual serial ports in the BIOS. The mapping between the connectors and COM port numbers is shown in Table 18. The supported combinations of serial port modes are listed in Table 19, which also includes a reference to the corresponding connector pinout.
Table 21 COM A (RS-422) and COM B (RS-422)1 Pin Signal Function In/Out DB-9 1 TXD1- COM A- Transmit Data (–) out 1 2 TXD2- COM B - Transmit Data (–) out 6 3 TXD1+ COM A - Transmit Data (+) out 2 4 TXD2+ COM B - Transmit Data (+) out 7 5 RXD1+ COM A - Receive Data (+) in 3 6 RXD2+ COM B - Receive Data (+) in 8 7 RXD1- COM A- Receive Data (–) in 4 8 RXD2- COM B - Receive Data (–) in 9 9,10 GND Signal Ground — 5 1.
Advanced Digital I/O (aDIO™) Port (CN6) Connector CN6 is configured as an aDIO port. aDIO is 12 digital bits configured as 8-bit programmable and 4-bit port programmable I/O, providing any combination of inputs and outputs. Match, event, and strobe interrupt modes mean no more wasting valuable processor time polling digital inputs. Interrupts are generated when the 8-bit programmable digital inputs match a pattern, or on any value change event. Bit masking allows selecting any subgroup of 8 bits.
USB 2.0 Connectors (CN17 and CN27) Four USB 2.0 compliant connectors are available on connector CN17 and CN27. Table 24 provides the pinout of the USB connectors.
Facing the connector pins, the pinout of CN17 is: 9 7 5 3 1 GND GND DATA1+ DATA1– VCC1 GND GND DATA2+ DATA2– VCC2 10 8 6 4 2 Facing the connector pins, the pinout of CN27 is: BDM-610000082 Rev A 9 7 5 3 1 GND GND DATA3+ DATA3– VCC3 GND GND DATA4+ DATA4– VCC4 10 8 6 4 2 Chapter 3: Connecting the cpuModule 43
Ethernet (10/100/1000Base-T and -TX) Connectors (CN20 and CN30) This connector provides a 10/100/1000Base-T Ethernet connection. Table 26 provides the pinout of the Ethernet connector. For 1000Base-T, all four pairs are used for transmit and receive. To use the onboard 10/100/1000 Ethernet controller, Ethernet must be enabled in the BIOS. When enabled, the multi-color LED will blink to indicate an Ethernet connection. For more information, refer to the Multi-Color LED section on page 69.
PCIe/104 Type 2 Bus (CN1 - Top and CN2 - Bottom) Connectors CN1 and CN2 carry the signals of the PCIe/104 PCIe bus. These signals match definitions found in the PCI/104-Express & PCIe/104 Specification Version 2.10 from the PC/104 Embedded Consortium. Table 27 lists the pinouts of the PC/104-Express bus connector. WARNING Not all PCIe cards are compatible with the PCIe/104 Type 2 connector. Be sure that all of the boards attached to this bus are compatible before powering the system.
Table 27 46 CMX34GS cpuModule PCIe/104 Type 2 Bus Signal Assignments (Top View)1 Signal Signal Pin 53 STK0 / WAKE# STK1 54 55 GND GND 56 57 Reserved Reserved 58 59 Reserved Reserved 60 61 GND GND 62 63 Reserved Reserved 64 65 Reserved Reserved 66 67 GND GND 68 69 Reserved Reserved 70 71 Reserved Reserved 72 73 GND GND 74 75 Reserved Reserved 76 77 Reserved Reserved 78 79 GND GND 80 81 SATA_1Tp SATA_0Tp 82 83 SATA_1Tn SATA_0Tn 84 85 GND
Table 27 PCIe/104 Type 2 Bus Signal Assignments (Top View)1 Signal Signal Pin 105 STK2 Reserved 106 107 GND GND 108 109 Reserved Reserved 110 111 Reserved Reserved 112 113 GND GND 114 115 Reserved Reserved 116 117 Reserved Reserved 118 119 GND GND 120 121 Reserved Reserved 122 123 Reserved Reserved 124 125 GND GND 126 127 Reserved Reserved 128 129 Reserved Reserved 130 131 GND GND 132 133 SATA_1Rp SATA_0Rp 134 135 SATA_1Rn SATA_0Rn 136 137
Optional RTC Battery Input (CN13) The optional RTC battery input is the connection for an external backup battery. This battery is used by the cpuModule when system power is removed in order to preserve the date and time of the real time clock. Connecting a battery is only required to maintain time when power is completely removed from the cpuModule. A battery is not required for board operation.
Chapter 4 Using the cpuModule This chapter provides information for users who wish to develop their own applications programs for the CMX34GS cpuModule.
The RTD Enhanced BIOS The RTD Enhanced BIOS is software that interfaces hardware-specific features of the cpuModule to an operating system (OS). Physically, the BIOS software is stored in a Flash EPROM on the cpuModule. Functions of the BIOS are divided into two parts. The first part of the BIOS is known as POST (power-on self-test) software, and it is active from the time power is applied until an OS boots (begins execution).
Main Menu Setup Fields The following is a list of Main Menu Setup fields. Table 30 Main Menu Setup Fields Field Active Keys Selections Main Press Enter to select Access system information such as the cpuModule’s serial number, CPU speed and type, BIOS version, FPGA version, and CMOS time and date settings Advanced Press Enter to select Setup advanced RTD cpuModule features, including boot options, aDIO and serial port configuration, and miscellaneous feature control.
Operating System Specific Usage Windows® AMD has identified an issue with Windows 7 where the USB controller can lose synchronization with the main state machine, and may enter a state from which it cannot exit, resulting in a Windows BSOD (Blue Screen of Death). This issue cannot be corrected by installing AMD’s drivers, however, it can be resolved with a Windows Registry change. For more information on this workaround, refer to Microsoft® Knowledge Base article ID 982091.
Memory Map Table 31 shows how memory in the first megabyte is allocated in the system. Table 31 First Megabyte Memory Map Address (hex) Description E0000–FFFFFh Legacy BIOS image CF600-DFFFFh Other ROMs CE600–CF5FFh Ethernet Boot PXE ROM C0000–CE5FFh Video BIOS A0000–BFFFFh Video memory1 9D800–9FFFFh Extended BIOS data area 00500–9D7FFh DOS reserved memory area 00400–004FFh BIOS data area 00000–003FFh Interrupt vector area 1.
I/O Address Map As with all standard PC/104 boards, the total I/O space is 64k in size. However, because early processors only addressed 10 address lines (SA0–SA9), the first 1k is used for legacy I/O devices. Any ISA add-on modules you install must therefore use I/O addresses in the range of 0–1023 (decimal) or 000–3FF (hex). The upper I/O addresses are used for PCI I/O devices, and are automatically assigned by the BIOS or operating system at boot time.
Hardware Interrupts Note If you add any expansion modules or other peripherals to the system, you must ensure they do not use interrupts needed by the cpuModule, or malfunctions will occur. The CMX34GS cpuModule supports the standard PC interrupts listed in Table 33. Interrupts not in use by hardware on the cpuModule itself are listed as available. Similarly, if the operating system is using APIC, more IRQs will be available.
Advanced Digital I/O Ports (aDIO™) This board supports 12 bits of TTL/CMOS compatible digital I/O (TTL signaling). These I/O lines are grouped into two ports, Port 0 and Port 1. Port 0 is bit programmable; Port 1 is byte programmable. Port 0 supports RTD’s Advanced Digital Interrupt modes. The three modes are strobe, match and event. Strobe mode generates an interrupt and latches Port 0 when the strobe input transitions from low to high.
Table 37 D7 D6 DIO-Control I/O Address EC3h—Read Access D5 D4 Strobe 1 Status 0 = no strobe 1 = strobe Strobe 0 Status 0 = no strobe 1 = strobe Digital IRQ Status 0 = no digital interrupt 1 = digital interrupt Table 38 D7 D6 D3 Digital IRQ Mode 00 = Disabled 01 = strobe Mode 10 = event mode 11 = match mode D2 D1 D0 Multi-Function Register Select 00 = clear mode 01 = port 0 direction 10 = mask register 11 = compare register Port 1 Direction 0 = input 1 = output DIO-Control I/O Address EC3h—Wr
Port 1 Data register is a read/write byte direction Interrupts In order to use an interrupt with aDIO, the interrupt must first be selected in the BIOS setup utility under Advanced, I/O Devices, aDIO Configuration, aDIO Interrupt. The Digital I/O can use interrupts 3, 5, 6, 10, and 11. To configure the aDIO interrupt, navigage to the BIOS Setup option, the “Advanced”, “RTD aDIO”, and “aDIO Interrupt” menu options.
Figure 6 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.
SATA Controller Configuration The CMX34GS has a combined total of five IDE-mode SATA links, each permitting SATA revision 2.0 transfer rates up to 3.0 Gbit/sec. Because IDE-mode controllers allow a maximum of four devices (primary and secondary channels, each supporting a master and slave), the five links are distributed across two controllers. Four SATA links reside on the top and bottom PCIe/104 Type 2 connectors (CN1 and CN2), and can be enabled/disabled as a group via the BIOS setup.
Legacy Mode When in this mode, the controller will be fixed to use two interrupts: IRQs 14 and 15. Similarly, the I/O address of the controller will be fixed in the system. When in Legacy Mode, only a primary and secondary channel may be used in the system. Note Because Legacy Mode permits only a primary and secondary channel in the system, configuring the PCIe/104 connector’s SATA links for Legacy Mode will disable the onboard SATA storage.
Real Time Clock Control Overview The cpuModule is equipped with a Real Time Clock (RTC) which provides system date and time functions. When the cpuModule is turned off, a battery must be attached to the Utility Port 2.0 connector (CN5) to provide power to the RTC. Without power, the RTC will lose the date/time information when the system is turned off. The RTC also provides an “alarm” function. This may be used to generate an interrupt at a particular time and day.
Table 41 Registers (hex) Registers (decimal) 0Ah 10 0Bh 0Ch 11 12 Real Time Clock Registers Function RTC Status Register A • Bit 7: RTC Update In Progress (Read Only) - RTC registers should not be accessed when this bit is high. If this bit is low, you have at least 244usec to access the RTD registers. • • • Bits 6-5: Reserved Bit 4: CMOS Bank Selection (0 = Bank 0, 1 = Bank 1) Bits 3-0: Rate select for periodic interrupt.
Note RTC registers that are not listed above are used by the BIOS and should be considered “Reserved”. Altering the contents of any unlisted RTC register may interfere with the operation of your cpuModule. The specific uses of the unlisted RTC registers will depend on the BIOS version loaded on the cpuModule. Contact RTD's technical support for more information.
Watchdog Timer Control The cpuModule includes a Watchdog Timer, which provides protection against programs “hanging”, or getting stuck in an execution loop where they cannot respond correctly. The watchdog timer consists of a counter, a reset generator, and an interrupt generator. When the counter reaches the interrupt time-out, it can generate an interrupt. When the counter reaches the reset time-out, the system is reset. The counter is “refreshed,” or set back to zero by reading from a specific register.
Thermal Management The cpuModule has several thermal features which can be used to monitor and control the board’s temperature when extreme operating conditions are prevalent. Thermal Monitor The Thermal Monitor is a feature on the CMX34GS that automatically throttles the CPU when the CPU exceeds its thermal limit. The maximum temperature of the processor is defined as the temperature that the Thermal Monitor is activated. The thermal limit and duty cycle of the Thermal Monitor cannot be modified.
Power Management The CMX34GS cpuModule supports various powering mechanisms which allow the cpuModule to monitor power consumption and temperature, and achieve minimal power consumption states. These unique features include thermal monitoring and thermal throttling, as well as low power modes including ACPI configurations. Various wake options are also available to resume normal system power.
Performance States (P-states) The AMD G-Series processor on the CMX34GS supports various operational performance states (P-states) that are characterized by a combination of the processor’s core frequency and voltage. For each processor type, P0 is the highest-power and highest-performance P-state of the processor. Each ascending P-state number represents a lower-power, lower-performance P-state.
Multi-Color LED The CMX34GS has a Multi-Color LED which can be enabled or disabled in the BIOS setup screen. The color of the LED indicates the status of the board, as shown in Table 46.
Reset Status Register The cpuModule has several different signals on board which can cause a system reset. If a reset occurs, the reset status register can be used to see which reset or resets have been asserted on the cpuModule. The user has the ability to see which resets have been asserted. Resets can also be cleared. • Examine Resets: Reading from I/O port 0xEA8 will indicate if a reset has been asserted. If a 1 is read, the corresponding reset has been asserted.
Table 51 Reset Status Description and Priorities I/O Address EA8h Reset Signal Reset Priority1 Description D7 Thermal Trip 2 Indicates that temperature has reached or exceeded the thermal trip limit. Its assertion will cause the system to trasition to S5 immediately. For more information, refer to Hardware-Enforced Thermal Protection on page 66.
Features and Settings That Can Affect Boot Time The boot time of a system is dependent upon numerous system settings as well as devices attached to a system. This section addresses some devices and settings that can increase or decrease a system’s boot time. Boot Device Order The BIOS contains a list of devices to try booting from. If you wish to boot to a particular device (for example, a hard drive), make sure that it is first in the boot order. This will speed up boot times.
System Recovery Reset Button Recovery The CMX34GS provides several methods for recovering from an incorrectly configured system. In order to enter the recovery mode, follow the steps below: 1. Remove power from the system, including standby power. 2. Press and hold the reset button attached to the Utility Port 2.0 connector. 3. Apply power to the system while continuing to hold the reset button. 4. Wait the amount of time shown in Table 52 for the desired recovery mode. 5.
74 CMX34GS cpuModule BDM-610000082 Rev A
Appendix A Hardware Reference This appendix provides information on CMX34GS cpuModule hardware, including: Jumper Settings and Locations—page 76 Onboard PCI/PCIe Devices—page 77 Physical Dimensions—page 78 BDM-610000082 Rev A Appendix A: Hardware Reference 75
Jumper Settings and Locations Many cpuModule options are configured by positioning jumpers. Jumpers are labeled on the board as JP followed by a number. Figure 7 shows the jumper locations that are used to configure the cpuModule. Table 53 lists the jumpers and their settings. JP5 JP6 Figure 7 CMX34GS Jumper Locations (top side) Table 53 Jumper 76 CMX34GS Jumpers Pins Function Default JP5 2 Reserved open JP6 2 Used to disable the Bus Stacking Error detection.
Onboard PCI/PCIe Devices The CMX34GS cpuModule has several onboard PCI/PCIe devices, all of which are listed in the table below. This table shows a typical configuration, and the actual devices may change based on BIOS settings.
Physical Dimensions Figure 8 shows the mechanical dimensions of the CMX34GS cpuModule. Figure 8 78 CMX34GS cpuModule CMX34GS Physical Dimensions (±0.
Appendix B Troubleshooting Many problems you may encounter with operation of your CMX34GS cpuModule are due to common errors. This appendix includes the following sections to help you get your system operating properly.
Common Problems and Solutions Table 55 lists some of the common problems you may encounter while using your CMX34GS cpuModule, and suggests possible solutions. If you are having problems with your cpuModule, review this table before contacting RTD Technical Support. Table 55 Troubleshooting Problem Additional Symptoms Possible Cause(s) cpuModule does not boot (no video output) LED is red (in reset) Input power is inadequate. Refer to Chapter 1, Electrical Characteristics.
Troubleshooting a PC/104 System If you have reviewed the preceding table and still cannot isolate the problem with your CMX34GS cpuModule, please try the following troubleshooting steps. Even if the resulting information does not help you find the problem, it will be very helpful if you need to contact technical support. BDM-610000082 1. Simplify the system. Remove items one at a time and see if one particular item seems to cause the problem. 2. Swap components.
How to Obtain Technical Support If after following the above steps, you still cannot resolve a problem with your CMX34GS cpuModule, please gather the following information: • • • • • • cpuModule model, BIOS version, and serial number List of all boards in system List of settings from cpuModule Setup program Printout of autoexec.bat and config.
Appendix C IDAN™ Dimensions and Pinout Like all other RTD PC/PCI-104 and PCIe/104 modules, cpuModules can be packaged in Intelligent Data Acquisition Node (IDAN) frames, which are milled aluminum frames with integrated heat sinks and heat pipes for fanless operation. RTD modules installed in IDAN frames are called building blocks. IDAN building blocks maintain the simple but rugged stacking concept of PC/PCI-104 and PCIe/104.
IDAN Dimensions and Connectors 9-pin D (male) module P/N: Adam Tech DE09PD mating P/N: Adam Tech DE09SD 25-pin D (female) module P/N: Adam Tech DB25SD mating P/N: Adam Tech DB25PD USB Connector module P/N: Series “A” Receptacle mating P/N: Series “A” Plug CN7 CN8 CN5 CN27 CN6 DisplayPort Connector module P/N: Molex 47272 series mating P/N: Molex 68783 series 9-pin D (male) module P/N: Adam Tech DE09PD mating P/N: Adam Tech DE09SD CN19 CN20 CN18 CN17 CN30 15-pin high-density D (female) module P/N:
IDAN Contents The IDAN-CMX34GS contains both a CMX34GS cpuModule and a SATA34106 carrier for a 2.5” SATA drive. Also inside the IDAN-CMX34GS unit is a CMOS battery which is connected to the battery input connection of the cpuModule’s Utility Port 2.0 connector. The frame of the IDAN-CMX34GS brings out the cpuModule’s multi-color LED as well as the cpuModule’s reset button.
External I/O Connections Table 56 Table 57 COM1/COM2 (Single Port Mode)— 9-Pin D Connector (male) CPU Pin IDAN Pin (DB-9) Single RS-232 Single RS-422 Single RS-485 1 1 DCD TXD– D– 2 6 DSR — — 3 2 RXD TXD+ D+ 4 7 RTS — — 5 3 TXD RXD+ — 6 8 CTS — — 7 4 DTR RXD– — 8 9 RI — — 9,10 5 GND GND GND COM1/COM2 (Dual Port Mode)— 9-Pin D Connector (male) CPU Pin IDAN Pin (DB-9) Dual RS-232 Dual RS-422 Dual RS-485 1 1 DCD1 TXD1- D1- 3 2 RXD1 TXD1+ D1+ 5
Table 58 BDM-610000082 Rev A aDIO — 25-Pin D Connector (female) IDAN Pin # aDIO Port CPU Pin # 10 reserved - 11 reserved - 12 reserved - 13 reserved - 14 P0-1 2 15 P0-3 4 16 P0-5 6 17 P0-7 8 18 Strobe 1 10 19 P1-1 12 20 P1-3 14 21 +5 V 16 22 reserved - 23 reserved - 24 reserved - 25 reserved - Appendix C: IDAN™ Dimensions and Pinout 87
Table 59 IDAN Pin # 88 CMX34GS cpuModule SVGA — 15-Pin High Density D Connector (female) Signal Function CPU Pin # 1 Red Red Analog Output 4 2 Green Green Analog Output 6 3 Blue Blue Analog Output 8 4 Reserved Reserved — 5 GND Ground 9 6 GND Ground 9 7 GND Ground 9 8 GND Ground 10 9 +5 V + 5 Volts 7 10 GND Ground 10 11 Reserved Reserved — 12 DDC Data Monitor data 5 13 HSYNC Horizontal Sync 2 14 VSYNC Vertical Sync 1 15 DDC CLK Monitor Clock 3
Table 60 DisplayPort Connector Pin Signal Standard Function Dual-mode (DP++) Function (DVI / HDMI mode)1 In/Out 1 LN0+ Main Link, Lane 0 (positive) TMDS Channel 2 (positive) out 2 GND Ground Ground out 3 LN0- Main Link, Lane 0 (negative) TMDS Channel 2 (negative) out 4 LN1+ Main Link, Lane 1 (positive) TMDS Channel 1 (positive) out 5 GND Ground Ground out 6 LN1- Main Link, Lane 1 (negative) TMDS Channel 1 (negative) out 7 LN2+ Main Link, Lane 2 (positive) TMDS Channel
Table 61 IDAN Pin # Signal Function Mode 1 VCC1 +5 V to USB1 output 2 Data USB1– USB1 Data– input/output 3 Data USB1+ USB1 Data+ input/output 4 GND Ground — 5 GND Ground — 6 VCC2 +5 V to USB2 output 7 Data USB2– USB2 Data– input/output 8 Data USB2+ USB2 Data+ input/output 9 GND Ground — Table 62 90 CMX34GS cpuModule USB — 9-Pin D Connector (male) Ethernet — 9-Pin D Connector (female) IDAN Pin # RJ-45 Pin Signal CPU Pin # 1 3 B+ (RX+) 1 2 4 C+ 3 3 1
Appendix D Additional Information Application Notes RTD offers many application notes that provide assistance with the unique feature set of the CMX34GS cpuModule. For the latest application notes, refer to the RTD website. Drivers and Example Programs To obtain the latest versions of drivers and example programs for this cpuModule, refer to the RTD website.
92 CMX34GS cpuModule BDM-610000082 Rev A
Appendix E Limited Warranty RTD Embedded Technologies, Inc. warrants the hardware and software products it manufactures and produces to be free from defects in materials and workmanship for one year following the date of shipment from RTD Embedded Technologies, Inc. This warranty is limited to the original purchaser of product and is not transferable.
94 CMX34GS cpuModule BDM-610000082 Rev A