apollo-lhc / cm_mcu

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

reported optical power doesn't fit in 16 bit int #233

Open pwittich opened 2 months ago

pwittich commented 2 months ago

Describe the bug reported optical power doesn't fit in 16 bit int. Also it's probably wrong.

% ff_optpow_dev 1
FF F1_1  12 Rx Optical Power (uW)
Ch 00:  171250.00
Ch 01:  151040.00
Ch 02:  156790.00
Ch 03:  118450.00
Ch 04:  170700.00
Ch 05:  165950.00
Ch 06:  173260.00
Ch 07:  195250.00
Ch 08:  202410.00
Ch 09:  184010.00
Ch 10:  178500.00
Ch 11:  176190.00