Chapter 7
Digital I/O
©
National Instruments Corporation
7-5
DAQ-STC Technical Reference Manual
Figure 7-5.
Serial Output
7.4.2.3 Serial I/O
It is possible for serial input and serial output to take place simultaneously on separate lines.
In serial I/O mode, the DAQ-STC inputs data on the DIO4/SDIN line and outputs data on the
DIO0/SDOUT line. Software configures the external device that is sending data as described
in section
, and configures the external device that is receiving data as
described in section
. Each 8-bit transfer is initiated under software
control. Figure 7-6 shows a serial I/O operation where the DAQ-STC simultaneously reads
the data byte 0x4B hex and outputs the data byte 0x97 hex.
Figure 7-6.
Serial I/O
EXTSTROBE/SDCLK
DIO0/SDOUT
Output Pattern: 0x4B
SW START
EXTSTROBE/SDCLK
DIO0/SDOUT
DIO4/SDIN
Read Locations
R
R
R
R
R
R
R
R
SW START