Diamond Systems PROMETHEUS PR-Z32-EA-ST manual

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
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Diamond Systems PROMETHEUS PR-Z32-EA-ST, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Diamond Systems PROMETHEUS PR-Z32-EA-ST one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Diamond Systems PROMETHEUS PR-Z32-EA-ST. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Diamond Systems PROMETHEUS PR-Z32-EA-ST should contain:
- informations concerning technical data of Diamond Systems PROMETHEUS PR-Z32-EA-ST
- name of the manufacturer and a year of construction of the Diamond Systems PROMETHEUS PR-Z32-EA-ST item
- rules of operation, control and maintenance of the Diamond Systems PROMETHEUS PR-Z32-EA-ST item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Diamond Systems PROMETHEUS PR-Z32-EA-ST alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Diamond Systems PROMETHEUS PR-Z32-EA-ST, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Diamond Systems service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Diamond Systems PROMETHEUS PR-Z32-EA-ST.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Diamond Systems PROMETHEUS PR-Z32-EA-ST item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    PROMETHEUS™ High Integration PC/104 CPU with Ethernet and Data Acquisition Models PR-Z32-E-ST, PR-Z32-EA-ST User Manual V1.44  Copyright 2003 Diamond Systems Corporation 8430-D Central Ave. Newark, CA 94560 Tel (510) 456-7800 www.diamondsystems.com[...]

  • Page 2

    Prometheus CPU User Manual V1.44 Page 2 PROMETHEUS High-Integration PC/104 CPU with Ethernet and Data Acquisition TABLE OF CONTENTS 1. DESCRIPTION ...................................................................................................................... 4 2. FEATURES ......................................................................[...]

  • Page 3

    Prometheus CPU User Manual V1.44 Page 3 19. DIGITAL I/O OPERATION .................................................................................................. 58 20. COUNTER/TIMER OPERATION ........................................................................................ 59 21. DATA ACQUISITION SPECIFICATIONS ..........................[...]

  • Page 4

    Prometheus CPU User Manual V1.44 Page 4 PROMETHEUS High-Integration PC/104 CPU with Ethernet and Data Acquisition 1. DESCRIPTION Prometheus is an embedded PC/104 CPU that int egrates 3 separate circuits onto a single compact board: ♦ CPU ♦ Ethernet ♦ Analog I/O (optional, model PR-Z32-EA only) A detailed list of features is shown on the next [...]

  • Page 5

    Prometheus CPU User Manual V1.44 Page 5 2. FEATURES System Features Processor Section ♦ 486-DX2 processor running at 100MHz with co-processor ♦ Pentium class platform including burst-m ode SDR AM and PCI-based IDE controller and USB ♦ 32MB SDRAM system memory ♦ 50MHz memory bus for improved performance ♦ 2MB 16-bit wide integrated flash m[...]

  • Page 6

    Prometheus CPU User Manual V1.44 Page 6 Data Acquisition Subsystem (Model PR-Z32-EA Only ) Analog Input ♦ 16 single-ended / 8 differential inputs, 16-bit resolution ♦ 100KHz maximum aggregate A/D sampling rate ♦ Programmable input ranges/gains with maximum range of ±10V / 0-10V ♦ Both bipolar and unipolar input ranges ♦ 5 ppm/ o C drift [...]

  • Page 7

    Prometheus CPU User Manual V1.44 Page 7 3. PROMETHEUS BOARD DRAWING I/O Connectors J1 PC/104 8-bit bus connector J2 PC/104 16-bit bus connector J3 Main user I/O connector J4 Ethernet port J5 Dual USB ports J7 Floppy drive connector J8 IDE drive connector J11 Input power connector J12 Switched output pow er connector J14 Data acquisition I/O connect[...]

  • Page 8

    Prometheus CPU User Manual V1.44 Page 8 4. I/O HEADERS All cables mentioned in this chapter are included in Diamond Systems’ cable kit C-PRZ-KIT . These cables are further described in chapter 25. Some cables are also available individually. 4.1 Main I/O Connector – J3 An 80-pin high-density connector is provided for access to the standard user[...]

  • Page 9

    Prometheus CPU User Manual V1.44 Page 9 Notes on J3 Signals COM1 – COM4 The signals on these pins are RS-232 level signals and may be connected directly to RS-232 devices. The pinout of these signals is designed to allow a 9-pin male IDC connector to be crimped onto the corresponding ribbon cable wires to provide the correct pinout for a PC seria[...]

  • Page 10

    Prometheus CPU User Manual V1.44 Page 10 4.2 Input Power – J11 1 +5V In 2 Ground 3 Ground 4 +12V In 5 Ground 6 +5V In 7 -12V In 8 -5V In 9 ATX Control Input power for Prometheus may be supplied eit her through J11 from an external supply or directly through the PC/104 bus power pins if a PC/104 power supply is used with the CPU. Prometheus requir[...]

  • Page 11

    Prometheus CPU User Manual V1.44 Page 11 4.3 Output Power – J12 1 +5V Out 2 Ground 3 Ground 4 +12V Out J12 provides switched power for use with exte rnal drives. If ATX is enabled, the power is switched on and off with the ATX input switch. If ATX is not enabled, the power is switched on and off in conjunction with the external power. Diamond Sys[...]

  • Page 12

    Prometheus CPU User Manual V1.44 Page 12 4.6 Auxiliary Serial Port Connector – J15 1 RX COM1 Pin 2 on DB9 #1 2 TX COM1 Pin 3 on DB9 #1 3 Ground Pin 5 on DB9 #1 4 RX COM2 Pin 2 on DB9 #2 5 TX COM2 Pin 3 on DB9 #2 6 Ground Pin 5 on DB9 #2 This 6-pin header is provided for auxiliary access to serial ports 1 and 2 with signals RX, TX, and Ground for [...]

  • Page 13

    Prometheus CPU User Manual V1.44 Page 13 4.8 Floppy Driv e – J7 Ground 1 2 High Density Ground 3 4 Unused Ground 5 6 Unused Ground 7 8 Index Ground 9 10 Motor Enable Ground 11 12 Drive Select B Ground 13 14 Drive Select A Ground 15 16 Motor Enable Ground 17 18 Direction Ground 19 20 Step Ground 21 22 Write Data Ground 23 24 Write Enable Ground 25[...]

  • Page 14

    Prometheus CPU User Manual V1.44 Page 14 4.10 Data Acquisition I/O Connector – J14 (Model PR-Z32-EA only) Prometheus model PR-Z32-EA includes a 50-pin header labeled J14 for all data acquisition I/O. This header is located on the left side of the board. Pin 1 is the lower right pin and is marked on the board. Diamond Systems’ cable no. C-50-18 [...]

  • Page 15

    Prometheus CPU User Manual V1.44 Page 15 4.11 PC/104 Bus Connectors The PC/104 bus is essentially identical to the ISA Bus except for the physical design. It specifies two pin and socket connectors for the bus signals. A 64-pin header J1 incorporates the 62-pin 8- bit bus connector signals, and a 40-pin header J2 incorporates the 36-pin 16-bit bus [...]

  • Page 16

    Prometheus CPU User Manual V1.44 Page 16 5. JUMPER CONFIGURATION Refer to the Prometheus board drawing on page 7 for locations of the configuration items mentioned here. Also see page 45 for information on configuration J13 for the data acquisition circuit. 5.1 J10: System Configuration Jumper block J10 is used for configuration of IRQ levels, wait[...]

  • Page 17

    Prometheus CPU User Manual V1.44 Page 17 The different configurations for J10 are shown below. Each illustration shows only the jumper of interest. An asterisk (*) indicates the default setting. 5.2 J6: Watchdog Timer & System Recov ery J6 is used to configure the watchdog timer and enable system recovery (failsafe mode) in case of BIOS corr up[...]

  • Page 18

    Prometheus CPU User Manual V1.44 Page 18 6. SYSTEM FEATURES 6.1 System Resources The table below lists the default system resources utilized by the circuits on Prometheus. Device A ddress (Hex) IRQ DMA Serial Port COM1 I/O 3F8-3FF 4 - Serial Port COM2 I/O 2F8 – 2FF 3 - Serial Port COM3 I/O 3E8 – 3EF 4 - Serial Port COM4 I/O 2E8 – 2EF 3 - Para[...]

  • Page 19

    Prometheus CPU User Manual V1.44 Page 19 6.3 Console Redirection to a Serial Port In many applications without a video card it may be necessary to obtain keyboard and monitor access to the CPU for configuration, file transfer, or other operations. Prometheus supports this operation by enabling keyboard input and character out put onto a serial port[...]

  • Page 20

    Prometheus CPU User Manual V1.44 Page 20 6.4 Watchdog Timer Prometheus contains a watchdog timer circuit c onsisting of two programmable timers, WD1 and WD2, cascaded together. The input to the circuit is WDI, and the output is WDO. Both signals appear on I/O connector WDI may be triggered in hardware or in software. A special “early” version o[...]

  • Page 21

    Prometheus CPU User Manual V1.44 Page 21 6.5 Failsafe Mode / BIOS Recovery The ZFx86 failsafe feature consists of a small command interpreter built in to the ZFx86 CPU chip. The ZFx86 contains a ROM with the command interpreter as well as an 8KB RAM. It may be used to power up the system and download the BIOS to recover from situations in which the[...]

  • Page 22

    Prometheus CPU User Manual V1.44 Page 22 7. BIOS 7.1 BIOS Settings Prometheus uses a BIOS from Phoenix Technologies modified to support the custom fe ature s of the ZF Micro ZFx86 chip and the Prometheus board. Some of these featur es are described here. To enter the BIOS during system start up (POST – power on self-test), press F2. Serial Ports [...]

  • Page 23

    Prometheus CPU User Manual V1.44 Page 23 7.2 BIOS Download / Recovery Because the BIOS is stored in reprogrammable Flas h memory, it is possible that the BIOS could be accidentally erased when trying to write othe r files into the Flash. To recover from this situation the CPU chip on Prometheus contains a special failsafe Boot-Up ROM (BUR) that can[...]

  • Page 24

    Prometheus CPU User Manual V1.44 Page 24 7.3 Disk-On-Board™ Flash File Storage Prometheus supports the use of its on-board flash memory as a disk drive. About 1.45Mbytes of the total 2MB capacity is available for this func tion. This valuable feature lets you run a DOS operating system right from the flash without havi ng to use any external stor[...]

  • Page 25

    Prometheus CPU User Manual V1.44 Page 25 Known Limitations • RFD (onboard flash drive) is not compatible with DOS expanded memory configuration in EMM386.EXE. Use the NOEMS switch appended to the end of the EMM386 line in your config.sys to bypass EMS. Example line in config.sys: device=c:DOSEMM386.exe NOEMS • The onboard flash chip has a lim[...]

  • Page 26

    Prometheus CPU User Manual V1.44 Page 26 8. SYSTEM I/O 8.1 Ethernet Prometheus includes a 100Mbps Ethernet connection using 100BaseT wiring. The signals are provided on a 6-pin header J4 on the bottom edge of the board. Diamond Systems’ cable no. 698002 mates with this header and provides a standard RJ-45 connector in panel-mount form for connect[...]

  • Page 27

    Prometheus CPU User Manual V1.44 Page 27 8.2 Serial Ports Prometheus contains 4 serial ports. Each port is capable of transmitting at speeds of up to 115.2Kbaud. Ports COM1 and COM2 are built into the ZF Micro CPU chip. They consist of standard 16550 type UARTs with 16-byte FIFOs. Ports COM3 and COM4 are derived from an Exar 16C2850 dual UART chip [...]

  • Page 28

    Prometheus CPU User Manual V1.44 Page 28 9. NOTES ON OPERATING SYSTEMS AND BOOTING PROCEDURES 9.1 Booting to DOS From a Floppy Driv e In some revisions of the ZF Micro processor chip and Phoenix BIOS on Prometheus, there is a short period of conflict between the floppy drive and the programmable chip selects during the booting from a floppy disk in[...]

  • Page 29

    Prometheus CPU User Manual V1.44 Page 29 9.3 Installing an OS from a Hard Disk onto a Flashdisk Module To install an operating system such as DOS or VxWorks from a hard drive onto a flashdisk module, follow the procedure below. The process requires a floppy drive with a bootable DOS diskette, a hard disk with the operating system, the flashdisk mod[...]

  • Page 30

    Prometheus CPU User Manual V1.44 Page 30 10. DATA ACQUISITION CIRCUIT Model PR-Z32-EA contains a data acquisition subs ystem consisting of A/D, D/A, digital I/O, and counter/timer features. This subsystem is equivalent to a complete add-on data acquisition module. The A/D section includes a 16-bit A/D converter, 16 input channels, and a 48-sample F[...]

  • Page 31

    Prometheus CPU User Manual V1.44 Page 31 11. DATA ACQUISITION CIRCUITRY I/O MAP 11.1 Base Address The data acquisition circuitry on Prometheus occupi es a block of 16 bytes in I/O memory space. The default address range for this block is 280h – 28Fh (base address 280). This address should work for most applications, but it can be changed in the B[...]

  • Page 32

    Prometheus CPU User Manual V1.44 Page 32 11.2 Data Acquisition Circuit Register Map WRITE (Blank bits are unused and have no effect) Address 7 6 5 4 3 2 1 0 0 STRTAD RSTBRD RSTDA RSTFIFO CLRDMA CLRT CLRD CLRA 1 2 H3 H2 H1 H0 L3 L2 L1 L0 3 SCANEN G1 G0 4 CKSEL1 CKFRQ1 CKFRQ0 ADCLK DMAEN TINTE DINTE AINTE 5 FT5 FT4 FT3 FT2 FT1 FT0 6 DA7 DA6 DA5 DA4 D[...]

  • Page 33

    Prometheus CPU User Manual V1.44 Page 33 11.3 Register Bit Definitions In these register definitions, a bit marked ‘X’ is an unused bit. All unused bits in readable registers read back as 0. Base + 0 Write Command Register Bit No. 7 6 5 4 3 2 1 0 Name STRTAD RSTBRD RSTDA RSTFIFO CLRDMA CLRT CLRD CLRA This register is used to perform various fun[...]

  • Page 34

    Prometheus CPU User Manual V1.44 Page 34 Base + 0 Read A/D LSB Bit No. 7 6 5 4 3 2 1 0 Name AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 AD7 - 0 A/D data bits 7 - 0; AD0 is the LSB; A/D data is an unsigned 16-bit value. The A/D value is derived by reading two bytes from Base + 0 and Base + 1 and applying the following formula: A/D value = (Base + 0 value) + (Ba[...]

  • Page 35

    Prometheus CPU User Manual V1.44 Page 35 Base + 2 Read/Write A/D Channel Register Bit No. 7 6 5 4 3 2 1 0 Name H3 H2 H1 H0 L3 L2 L1 L0 H3 – H0 High channel of channel scan range Ranges from 0 to 15 in single-ended mode, 0 - 7 in differential mode. L3 - L0 Low channel of channel scan range Ranges from 0 to 15 in single-ended mode, 0 - 7 in differe[...]

  • Page 36

    Prometheus CPU User Manual V1.44 Page 36 Base + 3 Write Analog Input Gain Bit No. 7 6 5 4 3 2 1 0 Name X X X X X SCANEN G1 G0 SCANEN Scan mode enable: 1 Each A/D trigger will cause the board to generate an A/D conversion on each channel in the range LOW – HIGH (the range is set with the channel r egiste r in Ba se + 2). The STS bit (read Base + 3[...]

  • Page 37

    Prometheus CPU User Manual V1.44 Page 37 Base + 3 Read Analog Input Status Bit No. 7 6 5 4 3 2 1 0 Name STS SD WAIT DACBSY OVF SCANEN G1 G0 STS A/D status. 1 = A/D conversion or scan in progress, 0 = A/D is idle. If SCANEN = 0 (single conversion mode) , STS goes high when an A/D conversion is started and stays high until the conversion is finished.[...]

  • Page 38

    Prometheus CPU User Manual V1.44 Page 38 Base + 4 Read/Write Interrupt / DMA / Counter Control Bit No. 7 6 5 4 3 2 1 0 Name CKSEL1 CKFRQ1 CKFRQ0 ADCLK DMAEN TINTE DINTE AINTE CKSEL1 Clock source selection for counter/timer 1: 0 = internal oscillator, frequency selected by CLKFRQ1 1 = external clock input CLK1 (DIO C pins must be set for ctr/timer s[...]

  • Page 39

    Prometheus CPU User Manual V1.44 Page 39 Base + 6 Write DAC LSB Bit No. 7 6 5 4 3 2 1 0 Name DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 DA7–0 D/A data bits 7 - 0; DA0 is the LSB. D/A data is an unsigned 12-bit value. This register must be written to before Base + 7, since writing to Base + 7 updates the DAC immediately. Base + 6 Read A/D Channel and FIFO St[...]

  • Page 40

    Prometheus CPU User Manual V1.44 Page 40 Base + 7 Write DAC MSB + Channel No. Bit No. 7 6 5 4 3 2 1 0 Name DACH1 DACH0 X X DA11 DA10 DA9 DA8 DACH1–0 D/A channel. The value written to Base + 6 and Base + 7 are written to the selected channel, and that channel is updated immedi ately. The update takes approximately 20 microseconds due to the DAC se[...]

  • Page 41

    Prometheus CPU User Manual V1.44 Page 41 Base + 8 Read / Write Digital I/O Port A Bit No. 7 6 5 4 3 2 1 0 Name A7 A6 A5 A4 A3 A2 A1 A0 Base + 9 Read / Write Digital I/O Port B Bit No. 7 6 5 4 3 2 1 0 Name B7 B6 B5 B4 B3 B2 B1 B0 Base + 10 Read / Write Digital I/O Port C Bit No. 7 6 5 4 3 2 1 0 Name C7 C6 C5 C4 C3 C2 C1 C0 These 3 registers are used[...]

  • Page 42

    Prometheus CPU User Manual V1.44 Page 42 Base + 12 Read/Write Counter/Timer D7 - 0 Bit No. 7 6 5 4 3 2 1 0 Name D7 D6 D5 D4 D3 D2 D1 D0 This register is used for both Counter 0 and Counter 1. It is the LSB for both counters. When writing to this register, an internal l oad register is loaded. Upon issuing a Load command through Base + 15, the selec[...]

  • Page 43

    Prometheus CPU User Manual V1.44 Page 43 Base + 15 Write Counter/Tim er Control Register Bit No. 7 6 5 4 3 2 1 0 Name CTRNO LATCH GTDIS GT EN CTDIS CTEN LOAD CLR This register is used to control the counter/timers. A counter is selected with bit 7, and then a 1 is written to any ONE of bits 6 – 0 to select the desired operation for that c ounter.[...]

  • Page 44

    Prometheus CPU User Manual V1.44 Page 44 Base + 15 Read FPGA Revision Code Bit No. 7 6 5 4 3 2 1 0 Name REV7 REV6 REV5 REV4 REV3 REV2 REV1 REV0 This register is used to control the counter/timers. A counter is selected with bit 7, and then a 1 is written to any ONE of bits 6 – 0 to select the desired operation for that c ounter. The other bits an[...]

  • Page 45

    Prometheus CPU User Manual V1.44 Page 45 12. DATA ACQUISITION CIRCUIT CONFIGURATION Jumper block J13 is used t o conf igure the A/D and D/A circuits on PR-Z32-EA. It is located on the left side of the board next to the data acquisiti on I/O pin header and is oriented vertically. The functions are shown below and are described in detail on the follo[...]

  • Page 46

    Prometheus CPU User Manual V1.44 Page 46 Single-ended / Differential Inputs Prometheus can accept both single-ended and differential inputs. A single-ended input uses 2 wires, i nput and ground. The measured input voltage is the difference between these two wires. A differential input uses 3 wires: input +, input -, and ground. The measured input v[...]

  • Page 47

    Prometheus CPU User Manual V1.44 Page 47 13. ANALOG INPUT RANGES AND RESOLUTION 13.1 Overview Prometheus uses a 16-bit A/D conv erter. The full range of numerical values for a 16-bit number is 0 - 65535. However the A/D converter uses twos complement notation, so the A/D value is interpreted as a signed integer ranging from –32768 to +32767. The [...]

  • Page 48

    Prometheus CPU User Manual V1.44 Page 48 14. PERFORMING AN A/D CONVERSION This chapter describes the steps involved in performing an A/D conversion on a selected input channel using direct programming (not with the driver software). There are seven steps involved in performing an A/D conversion: 1. Select the input channel 2. Select the input range[...]

  • Page 49

    Prometheus CPU User Manual V1.44 Page 49 14.4 Perform an A/D conversion on the current channel After the above steps are completed, start the A/D conversion by writing to Base + 0. This write operation only triggers the A/D if AINTE = 0 (interrupts are disabled). When AINTE = 1, the A/D can only be triggered by the on-board counter/timer or an exte[...]

  • Page 50

    Prometheus CPU User Manual V1.44 Page 50 14.7 Convert the numerical da ta to a meaningful value Once you have the A/D value, you need to convert it to a meaningful value. The first step is to conv ert i t back to the actual measured voltage. Afterwards you may need to convert the voltage to some other engineering units (for example, the voltage may[...]

  • Page 51

    Prometheus CPU User Manual V1.44 Page 51 15. A/D SCAN, INTERRUPT, AND FIFO OPERATION The control bits SCANEN (scan enable) and AINTE (A/D interrupt enable) in conj unction with the FIFO determine the behavior of the board during A/D conversions and interrupts. At the end of an AD conversion, the 16-bit A/D data i s latched into the 8-bit FIFO in an[...]

  • Page 52

    Prometheus CPU User Manual V1.44 Page 52 Prometheus A/D Operating Modes The following control bits and values are referenced in the descriptions in the table below. AINTE Base + 4 bit 0 SCANEN Base + 3 bit 2 FIFO threshold Base + 5 bits 5-0 STS Base + 3 bit 7 LOW, HIGH 4-bit channel nos. in Base + 2 ADCLK Base + 4 bit 4 AINTE SCANEN Operation 0 0 S[...]

  • Page 53

    Prometheus CPU User Manual V1.44 Page 53 16. ANALOG OUTPUT RANGES AND RESOLUTION 16.1 Description Prometheus uses a 4-channel 12-bit D/A converte r (DAC) to provide 4 analog outputs. A 12-bit DAC can generate output voltages with the precis ion of a 12-bit binary number. The maximum value of a 12-bit binary number is 2 12 - 1, or 4095, so the full [...]

  • Page 54

    Prometheus CPU User Manual V1.44 Page 54 16.4 D/A Conversion Formulas and Tables The formulas below explain how to convert between D/A codes and output voltages. D/A Conversion Formulas for Unipolar Output Ranges Output voltage = (D/A code / 4096) * Reference voltage D/A code = (Output voltage / Reference voltage) * 4096 Example: Output range in un[...]

  • Page 55

    Prometheus CPU User Manual V1.44 Page 55 D/A Conversion Formulas for Bipolar Output Ranges Output voltage = ((D/A code – 2048) / 2048) * Output reference D/A code = (Output voltage / Output reference) * 2048 + 2048 Example: Output range in bipolar mode = ± 10V Full-scale range = 10V – (-10V) = 20V Desired output voltage = 2.000V D/A code = 2V [...]

  • Page 56

    Prometheus CPU User Manual V1.44 Page 56 17. GENERATING AN ANALOG OUTPUT This chapter describes the steps involved in generating an analog output (also called performing a D/A conversion) on a selected output channel using direct programming (not with the driver software). There are three steps involved in performing a D/A conversion: 1. Compute th[...]

  • Page 57

    Prometheus CPU User Manual V1.44 Page 57 18. ANALOG CIRCUIT CALIBRATION Calibration applies only to boards with the analog I/O circuit. The analog I/O circuit is calibrated during production te st prior to shipment. Over time the circuit may drift slightly. If calibration is desired follow the procedure below. For analog I/O circuit configuration s[...]

  • Page 58

    Prometheus CPU User Manual V1.44 Page 58 19. DIGITAL I/O OPERATION Prometheus contains 24 digital I/O lines organized as three 8-bit I/O ports, A, B, and C. The direction for each port is programmable, and port C is further divided into two 4-bit halves, each with independent direction. The ports are accessed at registers Base + 8 through Base + 10[...]

  • Page 59

    Prometheus CPU User Manual V1.44 Page 59 20. COUNTER/TIMER OPERATION Prometheus model PR-Z32-EA contains two counter/ti mers that provide various timing function s on the board for A/D timing and user functions. Thes e counters are controlled with registers in the on-board data acquisition controller FPGA. See pages 38 and 43 for information on the[...]

  • Page 60

    Prometheus CPU User Manual V1.44 Page 60 20.3 Command Sequences Diamond Systems provides driver software to control the counter/timers on Prometheus. The information here is intended as a guide for programme rs writing their own code in place of the driver and also to give a better understanding of the counter/timer operation. The counter control r[...]

  • Page 61

    Prometheus CPU User Manual V1.44 Page 61 Reading a counter a. Latch the counter: Counter 0 Counter 1 outp(base+15,0x40); outp(base+15,0xC0); b. Read the data: The value is returned in 3 bytes, low, middle, and high (2 bytes for counter 1) Counter 0 Counter 1 low=inp(base+12); low=inp(base+12); middle=inp(base+13); high=inp(base+13); high=inp(base+1[...]

  • Page 62

    Prometheus CPU User Manual V1.44 Page 62 21. DATA ACQUISITION SPECIFICATIONS Analog Inputs (PR-Z32-EA only) No. of inputs 8 differential or 16 single-ended (user selectable) A/D resolution 16 bits (1/65,536 of full scale) Input ranges Bipolar: ± 10V, ± 5V, ± 2.5V, ± 1.25V Unipolar: 0-10V, 0-5V, 0-2.5V Input bias current 50nA max Maximum input v[...]

  • Page 63

    Prometheus CPU User Manual V1.44 Page 63 22. FLASHDISK MODULE Prometheus is designed to accommodate an optional flashdisk module. This module contains 32MB to 128MB of solid state non-volatile memory that operates like an IDE drive without requiring any additional driver software support. Model Capacity FD-32 32MB FD-64 64MB FD-96 96MB FD-128 128MB[...]

  • Page 64

    Prometheus CPU User Manual V1.44 Page 64 23. I/O PANEL BOARD 23.1 Description An I/O panel board accessory is available to convert all I/O headers on Prometheus to industry- standard connectors. Using this panel board eliminates all internal cables, resulting in increased ruggedness and quicker assembly. In addition a standard precut cover plate is[...]

  • Page 65

    Prometheus CPU User Manual V1.44 Page 65 23.2 Panel Board I/O Connectors The I/O connectors below are located on the top side of the board and are for connection to external equipment. Location Type Description J2 DB-9M Serial port COM1 J4 DB-9M Serial port COM2 J6 DB-9M Serial port COM3 J7 DB-9M Serial port COM4 J10 DB-25F Parallel port LPT1 J11 2[...]

  • Page 66

    Prometheus CPU User Manual V1.44 Page 66 23.5 Panel Board Pow er Connections Prometheus requires only +5V for operation. The panel boad is simply a connector board and requires no power. Make sure that the power supply used has enough current capacity to drive your system. The Prometheus CPU requires up to 1.1A. If you have a disk drive or other mo[...]

  • Page 67

    Prometheus CPU User Manual V1.44 Page 67 1 Power Switch 2 Power Input 3 +12V In 4 +5V In 5 Ground 6 Power Input 7 Shutdown 8 +5V In 9 Ground J13 pinout (user connection) 23.6 Speaker and Miscellaneous Connector J3 is used for optional connection of an auxiliary speaker or control switches. The panel board contains a miniature speaker which is enabl[...]

  • Page 68

    Prometheus CPU User Manual V1.44 Page 68 23.7 Watchdog Timer J9 may be used to connect an external watchdog ti mer circuit to the CPU. For watchdog timer programming information, see page 20 and the ZFx86 Training Manual included in the Documents folder of the Prometheus CD. 1 Ground 2 Watchdog In 3 Watchdog Out J9 Pinout 23.8 Installation The pane[...]

  • Page 69

    Prometheus CPU User Manual V1.44 Page 69 24. FLASH DISK PROGRAMMER BOARD The Flash Disk Programmer Board accessory model no. ACC-IDEEXT may be used for several purposes. Its primary purpose is to enable t he simultaneous connection of both a flashdisk module and a standard IDE hard drive or CD-ROM drive to allow file transfers to/from the flashdisk[...]

  • Page 70

    Prometheus CPU User Manual V1.44 Page 70 25. I/O CABLES When the panel I/O board PNL-Z32 is used, no cabli ng or wiring is required to operate the CPU (unless you want to connect to an external IDE drive or floppy drive). However for custom installations as well as development, Diamond Systems offers a cable kit no. C-PRZ-KIT with 9 cables to conne[...]

  • Page 71

    Prometheus CPU User Manual V1.44 Page 71 26. VGA ACCESSORY BOARD The Prometheus development kit ships with a PC/104 VGA module from Arcom Control Systems, model no. AIM-104-VGA-CRT-OEM . The Diamond Systems part no. for this board is ACC-VGA- 02 . The VGA board has several configuration jumpers, LK1 – LK3. Their functions are described in the boa[...]

  • Page 72

    Prometheus CPU User Manual V1.44 Page 72 27. MOUNTING PROMETHEUS ON A BASEBOARD Prometheus is designed to allow installation upside down onto a custom baseboard. The CPU board may be thought of as a “macro-component” when used in this way. All the key I/O headers on the board face up and are at an even height, allowing the board to be turned ov[...]

  • Page 73

    Prometheus CPU User Manual V1.44 Page 73[...]

  • Page 74

    Prometheus CPU User Manual V1.44 Page 74 28. PC/104 MECHANICAL DRAWING The following drawing is from the PC/104 speci fication. This document may be downloaded from www.pc104.org or from www.diamondsystems.com/support/techliterature.[...]