![background image](http://html1.mh-extra.com/html/caen/dt5495/dt5495_user-manual_3276608049.webp)
CAEN
Electronic Instrumentation
UM6508
–
DT5495 User Manual rev. 0
49
11.4
Gate Pattern Demo Description
Introduction
In this example, a logic combination of the input port signals A and B is sent to the C connector (32 lines). The user can
choose the output among 10 available options by setting the 4 LSBs of the control register (see the register list). Apart
from the value of A, B, A AND B and A OR B, the aforementio
ned signals in “capture” mode (a
bit is set whenever a
signal shows up) can be selected.
Register Map
In this example, 9 registers are used, 5 of which (MONITOR registers) can only be read and 4 (CONTROL registers) can
be both read and written. All registers are 32 bit wide and can be accessed in single access mode.
ADDRESS
REGISTER/CONTENT
ACCESS MODE
Read/Write
0x1000
0x1004
0x1008
0x100C
0x1010
0x1800
0x1804
0x1808
0x180C
Firmware version
Value of port A (input)
Value of port B (input)
Value of port C (output)
Status register
Mask of input port A
Mask of input port B
Control register
User Value of port C
A24/A32
A24/A32
A24/A32
A24/A32
A24/A32
A24/A32
A24/A32
A24/A32
A24/A32
D16/D32
D16/D32
D16/D32
D16/D32
D16/D32
D16/D32
D16/D32
D16/D32
D16/D32
R
R
R
R
R
R/W
R/W
R/W
R/W
Register Description
➢
FIRMWARE REVISION register:
Contains the firmware revision number.
Address:
0x1000.
Mode:
Read only.
Bit
Description
[31:0]
Firmware revision progressive number
➢
A-PORT VALUE register:
Contains the 32 input bits of port A.
Address:
0x1004.
Mode:
Read only.
Bit
Description
[31:0]
Input value of Port A
➢
B-PORT VALUE register:
Contains the 32 input bits of port B.
Address:
0x1008.
Mode:
Read only.
Bit
Description
[31:0]
Input value of Port B
➢
C-PORT VALUE register:
Contains the 32 output bits of port C (selectable by the user in this demo).
Address:
0x100C.
Mode:
Read only.
Bit
Description
[31:0]
Output value of port C