Skip to content

Star test rework

Zhengcheng Tao requested to merge devel_star_test into devel

The star_test is reworked a bit to make it run with a real test vehicle. The HCCStar is now configured properly so it can establish communications with the ABCStars before any tests are run. The 8b10b encoding mode for the HCCStar is now kept on unless it is a spec controller.

The new star_test should be able to run out of the box with a real module. I tested it on our barrel module (one HCCStar + one ABCStar) with lpGBT and FELIX. And it works with the star emulator as well.

A set of additional tests are also added. The star_test now runs a series of basic tests including:

  • read HCC registers
  • read ABC registers
  • read data packets in the static test mode
  • read data packets in the test pulse mode with single digital pulse

One thing I haven't made it work with our test vehicle is the hit counters. I tried to enable and read the hit counts but could not get anything other than 0 back. The hit counters work as expected with the emulator.

Edited by Zhengcheng Tao

Merge request reports