CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 User’s Manual Disclaimers This manual has been carefully checked and believed to contain accurate information. Axiomtek Co., Ltd. assumes no responsibility for any infringements of patents or any third party’s rights, and any liability arising from such use. Axiomtek does not warrant or assume any legal liability or responsibility for the accuracy, completeness or usefulness of any information in this document. Axiomtek does not make any commitment to update the information in this manual. Axiomtek reserves the right to change or revise this document and/or product at any time without notice. No part of this document may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Axiomtek Co., Ltd. CAUTION If you replace wrong batteries, it causes the danger of explosion. It is recommended by the manufacturer that you follow the manufacturer’s instructions to only replace the same or equivalent type of battery, and dispose of used ones. Copyright 2013 Axiomtek Co., Ltd. All Rights Reserved December 2013, Version A1 Printed in Taiwan ii ESD Precautions Computer boards have integrated circuits sensitive to static electricity. To prevent chipsets from electrostatic discharge damage, please take care of the following jobs with precautions: Do not remove boards or integrated circuits from their anti-static packaging until you are ready to install them. Before holding the board or integrated circuit, touch an unpainted portion of the system unit chassis for a few seconds. It discharges static electricity from your body. Wear a wrist-grounding strap, available from most electronic component stores, when handling boards and components. Trademarks Acknowledgments Axiomtek is a trademark of Axiomtek Co., Ltd. ® Windows is a trademark of Microsoft Corporation. AMI is trademark of American Megatrend Inc. IBM, PC/AT, PS/2, VGA are trademarks of International Business Machines Corporation. AMD is trademark of AMD Corporation, Inc. Other brand names and trademarks are the properties and registered brands of their respective owners. iii Table of Contents Disclaimers ..................................................................................................... ii ESD Precautions ........................................................................................... iii Chapter 1 Introduction ............................................. 1 1.1 Features ............................................................................................... 1 1.2 Specifications ...................................................................................... 2 1.3 Utilities Supported .............................................................................. 3 Chapter 2 Board and Pin Assignments .................... 5 2.1 Board Dimensions and Fixing Holes ................................................. 5 2.2 Board Layout ....................................................................................... 7 2.3 Jumper Settings .................................................................................. 9 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.3.10 2.4 Connectors ........................................................................................ 13 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 iv LVDS Voltage Selection (JP1) ................................................................... 10 Audio Output Selection (JP2) .................................................................... 10 Restore BIOS Optimal Defaults (JP4) ....................................................... 10 DDR3 Voltage Selection (JP5) .................................................................. 10 COM1 Data/Power Selection (JP6) ........................................................... 10 COM1 RS-232/422/485 Mode Setting (JP7, JP9, JP10) ........................... 11 COM2 Data/Power Selection (JP8) ............................................................ 11 COM3 Data/Power Selection (JP11) .......................................................... 11 Auto Power On (JP12) .............................................................................. 12 COM4 Data/Power Selection (JP13) ......................................................... 12 Power Connector (ATX1) .......................................................................... 14 LVDS Connector (LVDS1) ......................................................................... 14 Inverter Connector (BKLIGHT1)................................................................ 16 -5V Power Connector (CN1) ..................................................................... 16 SATA Power Connector (CN2) .................................................................. 16 VGA Connector (VGA1) ............................................................................ 16 Digital I/O Port Connector (DIO1) ............................................................. 17 SATA Connector (SATA1) .......................................................................... 17 COM1 Connector (COM1) ........................................................................ 17 COM2 Connector (COM2) ........................................................................ 18 COM3 Connector (COM3) ........................................................................ 18 COM4 Connector (COM4) ........................................................................ 18 Audio Connector (AUDIO1) ....................................................................... 18 Front Panel Connector (FP1) .................................................................... 19 PS/2 Keyboard and Mouse Connector (PS1) ........................................... 20 2.4.16 2.4.17 2.4.18 2.4.19 2.4.20 2.4.21 2.4.22 2.4.23 Parallel Port Connector (LPT1) ................................................................. 20 USB Wafer Connectors (USB1 and USB2) ............................................... 21 USB Stack Ports (USB3 and USB4) ......................................................... 21 PC/104 Connectors (ISA1 and ISA2) ........................................................ 22 Ethernet Ports (LAN1 and LAN2) .............................................................. 23 PCI-Express Mini Card Connector (SMINICARD1) .................................. 24 SIM Card Socket (SSIM1) ......................................................................... 25 CFast™ Socket (SCFAST1) ...................................................................... 25 Chapter 3 Hardware Description ........................... 27 3.1 Microprocessors ............................................................................... 27 3.2 BIOS ................................................................................................... 27 3.3 System Memory ................................................................................. 27 3.4 I/O Port Address Map ........................................................................ 28 3.5 Interrupt Controller (IRQ) Map ......................................................... 30 3.6 Memory Map ...................................................................................... 36 Chapter 4 AMI BIOS Setup Utility .......................... 37 4.1 Starting ............................................................................................... 37 4.2 Navigation Keys ................................................................................ 37 4.3 Main Menu.......................................................................................... 39 4.4 Advanced Menu ................................................................................. 40 4.5 Chipset Menu ..................................................................................... 49 4.6 Boot Menu.......................................................................................... 55 4.7 Security Menu .................................................................................... 56 4.8 Save & Exit Menu .............................................................................. 57 Appendix A Watchdog Timer ................................... 59 About Watchdog Timer ................................................................................ 59 How to Use Watchdog Timer....................................................................... 59 Sample Program .......................................................................................... 60 Appendix B Digital I/O ............................................. 63 About Digital I/O ........................................................................................... 63 Digital I/O Programming .............................................................................. 63 v This page is intentionally left blank. vi CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Chapter 1 Introduction The CAPA112, a Capa board, supports AMD G-Series APU T40E/T40R/T16R. The board integrates the Fusion Controller Hub A55E and delivers outstanding system performance through high-bandwidth interfaces, multiple I/O functions for interactive applications and various embedded computing solutions. There is one 204-pin unbuffered SO-DIMM socket for single channel DDR3 1066MHz memory, maximum memory capacity up to 4GB. It also features two Gigabit/Fast Ethernet ports, one SATA channel at maximum transfer rate up to 600MB/sec, six USB 2.0 high speed compliant, and built-in HD audio codec that can achieve the best stability and reliability for industrial applications. Additionally, it provides you with unique embedded features, such as PC/104, four serial ports and 3.5” form factor that applies an extensive array of PC peripherals. 1.1 Features AMD G-Series APU dual core T40E (1.0GHz) and single core T40R (1.0GHz)/ T16R (615MHz) AMD Fusion Controller Hub A50M chipset 1 DDR3 SO-DIMM supports up to 4 GB memory capacity 6 USB 2.0 ports 4 COM ports PC/104 for 16-bit ISA bus ATX power supported Introduction 1 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 1.2 Specifications CPU AMD G-Series APU dual core T40E 1.0GHz. AMD G-Series APU single core T40R 1.0GHz. AMD G-Series APU single core T16R 615MHz. Thermal Solution Passive solution. System Chipset AMD FCH A55E. BIOS American Megatrends Inc. UEFI (Unified Extensible Firmware Interface) BIOS. 16Mbit SPI Flash, DMI, Plug and Play. RPL/PXE Ethernet Boot ROM. System Memory One 204-pin unbuffered DDR3 SO-DIMM socket. Maximum to 4GB DDR3 1066MHz memory. Onboard Multi I/O Controller: Nuvoton NCT6106D. Serial Ports: One port for RS-232/422/485 and three ports for RS-232. One PS/2 keyboard and mouse. One LPT with SPP/EPP/ECP supported. Serial ATA One SATA-600 connector. CFast™ Socket One CFast™ socket. USB Interface Six USB ports with fuse protection and complies with USB Spec. Rev. 2.0. Display A 15-pin D-Sub connector as VGA connector. One 40-pin connector for 18/24-bit single/dual channel LVDS and one 8-pin inverter connector. LVDS resolution is up to 1920x1080 in 24-bit dual channel. Watchdog Timer 1~255 seconds or minutes; up to 255 levels. Ethernet Two ports with Realtek RTL8111E for Gigabit/Fast Ethernet. Audio HD audio compliant (with speaker/line-out and line-in/MIC-in) with Realtek ALC662. Speaker/line-out and line-in/MIC-in via box header connector. 2 Introduction CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Expansion Interface One PCI-Express Mini Card socket complies with PCI-Express Mini Card Spec. V1.2. One PC/104 for 16-bit ISA bus. Power Input 2x5-pin connector. ATX standard power source. +5V DC-in only (+12V is required for +12V powered serial ports and LVDS inverter). Power Management ACPI (Advanced Configuration and Power Interface). Form Factor 3.5” form factor. Note: 1.3 All specifications and images are subject to change without notice. Utilities Supported Chipset and Graphic Driver Ethernet Driver (RTL8111E) Audio Driver AHCI Driver Introduction 3 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 This page is intentionally left blank. 4 Introduction CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Chapter 2 Board and Pin Assignments 2.1 Board Dimensions and Fixing Holes Top View Board and Pin Assignments 5 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Bottom View Side View 6 Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.2 Board Layout Top View Side View Board and Pin Assignments 7 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Bottom View 8 Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.3 Jumper Settings Jumper is a small component consisting of jumper clip and jumper pins. Install jumper clip on 2 jumper pins to close. And remove jumper clip from 2 jumper pins to open. Below illustration shows how to set up jumper. Properly configure jumper settings on the CAPA112 to meet your application purpose. Below you can find a summary table of all jumpers and onboard default settings. Note: Once the default jumper setting needs to be changed, please do it under power-off condition. Jumper JP1 JP2 JP4 JP5 JP6 JP7 JP9 JP10 Description Setting LVDS Voltage Selection Default: +3.3V Audio Output Selection Default: Line-out Restore BIOS Optimal Defaults Default: Normal Operation DDR3 Voltage Selection Default: +1.5V COM1 Data/Power Selection Default: RS-232 Data 1-2 Close 1-3, 2-4 Close 1-2 Close 1-2 Close COM1 Pin 1: DCD COM1 Pin 9: RI COM1 RS-232/422/485 Mode Setting Default: RS-232 JP8 COM2 Data/Power Selection Default: RS-232 Data JP11 COM3 Data/Power Selection Default: RS-232 Data JP12 Auto Power On Default: Enable JP13 COM4 Data/Power Selection Default: RS-232 Data Board and Pin Assignments 3-5 Close 4-6 Close 1-2 Close 3-5, 4-6 Close 3-5, 4-6 Close COM2 Pin 1: DCD COM2 Pin 8: RI COM3 Pin 1: DCD 3-5 Close 4-6 Close 3-5 Close COM3 Pin 8: RI 4-6 Close 1-2 Close COM4 Pin 1: DCD COM4 Pin 8: RI 3-5 Close 4-6 Close 9 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.3.1 LVDS Voltage Selection (JP1) The board supports voltage selection for flat panel displays. Use JP1 to set LVDS connector (LVDS1, see section 2.4.2) pin 1~6 VCCM to +3.3V or +5V voltage level. Function Setting +3.3V level (Default) +5V level 1-2 close 2-3 close 2.3.2 Audio Output Selection (JP2) Use this jumper to select line-out or speaker out as source of audio output on audio connector. When speaker out is used, it delivers 1W/channel continuous at 8 Ohm loads. Function Setting Line-out (Default) Speaker out 1-3, 2-4 close 3-5, 4-6 close 2.3.3 Restore BIOS Optimal Defaults (JP4) Put jumper clip to pin 2-3 for a few seconds then move it back to pin 1-2. Doing this procedure can restore BIOS optimal defaults. Function Setting Normal (Default) 1-2 close Restore BIOS optimal defaults 2-3 close 2.3.4 DDR3 Voltage Selection (JP5) This jumper is for DDR3 voltage selection. The +1.35V can be used for DDR3 low voltage module. Function Setting +1.5V (Default) +1.35V 1-2 close Open 2.3.5 COM1 Data/Power Selection (JP6) The COM1 port has +5V level power capability on DCD and +12V level on RI by setting this jumper. When this port is set to +5V or +12V level, please make sure its communication mode is RS-232 (see section 2.3.6). 10 Function Setting Power: Set COM1 pin 1 to +5V level Data: Set COM1 pin 1 to DCD (Default) Power: Set COM1 pin 9 to +12V level Data: Set COM1 pin 9 to RI (Default) 1-3 close 3-5 close 2-4 close 4-6 close Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.3.6 COM1 RS-232/422/485 Mode Setting (JP7, JP9, JP10) Use these jumpers to set COM1 port to operate as RS-232, RS-422 or RS-485 communication mode. When these jumpers are set to operate as RS-422 or RS485, please make sure COM1 is on data mode (see section 2.3.5). Function Setting RS-232 mode (Default) RS-422 mode RS-485 mode 2.3.7 JP7 1-2 close JP9 3-5, 4-6 close JP10 3-5, 4-6 close JP7 3-4 close JP9 1-3, 2-4 close JP10 1-3, 2-4 close JP7 5-6 close JP9 1-3, 2-4 close JP10 1-3, 2-4 close COM2 Data/Power Selection (JP8) The COM2 port has +5V level power capability on DCD and +12V level on RI by setting this jumper. Function Setting Power: Set COM2 pin 1 to +5V level Data: Set COM2 pin 1 to DCD (Default) Power: Set COM2 pin 8 to +12V level Data: Set COM2 pin 8 to RI (Default) 1-3 close 3-5 close 2-4 close 4-6 close 2.3.8 COM3 Data/Power Selection (JP11) The COM3 port has +5V level power capability on DCD and +12V level on RI by setting this jumper. Function Setting Power: Set COM3 pin 1 to +5V level Data: Set COM3 pin 1 to DCD (Default) Power: Set COM3 pin 8 to +12V level Data: Set COM3 pin 8 to RI (Default) 1-3 close 3-5 close 2-4 close 4-6 close Board and Pin Assignments 11 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.3.9 Auto Power On (JP12) If JP12 is enabled for power input, the system will be automatically power on without pressing soft power button. If JP12 is disabled for power input, it is necessary to manually press soft power button to power on the system. Function Setting Disable auto power on Enable auto power on (Default) Open 1-2 close Note: 2.3.10 1 2 This function is similar to the feature of power on after power failure, which is controlled by hardware circuitry instead of BIOS. COM4 Data/Power Selection (JP13) The COM4 port has +5V level power capability on DCD and +12V level on RI by setting this jumper. 12 Function Setting Power: Set COM4 pin 1 to +5V level Data: Set COM4 pin 1 to DCD (Default) Power: Set COM4 pin 8 to +12V level Data: Set COM4 pin 8 to RI (Default) 1-3 close 3-5 close 2-4 close 4-6 close Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4 Connectors Signals go to other parts of the system through connectors. Loose or improper connection might cause problems, please make sure all connectors are properly and firmly connected. Here is a summary table which shows all connectors on the hardware. Connector Description ATX1 Power Connector LVDS1 LVDS Connector BKLIGHT1 Inverter Connector CN1 -5V Power Connector CN2 SATA Power Connector VGA1 VGA Connector DIO1 Digital I/O Port Connector SATA1 SATA Connector COM1~COM4 COM1~COM4 Connectors AUDIO1 Audio Connector FP1 Front Panel Connector PS1 PS/2 Keyboard and Mouse Connector LPT1 Parallel Port Connector USB1 USB Wafer Port 5 and 6 USB2 USB Wafer Port 2 and 3 USB3 USB Stack Port 0 USB4 USB Port 1 ISA1~ISA2 PC/104 Connectors LAN1~LAN2 Ethernet Port 1~2 SMINICARD1 PCI-Express Mini Card Connector SSIM1 SIM Card Socket SCFAST1 CFast SSODIMM1 DDR3 SO-DIMM Connector Board and Pin Assignments TM Socket 13 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.1 Power Connector (ATX1) Steady and sufficient power can be supplied to all components on the board by connecting the power connector. Please make sure all components and devices are properly installed before connecting the power connector. Properly press down power supply plug until it completely and firmly fits into this connector. Loose connection may cause system instability. Pin Signal Pin Signal 1 3 5 7 9 PS_ON GND N.C. +5V -12v 2 4 6 8 10 GND +12V* +SB5V +5V GND Note: 2.4.2 * +12V is for LCD Inverter, PC/104 and COM Port pin 8. By plugging into pin 2,3,7,and 8, the board can be powered on by +5V only. LVDS Connector (LVDS1) This board has a 40-pin connector for LVDS LCD interface. It is strongly recommended to use the matching JST SHDR-40VS-B 40-pin connector for LVDS interface. Pin 1~6 VCCM can be set to +3.3V level or +5V level by setting JP1 (see section 2.3.1). 18-bit single channel 14 Pin Signal Pin Signal 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 VCCM VCCM VCCM N.C. GND N.C. N.C. GND N.C. N.C. GND Channel A D0Channel A D0+ GND Channel A D1Channel A D1+ GND Channel A D2Channel A D2+ GND 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 VCCM VCCM VCCM N.C. GND N.C. N.C. GND N.C. N.C. GND N.C. N.C. GND N.C. N.C. GND Channel A CLKChannel A CLK+ GND Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 24-bit single channel 18-bit dual channel Pin Signal Pin Signal Pin Signal Pin Signal 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 VCCM VCCM VCCM N.C. GND N.C. N.C. GND N.C. N.C. GND Channel A D0Channel A D0+ GND Channel A D1Channel A D1+ GND Channel A D2Channel A D2+ GND VCCM VCCM VCCM N.C. GND N.C. N.C. GND N.C. N.C. GND N.C. N.C. GND Channel A D3Channel A D3+ GND Channel A CLKChannel A CLK+ GND VCCM VCCM VCCM N.C. GND N.C. N.C. GND Channel B CLKChannel B CLK+ GND Channel A D0Channel A D0+ GND Channel A D1Channel A D1+ GND Channel A D2Channel A D2+ GND VCCM VCCM VCCM N.C. GND Channel B D0Channel B D0+ GND Channel B D1Channel B D1+ GND Channel B D2Channel B D2+ GND N.C. N.C. GND Channel A CLKChannel A CLK+ GND 24-bit dual channel Pin Signal Pin Signal 1 VCCM 2 VCCM 3 VCCM 4 VCCM 5 VCCM 6 VCCM 7 N.C. 8 N.C. 9 GND 10 GND 11 Channel B D3- 12 Channel B D0- 13 Channel B D3+ 14 Channel B D0+ 15 GND 16 GND 17 Channel B CLK- 18 Channel B D1- 19 Channel B CLK+ 20 Channel B D1+ 21 GND 22 GND 23 Channel A D0- 24 Channel B D2- 25 Channel A D0+ 26 Channel B D2+ 27 GND 28 GND 29 Channel A D1- 30 Channel A D3- 31 Channel A D1+ 32 Channel A D3+ 33 GND 34 GND 35 Channel A D2- 36 Channel A CLK- 37 Channel A D2+ 38 Channel A CLK+ 39 GND 40 GND Board and Pin Assignments Note: See section 4.5 for LVDS resolution setting in BIOS menu. 15 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.3 Inverter Connector (BKLIGHT1) This is an 8-pin DF13-8S-1.25C connector for inverter. We strongly recommend you to use the matching DF13-8S-1.25C connector to avoid malfunction. Pin Signal 1 2 3 4 5 6 7 8 VBL1 (+12V level) VBL1 (+12V level) VBL2 (+5V level) VBL_ENABLE GND GND GND VBL Brightness Control 2.4.4 8 1 -5V Power Connector (CN1) This board has a -5V power connector for PC104 expansion slot. Pin Signal 1 2 -5V GND 2.4.5 SATA Power Connector (CN2) This connector is for interfacing to SATA 2.5" HDD power supply. Pin Signal 1 2 3 4 +12V level GND GND +5V level 2.4.6 VGA Connector (VGA1) This is a 15-pin D-Sub connector which is commonly used for VGA display. This VGA interface configuration can be configured via software utility. 16 Pin Signal Pin Signal 1 3 5 7 9 11 13 15 Red Blue GND GND VCC N.C. Horizontal Sync DDC CLK 2 4 6 8 10 12 14 Green N.C. DETECT GND GND DDC DATA Vertical Sync Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.7 Digital I/O Port Connector (DIO1) The board is equipped with an 8-channel (3 inputs and 5 outputs) digital I/O connector that meets requirements for a system customary automation control. The digital I/O can be configured to control cash drawers and sense warning signals from an Uninterrupted Power System (UPS), or perform store security control. You may use software programming to control these digital signals. Pin Signal Pin Signal 1 3 5 7 9 Digital Input 0 Digital Input 1 Digital Input 2 GND GND 2 4 6 8 10 Digital Output 0 Digital Output 1 Digital Output 2 Digital Output 3 Digital Output 4 2.4.8 SATA Connector (SATA1) This Serial Advanced Technology Attachment (Serial ATA or SATA) connector is for high-speed SATA interface port. It is computer bus interface for connecting to devices such as hard disk drives. Pin Signal 1 2 3 4 5 6 7 GND SATA_TX+ SATA_TXGND SATA_RXSATA_RX+ GND 2.4.9 COM1 Connector (COM1) This is a standard DB-9 connector. It is equipped with +5V level power capability on DCD and +12V level on RI by setting JP6 (see section 2.3.5). The pin assignments of RS-232/RS-422/RS-485 are listed in table below. If you need COM1 port to support RS-422 or RS-485, please refer to section 2.3.6. Pin RS-232 RS-422 RS-485 1 2 3 4 5 6 7 8 9 DCD RXD TXD DTR GND DSR RTS CTS RI TXTX+ RX+ RXNo use No use No use No use No use DataData+ No use No use No use No use No use No use No use Board and Pin Assignments 17 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.10 COM2 Connector (COM2) The COM2 port has +5V level power capability on DCD and +12V level on RI by setting JP8 (see section 2.3.7). The pin assignments are listed in table below. Pin Signal Pin Signal 1 3 5 7 9 DCD2 RXD2 TXD2 DTR2 GND 2 4 6 8 10 DSR2 RTS2 CTS2 RI2 N.C. 2.4.11 COM3 Connector (COM3) The COM3 port has +5V level power capability on DCD and +12V level on RI by setting JP11 (see section 2.3.8). The pin assignments are listed in table below. Pin Signal Pin Signal 1 3 5 7 9 DCD3 RXD3 TXD3 DTR3 GND 2 4 6 8 10 DSR3 RTS3 CTS3 RI3 N.C. 2.4.12 COM4 Connector (COM4) The COM4 port has +5V level power capability on DCD and +12V level on RI by setting JP13 (see section 2.3.10). The pin assignments are listed in table below. Pin Signal Pin Signal 1 3 5 7 9 DCD4 RXD4 TXD4 DTR4 GND 2 4 6 8 10 DSR4 RTS4 CTS4 RI4 N.C. 2.4.13 Audio Connector (AUDIO1) Pin 7 and pin 9 can be set to different audio source by JP2 (see section 2.3.2). 18 Pin Signal Pin Signal 1 3 5 7 9 MIC_IN LINE_IN_L LINE_IN_R AUDIO_OUT_L AUDIO_OUT_R 2 4 6 8 10 GND GND GND GND N.C. Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.14 Front Panel Connector (FP1) Pin Signal 1 2 3 4 5 6 7 8 9 10 11 12 13 14 PWRLED+ EXT SPKN.C. Buzzer PWRLEDN.C. N.C. EXT SPK+ PWRSWPWRSW+ HW RSTHW RST+ HDDLEDHDDLED+ Power LED Pin 1 connects anode(+) of LED and pin 5 connects cathode(-) of LED. The power LED lights up when the system is powered on. External Speaker and Internal Buzzer Pin 2, 4, 6 and 8 connect the case-mounted speaker unit or internal buzzer. While connecting the CPU board to an internal buzzer, please set pin 2 and 4 closed; while connecting to an external speaker, you need to set pins 2 and 4 opened and connect the speaker cable to pin 8(+) and pin 2(-). Power On/Off Button Pin 9 and 10 connect the power button on front panel to the CPU board, which allows users to turn on or off power supply. System Reset Switch Pin 11 and 12 connect the case-mounted reset switch that reboots your computer without turning off the power switch. It is a better way to reboot your system for a longer life of system power supply. HDD Activity LED This connection is linked to hard drive activity LED on the control panel. LED flashes when HDD is being accessed. Pin 13 and 14 connect the hard disk drive to the front panel HDD LED, pin 13 is assigned as cathode(-) and pin 14 is assigned as anode(+). Board and Pin Assignments 19 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.15 PS/2 Keyboard and Mouse Connector (PS1) This board has a 6-pin mini-DIN PS/2 connector for keyboard and mouse interface. Pin Signal 1 2 3 4 5 6 K/B Data M/S Data GND +5V K/B CLK M/S CLK 2.4.16 Parallel Port Connector (LPT1) The parallel port interface is available through this connector. 20 Pin Signal Pin Signal 1 3 5 7 9 11 13 15 17 19 21 23 25 PPT_STB_N PPT_PD0 PPT_PD1 PPT_PD2 PPT_PD3 PPT_PD4 PPT_PD5 PPT_PD6 PPT_PD7 PRN_ACK_N PRN_BUSY PRN_PE PRN_SLCT 2 4 6 8 10 12 14 16 18 20 22 24 26 PPT_AFD_N PRN_ERR_N PPT_INIT_N PPT_SLIN_N GND GND GND GND GND GND GND GND N.C. Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.17 USB Wafer Connectors (USB1 and USB2) These 2x5-pin wafers are Universal Serial Bus (USB) connectors. They are for installing versatile USB 2.0 compliant interface peripherals. The USB1 is designed with +5V level standby power which can provide power when system is in suspend mode. USB1 carries USB port 5 and 6 while USB2 carries USB port 2 and 3. Pin Signal 3 5 7 9 USB VCC (+5V level standby power) USB #5_DUSB #5_D+ GND GND Pin Signal 1 1 3 5 7 9 USB VCC (+5V level standby power) USB #2_DUSB #2_D+ GND GND 2.4.18 Pin Signal 4 6 8 10 USB VCC (+5V level standby power) USB #6_DUSB #6_D+ GND GND Pin Signal 2 2 4 6 8 10 USB1 USB2 USB VCC (+5V level standby power) USB #3_DUSB #3_D+ GND GND USB Ports (USB3 and USB4) Both USB3 and USB4 are for installing versatile USB 2.0 compliant interface peripherals. Pin Signal 1 2 3 4 USB VCC (+5V level standby power) USB #0_DUSB #0_D+ GND Pin Signal 1 2 3 4 USB VCC (+5V level standby power) USB #1_DUSB #1_D+ GND Board and Pin Assignments USB3 USB4 21 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.19 PC/104 Connectors (ISA1 and ISA2) The pin assignments for PC/104 connectors are as follows: ISA1: Pin Signal 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 IOCHK* SD6 SD4 SD2 SD0 AEN SA18 SA16 SA14 SA12 SA10 SA8 SA6 SA4 SA2 SA0 ISA2: Pin Signal 1 5 9 13 17 21 25 29 33 37 GND IOCS16* IRQ11 IRQ15 DACK0* DACK5* DACK6* DACK7* +5V GND Note: 22 Pin Signal Pin Signal Pin Signal 2 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 GND +5V -5V -12V +12V SMEMW* IOW* DACK3* DACK1* REFRESH* IRQ7 IRQ5 IRQ3 TC +5V GND 3 7 11 15 19 23 27 31 35 39 43 47 51 55 59 63 SD7 SD5 SD3 SD1 IOCHRDY SA19 SA17 SA15 SA13 SA11 SA9 SA7 SA5 SA3 SA1 GND 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 RESET IRQ9 DRQ2 SRDY* KEY SMEMR* IOR* DRQ3 DRQ1 BCLK IRQ6 IRQ4 DACK2* SALE OSC GND Pin Signal Pin Signal Pin Signal 2 6 10 14 18 22 26 30 34 38 GND LA23 LA21 LA19 LA17 MEMW* SD9 SD11 SD13 SD15 3 7 11 15 19 23 27 31 35 39 MEMCS16* IRQ10 IRQ12 IRQ14 DRQ0 DRQ5 DRQ6 DRQ7 MASTER* GND 4 8 12 16 20 24 28 32 36 40 SBHE* LA22 LA20 LA18 MEMR* SD8 SD10 SD12 SD14 (KEY) The PC/104 connectors support I/O mode module only. Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.20 Ethernet Ports (LAN1 and LAN2) The board has two RJ-45 connectors; LAN1 (for Ethernet port 1) and LAN2 (for Ethernet port 2). Ethernet connection can be established by plugging one end of the ethernet cable into this RJ-45 connector and the other end (phone jack) to a 1000/100/10-Base-T hub. Pin L1 L2 L3 L4 A B Signal Pin MDI0+ L5 MDI0L6 MDI1+ L7 MDI1L8 Active LED (Yellow) 100 LAN LED (Green) (Orange) Board and Pin Assignments Signal MDI2+ MDI2MDI3+ MDI3/ 1000 LAN LED A B L8 L7 L6 L5 L4 L3 L2 L1 A B 23 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.21 PCI-Express Mini Card Connector (SMINICARD1) This is a PCI-Express Mini Card connector (on the bottom side of the CAPA112) which supports PCI-Express x1 link and USB 2.0 link. A PCI-Express Mini Card can be applied to either PCI-Express or USB 2.0. It complies with PCI-Express Mini Card Spec. V1.2. 24 Pin Signal Pin Signal 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 WAKE# No use No use CLKREQ# GND REFCLKREFCLK+ GND No use No use GND PE_RXN3 PE_RXP3 GND GND PE_TXN3 PE_TXP3 GND GND +3.3VSB +3.3VSB GND No use No use No use No use 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 +3.3VSB GND +1.5V No use No use No use No use No use GND W_DISABLE# PERST# +3.3VSB GND +1.5V SMB_CLK SMB_DATA GND USB_D8USB_D8+ GND No use No use No use +1.5V GND +3.3VSB Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 2.4.22 SIM Card Socket (SSIM1) This board has SSIM1 socket on the bottom side for inserting SIM Card. In order to work properly, the SIM Card must be used together with Mini Card which is inserted to SMINICARD1. It is mainly used in 3G wireless network application. Pin Signal 1 2 3 4 5 6 7 8 PWR RST CLK NC GND VPP I/O NC 2.4.23 CFast™ Socket (SCFAST1) TM TM This board is equipped with a CFast socket on the bottom side to support a CFast card which is based on the Serial ATA bus. The socket is specially designed to avoid TM TM incorrect installation of the CFast card. When installing or removing the CFast card, TM please make sure the system power is off. The CFast card by default identifies itself as C: or D: drive in your PC system. Pin Signal Pin Signal 1 2 3 4 5 6 7 8 9 10 11 12 GND SATA_TX+ SATA_TXGND SATA_RXSATA_RX+ GND N.C GND N.C N.C N.C 13 14 15 16 17 18 19 20 21 22 23 24 N.C GND N.C N.C N.C N.C N.C +3.3V Level +3.3V Level GND GND N.C Board and Pin Assignments 25 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 This page is intentionally left blank. 26 Board and Pin Assignments CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Chapter 3 Hardware Description 3.1 Microprocessors The CAPA112 series support AMD G-Series APU (Accelerated Processing Unit) ® ® T40E/T40R/T16R, which enable your system to operate under Windows XP, Windows 7 and Linux environments. The system performance depends on the APU. 3.2 BIOS The CAPA112 uses AMI Plug and Play BIOS with a single 16Mbit SPI Flash. 3.3 System Memory The CAPA112 supports one 204-pin DDR3 SO-DIMM socket for a maximum memory of 4GB DDR3 SDRAMs. The memory module comes in sizes of 1GB, 2GB and 4GB. Hardware Description 27 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 3.4 I/O Port Address Map The AMD G-Series APU communicates via I/O ports. Total 1KB port addresses are available for assigning to other devices via I/O expansion cards. 28 Hardware Description CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Hardware Description 29 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 3.5 Interrupt Controller (IRQ) Map The interrupt controller (IRQ) mapping list is shown as follows: 30 Hardware Description CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Hardware Description 31 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 32 Hardware Description CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Hardware Description 33 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 34 Hardware Description CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Hardware Description 35 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 3.6 Memory Map The memory mapping list is shown as follows: 36 Hardware Description CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Chapter 4 AMI BIOS Setup Utility The AMI UEFI BIOS provides users with a built-in setup program to modify basic system configuration. All configured parameters are stored in a flash chip to save the setup information whenever the power is turned off. This chapter provides users with detailed description about how to set up basic system configuration through the AMI BIOS setup utility. 4.1 Starting To enter the setup screens, follow the steps below: 1. 2. Turn on the computer and press the <Del> key immediately. After you press the <Del> key, the main BIOS setup menu displays. You can access the other setup screens from the main BIOS setup menu, such as the Advanced and Chipset menus. Note: If your computer cannot boot after making and saving system changes with Setup, you can restore BIOS optimal defaults by setting JP4 (see section 2.3.3). It is strongly recommended that you should avoid changing the chipset’s defaults. Both AMI and your system manufacturer have carefully set up these defaults that provide the best performance and reliability. 4.2 Navigation Keys The BIOS setup/utility uses a key-based navigation system called hot keys. Most of the BIOS setup utility hot keys can be used at any time during the setup navigation process. These keys include <F1>, <F2>, <Enter>, <ESC>, <Arrow> keys, and so on. Note: Some of the navigation keys differ from one screen to another. AMI BIOS Setup Utility 37 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Hot Keys Description Left/Right The Left and Right <Arrow> keys allow you to select a setup screen. Up/Down The Up and Down <Arrow> keys allow you to select a setup screen or sub-screen. + Plus/Minus The Plus and Minus <Arrow> keys allow you to change the field value of a particular setup item. Tab The <Tab> key allows you to select setup fields. F1 The <F1> key allows you to display the General Help screen. F2 The <F2> key allows you to Load Previous Values. F3 The <F3> key allows you to Load Optimized Defaults. F4 The <F4> key allows you to save any changes you have made and exit Setup. Press the <F4> key to save your changes. Esc The <Esc> key allows you to discard any changes you have made and exit the Setup. Press the <Esc> key to exit the setup without saving your changes. Enter The <Enter> key allows you to display or change the setup option listed for a particular setup item. The <Enter> key can also allow you to display the setup sub- screens. 38 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 4.3 Main Menu When you first enter the setup utility, you will enter the Main setup screen. You can always return to the Main setup screen by selecting the Main tab. System Time/Date can be set up as described below. The Main BIOS setup screen is shown below. BIOS Information Display the auto-detected BIOS information. System Language Use this item to choose the system default language. System Date/Time Use this item to change the system time and date. Highlight System Time or System Date using the <Arrow> keys. Enter new values through the keyboard. Press the <Tab> key or the <Arrow> keys to move between fields. The date must be entered in MM/DD/YY format. The time is entered in HH:MM:SS format. Access Level Display the access level of current user. AMI BIOS Setup Utility 39 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 4.4 Advanced Menu Launch PXE OpROM Enable or disable the boot ROM function of the onboard LAN chip when the system boots up. The Advanced menu also allows users to set configuration of the CPU and other system devices. You can select any of the items in the left frame of the screen to go to the sub menus: ► ► ► ► ► ► ► ► ACPI Settings CPU Configuration IDE Configuration USB Configuration NCT6106D Super IO Configuration NCT6106D HW Monitor WatchDog Configuration IT8888 Configuration For items marked with “”, please press <Enter> for more options. 40 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 ACPI Settings You can use this screen to select options for the ACPI configuration, and change the value of the selected option. A description of the selected item appears on the right side of the screen. Enable ACPI Auto Configuration Enable or disable BIOS ACPI auto configuration. ACPI Sleep State When the sleep button is pressed, the system will be in the ACPI sleep state. The default is S3 (Suspend to RAM). AMI BIOS Setup Utility 41 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 CPU Configuration This screen is for CPU Configuration. Node 0 Information View memory information related to Node 0. 42 Node 0 Information AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 IDE Configuration In the IDE Configuration menu, you can see the currently installed hardware in the SATA ports. During system boot up, the BIOS automatically detects the presence of SATA devices. AMI BIOS Setup Utility 43 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 USB Configuration You can use this screen to select options for the USB Configuration, and change the value of the selected option. A description of the selected item appears on the right side of the screen. USB Devices Display all detected USB devices. Legacy USB Support Enable or disable support for USB device on legacy operating system. The default setting is Enabled. Auto option disables legacy support if no USB devices are connected. Disable option will keep USB devices available only for EFI applications. USB transfer time-out The time-out value for control, bulk and interrupt transfers. Device reset time-out USB mass storage device start unit command time-out. Device power-up delay Maximum time the device will take before it properly reports itself to the host controller. Auto option uses default value: for a root port it is 100ms, for a hub port the delay is taken from hub descriptor. 44 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 NCT6106D Super IO Configuration You can use this screen to select options for the Super IO Configuration, and change the value of the selected option. A description of the selected item appears on the right side of the screen. For items marked with “”, please press <Enter> for more options. Serial Port 0~3 Configuration Set parameters of serial port 0~3. Parallel Port Configuration This item allows you to determine the Parallel Port Mode and I/O address for onboard parallel port. AMI BIOS Setup Utility 45 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 NCT6106D HW Monitor This screen monitors hardware health status. This screen displays the temperature of system and CPU and system voltages (VCORE, 12V, 5V and 3.3V). 46 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 WatchDog Configuration This screen is for watchdog configuration. WatchDog Count Mode Watchdog count mode selection. WatchDog Timeout Value Set watchdog time-out value. AMI BIOS Setup Utility 47 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 IT8888 Settings This screen is for IT8888 settings. Reserve IRQ10 to ISA Enable or disable reserved IRQ10 to ISA functionality. The default is Disable and the reserved IRQ10 is for PCI. 48 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 4.5 Chipset Menu The Chipset menu allows users to change the advanced chipset settings. You can select any of the items in the left frame of the screen to go to the sub menus: ► North Bridge ► North Bridge LVDS Config Select ► South Bridge For items marked with “”, please press <Enter> for more options. AMI BIOS Setup Utility 49 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 50 North Bridge Configuration This screen allows users to configure parameters of North Bridge chipset. AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Memory Configuration By default, all options are set to Auto. Node 0 Information This screen provides user with the information of current using DDR3 SDRAM AMI BIOS Setup Utility 51 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 North Bridge LVDS Config Select Specify INT15 options for LVDS. DP0 Output Mode Use this item to choose LVDS or disable DP0 output. 52 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 LVDS Panel Config Select Select LVDS panel resolution. AMI BIOS Setup Utility 53 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 South Bridge This screen allows users to configure parameters of South Bridge chipset. SB SATA Configuration Use this item to select option for SATA configuration. SB USB Configuration Use this item to enable or disable all USB devices. SB HD Azalia Configuration Enable or disable the HD audio controller. 54 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 4.6 Boot Menu The Boot menu allows users to change boot options of the system. Setup Prompt Timeout Number of seconds to wait for setup activation key. 65535(0xFFFF) means indefinite waiting. Bootup NumLock State Use this item to select the power-on state for the keyboard NumLock. Quiet Boot Select to display either POST output messages or a splash screen during boot-up. Boot Option Priorities These are settings for boot priority. Specify the boot device priority sequence from the available devices. AMI BIOS Setup Utility 55 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 4.7 Security Menu The Security menu allows users to change the security settings for the system. Administrator Password This item indicates whether an administrator password has been set (installed or uninstalled). User Password This item indicates whether an user password has been set (installed or uninstalled). 56 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 4.8 Save & Exit Menu The Save & Exit menu allows users to load your system configuration with optimal or fail-safe default values. Save Changes and Exit When you have completed the system configuration changes, select this option to leave Setup and return to Main Menu. Select Save Changes and Exit from the Save & Exit menu and press <Enter>. Select Yes to save changes and exit. Discard Changes and Exit Select this option to quit Setup without making any permanent changes to the system configuration and return to Main Menu. Select Discard Changes and Exit from the Save & Exit menu and press <Enter>. Select Yes to discard changes and exit. Save Changes and Reset When you have completed the system configuration changes, select this option to leave Setup and reboot the computer so the new system configuration parameters can take effect. Select Save Changes and Reset from the Save & Exit menu and press <Enter>. Select Yes to save changes and reset. Discard Changes and Reset Select this option to quit Setup without making any permanent changes to the system configuration and reboot the computer. Select Discard Changes and Reset from the Save & Exit menu and press <Enter>. Select Yes to discard changes and reset. Save Changes When you have completed the system configuration changes, select this option to save changes. Select Save Changes from the Save & Exit menu and press <Enter>. Select Yes to save changes. AMI BIOS Setup Utility 57 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Discard Changes Select this option to quit Setup without making any permanent changes to the system configuration. Select Discard Changes from the Save & Exit menu and press <Enter>. Select Yes to discard changes. Restore Defaults It automatically sets all Setup options to a complete set of default settings when you select this option. Select Restore Defaults from the Save & Exit menu and press <Enter>. Save as User Defaults Select this option to save system configuration changes done so far as User Defaults. Select Save as User Defaults from the Save & Exit menu and press <Enter>. Restore User Defaults It automatically sets all Setup options to a complete set of User Defaults when you select this option. Select Restore User Defaults from the Save & Exit menu and press <Enter>. Boot Override Select a drive to immediately boot that device regardless of the current boot order. 58 AMI BIOS Setup Utility CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Appendix A Watchdog Timer About Watchdog Timer Software stability is major issue in most application. Some embedded systems are not watched by human for 24 hours. It is usually too slow to wait for someone to reboot when computer hangs. The systems need to be able to reset automatically when things go wrong. The watchdog timer gives us solution. The watchdog timer is a counter that triggers a system reset when it counts down to zero from a preset value. The software starts counter with an initial value and must reset it periodically. If the counter ever reaches zero which means the software has crashed, the system will reboot. How to Use Watchdog Timer The I/O port base addresses of watchdog timer are 2E (hex) and 2F (hex). The 2E (hex) and 2F (hex) are address and data port respectively. Assume that program A is put in a loop that must execute at least once every 10ms. Initialize watchdog timer with a value bigger than 10ms. If the software has no problems; watchdog timer will never expire because software will always restart the counter before it reaches zero. Begin Next Enable and Initialize Watchdog Timer Next Program “A” Next Disable Watchdog Timer Next Watchdog Timer Begin Next Enable and Initialize Watchdog Timer Next Program “A” Next Reset Watchdog Timer Next 59 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Sample Program Assembly sample code : ;Enable mov mov out out WDT: dx,2Eh al,87 dx,al dx,al ;Select mov mov out mov mov out Logic device: dx,2Eh al,07h dx,al dx,2Fh al,08h dx,al ;Un-lock super I/O ;Activate WDT: mov dx,2Eh mov al,30h out dx,al mov dx,2Fh mov al,01h out dx,al ;Set Second or Minute : mov dx,2Eh mov al,0F5h out dx,al mov dx,2Fh mov out al,Nh dx,al ;Set base timer : mov dx,2Eh mov al,0F6h out dx,al mov dx,2Fh mov al,Mh out dx,al ;Disable WDT: mov dx,2Eh mov al,30h out dx,al mov dx,2Fh mov al,00h out dx,al ;N=00h or 08h(see below Note) ;M=00h,01h,...FFh (hex),Value=0 to 255 ;(see below Note) ;Can be disabled at any time Note: If N=00h, the time base is set to second. M = time value 00: Time-out Disable 01: Time-out occurs after 1 second 02: Time-out occurs after 2 seconds 03: Time-out occurs after 3 seconds . . FFh: Time-out occurs after 255 seconds 60 Watchdog Timer CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 If N=08h, the time base is set to minute. M = time value 00: Time-out Disable 01: Time-out occurs after 1 minute 02: Time-out occurs after 2 minutes 03: Time-out occurs after 3 minutes . . FFh: Time-out occurs after 255 minutes Watchdog Timer 61 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 This page is intentionally left blank. 62 Watchdog Timer CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 Appendix B Digital I/O About Digital I/O The onboard digital I/O has 8 bits. Each bit can be set to function as input or output by software programming. In default, all pins are pulled high with +5V level (according to main power). The BIOS default settings are 3 inputs and 5 outputs where all of these pins are set to 1. DIO1 Pin Signal Pin Signal 1 3 5 7 9 DI0 (Bit0) DI1 (Bit1) DI2 (Bit2) GND GND 2 4 6 8 10 DO0 (Bit 3) DO1 (Bit 4) DO2 (Bit 5) DO3 (Bit 6) DO4 (Bit 7) Digital I/O Programming Assembly sample code : Set functionality: ;Start set DIO program: mov dx,2Eh mov al,87h ;Un-lock super I/O out dx,al out dx,al mov mov out mov mov out dx,2Eh al,07h dx,al dx,2Fh al,08h dx,al mov mov out mov mov out dx,2Eh al,30h dx,al dx,2Fh al,02h dx,al Digital I/O 63 CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 ;Programming DIO as in/out. mov dx,2Eh mov al,0E0h out dx,al mov dx,2Fh mov al,Nh ;If N=07h, DIO is programmed as 3 inputs out dx,al ;and 5 outputs (see below Note1) Digital Input: ;Read digital input data. mov dx,2Eh mov al,0E1h out dx,al mov dx,2Fh ;If N=07h, bit0~2 represent DIO0~2, in dx, al ;bit0~2 are DIO pin 0~2 state (1 High, 0 Low) ;(see below Note2) Digital Output: ; Set DIO digital output pins value. mov dx,2Eh mov al,0E1h out dx,al mov dx,2Fh mov al,M ;If N=07h, bit3~7 represent DIO3~7, out dx,al ;set output value M ;bit3~7 are DIO pin 3~7 state (1 High, 0 Low) ;if M=FFh, all DIO pins are high ;(see below Note3) Note1: The N has 8 bits. Every bit’s value is either 1 or 0. " 1" means that the bit is programmed to input. " 0" means that the bit is programmed to output. Ex: 1. N=00h=00000000b DIO7 DIO6 Output Output 2. 3. 4. DIO5 Output DIO4 Output DIO3 Output DIO2 Output DIO1 Output DIO0 Output N=02h=00000010b DIO7 DIO6 Output Output DIO5 Output DIO4 Output DIO3 Output DIO2 Output DIO1 Input DIO0 Output N=07h=00000111b DIO7 DIO6 Output Output DIO5 Output DIO4 Output DIO3 Output DIO2 Input DIO1 Input DIO0 Input N=F2h=11110010b DIO7 DIO6 Input Input DIO5 Input DIO4 Input DIO3 Output DIO2 Output DIO1 Input DIO0 Output DIO5 Output DIO4 Output DIO3 Output DIO2 Input DIO1 Input DIO0 Input Note2: If N=07h DIO7 Output 64 DIO6 Output Digital I/O CAPA112 AMD Embedded G-Series APU Capa Board with PC/104 1. 2. When DIO0~2 are connected to external device, the device sets DIO0~2 to high DIO7 DIO6 DIO5 DIO4 DIO3 DIO2 DIO1 Output Output Output Output Output 1 1 When DIO0~2 are connected to external device, the device sets DIO0 to low and DIO1~2 to high DIO7 DIO6 DIO5 DIO4 DIO3 DIO2 DIO1 DIO0 Output Output Output Output Output 1 1 0 Note3: If N=07h DIO7 Output 1. 2. DIO0 1 DIO5 Output DIO4 Output DIO3 Output DIO2 Input DIO1 Input DIO0 Input When M=FFh DIO7 DIO6 1 1 DIO5 1 DIO4 1 DIO3 1 DIO2 1 DIO1 1 DIO0 1 When M=D7h DIO7 DIO6 1 1 DIO5 0 DIO4 1 DIO3 0 DIO2 1 DIO1 1 DIO0 1 Digital I/O DIO6 Output 65