cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

 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?

0 Likes
Reply
7 Replies
Anonymous
Not applicable

for test use streamer

0 Likes
Reply
Anonymous
Not applicable

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

0 Likes
Reply
Anonymous
Not applicable

 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

0 Likes
Reply
Anonymous
Not applicable

 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;

   

    }

0 Likes
Reply
Anonymous
Not applicable

 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

0 Likes
Reply
Anonymous
Not applicable

 got worse, bad packets more

0 Likes
Reply
Anonymous
Not applicable

 please throw off the project, which build SF_loopback.img (September 18, 2013, 17:37:14) in debug

0 Likes
Reply