2 Replies Latest reply on Oct 23, 2019 3:36 AM by LeGa_3963206

    AN75779 add a FPGA  between CYUSB3014 and sensor.Modify GPIF Designer from 8bit to 32bit.

    gawac_3795096

      I have problem converting AN75779 UVC example to interface with FPGA at 32bit.

      20190401-2.png

      How to modify firmware on AN75779 basis

        • 1. Re: AN75779 add a FPGA  between CYUSB3014 and sensor.Modify GPIF Designer from 8bit to 32bit.
          MaAr_2545856

          If the image sensor/ASIC has a 32-bit-wide data bus, you would need to change the GPIF II interface to accommodate the data bus. To accomplish this, take the following steps:

          1. Open the ImageSensorInterface.cyfx project in the GPIF II Designer. (This project may not be directly compiled.)

          2. Go to File->Save Project As.

          1. Save the project in a convenient location with a convenient name in the dialog box that will appear.
          2. Close the currently open project (File->Close Project).
          3. Open the project that was saved in step 3.
          4. Go to the Interface Definition tab and choose the 32 Bit option for Address/Data Bus Usage setting.
          5. Go to the State Machine tab.
          6. In the state machine canvas, double-click the LD_DATA_COUNT action inside the WAIT_FOR_FRAME_START state. Change the counter limit value to 4091.
          7. Do the same for LD_ADDR_COUNT action.
          8. Save the Project.
          9. Build the Project.
          10. Copy the newly generated cyfxgpif2config.h header file from the location selected in Step 3 to the firmware project directory. You will overwrite the existing cyfxgpif2config.h file if there is one. Find the firmware project directory, cyfxuvc_an75779, inside the zip file of the attached source. Note: If you are changing the GPIF II bus width to 32 bits, make sure the iomatrix configuration in the firmware has the isDQ32Bit parameter set to CyTrue.
          • 2. Re: AN75779 add a FPGA  between CYUSB3014 and sensor.Modify GPIF Designer from 8bit to 32bit.
            LeGa_3963206

            I also tried to do the same thing but FX3 stopped sending image after changes described above.

             

            What should be the length of data valid in case of 32-bit?

            Obviously there should be some limitation on length of pause between DV and probably between FV raise/fall and DV. What are they?