Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
U
USB Relay Box 1
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • image/svg+xml
    Discourse
    • Discourse
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Projects
  • USB Relay Box 1
  • Wiki
  • Home

Home

Last edited by Erik van der Bij Jul 06, 2022
Page history

USB relay box 1

Overview

The "USB Relay Box 1" is a USB controlled switch box with 1 to 4 switching and a straight connection.
It also contains a reference voltage source and a selection between three different voltage output.
The pcb layout allows for two different configurations.
This box is used for the calibration of ADC, TDC and Fine delay mezzanines.

Box variants

Currently the box has two PCB configurations and two box front panel alternatives.

PCB configurations

Configuration 1 Configuration 2
Not mounted components
(see schematics )
R5, R7 (R6 mounted) R6 (R5, R7 mounted)
Used in fmc-adc fmc-fd
fmc-tdc

Front panel alternatives

Sorry, bad table layout. Please see: Pictures

Alternative 1 Alternative 2
Used in fmc-adc
fmc-fd
fmc-tdc
FMC side :/uploads/94c8a00e35a2ee777bba63d8cf7a2a60/adc_fmc_side_hires.jpg
:/uploads/d7aea53ec7f71dee854545e8e39b833f/tdc_fmc_side_hires.jpg
:/uploads/d7aea53ec7f71dee854545e8e39b833f/tdc_fmc_side_hires.jpg
USB side :/uploads/616ea3b6a24b785ece2a7ee6f16d0246/adc_usb_side_hires.jpg
:/uploads/0d4e019bd4917f82d83a4ec8e8225025/tdc_usb_side_hires.jpg
:/uploads/0d4e019bd4917f82d83a4ec8e8225025/tdc_usb_side_hires.jpg

Production documentation

  • Schematics and components placement (pdf file). See Issue 1107
  • Gerber/drill files (zip file).
  • Bill of material (pdf file). See Issue 1107
  • Sources (Altium Designer) in git repository.

Calibration

  • How to characterise for use with the fmc adc 100m PTS

Software support

The USB relay box is based on a CP2103 chip. But the official Linux driver for this chip doesn't support GPIO. Therefore the driver has been modified to add GPIO support.

Two kernel versions are supported. Each one has a branch in the git repository:

  • 2.6.38-11-generic
  • 3.13.0-24-generic

Note:

  • The pts works only on Ubuntu 14.04 (32-bit, desktop edition), with kernel 3.13. Likely not on other versions like centos7 and it may be a lot of work to make it compatible to other versions.
  • Use the custom cp210x driver, and make sure that the stock Linux one is a) unloaded and b) blacklisted so that it is not loaded automatically when the usb device is plugged in.

Contact

Erik van der Bij - CERN
Matthieu Cattin † - CERN, Designer

Status

Date Event
13-06-2013 Project creation from fmc-adc tester box.
13-08-2014 Documentation and wiki clean-up.
09-02-2022 Request by SOLEIL for a Relay box to test a board where the FMCADC100M is integrated.
13-06-2022 Documented how to recalibrate the box's reference voltages

Matthieu Cattin, Erik van der Bij - 6 July 2022

Clone repository
  • Documents
  • Home
  • How to characterise for use with the fmc adc 100m pts
  • Documents
    • Design 2012
    • Pcb documents
    • Pictures
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.