Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I have a question about the CyAPI.lib and communication to the FX3. I understand that USB 3.0 splits bulk transfers into packets with payloads of 1024 bytes each. I also understand that when a partial payload, or empty payload is received the receiver (in my case the FX3) knows the bulk transfer is complete. I just want to make sure I understand how this is handled.
If I call XferData() from the CyAPI.lib on the host, and pass in a buffer of data to send that has more than 1024 bytes in it, will the CyAPI.lib automatically begin a bulk transfer, split the buffer into packets, and send an empty packet at the end?
Also, does this mean that the FX3 knows (or will know when it receives the empty packet), how long the buffer of data was that I passed in to XferData()?