
Hercules-EBX CPU User Manual V1.02
Page 3
8.2.1 RS-232 Mode ..........................................................................................................................................51
8.2.2 RS-485 Mode ..........................................................................................................................................51
8.3
PS/2 Ports................................................................................................................................ 52
8.4
USB Ports................................................................................................................................ 52
9.
N
OTES ON
O
PERATING
S
YSTEMS AND
B
OOTING
P
ROCEDURES
............................................... 53
9.1
Windows Operating Systems Installation Issues ..................................................................... 53
9.1.1 Driver installation ...................................................................................................................................53
9.1.2 BIOS Settings for Windows ....................................................................................................................53
9.1.3 CompactFlash Under Windows...............................................................................................................54
9.2
DOS Operating Systems Installation Issues ............................................................................ 54
9.3
CompactFlash Compatability Issues under DOS .......................
Error! Bookmark not defined.
10.
D
ATA
A
CQUISITION
C
IRCUIT
– I/O M
AP AND
R
EGISTER
D
ESCRIPTIONS
...................................... 55
10.1
Data Acquisition Circuitry I/O Map........................................................................................ 56
10.1.1 Base Address.........................................................................................................................................56
Register Map Bit Assignments.........................................................................................................................58
10.1.2 Page 0 Register Definitions...................................................................................................................62
10.1.3 Page 1 Register Definitions...................................................................................................................72
10.1.4 Page 2 Register Definitions...................................................................................................................76
10.1.5 Page 3 Register Definitions...................................................................................................................77
11.
D
ATA
A
CQUISITION
C
IRCUIT
C
ONFIGURATION
............................................................................ 78
12.
A
NALOG
-
TO
-D
IGITAL
I
NPUT
R
ANGES AND
R
ESOLUTION
............................................................. 79
12.1.1 Overview...............................................................................................................................................79
12.1.2 Input Range Selection ...........................................................................................................................79
12.1.3 Input Range Table.................................................................................................................................79
12.2
Performing an A/D Conversion............................................................................................... 80
12.2.1 Select the input channel ........................................................................................................................80
12.2.2 Select the input range ............................................................................................................................80
12.2.3 Wait for analog input circuit to settle....................................................................................................80
12.2.4 Perform an A/D conversion on the current channel ..............................................................................81
12.2.5 Wait for the conversion to finish...........................................................................................................81
12.2.6 Read the data from the board ................................................................................................................81
12.2.7 Convert the numerical data to a meaningful value ................................................................................83
12.3
A/D Scan, Interrupt, and FIFO Operation .............................................................................. 84
12.4
Hercules-EBX A/D Operating Modes...................................................................................... 85
13.
D
IGITAL
-
TO
-A
NALOG
O
UTPUT
R
ANGES AND
R
ESOLUTION
.......................................................... 87
13.1
Description.............................................................................................................................. 87
13.2
Resolution................................................................................................................................ 87
13.3
Output Range Selection ........................................................................................................... 87
13.4
D/A Conversion Formulas and Tables .................................................................................... 88
13.4.1 Generating an Analog Output ...............................................................................................................90
13.4.2 Compute the D/A code for the desired output voltage ..........................................................................90
13.4.3 Write the value to the selected output channel Registers ......................................................................90
13.4.4 Set Registers for Channel......................................................................................................................90
13.4.5 Wait for the D/A to update....................................................................................................................91
13.5
Analog Circuit Calibration Resources .................................................................................... 92
13.6
Analog Circuit Calibration Procedures .................................................................................. 93
13.7
Using EEPROM ...................................................................................................................... 94
13.7.1 Reading Value from EEPROM .............................................................................................................94
13.7.2 Writing value to EEPROM ...................................................................................................................94
13.8
Digital I/O Operation.............................................................................................................. 95
13.9
Special Digital I/O Operation – Port E................................................................................... 96
13.9.1 DIO Handshaking Operation.................................................................................................................97
13.9.2 DIO Pull-up/Down Settings ..................................................................................................................97
14.
C
OUNTER
/T
IMER
O
PERATION
..................................................................................................... 99
14.1
Counter 0 – A/D Sample Control ............................................................................................ 99
14.2
Counter 1 – Counting/Totalizing Functions ............................................................................ 99
14.3
Command Sequences............................................................................................................. 100
15.
P
ULSE
-W
IDTH
M
ODULATION
O
PERATION
................................................................................ 102
15.1
Pulse-Width Modulation Example......................................................................................... 103
16.
W
ATCHDOG
T
IMER
P
ROGRAMMING
.......................................................................................... 105
16.1
Example : Watchdog Timer With Software Trigger .............................................................. 105
16.2
Example : Watchdog Timer With Hardware Trigger ............................................................ 106
17.
D
ATA
A
CQUISITION
S
PECIFICATIONS
........................................................................................ 107
Содержание HERCULES-EBX HRC400-5A128
Страница 9: ...Hercules EBX CPU User Manual V1 02 Page 9 3 HERCULES BOARD DRAWING...
Страница 118: ...Hercules EBX CPU User Manual V1 02 Page 118 Figure 14 Hercules EBX Cable Kit...
Страница 121: ...Hercules EBX CPU User Manual V1 02 Page 121...
Страница 123: ...Hercules EBX CPU User Manual V1 02 Page 123...