Page 3
WEEE is processed in accordance with the requirements of the WEEE Directive. Abaco Systems will evaluate requests to take back products purchased by our customers before August 13, 2005 on a case-by-case basis. A WEEE management fee may apply.
Page 4
About This Manual Conventions Notices This manual may use the following types of notice: WARNING Warnings alert you to the risk of severe personal injury. CAUTION Cautions alert you to system danger or loss of data. NOTE Notes call attention to important features or instructions. Tips give guidance on procedures that may be tackled in a number of ways.
Page 5
Abaco Website You can find information regarding Abaco products on the following website: LINK www.abaco.com Abaco Documents This document is distributed via the Abaco website. You may register for access to manuals via the website. LINK www.abaco.com/products/ Third-party Documents For a detailed explanation of the VMEbus and its characteristics, refer to ʺThe VMEbus Specificationʺ...
Page 6
You can find technical assistance contact details on the website Embedded Support page. LINK www.abaco.com/embedded-support Abaco will log your query in the Technical Support database and allocate it a unique Case number for use in any future correspondence. Alternatively, you may also contact Abaco’s Technical Support via: LINK support@abaco.com...
Page 7
• Data can be read using 8-, 16-, or 32-bit data transfers • Each channel can be independently set by the user to perform the following functions: – Per channel COS event storage configuration – Ignore all changes (no events stored due to this channel changing) –...
Page 8
Because of the danger of introducing additional hazards, do not install substitute parts or perform any unauthorized modification to the product. Return the product to Abaco for service and repair to ensure that safety features are maintained. Publication No. 500-001184-000 Rev. B.0 About This Manual 7 Artisan Technology Group - Quality Instrumentation ...
1 • Theory of Operation 1.1 Introduction The board functions are broken down into six major blocks. These blocks are: • Bus interface • Register decoder • Interrupt Processor (IP) • Change-of-State (COS) logic • Input circuits • Counter The bus interface contains the VMEbus interface logic, the boardʹs address decoding logic and the data steering logic.
1.2.1 Data Transfer Cycles The Address switch (S12-1) establishes the upper address line decoding. If the switch is On, the board will respond to standard accesses. If the switch is Off, the board will respond to short accesses. The default configuration is standard accesses.
interrupts are enabled, a full FIFO will generate an interrupt with the same level and vector as COS. NOTE If COS events come faster than the CPU can service, interrupt starvation will occur, keeping regular programs from executing. Please keep this in mind when configuring your system. Be especially mindful of completely emptying the FIFO(s) and limiting the capture of events to those which are actually necessary for operation.
1.5 Change-of-State Logic The COS logic bases its actions on the state of its select lines A and B. These lines are controlled by the COS register values. The states are listed in Table 1-1 below: Table 1-1 COS Logic SEL B SEL A COS Logic’s Action...
Page 18
During this test, two channels are actually changing value after State 1. In State 2, channel 0 has changed from a 1 to a 0, and channel 1 has changed from a 0 to a 1. Theoretically, these changes are simultaneous, and are viewed as a single COS event.
Channel 5 Channel 4 Previous State 2 COS State 2 The recovered COS FIFO data appears to have logically “anded”the previous state, and the current state of COS State 1 and Previous State 2, while the correct COS data does not appear until COS State 2. When viewed on a logic analyzer, the incoming data skew may be as little as 3 or 4 nsec, but due to synchronizing clock skew and the debounce skew, the saved COS sequence appears as two separate events.
1.6.2 Contact Closure If the Contact Closure configuration is chosen, the user will need to insert a SIP resistor (provided) and set the appropriate pull-up voltage using either 5V, 12V or an external user-supplied voltage through contacts on channels 31 or 32. NOTE It is recommended that user supplied voltage not exceed 28V.
CAUTION Some of the components assembled on Abaco Systems products may be sensitive to electrostatic discharge and damage may occur on boards that are subjected to a high-energy electrostatic field. When the board is placed on a bench for configuring, etc., it is suggested that conductive material should be placed under the board to provide a conductive shunt.
2.4 Operational Configuration The VMIVME-1184 Boardʹs base address and I/O access mode are determined by user configurable switches. This section describes the use of these switches. The locations of the switches and jumpers on the VMIVME-1184 are shown in Figure 2-1, Switch and Jumper Locations on page 23.
Table 2-1 Voltage Thresholds Voltage 25 C Exp Act 40 C Exp Act 80 C Exp Act 5V LO -> HI 1.2 1.3 1.3 1.4 1.6 1.9 12V LO -> HI 1.7 1.9 1.9 2.1 3.2 3.6 28V LO -> HI 2.5 2.9 3.1 3.6 6.1 7.3...
26 for connector pinouts. 2.6.1 Barrier Terminal Transition Panels The VMIVME-1184 can be used with Abaco’s BT0X family of BT transitions panels. The VMIACC-BT01, 02, 03 and 04 family of BT transition panels meets ANSI/IEEE SWC TEST. The BT transition panels provides a passive breakout of the discrete wires of the ribbon cables, allowing for a more efficient interface between external user equipment and Abaco’s VMEbus-based interface boards.
3 • Programming 3.1 Introduction Throughout this manual the 32 input channels have been listed as 1-32. In this section the inputs are discussed on a logic level, and as such, will be referenced as 00-31. The VMIVME-1184 can reside in short 16-bit I/O space or standard 24-bit data space.
Table 3-1 VMIVME-1184 Address Map (Continued) Relative Address Register Name Register Function R/RW CH_INT_ENA Channel Interrupt Enable register DB_Data Debounced Data Register FREV Firmware Revision ID CSR2 Control and Status Register #2 3.1.1 Board ID (BD ID) Register Table 3-2 Board ID Register Bit Map BD ID: Offset $XXXX (fixed @ $6700) Bit 31...
Bit 08: Extend Debounce - A one (1) sets the Debounce to the time indicated by bits 6 and 7. The original value is latched from onboard jumpers, but this condition can be changed through the software. Clearing this bit reduces debounce to 1µs.
3.2.5 Encoder Markers The following bits are used to control or show the status of markers in the system. Bit 07: Marker Interrupt Generation - R/W, 0 = Rising Edge only (default) 1 = Both edges NOTE If Bits 04 or 05 of CSR2 are set, then the qualified marker edges are used to generate the interrupt. Bit 06: Clear Counter (level/edge) - R/W, 0 = Counter cleared by marker level.
3.3 Data FIFO Register The Data FIFO register is a read-only register, containing the stored COS or SOE data. In the SOE mode of operation, the first read of this register will yield the value of the channel inputs previous to the change-of-state that triggered the storage of data.
3.4.1 Interrupt Levels These three bits (L2 through L0) set the interrupt level that the IP will present to the host when a COS, or Marker request is made. The interrupt levels and the field values are: Bits 7 through 4: Marker Interrupt Enable and Level bits. Bits 3 through 0: COS Interrupt Enable and Level bits.
• Counter_Value • PREV_Input_Data • COS_Input_Data Figure 3-1 COS and SOE Registers Read COS Counter Data Counter Data Read 1C 0x10 0x08 0x10 0x08 Read 1F Ö Ö Read SOE Read 1C Read 1P Read 1F C = Counter F = Flagged P = Previous 3.7.1 Counter Register (Offset: $XXXX14) This register contains the current count derived from the front panel input (P3).
3.7.3 COS Select Register 0 This register’s bits are used to select the COS trigger condition for bits 31 through Table 3-10 COS Select Register 0 Bit Map COS Select Register 0 $XXXX18 Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25...
Table 3-14 FIFO Count Register Bit Map FIFO_CNT: Offset $XXXX20 Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 09 Bit 08 Bit 07 Bit 06 Bit 05 Bit 04 Bit 03 Bit 02 Bit 01 Bit 00 3.7.8 Counter FIFO Count Register (CTR_FIFO_CNT) This 16-bit register contains the count of the number of samples in the quadrature...
3.10 Counter Feature The VMIVME-1184 has the capability of accepting a counter input (either single- ended or differential) at the P3 connector on the front panel. A single channel (A) can be used for incremental counting. Two channels are required to function as full Quadrature.
Figure 3-2 Leading Edge Example “A leading B” example “B leading A” example Figure 3-3 1x Counter Mode All rising edges of “A” increment counter B Ignored in this mode Figure 3-4 2x Counter Mode Any edges of “A” increment counter B Ignored in this mode 3.11.2 2X Quadrature Mode If input A leads input B, the module counts up on both rising and falling edges of...
3.11.3 4X Quadrature Mode If input A leads input B, the module counts up on both rising and falling edges of inputs A and B. If input B leads input A, the module counts down on the rising and falling edges of inputs A and B. This mode is set through CSR1 Bits 5 and 4. CRS1_[5] = 1 CSR1_[4] = 1 Figure 3-6...
The board will operate in SOE mode, with a counter (using the Marker to reset the counter) input through the front panel connector P3. To program the interrupts, assign an interrupt level and vector for the COS and Marker. We will assign interrupt level 4 to COS/SOE interrupts, and a interrupt vector value of $83.