Chapter 3
Theory of Operation
© National Instruments Corporation
3-5
AT-DIO-32F User Manual
Group 1 handshaking is controlled by REQ1 and ACK1. Group 2 handshaking is controlled by
REQ2 and ACK2. The handshaking circuitry controls these handshaking signals and the data
flow through the digital I/O data latches and drivers.
Each group can be programmed to operate in one of three handshaking modes: level signals,
leading edge signals, or trailing edge signals. Refer to Chapter 2, Configuration and Installation,
and Chapter 4, Programming, for the timing diagrams for each of these modes. The state
diagrams that describe each handshaking mode are shown later in this chapter.
After start-up or LRESET, the handshaking circuitry is in the INIT state. During a read transfer,
DRDY is set once a REQ is received. DRDY remains set until the data is read from the selected
ports. During a write transfer, DRDY is set as soon as the group's WRITE bit is set, indicating
that the group is in write mode. DRDY remains set until data is written to the selected ports.
In the Figures 3-3 and 3-4, REQ and ACK are shown as active high logic; that is, INVRQ and
INVACK are cleared.
Level Mode
In level mode, once the data is read or written, TDELAY begins. TDELAY is the data-settling
delay that is programmed by setting bits in CFG1 or CFG2. After the delay, ACK is sent to the
digital I/O connector. The circuitry waits for REQ to go low. When REQ is received again,
ACK is cleared; then DRDY is set again and the cycle continues.
Figure 3-3 shows a read transfer in level mode.
Start
TDELAY
INIT
State
When REQ
unasserted
When REQ asserted
After
data
read
After TDELAY
LRESET
or
Power On
Send
ACK
Continue
sending
ACK
When REQ asserted
Clear ACK
Set DRDY
Figure 3-3. Level Mode – Read
Содержание AT-DIO-32F
Страница 19: ......
Страница 101: ......
Страница 102: ......
Страница 123: ......
Страница 124: ......
Страница 125: ......
Страница 126: ......
Страница 127: ......
Страница 128: ......
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ......
Страница 133: ......
Страница 134: ......
Страница 135: ......
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 139: ......
Страница 140: ......
Страница 141: ......
Страница 142: ......
Страница 143: ......