Skip to content

lpGBT Slow Control Worker multi-command/reply handling

Younes Otarid requested to merge yotarid/Ph2_ACF:lpgbt_sc_worker_dev into Dev

This merge request follows firmware developments related to the lpGBT Slow Control Worker. The later has been improved to perform multi-register read/write following a request in the form of a stack of CPB commands, and to finally return a stack of CPB replies containing the register transaction information (ie : read back values). [1]

This merge request provides the software interface to the new firmware version. The implementation has been extensively benchmarked yet against the previous one, and benchmarking results showed a major speed-up of module configuration (~ x4). This especially improves the situation for PS modules where the number of configuration registers is very high and where calibration implementation is, for now, relying on I2C readout of the counters, awaiting for fast counter readout to be finalised. The PS-ROH, and 2S-SEH test tools have been revised to make use of this new implementation.

The software interface has been designed to provide single-register read/write and multi-register read/right in one IPbus transaction with a number of registers that can go up to the 20.000 registers. The transaction latency hasn't been precisely measured, but the interface relies on a deterministic implementation based on "DONE" signals to avoid arbitrary wait durations.

[1] https://gitlab.cern.ch/cms_tk_ph2/d19c-firmware/-/merge_requests/71

Edited by Younes Otarid

Merge request reports