Open jhugon opened 2 years ago
It seems like a comparator interrupt will have to be used to increment the counter and input compare on a timer with either interrupt or DMA for pulse timing.
It may be possible to clock a timer (counter) directly with the comparator output (possibly externally wired together). That would greatly simplify things. External clock modes 1/2 on TIM2/3?
The idea is to use the comparator hooked up to the DAC to analyze the dark current behavior of a SiPM.