Regarding FX3 USB

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

cross mob
Anonymous
Not applicable

Hello..

   

Iam having a doubt regarding the minimum data payload that can be sent in bulk mode.

   

That is in the function :  bulkOutEndPoint.XferData(ref outData, ref xferLen)  if the size of outData is 8 bytes and xferLen is 8. Will it work?

   

Please let me know regarding the above mentioned issue.

   

 

   

Thanks & Regards

0 Likes
5 Replies
Anonymous
Not applicable

Hi,

   

Yes, This will work. There will not be any issue. The min payload can even be zero.

   

Regards,

   

- Madhu Sudhan

0 Likes
Anonymous
Not applicable

Hi

   

Thanks for the answer.

   

I have one more doubt regarding the firmware, do i need to make any special changes in the firmware for it it to support the above mentioned situation.

   

Thanks & Regards

   

Ashish

0 Likes
Anonymous
Not applicable

No, I do not think you need to make any changes on the FX3 side. 

0 Likes
Anonymous
Not applicable

Hi

   

Thankyou for your answer.

   

But Iam still having doubt that is how will the fx3 controller know to send/receive 8 bytes of data & also to update the flags(FLAGA,  FLAGB, FLAGC, FLAGD).(We are implementing 16 bit Slave FIFO)

   

Thanks & Regards

   

Ashish

0 Likes
Anonymous
Not applicable

You would have to set appropriate flag definitions as far as FX3 is concerned. Since you cannot keep the buffer size so small. You need to forcefully commit every 8 bytes of data you receive.

   

Refer to the FX3 Slave FIFO application note for further details

0 Likes