You are here

Send data via Isochrone transfert with Cypress API | Cypress Semiconductor

Send data via Isochrone transfert with Cypress API

Summary: 1 Reply, Latest post by Gayathri on 11 May 2012 06:37 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.

Hi everyone,

The datasheet of the Cypress API can be found here :

I want to send data via USB using Isochone transfert. But the example does not work :

CCyUSBDevice *USBDevice = new CCyUSBDevice();
CCyIsocEndPoint *IsoIn = USBDevice->IsocInEndPt;
if (IsoIn) {
LONG bufSize = 4096;
PUCHAR buffer = new UCHAR[bufSize];
CCyIsoPktInfo *isoPktInfos;
int pkts;
// Allocate the IsoPktInfo objects, and find-out how many were allocated
isoPktInfos = IsoIn->CreatePktInfos(bufSize, pkts);
if (IsoIn->XferData(buffer, bufSize, isoPktInfos)) {
LONG recvdBytes = 0;
for (int i=0; i<pkts; i++)
if (isoPktInfos[i].Status == 0)
recvdBytes += isoPktInfos[i].Length;
delete [] buffer;
delete [] isoPktInfos;

No data are sent...

Any suggestions ?


Thanks :)

gaya's picture
Cypress Employee
578 posts



Please take a look at the Streamer exaple that comes as part of Cypress SUiteUSB. You can find that at the location "C:\Cypress\Cypress Suite USB 3.4.4\CyAPI\examples\Streamer" after installing SuiteUSB ( 




Log in to post new comments.