cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

MaFa_974161
Contributor

Hello, I'm using FX3 device.

   

I'm using "USBBulkSourceSinkLED"

   

and I notice in rows 1004 ... 1011 this code:

   

 

   
/* Request to reset the FX3 device. */CyU3PUsbAckSetup ();CyU3PThreadSleep (2000); /* Delay for 2 seconds */CyU3PConnectState (CyFalse, CyTrue);CyU3PThreadSleep (1000); /* Delay for 1 second */CyU3PDeviceReset (CyFalse);CyU3PThreadSleep (1000); /* Delay for 1 second */
   

 

   

The delays between UsbAckSetup...ConnectState....DeviceReset are mandatory ?

0 Likes
1 Solution
Anonymous
Not applicable

If you are going to do a device reset then you suggest that you provide this threadsleep delay. If your next step is not device reset, then you can remove or reduce this time. Please let me know if you have noticed any different observation. 

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

If you are going to do a device reset then you suggest that you provide this threadsleep delay. If your next step is not device reset, then you can remove or reduce this time. Please let me know if you have noticed any different observation. 

View solution in original post

0 Likes