Leader and Trailer Packet

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

   

I use the slavefifosync example to stream data from the GPIF to a Bulk_IN endpoint.

   

The streamed data has to look like follows:

   

leader-packet ; GPIF-data-packets ; trailer-packet

   

leader-packet and trailer-packet must use one transfer each.

   

leader-packet and trailer-packet containing only status information.

   

So the header/footer mechanism of the dma-channel will not work for me.

   

GPIF-data can be multiblte transfers.

   

 

   

How can I add the leader-packet/trailer-packet to a   CY_U3P_DMA_TYPE_MANUAL channel ?

   

How can i achieve such a streaming layout?

   

Best regards

   

g.

0 Likes
1 Reply
Anonymous
Not applicable

 Hi,

   

 

   

You can use the CyU3PDmaChannelSetupSendBuffer for the same. You may refer MSC example from FX3 SDK to understand the usage of the same.

   

 

   

Regards,

   

Gayathri

0 Likes