1 Reply Latest reply on Oct 13, 2017 1:50 AM by gordon.tsai_2774976

    fx3 uvc with sensor ov7675 not working

    gordon.tsai_2774976

      Hi all

         I am working on CYUSB3KIT-003 kit with image sensor ov7675 currently, and using AMCap on PC

         I follow the instruction AN75779, and made some modify with the previous discussion

         Re: Cypress EZUSB FX3 to stream video from OV7670

         AN75779 modification - FX3 for streaming image sensor data

       

          Hardware setting:

          ov7675 is initialized by another device, so i2c function on fx3 is disabled

          only connect DQ[0-7]  PCLK  FV  LV to fx3

         since ov7675 default resolution is 640*480 so I connect the fx3 to usb 2.0 port on PC,

         according to the  AN75779, the uvc will switch to 640*480 automatically, and AMCap recognize this as well

       

        I enable the #define DEBUG_PRINT_FRAME_COUNT to check the status of frame receiving

        and using oscilloscope to check the FV and LV existing, and it does

        but i can't see any image on AMCap

       

        the debug info:

           most of the time:

           UVC: Completed 0 frames and 0 buffers

           UVC: Completed 0 frames and 0 buffers

           UVC: Completed 0 frames and 0 buffers

           UVC: Completed 0 frames and 0 buffers

       

          sometimes:

         Application Started

         UVC: Completed 0 frames and 0 buffers

         UVC: Completed 175 frames and 0 buffers

         UVC: Completed 363 frames and 0 buffers

         UVC: Completed 528 frames and 0 buffers

         UVC: Completed 727 frames and 0 buffers

         UVC: Completed 898 frames and 0 buffers

         UVC: Completed 1065 frames and 0 buffers

         UVC: Completed 1221 frames and 0 buffers

         UVC: Completed 1421 frames and 0 buffers

         UVC: Completed 1583 frames and 0 buffers

         DMA Reset Event: Commit buffer failure

         Application Stopped

       

        is anyone encounter the same problem?