SRTSC A LabVIEW based Test and Hardware Configuration System for SRS Volkan Gezer Eskisehir Osmangazi University & CERN
Aim of SRTCS Test of SRS electronics cards for production conformance Configuration or Reconfiguration of parameters To be used both for production (PRISMA) and end-users Scope: FEC card, ADC card, (Hybrid) More SRS cards to be added Volkan Gezer -
SRS test infrastructure Laptop / PC with LabVIEW 2010 and ethernet cable SRS Crate-HP or desktop ATX –SRS power 1 FEC Reference card with 1000BASE-T SFP-ethernet plugin 1 SRS ADC Reference card 1 SRS CTF Reference card 1 HDMI cable A-D* 2 APV hybrids V4 (Master & Slave) + SAMTEC flat cable 1 DTC link cable (special) 1 Ethernet Cross cable 1 Coaxial cable 50 OHM 1 LVDS – RJ45 cable (special) 1 Digital Voltmeter 1 Xilinx USB programmer head Xilinx iMPACT programming tool (free WEB version) SRS FEC Firmware (latest version) Volkan Gezer - * Older versions of hybrids need special HDMI cable
SRTCS Test setup overview Volkan Gezer - FECADC chip CTF Ethernet SRTCS ATX power SRS crate HDMI cable Clock and trigger generation FPGA Loop cable diff LVDS cable Operator dtc cable
SRTCS Jumpers and Microswitches Volkan Gezer - Jumper positions Microswitches on ADC Don’t start tests before verification of these
SRTCS Firmware Programming Volkan Gezer - lamp must be green! Xilinx iMPACT Program
Test overview* 1. Basic tests: – Voltages are good – FPGA works – Connectors work (soldered etc…) 2. Functionality tests – SRTCS and Firmware Volkan Gezer - * Tests may not cover 100% functionality in first version
SRTCS features* Full range of conformance tests User-friendly error reporting Auto-increment serial number Auto MAC address generation and programming Fully documented buttons with context help Save as HTML and/or Print Reports with success or fail messages Expert mode, enabling manual commands and error decoding. Volkan Gezer - * beta version 1.0a
SRTCS User Interface Volkan Gezer - Run button on toolbar SRTCS
FEC Configuration Volkan Gezer - Password protected increment
FEC: MAC address allocation Auto-generation based on serial number Two types of allocation: – 1k CERN Range: SRS-MAC = F … F2-FF-FF – External User: Xilinx MAC range (to be discussed), starting with 00-0A-35 Volkan Gezer -
Done Volkan Gezer - Finalize Configuration button
FEC Configuration Report Volkan Gezer - Should be printed after each successful test and configuration
SRTCS A. FEC Card Test Volkan Gezer - Dialog appears for each test button
A.1. Setup of FEC Front Panel Tests (with Reference CTF) Volkan Gezer - CTF Switch in Internal Clock and Trigger Mode SRTCS
A.2. DTC Link Cross Cable Between J1 and J2 1 (orange white) 4 2 (orange) 5 3 (green white) 7 4 (blue) 1 5 (blue white) 2 6 (green) 8 7 (brown white) 3 8 (brown) 6 Volkan Gezer - J1 J2 Cross cable pinout* SRTCS *standard ethernet cross cable needed for test button “check J1-J2“
A.3. CTF link cable between CTF OUT and J2 on FEC card & LVDS Clock Cable Volkan Gezer - 8 White-orange 7 7 Orange 8 6 White-green 2 (CLK-) 5 Blue 4 4 White-blue 5 3 Green 1 (Clk+) 2 White-brown 6 (Trg-) 1 Brown 3 (Trg+) J2 CTF OUT CTF –J2 special cable pinout SRTCS needed for CTF clock test button LVDS In
SRTCS B. ADC Card Test Volkan Gezer -
B.1. Setup of ADC Card Test requires reference CTF, FEC, and 2 Hybrids Volkan Gezer -
C. Hybrid Test (planned test screen) Volkan Gezer - JTAG link to Hybrids OK All channels work Chip Works Pedestal Values are OK Register configuration OK Incoming chip data OK
SRTCS Error reporting Volkan Gezer - Error 1 occurred at srtcs.vi Possible reason(s): LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? ========================= NI-488: Command requires GPIB Controller to be Controller-In-Charge.
D. Expert -> Expert Tab Volkan Gezer -
Thank you for listening. Your suggestions are welcome Volkan Gezer Volkan Gezer -
Backup Volkan Gezer -
D. Expert -> UDP Flow Tab Volkan Gezer : FFFFFFFFAAAAFFFF FF FF 6263: FFFFFFFFAAAAFFFF C A E A C B C000000EF D000000FE : FFFFFFFFAAAAFFFF FFFF F SRTCS
ISE iMPACT and Programming Volkan Gezer - Free version available: You need to turn FEC on for status led of the programmer go green
FEC Voltage test points Volkan Gezer -
FEC backside test points Volkan Gezer -
ADC Voltage test points Volkan Gezer -
SRTCS Block Diagram Volkan Gezer -
SRTCS: To do Volkan Gezer -