hello, i develope slave_fifo 32 bit on CYUSB3014 and fpga xilinx kintex 7. i test stream_in.img, stream_out.img and loopback it is work good. good speed and no failure packets.
But when i rebuld project for stream_in_out or loopback and give new .img file i have failure packets. very rare, but still there, which is critical for our project.
what's the matter?
for test use streamer
i test on another PC with ASMedia usb 3.0 controller and all work good!
on PC with intel usb 3.0 controller rarely come failure packets
Hi,
Can you please make sure that the CyU3PUsbLPMDisable(); API has been called in your firmware?
If not, please call it after the CyU3PConnectState API.
There is a chance that Intel Host force the device to go into a low power mode. Adding this API avoids that.
Regards,
- Madhu Sudhan
Hello
switch (evtype)
{
case CY_U3P_USB_EVENT_SETCONF:
/* Stop the application before re-starting. */
if (glIsApplnActive)
{
CyFxSlFifoApplnStop ();
}
CyU3PUsbLPMDisable();
/* Start the loop back function. */
CyFxSlFifoApplnStart ();
break;
case CY_U3P_USB_EVENT_RESET:
case CY_U3P_USB_EVENT_DISCONNECT:
/* Stop the loop back function. */
if (glIsApplnActive)
{
CyFxSlFifoApplnStop ();
}
break;
default:
break;
}
Hi,
Are you using the C++ Streamer? If not, please try using the C++ Streamer with an increased timeout value (say around 3500 ms.
Please keep the BURST_LEN paramater as 16 in cyfxslfifosync.h file.
Regards,
- Madhu Sudhan
got worse, bad packets more
please throw off the project, which build SF_loopback.img (September 18, 2013, 17:37:14) in debug