42
EXAMPLE 3377
PROGRAMMING SEQUENCE
Step 1:
CAMAC Reprogramming
(see Operating Instructions)
F9, any subaddress
(should be executed as first command after powerup)
F30, any subaddress
(selects programming mode, resets Xilinx chip)
F21, any subaddress
(selects common start, single word mode)
F25, any subaddress
(begins reprogramming of Xilinx chip)
Wait 500 ms for programming to finish (actual time: < 200 ms)
F13, any subaddress
(check programming complete)
F9, any subaddress
(reset PAL)
Step 2:
Initialize module (for Common Start example)
F17 A0, data = 0x10FF
F17 A1, data = 0x0000
F17 A2, data = 0x0000
F17 A3, data = 0x03F0
F17 A4, data = 0x000B
F17 A5, data = 0x0101
F1 A0
(read back register 0 to check)
F1 A1
(read back register 1 to check)
F1 A2
(read back register 2 to check)
F1 A3
(read back register 3 to check)
F1 A4
(read back register 4 to check)
F1 A5
(read back register 5 to check)
F26 A0
(Enable LAM)
Step 3:
Enable Acquisition Mode
F26 A1
Step 4
:
Execute Test Cycle
F25 A0
Step 5
:
Test Event Ready to Readout
F27 A2
Step 6:
Read back data
F0 A0 (read data until Q=0)