06.02.2014 Views

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

02/07/2003 <strong>V767</strong> User's Manual – Rev.4<br />

3.20. CLEAR EVENT COUNTER REGISTER<br />

(Base address + %004E write only)<br />

A VME access (read or write) to this location clears the Event Counter.<br />

3.21. OPCODE HANDSHAKE REGISTER<br />

(Base address + %0050 read only)<br />

The Opcode Handshake Register is used for the Handshake Protocol between the VME<br />

and the microcontroller. It uses only 2 bits: READ OK and WRITE OK.<br />

All read and write operations with the Opcode Register can be performed, respectively,<br />

when the bit RO or WO is set. See § 4 for the usage of this register.<br />

15<br />

14<br />

13<br />

12<br />

11<br />

10<br />

9<br />

8<br />

7<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

0<br />

WORO<br />

Read OK<br />

Write OK<br />

Fig. 3.18: Opcode Handshake Register<br />

N.B.: because of <strong>V767</strong> module's internal delays it is necessary to insert a 10-ms<br />

delay in the software after the check of the RO/WO bit, i.e. before performing the<br />

next R/W operation on the Opcode Register.<br />

3.22. OPCODE REGISTER<br />

(Base address + %0052 read/write)<br />

The Opcode Register is used to send instructions to the microcontroller via 16-bit<br />

OPCODE setup words. The usage of this register is fully described in § 4.<br />

15<br />

14<br />

13<br />

12<br />

11<br />

10<br />

9<br />

8<br />

7<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

0<br />

COMMAND<br />

OBJECT<br />

Fig. 3.19: Opcode Register<br />

3.23. CLEAR REGISTER<br />

(Base address + %0054 write only)<br />

A VME access (read or write) to this location causes the following:<br />

1. the <strong>TDC</strong>s are cleared;<br />

2. the output buffer is cleared;<br />

3. the readout controller is reset;<br />

4. the Event counter is set to 0.<br />

The same actions are performed at Power-ON and if the VME signal SYSRES is active.<br />

NPO:<br />

00001/97:<strong>V767</strong>x.MUTx/04 Page 36 of 75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!