68
FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Firmware
This type of channel is used when the data flow from many producer (at least 2 producers) has to be
directed to one consumer in an interleaved fashion. This model provides RAID0 type of data traffic.
One-to-Many Auto Channel
This channel is defined as DMA_TYPE_AUTO_ONE_TO_MANY is a variation of the auto channel. It
is defined by one valid producer sockets, more than one valid consumer socket, and a predeter-
mined amount of buffering; each of these is a user programmable parameter.
This type of channel is used when the data flow from many producer (at least 2 producers) has to be
directed to one consumer in an interleaved fashion. This model provides RAID0 type of data traffic.
5.2.4.2
Manual Channels
These are a class of data channels that allow the FX3 firmware to control and manage data flow:
■
Add and remove buffers to and from the data flow
■
Add and remove fixed size headers and footers to the data buffers. Note that only the header and
footer size is fixed, the data size can vary dynamically.
■
Modify the data in the buffers provided the data size itself is not modified.
In manual channels, the CPU (FX3 firmware) itself can be the producer or the consumer of the data.
Manual channels have a lower throughput compared to the automatic channels as the CPU is
involved in every buffer that is transferred across the FX3 device.
Manual Channel
The channel DMA_TYPE_MANUAL is a pass through channel with CPU intervention. Internally, the
channel has two separate descriptor lists, one for the producer socket and one for the consumer
socket. At channel creation time, the user application must indicate the amount of buffering required
and register a callback function.
When the channel is operational, the registered callback is invoked when a data buffer is committed
by the producer. In this callback, the user application can:
■
Change the content of the data packet (size cannot be changed)
■
Commit the packet, triggering the sending out of this packet
■
Insert a new custom data packet into the data stream
■
Discard the current packet without sending to the consumer
■
Add a fixed sized header and/or footer to the received packet. The size of the header and footer
is fixed during the channel creation
■
Remove a fixed sized header and footer from the received packet
Содержание EX-USB FX3
Страница 8: ...8 FX3 Programmers Manual Doc 001 64707 Rev C Contents...
Страница 12: ...12 FX3 Programmers Manual Doc 001 64707 Rev C Introduction...
Страница 48: ...48 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Overview...
Страница 74: ...74 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Firmware...
Страница 76: ...76 FX3 Programmers Manual Doc 001 64707 Rev C FX3 APIs...
Страница 84: ...84 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Examples...
Страница 98: ...98 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Structure...
Страница 148: ...148 FX3 Programmers Manual Doc 001 64707 Rev C FX3 P Port Register Access...
Страница 153: ...FX3 Programmers Manual Doc 001 64707 Rev C 153 FX3 Development Tools 2 Select General Existing projects into Workspace...
Страница 165: ...FX3 Programmers Manual Doc 001 64707 Rev C 165 FX3 Development Tools Click next...
Страница 178: ...178 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools Click on Apply...
Страница 180: ...180 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools d Start the GDB server...
Страница 185: ...FX3 Programmers Manual Doc 001 64707 Rev C 185 FX3 Development Tools...
Страница 186: ...186 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 187: ...FX3 Programmers Manual Doc 001 64707 Rev C 187 FX3 Development Tools...
Страница 188: ...188 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 192: ...192 FX3 Programmers Manual Doc 001 64707 Rev C GPIF II Designer...