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
Here is what the actual received buffer looks like:
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?