- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I´ve experienced problems with burstsize > 8 when setting up a bulk endoint at the fx3.
Using code like:
endPointConfig.enable = 1;
endPointConfig.epType = CY_U3P_USB_EP_BULK;
endPointConfig.burstLen = 16;
endPointConfig.streams = 0;
/* Configure the Endpoint */
apiRetStatus = CyU3PSetEpConfig(CY_FX_EP_PRODUCER,&endPointConfig);
if (apiRetStatus != CY_U3P_SUCCESS)
{
/* Error Handling */
CyU3PDebugPrint (4, "USB Set Endpoint config failed, Error Code = %d\n",apiRetStatus);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One update
it looks like i can go up to
endPointConfig.burstLen = 15;
whitout getting an error ??
Does that mean burstLen = 15 means a burst of 16 ???
regards
usbstream
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, like the descriptor value the value is burst length -1 there. 0 is for 1 packet per burst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
That instresting because at least at the example cyfxbulklpmanual there is a descritor-setting for burst of 0 and a burstlen-setting of the endpoint of 1. This pushed me the wrong direction....
rgards
Uwe