Instruction/ maintenance manual of the product PR-Z32-EA-ST Diamond Systems
Go to page of 74
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.
Prometheus CPU User Manual V1.44 Page 2 PROMETHEUS High-Integration PC/104 CPU with Ethernet and Data Acquisition TABLE OF CONTENTS 1. DESCRIPTION ........................................................................................................
Prometheus CPU User Manual V1.44 Page 3 19. DIGITAL I/O OPERATION .................................................................................................. 58 20. COUNTER/TIMER OPERATION .......................................................
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 circui.
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 .
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 .
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 .
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.
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.
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 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.
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 Pi.
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 Grou.
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.
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.
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.
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.
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.
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 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.
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.
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 atures of the ZF Micro ZFx86 chip and the Prometheus board. Some of these featur es are described here.
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.
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.
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.
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.
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.
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 .
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.
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.
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).
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 C.
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.
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.
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.
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 egister in Base + 2).
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.
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 selec.
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.
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.
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.
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.
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.
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.
Prometheus CPU User Manual V1.44 Page 45 12. DATA ACQUISITION CIRCUIT CONFIGURATION Jumper block J13 is used to c onfigure 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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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).
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.
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.
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 functio ns 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.
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.
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, mi.
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.
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.
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.
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.
Prometheus CPU User Manual V1.44 Page 66 23.5 Panel Board Power 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.
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.
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.
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.
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.
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.
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.
Prometheus CPU User Manual V1.44 Page 73.
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.
An important point after buying a device Diamond Systems PR-Z32-EA-ST (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Diamond Systems PR-Z32-EA-ST yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Diamond Systems PR-Z32-EA-ST - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Diamond Systems PR-Z32-EA-ST you will learn all the available features of the product, as well as information on its operation. The information that you get Diamond Systems PR-Z32-EA-ST will certainly help you make a decision on the purchase.
If you already are a holder of Diamond Systems PR-Z32-EA-ST, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Diamond Systems PR-Z32-EA-ST.
However, one of the most important roles played by the user manual is to help in solving problems with Diamond Systems PR-Z32-EA-ST. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Diamond Systems PR-Z32-EA-ST along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center