
19-2233 PC2
2019-02-01
33(50)
ADQ7DC Manual
16-1796 PC2 2019-02-01
33(50)
6
GPIO
The General Purpose Input and Output (GPIO) are digital signals available from the front panel of the
digitizer. The user assigns a function to these pins, either in the firmware through the ADQ Develop-
ment Kit or from software.
The digitizer offers several levels of GPIO
1. GPIO through multiple usage of TRIG and SYNC connectors,
2. Dedicated GPIO connector,
.
Note: The GPIO connector configuration is different for different options,
6.1 GPIO with TRIG and SYNC
The connectors for TRIG and SYNC can be used as GPIO. The process is illustrated in the block dia-
gram in
.
6.2 Using GPIO as a trigger
The GPIO can be used for sending a trigger command from the application software to an external
device. In such a situation this GPIO signal can also be used for triggering the digitizer itself synchro-
nous to the external device. This is possible since the external trigger input logic always listen to the
signal on the TRIG connector. The following example illustrate how to trigger the digitizer and an exter-
nal device through GPIO function on the TRIG connector.
CONNECTOR WITH
GPIO SUPPORT
GENERAL OPTION
INTERFACE OPTION
–USB
–PCIE
–PXIE
–MTCA
–10GBE
TRIG
Any
Yes
Yes
Yes
Yes
Yes
SYNC
Any
Yes
Yes
Yes
Yes
Yes
GPIO connector
Any
–
Yes
Yes
–
–
Table 4: GPIO function availability.
#
DESCRIPTION
USER COMMAND
REF
a
The external pin is automatically connected to the activated function.
b
The GPIO input function always reads the state of the pin. The GPIO
output function is activated by the user.
SetDirectionGPIOPort
c
The user may access the pin by reading and writing from the software.
ReadGPIOPort
WriteGPIOPort
d
The user may build firmware in the ADQ Development Kit for real-time
interaction with the GPIO signals.Then GPIO is accessed through register
access commands.
ReadUserRegister
WriteUserRegister
Figure 24: Using front panel connector TRIG as GPIO. The connector SYNC operates in the same way.
./
./
0
&
&
%&% 0% &0
% &0
% 00
%&% 0% 00
1%2 3)%
%(%3%& 4
1%2 & )%
./
./