apollo-lhc / cm_mcu

Microcontroller source code for the APOLLO blade for the CMS tracker HL-LHC upgrade.
MIT License
2 stars 2 forks source link

Change the work-around for a FF struct with non-existing registers #198

Closed pkotamnives closed 3 weeks ago

pkotamnives commented 7 months ago

As shown in here, there are no registers to read optical power for 14Gbps ECUO so we did a work-around by assigning 0x00 registers for FF optical power registers (that do not exist) in sm_command_fflit_f1 and sm_command_fflit_f2.

Describe the solution you'd like perhaps we can keep zero outputs when reading optical-power registers directly in MONI2C task if the ff part is 14Gbps ECUO.