1 Reply Latest reply on Jul 31, 2017 9:49 PM by nisa

    Delay in USBBulkSourceSinkLED example

    user_193279881

      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 ?