2 Replies Latest reply on Jan 18, 2016 9:25 PM by marat_1422721

    CYUSB3065 video with watchdog timer

    marat_1422721

      Is it possible to use watchdog timer with USB 3.0 video streaming?

         

      The watchdog can be successfully initialized but it cannot be cleared. When our device is connected to the USB 2 port then we can clear the watchdog timer to prevent watchdog reset.

         

      /* Entry function for the UVC application thread. */
          void
      esUVCUvcAppThread_Entry (
              uint32_t input)
      {
          uint16_t wakeReason;
          uint32_t eventFlag;

         

          /* Initialize the Debug Module */
          esUVCUvcApplnDebugInit();

         

          /* Initialize the UVC Application */
          esUVCUvcApplnInit();

         

          for (;;)
          {

         

              CyU3PSysWatchDogClear ();

         

              CyU3PEventGet (&glTimerEvent,ES_USB_SUSP_EVENT_FLAG|ES_TIMER_RESET_EVENT, CYU3P_EVENT_OR_CLEAR, &eventFlag, CYU3P_WAIT_FOREVER);

         

      With kind regards,

         

      Marat