WIENER, Plein & Baus GmbH
29
www.wiener-d.com
TRAM – Trigger Reference Address Modifier
AMMASK – Active trigger address modifier bits when AM-based trigger.
IRQMASK – Trigger IRQ Mask when IRQ-based trigger
REG_E at the base address of 20 (0x14)
Bits
18 - 16
11
10 - 0
Function
TRSEL
PREPOST
START
TRSEL – Trigger Select Code
0 – None
1 – IN (NIM/TTL)
2 – Masked IRQ
3 – Bus Error (BERR)
4 – (Valid A) AND NOT (Valid AM)
5 – NOT (Valid A) AND (Valid AM)
6 – (Valid A) AND (Valid AM)
7 – NOT (Valid A) OR NOT (Valid AM)
PREPOST – when set, storage of the waveforms commences STRT cycles after the detection
of the trigger signal. When reset, storage commences STRT cycles before the detection of the
trigger signal
NOTE: Continuous waveform acquisition into (circularly configured) FIFO’s is
activated by setting TRSEL > 0. It is then terminated at the detection of a valid trigger
signal.
Here are the steps to be made to start a waveform acquisition process:
1. Select the desired sampling frequency by writing either 0 (100 MS) or 16 (200 MS)
into REG_B at the base address 8.
2. When the intended trigger code is 01 or 03, proceed to point xx.
3. When the intended trigger code is 2, do the following
a. Write the trigger reference address TRA into REG_A at the base address of 4
b. Write the trigger IRQ mask TIRQMASK into REG_D at the bas address of 16
(0x10).
d. Proceed to point 5.
Boolean equations for the valid trigger ValTrigg is here
ValTrig = ((IRQ
VME
AND IRQMASK) >0)
4. When the intended trigger code is greater than 3, do the following
a. Write the trigger reference address TRA into REG_A at the base address of 4