320 likes | 594 Views
UNI EN ISO 9001 CERT. N. 9105.CAEN. VME course for beginners Carlo Tintori Kolkata-Mumbai May 2009. index. Cap. 1: Introduction to the VME standards Cap. 2: VME architecture and protocols Cap. 3: Setting up a VME acquisition system Cap. 4: Examples of Software for VME systems. preamble.
E N D
UNI EN ISO 9001 CERT. N. 9105.CAEN VME course for beginners Carlo Tintori Kolkata-Mumbai May 2009
index • Cap. 1: Introduction to the VME standards • Cap. 2: VME architecture and protocols • Cap. 3: Setting up a VME acquisition system • Cap. 4: Examples of Software for VME systems VME course for beginners
preamble CAEN has been designing VME boards for more than 20 years; today our VME products are the result of the long experience in the field of physics applications and the interaction with our customers all over the world. This presentation describes general characteristics and features of the VME bus that can be applied to any VME product available on the market. However, it reflects our know-how and our view of the VME standards. The course focuses on the issues that we consider more related to the physics applications and it can not be considered as an exhaustive VME treatise.The practical examples will be done using CAEN modules, drivers and libraries VME course for beginners
Chapter 1 -------------------------------- Introduction to the VME standards
What is VME • VMEbus is a master-slave computer architecture • VME stands for VERSA-Module Eurocard • the standard defines electrical and mechanical specifications • it was introduced in 1981 for industrial, commercial and military applications • VITA (VME International Trade Association) is the organisation whose purpose is to promote and develop the VME VME course for beginners
VME at a glance power supply VME master VME slaves VME crate (chassis) backplane smart fan units VME course for beginners
VME for physics • Unlike NIM and CAMAC, the VME was created for the industry and not for physics applications • However, the North American, European and Japanese physics communities have joined to work with the VITA and found the VME International Physics Association (VIPA) • Two standards have been created: VME/V430 (1990) and VME64xP (1998) VME course for beginners
The standards: VME VME (IEEE-1014-1987) • Born in 1981 • 3-row P1/P2 connectors type DIN-96pin • 32 bit wide Address and Data buses • Bandwidth up to 40MBytes/s (BLT) • Power Supplies: +5, 12 • Up to 21 card slots can be used in a single backplane P1 P2 DIN-96pin Connector VME course for beginners
The standards: VME64 VME64 (ANSI/VITA 1-1994) • Born in 1989 • Same mechanics as the VME • Fully backwards compatible • 64 bit wide multiplexed Address and Data buses • Bandwidth up to 80MBytes/s (MBLT) P1 P2 VME course for beginners
The standards: V430 VME/V430 (CERN) • Born in 1990 • Additional 3-row PAUX connector type DIN-30pin • Geographical Addressing • Dedicated trigger and clock lines • Extra Power Supplies: -5, -2, 15 • Not fully compatible with VME64!!! P1 PAUX P2 VME course for beginners
The standards: VME64x VME64x (VITA 1.1-1997) • Born in 1996 • 5-row P1/P2 connectors (160 pins) • P0 connector (metric 95 pins, optional) • Bandwidth up to 160 MBytes/s (2eVME) • Geographical Addressing • Power Supplies: +5, 12, +3.3, +48, u.d. • Live Insertion, ESD-EMC features P1 P0 P2 VME course for beginners
5 row P1/P2 connectors • BACKWARD AND FORWARD COMPATIBILITY thanks to the mechanical design of the 5-row connectors, older legacy boards will fit into new backplanes (and vice-versa) 96 pin row a,b,c + 64 pin row d,z Precharge pins VME course for beginners
VME64X mechanics • IEEE Std 1101.10-1996 • ESD-EMC shielding panel • Anticipated ground connection • Alignment pins • Insertion-Extraction handles • Keying (prevents damages due to incompatible power supply) • Warning: VME64 and VME64x boards and backplanes can always mate; however, VME64x boards may not fit the mechanics of the VME64 crates VME course for beginners
The standards: VME64xP VME64xP (VIPA) (VITA 23-1998) • Fully compatible with VME64x • Definition of power supplies in P0 connector • Some options are made mandatory • Definition of 9U board size • Special transfer protocols for Physics (Chained Block Transfer, MultiCast…) • NOT A NEW STANDARD!!! P1 P0 P2 VME course for beginners
The standards: 2eSST VME2eSST (VITA 1.5-2003) • Born in 1997 (VME320 backplane by Arizona Digital, Inc.) • Same mechanics as the VME64x • Implemented 2eSST protocol for high speed data transfer • Bandwidth up to 320 MBytes/s (2eSST) std VME64x backplanes • New backplanes layout which reduces parasitic capacitance and inductance up to 1GByte P1 P0 P2 VME course for beginners
The standards: VXS (VITA 41) VXS: VME Switched Serial (VITA 41) • Transition to the legacy parallel bus to one or more high speed serial links (switched fabric) • High speed new P0 connector designed to support up to 6Gbps • Backwards compatibility with the VMEbus ecosystem • Definition of multiple interconnect technologies: • VITA 41.1: InfiniBand • VITA 41.2: Serial RapidIO • VITA 41.3: 1000BaseCX Ethernet • VITA 41.4: PCI Express • VITA 41.5: Aurora • 45 GB/s with today’s fabric speeds (could grow to 180 GB/s)! VME course for beginners
Payload and Switch boards Alignment and Protocol Keying different backplane topologies are available Payload board Switch board New high-speed P0 (different from P0 in VME64x) example of dual star backplane VME course for beginners
Example of VXS products VME course for beginners
The standards: VPX (VITA 46) VITA46 • New 7-row connector rated for signalling rates up to 6.25Gbps • High speed serial connectivity • PMC and XMC mezzanines • Ruggedized solutions • Conduction cooling • Mainly used for military applications VME course for beginners
VME64x VXS VITA 46 Hybrid backplanes • Concept of a hybrid backplane is fundamental to VITA 46 • Retain customers existing $$$ investment in VME boards • Accepts all existing VME modules - with and without P0 connector VME course for beginners
6U 3U P1 160 x 100 mm VME64XP 9U P1 P1 P1 P0 P0 P0 P2 P2 P2 P4 P4 160 x 233 mm P5 P3 P6 367 X 400 mm VME Mechanics J1/P1 DIN 96 pins 3 rows x 32 J1/P1 & J2/P2 DIN 160 pins 5 rows x 32 J0/P0 J4/P4 metric 95 pins 5+2 rows x 19 (2 mm) J5/P5 metric 110 pins J6/P6 metric 125 pins VME course for beginners
Rear Transition Modules • 3U, 6U and even 9U size • 64 user defined lines available on P2 • Further free lines on the 5 rows connectors • Can be used to implement an auxiliary bus in parallel to the VME VME course for beginners
Power supplies • +5Vis always available with high current (200A or more) • ±12Vis always available but the current may be rather low; sometimes DC-DC converters are used to generate ±12V from +5V (CAEN does that for some modules) • +3.3Vis available in VME64x only on the external rows; it should not be used in case of backward compatibility (not used by CAEN) • +48Vis available in VME64x only and is normally used for the switching DC-DC converters (not used by CAEN) • -5Vand-2V(mainly for ECL) can be taken either from JAUX (V430 version only) or from internal DC-DC converters. It is recommended not to use them for compatibility reasons. • ±15Vfrom JAUX only; It is recommended not to use them for compatibility reasons. VME course for beginners
Transfer rate • As the VME is an asynchronous bus, the bandwidth indicated is a theoretical limit • Usually the actual transfer rate is less than 50% of the bandwidth • Except Synchronous 2eSST:95% protocol efficency (~ 300 MB/sec) VME course for beginners
The standards: summary VME course for beginners
VME Ref. • VMEbus Handbook by Wade Peterson, published by VITA A readable reiteration of the VMEbus specifications with much background material • VMEbus International Trade Association (VITA) 126 Members (CAEN & CERN) http://www.vita.com/ • CERN documentation: http://atlas.web.cern.ch/Atlas/GROUPS/FRONTEND/VMEbus/ • VITA Standards Organisation – VSOhttp://www.vita.com/vso • ftp.caen.it username: caenvme passwd: bitto12 VME course for beginners