Bulk transfer size with FX2LP

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

cross mob
Anonymous
Not applicable

Hi,

   

is it possible to have a OUT transfer (from host to device) to a large endpoint (2,4,6 or 😎 with a size less of 512 byte?

   

Regards,

   

Begos

0 Likes
4 Replies
Anonymous
Not applicable

 Hi Begos,

   

 

   

You can send OUT transfer with bytes less than 512 bytes to any out endpoint.

   

 

   

Regards,

   

Vikas.

0 Likes
Anonymous
Not applicable

Hi,

   

I have endpoint 2 configured like OUT endpoint in automode with slave fifo double buffered. Size is 512 byte. When FX2 receive a packet of 512 byte from host it is commited and placed on fifo automatically, without cpu action.

   

If I send, for example, a packet of 200 byte, this packet is committed and placed on fifo in the same manner?

   

Regards,

   

 

   

Begos

0 Likes
Anonymous
Not applicable

 Hi ,

   

 

   

Yes, even if you send 512bytes or less than 512 bytes, it will be committed to peripheral domain.

   

In this case (after sending 200 or 512 bytes )If the external hasn't read the data from the buffer than you can send one more packet of 512 bytes or less. 

   

 

   

If you try to send the third packet then it will be failed as buffers are full.

   

 

   

Regards,

   

Vikas.

0 Likes
Anonymous
Not applicable

 Hi ,

   

 

   

Yes, even if you send 512bytes or less than 512 bytes, it will be committed to peripheral domain.

   

In this case (after sending 200 or 512 bytes )If the external hasn't read the data from the buffer than you can send one more packet of 512 bytes or less. 

   

 

   

If you try to send the third packet then it will be failed as buffers are full.

   

 

   

Regards,

   

Vikas.

0 Likes