SIS Documentation
SIS3820
VME Scaler
Page 27 of 79
7.7 LNE Prescaler factor register (0x18)
#define SIS3820_LNE_PRESCALE
0x18 /* read/write; D32 */
The LNE prescale factor register allows you to prescale the front panel LNE pulse (clock ticks
from an angular encoder e.g.), the internal 10 MHz pulse generator or the channel N (ChN)
LNE source. The prescale factor is a 32-bit value. The second case above allows you to run
the multiscaler with a fixed time slice length. The register can be reprogrammed while the
scaler acquires data as long as the user makes sure not to change the prescale factor while an
internal reload is in progress. The period between two CIP pulses is safe for reprogramming.
Programming the prescale factor to 0 results in routing the raw signal to the LNE. If the LNE
rate after the prescaler is higher than the possible maximum, excess LNE pulses are ignored,
the CIP output allows you to monitor the accepted LNE pulses.
Bit Function
31
LNE prescale factor bit 31
... ...
0
LNE prescale factor bit 0
If the new prescale factor is supposed to have an immediate effect (i.e. if the new prescale
factor and the input rate are smaller than the previous setting), following sequence has to be
used:
1.)
disable LNE prescaler (write 0x0 to the LNE prescaler factor register)
2.)
enable LNE prescaler (by writing the new LNE prescale value to the LNE prescaler factor
register)
The LNE prescale factor is given by
register value+1.
If the an output mode with CIP front panel output is enabled, the CIP signal can be used to
synchronise external hardware to the actual LNE pulses after prescaling.
Example: If 9999 (decimal) is written to the LNE prescale factor register with the prescaler
and the 10 MHz to prescaler enabled (via bits 6 and 7 of the control register), the scaler will
get LNE pulses with a frequency of 1 KHz.
Following LNE sources are routed through the LNE prescaler if the prescale factor has a non
zero value:
external LNE (front panel signal)
internal 10 MHz
channel N (ChN)
Note 1:
This implies, that software LNE pulses are not routed through the LNE prescaler,
they do always initiate a direct LNE/readout cycle
Note 2:
The external LNE and channel N rate is limited to 5 MHz