Data loss during tansfer

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

cross mob
Anonymous
Not applicable

      CPLD--->CY7c68013--->PC

CPLD generates incremental data, then I use BULK method, EP2 out, EP6 in,to send

data to PC, PC use bulk-loop function(Cypress Examples, i modified this VC++ code, to force PC to receive only),

I use BUSHOUND to watch the data , I find data loss during data transfer. some data

loss per 512 bytes transfer.

Need I use ping-pong transfer? How to realize it.....

I beg your reply......
 

0 Likes
8 Replies
Anonymous
Not applicable
        Are you stopping the counter (or whatever resource that you are using to increment data) when the endpoint buffer is full... because that time though the counter is counting there is no buffer space to register these values and send to host...   
0 Likes
Anonymous
Not applicable

NO,I didn't stop the counter. Because I really need to send a continuous Data, counter could not stop...

The PC should received continous data, But some data lost...

I use CyAPI,
for(;bLooping    
{
BeginDataXfer(..);
-->WaitXfer(..)
-->FinishXfer(...);
}

How should I mend this procedure? Thank you AASI...

0 Likes
Anonymous
Not applicable
        What is the data rate you are trying to achieve??? though upto 53MBps can be achieved using bulk endpoint... in reality we don't get this high a bandwidth...   
0 Likes
Anonymous
Not applicable
        I want to capture MPEG-TS Output of Demodulator using CY7c68013 to PC.   
System as (Antina)--->(Tuner)--->(Demodulator)===>CY7c68013--->PC   
I have plan to use EP2 configure as 1024ByteX4 Buffer allocation (Isochronous Endpoint)   
or EP2 configure as 512BytesX4 (Bulk Transfer)   
I can configure EP2 as 1024X4 bulk transfer.   
   
What is practical expected Transfer Data rate I can archive for move configuration   
If I connect CY7c68013 to PC high speed USB host port (without USB HUB)   
0 Likes
Anonymous
Not applicable
        I've seen data rate as high as 48MBps....   
You might find    http://www.cypress.com/?rID=37775 and    http://www.cypress.com/?rID=37776 interesting...   
0 Likes
Anonymous
Not applicable

I need as fast as Cy7c68013a can achieve.Bulk transfer is the fastest way,


Dear AASI, could please tell me what should I do to avoid this data loss?
Because I need to receive continuous data. Data rate: 40MB/s    



I use AUTO-IN mode in the Firmware. Config EP2 as 512B*4.

0 Likes
Anonymous
Not applicable
        Thanks aasi,   
   
Can you update me the configuration mode of the Cy7c68013a in FX2LP DMB-T/H TV Dongle reference design?   
1. Cy7c68013a is used in Mast GPIF or Slave FIFO ?   
2. end point EP2 is Bulk Pkt Len (512/1024) or ISOCRONUS Pkt Len (1024) ?   
3. EP2 Buffer Configuration (512X? 2/3/4) or (1024X? 2/3/4) ?   
4. Host Application details?   
0 Likes
Anonymous
Not applicable
        AASI:   
   
could you please help me ?   
   
In firmware, I use EP2 IN as 512*4, EP6 OUT as 512*4.   
BulkLoop Method. Asychronous transfer.   
   
   
In VC++, I use BeginXfer(..)--->WaitXfer(...)---->FinishXfer(...). This Speed can reach 16MB/s.   
   
How to reach 48MB/s, Could you help me? Thank you ...   
0 Likes