Hi,
I am using BTpipe transfers and having the following issue:
If I request multiple packets, only the last packet is present in C++ software buffer.
On the other hand, Cypress MCU seems to read the 16-bit data correctly (according to logic analyzer).
Example: suppose I request 64kbyte xfer with 16kbyte packet size:
This is what should be received
||packet1||packet2||packet3||packet4||
Here is what the actual received buffer looks like:
||packet4||random||random||random||
I have confirmed this with different transfer sizes and different packet sizes.
Received buffer is “buf” in this function call:
ReadFromBlockPipeOut(0xa0, m_nBlockSize, pkt_len, buf);
Did anyone have similar problems with BTpipes?
Thanks!
Tele