epics-modules / mrfioc2

EPICS driver for Micro Research Finland event timing system devices
http://epics-modules.github.io/mrfioc2/
Other
8 stars 30 forks source link

add PS trigger functionality to pulse generators #53

Closed krmpotic closed 1 year ago

krmpotic commented 3 years ago

Multiple prescalers can trigger the same pulse generator. This can be used along with prescaler shifting to create more complicated signals.

e.g. setting: dbpf MRF:{EVR1-DlyGen:4}PSTrig-Sel.B0 1 dbpf MRF:{EVR1-DlyGen:4}PSTrig-Sel.B4 1

will result in pulse generator 4 to be triggered by prescalers' 0 & 4 rising edge

krmpotic commented 3 years ago

Not tested with a scope yet. But what's in the registers (from 0x140 on) looks good. By the way, the pulser-gates can not be triggered in this way.

krmpotic commented 3 years ago

PS -> Pulser triggering implemented from the POV of the pulser. Triggering on multiple prescalers works. Tested on mTCA-EVR-300 with scope.