XferData() stalls if data in buffer larger than requested byte count | Cypress Semiconductor
XferData() stalls if data in buffer larger than requested byte count
If I send let's say 128 Bytes upstream from the slave fifo interface by pulling low PKTEND and then want to read 12 Bytes (len=12) using XferData(buf,len), the upstream link stalls until the FX3 is reset.
I can understand that XferData(buf,len) returns 0 for len in this case because it is less than the packet size. Nevertheless, I was surprised to learn that from this instant I was not able to read data at all, even if len>=128 (larger or equal than the packet size). I was required to reset the FX3 to get the upstream link working again.
Has somebody observed this behaviour as well? I am using the V1.0 SDK.