What is a typical buffer size you would recommend the okBTPipeOut endpoint to have?
I have an application which modifies the PipeTest example. It strips out all endpoints except the pipe_out_check, and inserts a FIFO between the data generator and the okHost. The FIFO was initially set to 4096 words, 16-bit wide, with 'ep_ready' hooked to a programmable fullness of 512 words (i.e., a burst length of 1024 bytes). I've increased the FIFO to 8192x16-bit, and still see the problem below.
The first "transfer block" of data is received without problems, we've tested transfer sizes of 8, 16, 32, 64, 128, 256, 512 and 1024 KBytes. However, the FIFO always seems to overflow at some point in following blocks and we see a corruption in the data. Has this been seen before?
All logic is clocked with ti_clk out of okHost.
I noticed that the example provided in PipeTest doesn't actually have a real FIFO in it. The lfsr data is only updated when pipe_out_read is asserted, which protects against overflow conditions anyway.