![Teledyne SP Devices ADQ8-8C Manual Download Page 37](http://html1.mh-extra.com/html/teledyne-sp-devices/adq8-8c/adq8-8c_manual_1081092037.webp)
17-2000 C
2020-09-17
37(50)
ADQ8-8C Manual
17-2000 C 2020-09-17
37(50)
6.2 ADQ8-8C–PXIe GPIO on SYNC connectors
On the ADQ8-8C–PXIe form factor, the sync input pin and output pins are split into two connectors.
This means that the sync pin is not bi-directional when used as GPIO,
6.3 ADQ8-8C–MTCA GPIO on SYNC connectors
On the ADQ8-8C–MTCA form factor, the can SYNC be used as GPIO. The connector is bi-directional
as on the TRIG connector. The process is illustrated in the block diagram in
. To access the
SYNC connector set the SYNC connector address in the related commands
.
6.4 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.
Example 7: Triggering the digitizer and an external device with GPIO
1. Connect a cable from the TRIG connector to the external device.
2.
SetTriggerMode
(“external trigger”) /* This will activate the trigger module to listen to TRIG”
3.
SetDirectionGPIOPort
(“output”) /* This enables output on TRIG connector*/
4.
ArmTrigger
5.
WriteGPIOPort
(“1”) /* This sends a signal on the TRIG connector that triggers the devices*/
The GPIO input function always listen to the trigger pin. This means that the external trigger pin value
can always be read from the GPIO function
ReadGPIOPort
.
6.5 Output
The output is activated through the software command
SetDirectionGPIOPort
and the signal level is set
by
WriteGPIOPort
. The input function
ReadGPIOport
will then return the output level.
#
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 27: ADQ8-8C–PCIe GPIO on SYNC pin.
(!(
/0
/0
12
(
(
'('!2'!(2 !
(!(2
(!2 2
'('!2'!2 2 !
3
'4!5*'!
!
')'5'( !6
3
'4! (! *'
/0
/0
(!2