Add a deterministic state transition when I customize AN75779?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi Cypress,

   

I am trying to customize the AN75779 to add in controls like snapshot or series of shots. 

   

I use FPGA as data source in place of the image sensor. The current UVC state machine runs continuously. 

   

When I implement a snapshot routine, is the following feasible? 

   

1) IIC_Write to FPGA to stop FV/LV, Disable GPIF with CyU3PGpifDisable

   

2) CyFxUvcAppGpifInit, CyU3PDmaMultiChannelReset, and CyU3PUsbFlushEp

   

3) CyU3PDmaMultiChannelSetXfer, CyU3PGpifSMStart at START_SCK0

   

4) IIC_Write to FPGA to capture frame and activate FV/LV into FX3. 

0 Likes
1 Solution
Anonymous
Not applicable

Yes, you can implement these in the FX3 firmware once you get any trigger/control. You need to check the status of the control, on which you can send I2C commands to FPGA and disable the GPIF. You can do a channel reset and start to capture the image. Please try and let us know if you get stuck anywhere. You can create a tech support case for further assistance 

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Yes, you can implement these in the FX3 firmware once you get any trigger/control. You need to check the status of the control, on which you can send I2C commands to FPGA and disable the GPIF. You can do a channel reset and start to capture the image. Please try and let us know if you get stuck anywhere. You can create a tech support case for further assistance 

0 Likes