Elektra CPU User Manual V1.00
Page 3
12.3
Wait for analog input circuit to settle........................................................................................ 58
12.4
Perform an A/D conversion on the current channel.................................................................. 59
12.5
Wait for the conversion to finish ............................................................................................... 59
12.6
Read the data from the board.................................................................................................... 59
12.7
Convert the numerical data to a meaningful value ................................................................... 60
13.
A/D
S
CAN
,
I
NTERRUPT
,
AND
FIFO
O
PERATION
............................................................................. 61
13.1
ELEKTRA A/D Operating Modes.............................................................................................. 62
14.
A
NALOG
O
UTPUT
R
ANGES AND
R
ESOLUTION
................................................................................ 63
14.1
Description................................................................................................................................ 63
14.2
Resolution.................................................................................................................................. 63
14.3
Output Range Selection ............................................................................................................. 63
14.4
D/A Conversion Formulas and Tables ...................................................................................... 64
15.
G
ENERATING AN
A
NALOG
O
UTPUT
............................................................................................... 66
15.1
Compute the D/A code for the desired output voltage............................................................... 66
15.2
Write the value to the selected output channel .......................................................................... 66
15.3
Wait for the D/A to update ........................................................................................................ 66
16.
A
NALOG
C
IRCUIT
C
ALIBRATION
..............................................
E
RROR
!
B
OOKMARK NOT DEFINED
.
16.1
A/D bipolar offset .........................................................................Error! Bookmark not defined.
16.2
A/D unipolar offset .......................................................................Error! Bookmark not defined.
16.3
A/D full-scale ...............................................................................Error! Bookmark not defined.
16.4
D/A full scale................................................................................Error! Bookmark not defined.
17.
A
NALOG
C
IRCUIT
C
ALIBRATION
R
ESOURCES
................................................................................ 67
17.1
Analog Circuit Calibration Procedures .................................................................................... 68
17.2
Using EEPROM ........................................................................................................................ 69
17.2.1 Reading Value from EEPROM ............................................................................................................... 69
17.2.2 Writing value to EEPROM ..................................................................................................................... 69
18.
D
IGITAL
I/O
O
PERATION
............................................................................................................... 70
19.
C
OUNTER
/T
IMER
O
PERATION
....................................................................................................... 71
19.1
Counter 0 – A/D Sample Control .............................................................................................. 71
19.2
Counter 1 – Counting/Totalizing Functions .............................................................................. 71
19.3
Command Sequences................................................................................................................. 72
20.
W
ATCHDOG
T
IMER
P
ROGRAMMING
.............................................................................................. 74
20.1
Watchdog Timer ........................................................................................................................ 74
20.2
Watchdog Timer Register Details ............................................................................................. 75
20.3
Example : Watchdog Timer With Software Trigger .................................................................. 77
20.4
Example : Watchdog Timer With Hardware Trigger ................................................................ 77
21.
D
ATA
A
CQUISITION
S
PECIFICATIONS
............................................................................................ 78
22.
F
LASH
D
ISK
M
ODULE
..................................................................................................................... 79
22.1
Installing the Flashdisk Module ................................................................................................ 79
22.2
Configuration
....................................................................................................................... 79
22.3
Using the Flashdisk with Another IDE Drive
................................................................... 79
22.4
Power Supply
...................................................................................................................... 79
23.
F
LASH
D
ISK
P
ROGRAMMER
B
OARD
............................................................................................. 80
24.
I/O
C
ABLES
................................................................................................................................... 81
25.
Q
UICK
S
TART
G
UIDE
..................................................................................................................... 82
25.1
General Setup............................................................................................................................ 82
25.2
IDE Configuration..................................................................................................................... 82
25.3
Booting into MS-DOS, FreeDOS or ROM-DOS ....................................................................... 83
25.4
Booting into Linux or Microsoft Windows ................................................................................ 83
TABLES
Table 1: J1,J2 – PC/104 Connector Pinouts ..................................................................................10
Table 2: J3 – Main I/O Connector...................................................................................................12
Table 3: J11 – Input Power Connector Pinout................................................................................14