EasyManua.ls Logo

Cypress EX-USB FX3 - Page 70

Cypress EX-USB FX3
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
70 FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Firmware
Figure 5-7. Manual In Channel
Manual Out Channel
The DMA_TYPE_MANUAL_OUT channel is a special channel where the CPU (FX3 firmware) is the
producer of data. The user application needs to get the active data buffer, populate the buffer, and
then commit it.
Figure 5-8. Manual Out Channel
Many-to-One Manual Channel
This channel is defined as DMA_TYPE_MANUAL_MANY_TO_ONE is a variation of the manual
channel. It is defined by more than one valid producer socket, a valid consumer socket, and a
predetermined amount of buffering; each of these is a user programmable parameter.
This type of channel is used when the data flow from many producers (at least 2 producers) has to
Producer
(Ingress)
Socket
D0 D1 D2 Dn
Incoming data
CPU interrupt on every N
Ingress buffers
Use buffer
Consume
event signaling
Buffer low threshold
interrupt (optional)
Buffer ready?
Yes
Buffer
Descriptor chain
CPU interrupt after
every N buffers
CPU
Consumer
(Egress)
Socket
D0 D1 D2 Dn
Data
Outgoing data
Produce Event Signaling
Buffer low threshold
interrupt (optional)
Descriptor list
Buffer

Table of Contents