Upgrade Pixel Module Testing @ Edinburgh: the legacy MIO2 board
Introduction
This page contains information additional information related to the Upgrade Pixel Module Testing @ Edinburgh project.
For testing and comparison purposes, we are running the new software suited for the upgrade with the legacy MIO2 board and Run2 detector chips.
The MIO2 system consists of an USBPix board compatible with the lower speed USB2, and an adapter card for the test sample. In our case the test sample
is a single FEI4 chip card. A photo of the fully connected system running pixel scan test is below.
MIO2 system running tests on singe-chip card
More notes about the legacy system are also available in the
old single chip testing pages
MIO2 board, configuration cabling and powering
We are using
MultiIO board rev. 1.04 with the FE-I4 Adapter Card rev. 1.1a. Description can be found in the
hardware section of the USBPix wiki.
Configuration
uC Firmware
The uC firmware is read from to EEPROM. No action needed.
When plugged in, the board should be detected with vendorID and productID:
quadmod@quadmodcomp:~$ lsusb
Bus 002 Device 002: ID 5312:0200
A note that we(Jon and Liza) tried to re-upload the uC firmware on EEPROM using SiUSBMan in STControl6 on Windows7 machine. (We used Windows, as EEPROM flashing is not supported on Linux.) Details as posted to the usbpix mailing list are
here.
FPGA configuration
The configuration bit file is:
/home/quadmod/files/sw/USBpix/config/usbpixi4.bit
The FPGA coniguration is automatically uploaded by STControl at initialization time. The upload is via the USB cable. No extra JTAG programmer, as is the case for MMC3 board, is required.
The path to the FPGA configuration file is passed to STControl in the STControl configuration file.
Powering
MIO2 board is powered via the USB cable. You will be using this board with the FEI4 single chip card, which requires separate powering. This is described below.
Using the single chip sample
The single chip sample obtains power and communicates with the MIO2 system via the wide ribbon cable shown in the figure.
single FEI4 chip card sample. Ribbon cable connects to the single chip adapter card of the MIO2 system.
When the MIO2 system is used with the single chip sample you should:
- connect the ribbon cable (single chip adapter card - to -single chip sample)
- connect the external power via the four-pin molex connector on the single chip adapter card. The power will be provided to the USB regulators on the SCA card, which will in turn provide analog and digital power to the chip on the single chip sample card.
MIO2 board powered to provide voltages to the single chip sample. The 4-pin molex connector and cable with colored wires that is connected to the external power source is visible in the right-hand-side next to the wide ribbon cable.
Care is required when connecting the external power in order not to damage the system. Molex connector is as follows:
- digital power: blue and yellow (ground) wires. Voltage and current limit: 1.99V, 400 mA
- analog power: red and black (ground) wires. Voltage and current limit: 1.99V, 600 mA
Make sure the power is off while plugging the molex connector into the SCA card.
The expected current consumption is as follows:
03rd Nov 2017
STControl off: I_ana=0 mA , I_digi=0 mA
STControl all on : I_ana=73 mA , I_digi=89 mA
STControl configure all active modules : I_ana=532 mA , I_digi=214 mA
STControl pix scan typical values: I_ana=560 mA , I_digi=100 mA
Running module testing
- works on linux only
- bring up ./bin/STControl
- open STControl config file: /home/quadmod/files/config_files/conf01112017_MIO2_1.cfg.root (see fig for settings it uses)
- Initialisation:
- 1) Initialise all controllers and DCS objects
- 2) All ON
- 3) Configure all active modules
- After this you can go to Right Pannel -> Primlist Pannel and run primlist file: /home/quadmod/files/primlists/TuningPrimlist.prl.root
MIO2 system STControl6 configuration file settings
MIO2 system STControl6 configuration file usb controller settings
TODO
- figure out what are requirements
- offline STControl scan data analysis
- get STControl4 references or test all runs fine for Hons. project
--
LizaMijovic - 2017-11-03