FA125 firmware check

From GlueXWiki
Revision as of 13:17, 10 December 2015 by Njarvis (Talk | contribs)

Jump to: navigation, search


Used the raw samples to emulated the fa125's calculated values and compared them with the fa125 output.
Looked at the first evio files from runs 3293 (2 weeks old) and 4623 (this week).


Number of discrepancies between firmware output and emulation output
Run events time amplitude pedestal integral overflow count
3293 16582555 1160 1942 3547 15609 1
3293 minus 2 bad fadcs 15914850 378 1877 288 12798 1
4623 10247801 0 98 0 3 0


Many of the problems in 3293 were due to hardware faults in roc28 slots 5&6.

11770 of the 12798 difference in integral were due to faulty assignment of the overflow bit. This has been fixed.

There were a few problems in the firmware which Cody described last week. Almost all fixed.
Remaining issues are not critical.

Integral differences are from very late times where there is a small peak at the end of the hit search window that only just clears the threshold crossing, followed by a larger peak a few samples later. The timing algorithm returns the time for the larger peak and the emulated integral is 0 because it is out of the window.

2/3 of the amplitude differences are where the samples at the start of the window are over threshold. I think the peak search might be starting 1 sample too early.



Pulse & Window raw data are separate objects in the evio eventloop, not linked yet. One out of sync pair causes the rest of the data for that trigger to be out of step.

Run 3923 had 7600 entries with pulse and WRD out of step due to 252 hiccups.

Run 4623 had 1317 entries with pulse and WRD out of step due to 33 hiccups.