CAPA110 User Manual

CAPA110/111
AMD Embedded G-Series Processor
Capa Board with LVDS
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 2011 Axiomtek Co., Ltd.
All Rights Reserved
November 2011, Version A2
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.
®
®
Intel and Pentium are trademarks of Intel 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 Layout 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 Restore BIOS Optimal Defaults (JP1)....................................................... 10 2.3.2 LVDS Voltage Selection (JP2 and JP16) .................................................. 10 2.3.3 CompactFlash™ Voltage Selection (JP5) ................................................. 10 2.3.4 COM1 RS-232/422/485 Mode Setting (JP6, JP9, JP10) .......................... 10 2.3.5 COM1 Data/Power Selection (JP7)............................................................11 2.3.6 COM3 Data/Power Selection (JP8)............................................................11 2.3.7 COM2 Data/Power Selection (JP11)..........................................................11 2.3.8 COM4 Data/Power Selection (JP12)..........................................................11 2.3.9 Audio Output Selection (JP13).................................................................. 12 2.3.10 Auto Power On (JP15) .............................................................................. 12 2.4 Connectors ........................................................................................13 2.4.1 Power Connector (ATX1) .......................................................................... 14 2.4.2 LVDS Connector (CN1) ............................................................................. 14 2.4.3 Inverter Connector (CN2).......................................................................... 16 2.4.4 DisplayPort Connector (CN3).................................................................... 16 2.4.5 VGA Connector (CN4)............................................................................... 17 2.4.6 Digital I/O Port Connector (CN5)............................................................... 17 2.4.7 PCI-Express Mini Card Connector (CN6) ................................................. 18 2.4.8 COM3 and COM4 Connector (CN7) ......................................................... 19 2.4.9 COM1 Connector (COM1/CN8) ................................................................ 19 2.4.10 COM2 Connector (CN9)............................................................................ 20 2.4.11 Audio Connector (CN10)........................................................................... 20 2.4.12 Front Panel Connector (CN11).................................................................. 20 2.4.13 CPU Fan Connector (CN12) ..................................................................... 21 2.4.14 SMBus Connector (CN13) (Option) .......................................................... 21 2.4.15 Power Output Connector (CN14) .............................................................. 21 2.4.16 USB Connectors (CN16 and CN17).......................................................... 22 iv
2.4.17 2.4.18 2.4.19 2.4.20 Serial ATA Connectors (SATA1 and SATA2) ............................................. 22 USB Connector (USB1) ............................................................................ 23 CompactFlash™ Socket (SCF1)............................................................... 23 Ethernet Ports (LAN1 and LAN2).............................................................. 24 Chapter 3 Hardware Description ........................... 25 3.1 APU (Accelerated Processing Unit) ....................................................25 3.2 BIOS....................................................................................................25 3.3 System Memory ..................................................................................25 3.4 I/O Port Address Map ..........................................................................26 3.5 Interrupt Controller (IRQ) Map.............................................................28 3.6 Memory Map .......................................................................................29 Chapter 4 AMI BIOS Setup Utility .......................... 31 4.1 Starting ................................................................................................31 4.2 Navigation Keys ..................................................................................31 4.3 Main Menu ..........................................................................................32 4.4 Advanced Menu ..................................................................................33 4.5 Chipset Menu ......................................................................................40 4.6 Boot Menu...........................................................................................45 4.7 Security Menu .....................................................................................46 4.8 Save & Exit Menu................................................................................47 Appendix A Watchdog Timer................................... 49 About Watchdog Timer...................................................................................49 How to Use Watchdog Timer .........................................................................49 Sample Program ............................................................................................50 Appendix B Digital I/O ............................................. 53 About Digital I/O.............................................................................................53 Digital I/O Software Programming..................................................................53 v
This page is intentionally left blank.
vi
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Chapter 1
Introduction
CAPA11
CAPA111
The CAPA110/111, a Capa board, supports AMD G-Series APU T56N/T40E/T40R. The board
integrates the Fusion Controller Hub A50M 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-1066/1333 MHz
memory (only T56N can be up to DDR3-1333), maximum memory capacity up to 4GB. It also
features two Gigabit/Fast Ethernet ports, two serial ATA channels for total two Serial ATA hard
drives 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 4 serial
ports and 3.5” form factor that applies an extensive array of PC peripherals.
1.1
z
z
z
z
z
z
z
Features
AMD G-Series APU dual core T56N (1.65 GHz), T40E (1.0GHz) and single core T40R
(1.0GHz)
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
+12V only DC-in supported
DirectX®11 support
Introduction
1
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
1.2
z
Specifications
CPU
„
„
„
z
AMD G-Series APU dual core T56N 1.65 GHz
AMD G-Series APU dual core T40E 1.0 GHz
AMD G-Series APU single core T40R 1.0 GHz
System Chipset
AMD A50M
„
z
BIOS
American Megatrends Inc. UEFI (Unified Extensible Firmware Interface) BIOS
16Mbit SPI Flash, DMI, Plug and Play
RPL/PXE Ethernet Boot ROM
„
„
„
z
System Memory
One 204-pin unbuffered DDR3 SO-DIMM socket
Maximum to 4GB DDR3 1066 MHz memory for T40E/T40R
Maximum to 4GB DDR3 1333 MHz memory for T56N
„
„
„
z
Onboard Multi I/O
Controller: Nuvoton W83627UHG
Serial Ports: One port for RS-232/422/485 and three ports for RS-232
„
„
z
SATA
Two SATA-600 connectors
„
z
CompactFlash™ Socket
One CompactFlash™ Type II Socket
„
z
USB Interface
Six USB ports with fuse protection and complies with USB Spec. Rev. 2.0
„
z
Display
A slim type 15-pin D-Sub connector as VGA connector
One 40-pin connector for 18/24-bit single/dual channel LVDS
One Display Port (CAPA110 only)
„
„
„
z
Watchdog Timer
1~255 seconds or minutes; up to 255 levels
„
z
Ethernet
Two ports with Realtek RTL8111E for Gigabit/Fast Ethernet
„
z
Audio
HD audio compliant (with speaker/line-out & line/MIC-in) with Realtek ALC662
Speaker/line-out & MIC-in & Line-in via Box Header connector
„
„
z
Expansion Interface
One PCI-Express Mini Card socket which complies with PCI-Express Mini Card spec
v1.2
„
z
Power Management
ACPI(Advanced Configuration and Power Interface)
„
z
Form Factor
„
2
3.5” form factor
Note:
All specifications and images are subject to change without notice.
Introduction
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
1.3
z
z
z
z
Utilities Supported
Chipset and Graphic Driver
Ethernet Driver (RTL8111E)
Audio Driver
AHCI Driver
Introduction
3
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
This page is intentionally left blank.
4
Introduction
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Chapter 2
Board Layout and Pin Assignments
2.1
Board Dimensions and Fixing Holes
Top Side
Board Layout and Pin Assignments
5
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Bottom Side
6
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.2
Board Layout
Top Side
Board Layout and Pin Assignments
7
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Bottom Side
8
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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 CAPA110/111 to meet your application purpose.
Below you can find a summary table of all jumpers and onboard default settings.
Jumper
JP1
JP2
JP5
Description
Jumper Setting
Restore BIOS Optimal Defaults
Default: Normal Operation
LVDS Voltage Selection
Default: +3.3V
CompactFlash™ Voltage Selection
Default: +3.3V
1-2 close
1-2 close
1-2 close
JP6
JP9
1-2 close
COM1 RS-232/422/485 Mode Setting
Default: RS-232
JP10
JP7
3-5, 4-6 close
3-5, 4-6 close
COM1 Data/Power Selection
Default: RS-232 Data
(CAPA111)
CN8 Data/Power Selection
Default: RS-232 Data
(CAPA110)
COM1 Pin 1: DCD
3-5 close
COM1 Pin 9: RI
4-6 close
CN8 Pin 1: DCD
3-5 close
CN8 Pin 8: RI
4-6 close
JP8
COM3 Data/Power Selection
Default: RS-232 Data
CN7 Pin 1: DCD
3-5 close
CN7 Pin 8: RI
4-6 close
JP11
COM2 Data/Power Selection
Default: RS-232 Data
CN9 Pin 1: DCD
CN9 Pin 8: RI
3-5 close
4-6 close
JP12
COM4 Data/Power Selection
Default: RS-232 Data
CN7 Pin 11: DCD
3-5 close
CN7 Pin 18: RI
4-6 close
JP13
JP15
JP16
(Option)
Audio Output Selection
Default: Line Out
Auto Power On
Default: Disable
LVDS Voltage Selection
Default: +12V
Board Layout and Pin Assignments
1-3, 2-4 close
1-2 close
1-2 close
9
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.3.1
Restore BIOS Optimal Defaults (JP1)
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)
Restore BIOS optimal defaults
1-2 close
2-3 close
2.3.2
1
2
3
LVDS Voltage Selection (JP2 and JP16)
The board supports voltage selection for flat panel displays. JP2 is used to set LVDS
connector (CN1) pin 1~6 VCCM to +3.3V or +5V voltage level. JP16 (option) is used to
set LVDS connector (CN1) pin 1~6 VCCM to +12V voltage level.
Function
JP2 Setting
+3.3V level (Default)
+5V level
1-2 close
2-3 close
Function
JP16 Setting
+12V level (Option)
1-2 close
2.3.3
CompactFlash™ Voltage Selection (JP5)
This jumper is for CompactFlash™ voltage level selection. Use it to set CompactFlash™
connector (SCF1) pin 13 (VCC) and pin 38 (VCC) to +3.3.V or +5V.
Function
Setting
+3.3V level (Default)
+5V level
1-2 close
2-3 close
2.3.4
COM1 RS-232/422/485 Mode Setting (JP6, 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
RS-232 mode
(Default)
RS-422 mode
RS-485 mode
10
Setting
JP6 1-2 close
JP9 3-5, 4-6 close
JP10 3-5, 4-6 close
JP6 3-4 close
JP9 1-3, 2-4 close
JP10 1-3, 2-4 close
JP6 5-6 close
JP9 1-3, 2-4 close
JP10 1-3, 2-4 close
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.3.5
COM1 Data/Power Selection (JP7)
The COM1 port has +5V level power capability on DCD and +12V level on RI by setting
this jumper. When COM1 is set to +5V or +12V level, please make sure the
communication mode is RS-232 (see section 2.3.4).
Function
Setting
Power: Set COM1 pin 1/CN8 pin 1 to +5V level
Data: Set COM1 pin 1/CN8 pin 1 to DCD (Default)
Power: Set COM1 pin 9/CN8 pin 8 to +12V level
Data: Set COM1 pin 9/CN8 pin 8 to RI (Default)
1-3 close
3-5 close
2-4 close
4-6 close
2.3.6
COM3 Data/Power Selection (JP8)
The COM3 port has +5V level power capability on DCD and +12V on RI by setting this
jumper.
Function
Setting
Power: Set CN7 pin 1 to +5V level
Data: Set CN7 pin 1 to DCD (Default)
Power: Set CN7 pin 8 to +12V level
Data: Set CN7 pin 8 to RI (Default)
1-3 close
3-5 close
2-4 close
4-6 close
2.3.7
COM2 Data/Power Selection (JP11)
The COM2 port has +5V level power capability on DCD and +12V level on RI by setting
this jumper.
Function
Setting
Power: Set CN9 pin 1 to +5V level
Data: Set CN9 pin 1 to DCD (Default)
Power: Set CN9 pin 8 to +12V level
Data: Set CN9 pin 8 to RI (Default)
1-3 close
3-5 close
2-4 close
4-6 close
2.3.8
COM4 Data/Power Selection (JP12)
The COM4 port has +5V level power capability on DCD and +12V level on RI by setting
this jumper.
Function
Setting
Power: Set CN7 pin 11 to +5V level
Data: Set CN7 pin 11 to DCD (Default)
Power: Set CN7 pin 18 to +12V level
Data: Set CN7 pin 18 to RI (Default)
1-3 close
3-5 close
2-4 close
4-6 close
Board Layout and Pin Assignments
11
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.3.9
Audio Output Selection (JP13)
JP13 is to select line out or speaker out as source of audio output on audio connector
CN10. When speaker out is used, it delivers 2W/channel continuous into 8 Ohm loads.
Function
Setting
Line out (Default)
Speaker out
1-3, 2-4 close
3-5, 4-6 close
2.3.10
Auto Power On (JP15)
If JP15 is enabled for AC power input, the system will be automatically power on without
pressing soft power button. If JP15 is disabled for AC power input, it is necessary to
manually press soft power button to power on the system.
Function
Setting
Disable auto power on (Default)
Enable auto power on
1-2 close
1-2 open
Note:
12
This function is similar to the feature of power on after power failure, which is
controlled by hardware circuitry instead of BIOS.
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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
CN1
LVDS Connector
CN2
Inverter Connector
CN3
DisplayPort (CAPA110)
CN4
VGA Connector
CN5
Digital I/O Port Connector
CN6
PCI-Express Mini Card Connector
CN7
COM3 and COM4 Connector
CN8
COM1 Connector (CAPA110)
CN9
COM2 Connector
CN10
Audio Connector
CN11
Front Panel Connector
CN12
CPU Fan Connector
CN13
SMBus Connector (Option)
CN14
Power Output Connector
CN16
USB Port 2 and 3
CN17
USB Port 4 and 5
COM1
COM1 Connector (CAPA111)
SATA1
Serial ATA1 Connector
SATA2
Serial ATA2 Connector
USB1
USB Port 0 and 1
SCF1
CompactFlash™ Socket
SDIMM1
DDRIII SO-DIMM Connector
LAN1
Ethernet Port 1
LAN2
Ethernet Port 2
Board Layout and Pin Assignments
13
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.1
Power Connector (ATX1)
The ATX1 is a 4-pin power supply interface. External power supply plug fits into ATX1 in
only one orientation. Properly press down power supply plug until it completely and
firmly fits into this connector. Loose connection may cause system instability.
Pin
Signal
1
2
3
4
GND
GND
+12V
+12V
2.4.2
LVDS Connector (CN1)
This board has a 40-pin connector CN1 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 JP2 (see section
2.3.2).
18bits 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 Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
24bits single channel
Pin
Signal
18bits dual channel
Pin
Signal
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
VCCM
VCCM
VCCM
N.C.
GND
N.C.
N.C.
GND
N.C.
N.C.
GND
Channel A D0Channel A D0+
GND
Channel A D1-
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
VCCM
VCCM
VCCM
N.C.
GND
N.C.
N.C.
GND
N.C.
N.C.
GND
N.C.
N.C.
GND
Channel A D3-
31
33
35
37
39
Channel A D1+
GND
Channel A D2Channel A D2+
GND
32
34
36
38
40
Channel A D3+
GND
Channel A CLKChannel A CLK+
GND
Pin
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
Signal
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
Pin
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
Signal
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
24bits 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 Layout and Pin Assignments
Note: see section 4.5 for LVDS resolution
setting in BIOS menu.
15
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.3
Inverter Connector (CN2)
The CN2 is DF13-7P-1.25V 7-pin connector for inverter. We strongly recommend you to
use the matching DF13-7S-1.25C connector to avoid malfunction.
Pin
Signal
1
2
3
4
5
6
7
VBL1 (+12V level)
VBL1 (+12V level)
VBL2 (+5V level)
VBL_ENABLE
GND
GND
GND
2.4.4
DisplayPort Connector (CN3)
DisplayPort is a standard designed to replace digital (DVI) and analog component video
(VGA) connectors in computer monitors and video cards, as well as replace internal
digital LVDS links in computer monitor panels and TV panels. The CN3 is a DisplayPort
(digital display interface standard) connector which is co-layout with a standard DB-9
connector (COM1).
16
Pin
Signal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DPB_LANE0
GND
DPB_LANE0#
DPB_LANE1
GND
DPB_LANE1#
DPB_LANE2
GND
DPB_LANE2#
DPB_LANE3
GND
DPB_LANE3#
Detect Pin
GND
DPB_AUX
GND
DPB_AUX#
DPB_HPDE
GND
+3.3V
1
20
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.5
VGA Connector (CN4)
The CN4 is a standard slim type 15-pin D-Sub connector which is commonly used for
CRT VGA monitor. This VGA interface configuration can be configured via software
utility.
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
2.4.6
Digital I/O Port Connector (CN5)
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. The software application method is
provided in Appendix B.
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
Board Layout and Pin Assignments
17
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.7
PCI-Express Mini Card Connector (CN6)
CN6 is a PCI-Express Mini Card connector which supports a PCI-Express x1 link and a
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.
18
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 Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.8
COM3 and COM4 Connector (CN7)
Both COM 3 and COM 4 ports have +5V level power capability on DCD and 12V level on
RI depending on the JP8 and JP12 jumper settings, respectively (see section 2.3.6 and
2.3.8 ). The pin assignments are listed on the following table.
Pin
Signal
Pin
Signal
1
3
5
7
9
11
13
15
17
19
DCD3
RXD3
TXD3
DTR3
GND
DCD4
RXD4
TXD4
DTR4
GND
2
4
6
8
10
12
14
16
18
20
DSR3
RTS3
CTS3
RI3
N.C.
DSR4
RTS4
CTS4
RI4
N.C.
2.4.9
COM1 Connector (COM1/CN8)
The COM1 is a standard DB-9 connector (CAPA111 only). This connector is equipped
with +5V level power capability on DCD and +12V level on RI by setting JP7 (see section
2.3.5). The pin assignment of RS-232/RS-422/RS-485 is listed on the following table. If
you need COM1 port to support RS-422 or RS-485 mode, please refer to section 2.3.4.
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+
N.C
N.C.
No use
No use
No use
No use
No use
COM1(CAPA111)
The CN8 is a 2x5 pin box header (CAPA110 only). This connector is equipped with +5V
level power capability on DCD and +12V level on RI by setting JP7 (see section 2.3.5).
The pin assignment of RS-232/RS-422/RS-485 is listed on the following table. If you
need COM1 port to support RS-422 or RS-485 mode, please refer to section 2.3.4.
Pin
Signal
Pin
Signal
1
3
5
7
9
DCD
RXD
TXD
DTR
GND
2
4
6
8
10
DSR
RTS
CTS
RI
N.C.
Board Layout and Pin Assignments
CN8(CAPA110)
19
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.10
COM2 Connector (CN9)
The COM2 port has +5V level power capability on DCD and +12V level on RI by setting
JP11 (see section 2.3.7). The pin assignments are listed on the following table.
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
Audio Connector (CN10)
Pin 7 and pin 9 of CN10 can be set to different audio source by setting JP13 (see section
2.3.9).
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.
2.4.12
Front Panel Connector (CN11)
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 card 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(-).
20
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
ATX Power On/Off Button
Pin 9 and 10 connect the ATX power button on front panel to the CPU card, which allows
users to turn on or off ATX 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(+).
2.4.13
CPU Fan Connector (CN12)
The CN12 is a CPU fan interface. You can find fan speed on BIOS Setup Utility if CPU
fan is installed. For further information, see BIOS Setup Utility: Advanced\H/W
Monitor\PC Health Status (see section 4.4).
Pin
Signal
1
2
3
GND
+12V level
Fan speed feedback
2.4.14
SMBus Connector (CN13) (Option)
This connector is for SMBus interface support. The SMBus (System Management Bus)
is a single-ended simple 2-wire bus for the purpose of lightweight communication. Most
commonly it is used for communication with the power source for on/off instructions.
Pin
Signal
1
2
3
CLK
DATA
GND
2.4.15
Power Output Connector (CN14)
Use CN14 for connecting to SATA 2.5" HDD power supply.
Pin
Signal
1
2
3
4
+12V level
GND
GND
+5V level
Board Layout and Pin Assignments
21
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.16
USB Connectors (CN16 and CN17)
The 2x5 pin wafers are Universal Serial Bus (USB) connectors, CN16 and CN17. They
are for installing versatile USB interface peripherals. The CN16 is designed with +5V
level standby power which can provide power when system is in suspend mode.
CN16 carries USB port 2 and 3 while CN17 carries USB port 4 and 5.
Pin
USB Port 2
Pin
USB Port 3
2
3
5
7
9
USB VCC (+5V
level standby power)
USB #2_DUSB #2_D+
GND
GND
USB VCC (+5V
level standby power)
USB #3_DUSB #3_D+
GND
GND
Pin
USB Port 4
Pin
USB Port 5
USB VCC (+5V
level)
USB #4_DUSB #4_D+
GND
GND
2
USB VCC (+5V
level)
USB #5_DUSB #5_D+
GND
GND
1
1
3
5
7
9
2.4.17
4
6
8
10
4
6
8
10
Serial ATA Connectors (SATA1 and SATA2)
These Serial Advanced Technology Attachment (Serial ATA or SATA) connectors are for
high-speed SATA interface ports. They are computer bus interfaces for connecting to
devices such as hard disk drives.
22
Pin
Signal
1
2
3
4
5
6
7
GND
SATA_TX+
SATA_TXGND
SATA_RXSATA_RX+
GND
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.18
USB Connector (USB1)
The board features Universal Serial Bus (USB) connectors, compliant with USB 2.0
(480Mbps) that can be adapted to any USB peripherals, such as monitor, keyboard and
mouse. This USB1 connector carries USB port 0 and 1.
Pin
1
2
3
4
USB Port 0
Pin
USB Port 1
USB VCC (+5V
level)
USB #0_DUSB #0_D+
GND
5
USB VCC (+5V
level)
USB #1_DUSB #1_D+
GND
2.4.19
6
7
8
CompactFlash™ Socket (SCF1)
The board is equipped with a CompactFlashTM disk type-II socket on the bottom side to
support an IDE interface CompactFlashTM disk card with DMA mode supported. The
socket is especially designed to avoid incorrect installation of the CompactFlashTM disk
card. When installing or removing the CompactFlashTM disk card, please make sure the
system power is off. Pin 13 and pin 38 power voltage can be configured by setting JP5
(see section 2.3.3).
Pin
Signal
Pin
Signal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
GND
Data 3
Data 4
Data 5
Data 6
Data 7
CS0#
Address 10
ATASEL
Address 9
Address 8
Address 7
VCC
Address 6
Address 5
Address 4
Address 3
Address 2
Address 1
Address 0
Data 0
Data 1
Data 2
IOCS16#
CD2#
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
CD1Data 11
Data 12
Data 13
Data 14
Data 15
CS1#
VS1#
IORD#
IOWR#
WE#
INTR
VCC
CSEL#
VS2#
RESET#
IORDY#
DMAREQ
DMAACKDASP#
PDIAG#
Data 8
Data 9
Data 10
GND
Board Layout and Pin Assignments
23
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
2.4.20
Ethernet Ports (LAN1 and LAN2)
Ethernet ports are RJ-45 connectors. Connection can be established by plugging one
end of the ethernet cable into LAN1/LAN2 and the other end (phone jack) to a
1000/100/10-Base-T hub.
Pin
Signal
L1
L2
L3
L4
A
MDI0+
L5
MDI2+
MDI0L6
MDI2MDI1+
L7
MDI3+
MDI1L8
MDI3Active LED (Yellow)
100 LAN LED (Green) / 1000 LAN LED
(Orange)
B
24
Pin
Signal
A
B
Board Layout and Pin Assignments
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Chapter 3
Hardware Description
3.1
APU (Accelerated Processing Unit)
The CAPA110/111 series support AMD G-Series APU (Accelerated Processing Unit)
T56N/T40E/T40R, which enables your system to operate under Windows® XP, Windows® 7
and Linux environments. The system performance depends on the APU.
3.2
BIOS
The CAPA110/111 series use AMI Plug and Play BIOS with a single 16Mbit SPI Flash.
3.3
System Memory
The CAPA110/111 series support one 204-pin DDR3 SO-DIMM sockets for a maximum
memory of 4GB DDR3 SDRAMs. The memory module comes in sizes of 1GB, 2GB and 4GB.
Hardware Description
25
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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.
26
Hardware Description
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Hardware Description
27
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
3.5
Interrupt Controller (IRQ) Map
The CAPA110/111 series are 100% PC compatible control boards which consist of 20 interrupt
request lines. Four out of 20 can be programmable. The mapping list of the 20 interrupt
request lines is shown as the following table.
28
Hardware Description
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
3.6
Memory Map
The memory mapping list is shown as follows:
Hardware Description
29
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
This page is intentionally left blank.
30
Hardware Description
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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 16MB 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 can not boot after making and saving system changes with Setup,
you can restore BIOS optimal defaults by setting JP1 (see section 2.3.1) .
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
31
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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.
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.
32
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
System Language
Use this item to choose the system default language.
z
System Date/Time
Use this option 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.
4.4
z
Advanced Menu
Launch PXE OpROM
Use this item to 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
W83627UHG Super IO Configuration
H/W Monitor
For items marked with “f”, please press <Enter> for more options.
AMI BIOS Setup Utility
33
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
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
Use this item to enable or disable BIOS ACPI auto configuration.
ACPI Sleep State
Default the Advanced Configuration and Power Interface (ACPI) state to be S3 (Suspend
to RAM).
S3 Video Repost
Enable or disable S3 video repost.
34
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
CPU Configuration
This screen shows the CPU Configuration, and you can change the value of the selected
option.
Node 0 Information
View memory information related to Node 0.
z
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
35
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
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.
Legacy USB Support
Use this item to 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.
36
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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” uses default value: for a root port it is 100ms, for a hub port the delay is taken from
hub descriptor
AMI BIOS Setup Utility
37
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
W83627UHG Super IO Configuration
W83627UHG Serial Port Configuration
The configuration of serial port 1~4 are set <Enabled> as default.
38
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
H/W Monitor
This screen monitors hardware health.
This screen displays the temperature of system and CPU, cooling fan speed in RPM and
system voltages (VCORE, +12V, +5V and +3.3V).
AMI BIOS Setup Utility
39
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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 “f”, please press <Enter> for more options.
z
40
North Bridge Configuration
This screen allows users to configure parameters of North Bridge chipset.
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
AMI BIOS Setup Utility
41
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Memory Configuration
All of options are set Auto as default.
Node 0 Information
This item is to provide user with the information of current using DDRIII SDRAMs.
z
North Bridge LVDS Config Select
<CAPA110 only>
42
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
<CAPA111 only>
DP0 Output Mode
Use this item to enable LVDS.
DP1 Output Mode
Use this item to choose Display Port output or disable mode (CAPA110 only).
LVDS Panel Config Select
Use this item to select configuration for LVDS panel if DP0 enable LVDS.
AMI BIOS Setup Utility
43
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
South Bridge
This screen allows users to configure South Bridge chipset. For items marked with “f”,
please press <Enter> for more options.
► SB SATA Configuration
► SB USB Configuration
► SB HD Azalia Configuration
SB SATA Configuration
Use this item to select option for SATA configuration.
SB USB Configuration
Use this item for further setting USB port configuration.
SB HD Azalia Configuration
This item allows you to further control the HD audio device.
44
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
4.6
Boot Menu
The Boot menu allows users to change boot options of the system.
z
Setup Prompt Timeout
Number of seconds to wait for setup activation key. 65535(0xFFFF) means indefinite
waiting.
z
Bootup NumLock State
Use this item to select the power-on state for the NumLock.
z
Quiet Boot
Enable or disable Quiet Boot option.
AMI BIOS Setup Utility
45
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
4.7
Security Menu
The Security menu allows users to change the security settings for the system.
z
Administrator Password
This item indicates whether an administrator password has been set (installed or
uninstalled).
z
User Password
This item indicates whether an user password has been set (installed or uninstalled).
46
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
4.8
Save & Exit Menu
The Save & Exit menu allows users to load your system configuration with optimal or fail-safe
default values.
z
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.
z
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.
z
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.
z
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.
z
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
47
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
z
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.
z
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>.
z
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>.
z
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>.
48
AMI BIOS Setup Utility
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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
Begin
Next
Enable and Initialize
Watchdog Timer
Next
Enable and Initialize
Watchdog Timer
Next
Program
A
Next
Disable Watchdog
Timer
Next
Watchdog Timer
Next
Program
A
Next
Reset Watchdog
Timer
Next
49
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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
;N=00h or 08h(see below
Note)
;Set base timer :
mov
dx,2Eh
mov
al,0F6h
out
dx,al
mov
dx,2Fh
mov
al,Mh
;M=00h,01h,...FFh (hex),Value=0 to 255
out
;(see below
dx,al
;Disable WDT:
mov
dx,2Eh
mov
al,30h
out
dx,al
mov
dx,2Fh
mov
al,00h
out
dx,al
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
50
Watchdog Timer
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
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
51
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
This page is intentionally left blank.
52
Watchdog Timer
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
Appendix B
Digital I/O
About Digital I/O
The onboard digital I/O has 8 bits (DIO0~7). 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.
CN5
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 Software 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
dx,2Eh
al,30h
Digital I/O
53
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
out
dx,al
mov
dx,2Fh
mov
al,02h
out
dx,al
;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
54
DIO6
Output
Digital I/O
CAPA110/111 AMD Embedded G-Series Processor Capa Board with LVDS
1.
2.
When DIO0~2 are connected to external device, the device sets DIO0~2 to high
DIO7
DIO6
DIO5
DIO4
DIO3
DIO2
DIO1
1
1
Output
Output
Output
Output
Output
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
1
1
Output
Output
Output
Output
Output
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
55
Similar pages