Jump to content
  • 0

Unable to retrieve video from a PCAM example on a Zybo z7-10


makedestroyrepeat

Question

Hello,

 

I have been trying for a while to run this PCAM example that is provided by Digilent on a Zybo z7-10 board:

https://github.com/Digilent/Zybo-Z7-20-pcam-5c/releases

After spending significant amount of time looking for solutions, I have managed to fit the design on to the board (the initial example is for a zybo z7-20) by turning off the Debug module on the MIPI CSI-2 receiver module. I have successfully exported the hardware and managed to run the provided C++ code. Even though I am able to communicate with the camera module via UART, I can not seem to acquire any video output from it. All I get is a static noise pattern, despite of trying to pick different options from the C++ menus. I am able to see the resolution change and read out the camera's registers (which seem to be correctly set according to the libraries), but that's it.

IMG_20190912_115445.jpg.435f635e73bf95ac3ebfc93808e13805.jpg

 

What could I possibly be doing incorrectly? I see the same pattern on a different monitor and have previously tested the hdmi output from the board both through plain VHDL and the IP integrator, via the test pattern generator. I do not see any errors apart from the negative slacks in Vivado, which is a known issue..

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi @makedestroyrepeat,

Do you know what resolutions you selected? Based on the Pcam 5C demo, it appears that only the 1080P at 30Hz and the 720p at 60Hz are supported and selecting 1080p at 15Hz will cause problems if used. What size/resolution is your monitor that you have connected? Did you also choose the RAW mode as the Image Format?

Additionally, what version of Vivado and Xilinx SDK are you using so I can see if I can replicate this?

Thanks,
JColvin

Link to comment
Share on other sites

  • 0

Hey @JColvin,

 

I have tried all three available options for the resolution, giving the same result. I have also tried changing all the possible options like the image format, liquid lens focus, gamma correction, AWB and even though the zybo does not not spit out any errors, the result does not change. The screen does not even blink when I change these values, while if I change the resolution it does seem to re-adjust the timings properly, so that I receive the properly sized image, yet it consists only of noise.

For example, for the first resolution option (1920x720 60fps) the monitor seems to be receiving:

IMG_20190913_093435.thumb.jpg.edad4dc7ca1067d575f363f519047d22.jpg

 

I am using Vivado v2018.2 (64-bit) together with Xilinx SDK 2018.2 as required by the latest Zybo Pcam release:

https://github.com/Digilent/Zybo-Z7-20-pcam-5c/releases

 

Edit: I have also tried to import the hardware definition file from the Digilent's workshop for embedded vision:

https://resources.digilentinc.com/embeddedvisionworkshop_projectfiles/

yielding the same result and have compared the software files between the examples and the ones that are used in my project and found no significant differences. Could this indicate a hardware problem (faulty board/camera)?

Edited by makedestroyrepeat
updates
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...