CY68013 Short package submission problem

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

cross mob
zoho_1277946
Level 1
Level 1

CY68013 uses the BulkInEndPt function to read the buffer. It seems that it can only read 512 bytes or more. For example, what should I do if I want to read 128 bytes? Is it a short package submission?

0 Likes
1 Solution
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Can you please let me know of you are referring to the cypress control center application?

Short packet is when the FX2LP is configured in Slave FIFO  and the master has less than a buffer length of data to send to the salve, in that case, the master asserts the PKTEND signal indicating the slave FX2LP that this is the end of data and to commit the same to the USB side.

In the USB side you can request the data from the FX2LP endpoint by using Xferdata function, in which you can specify the length of the transfer as well.

Best Regards,

Yatheesh

View solution in original post

0 Likes
1 Reply
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Can you please let me know of you are referring to the cypress control center application?

Short packet is when the FX2LP is configured in Slave FIFO  and the master has less than a buffer length of data to send to the salve, in that case, the master asserts the PKTEND signal indicating the slave FX2LP that this is the end of data and to commit the same to the USB side.

In the USB side you can request the data from the FX2LP endpoint by using Xferdata function, in which you can specify the length of the transfer as well.

Best Regards,

Yatheesh

0 Likes