Jump to content
  • 0

 How to setup the MIPI D-PHY as to decode Pcam 5C camera signals with XDC PIN constraint setup and hardware design impact the XAPP894 of Xilinx mipi D-PHY Solutions 


Leonlin666

Question

Hello,

I'm using a Zybo Z7-20 board together with the Pcam 5C camera module and I have a question regarding the MIPI D-PHY settings in the Zybo-Z7-20-pcam-5c project.


We can't get the normal picture just only see the abnormal picture as below.
 image.png.e1519f3f2f2f5f0faeb68d119d3614b1.png
1>. We use an oscilloscope to see the hs_data0/1+-  waveform, But  can't see any waveform from hs_clk+-.

2>. After check the schematic and vivado of constrans that LP port which are not used the differential pairs.

image.thumb.png.875e72c1ee58bb23f8665200fd541b66.png

3>. The mipi port of bank35 isn't used 1V8 vooc.

image.thumb.png.02f5e22f1e0fe81a91d3882f75f87bed.png

4>.  if we want to use dual pcam-5c for  Zybo Z7-20 board for dual 1080p mipi cam,  Do you have any advice of PIN XDC constrans assignment configures? What are the settings for the MIPI D-PHY to decode the 2-lane MIPI signal received from the PCAM 5c camera board?

Kindly for you help to clarify the relation items in order to fix the issue。

I'm looking forward to hearing from you,

Best Regards,

Leon

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Hi,

Very thanks response as quickly!

We have used 2017.4 and 2019.1 Vivado for this project. Just now we download the project of 2021.1 Vivado version and checked that all of code which both are kept same than before versions(Eg. XDC PIN of constrain, bolck design) as below pic.

20220804235113.thumb.png.314a547b109ac75ab06d78256f815f4d.pngimage.thumb.png.b6f882304770dfa03a08366f4747914d.png

 

Now we want to do dual mipi cam(pcam-5c) base on currently zybo-z7 platform, So can we make the external convert b'd according to existing of pmod ports? If can that how to define the pin of assignment for new MIPI2? I think it shoule be related as my prevoius question.

#MIPI1 currently 
set_property PACKAGE_PIN G20 [get_ports {cam_gpio_tri_io[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {cam_gpio_tri_io[0]}]
set_property PULLUP true [get_ports {cam_gpio_tri_io[0]}]

set_property -dict {PACKAGE_PIN F20 IOSTANDARD LVCMOS33} [get_ports cam_iic_scl_io]
set_property -dict {PACKAGE_PIN F19 IOSTANDARD LVCMOS33} [get_ports cam_iic_sda_io]

set_property INTERNAL_VREF 0.6 [get_iobanks 35]

set_property -dict {PACKAGE_PIN J19 IOSTANDARD HSUL_12} [get_ports dphy_clk_lp_n]
set_property -dict {PACKAGE_PIN H20 IOSTANDARD HSUL_12} [get_ports dphy_clk_lp_p]

set_property -dict {PACKAGE_PIN M18 IOSTANDARD HSUL_12} [get_ports {dphy_data_lp_n[0]}]
set_property -dict {PACKAGE_PIN L19 IOSTANDARD HSUL_12} [get_ports {dphy_data_lp_p[0]}]
set_property -dict {PACKAGE_PIN L20 IOSTANDARD HSUL_12} [get_ports {dphy_data_lp_n[1]}]
set_property -dict {PACKAGE_PIN J20 IOSTANDARD HSUL_12} [get_ports {dphy_data_lp_p[1]}]

set_property -dict {PACKAGE_PIN H18 IOSTANDARD LVDS_25} [get_ports dphy_hs_clock_clk_n]
set_property -dict {PACKAGE_PIN J18 IOSTANDARD LVDS_25} [get_ports dphy_hs_clock_clk_p]

set_property -dict {PACKAGE_PIN M20 IOSTANDARD LVDS_25} [get_ports {dphy_data_hs_n[0]}]
set_property -dict {PACKAGE_PIN M19 IOSTANDARD LVDS_25} [get_ports {dphy_data_hs_p[0]}]
set_property -dict {PACKAGE_PIN L17 IOSTANDARD LVDS_25} [get_ports {dphy_data_hs_n[1]}]
set_property -dict {PACKAGE_PIN L16 IOSTANDARD LVDS_25} [get_ports {dphy_data_hs_p[1]}]

 

I'm looking forward to hearing from you,

Best Regards,

Leon

Link to comment
Share on other sites

  • 0

Hi,

Kindly for you help to give your concerning as well as possible.

Now we want to do dual mipi cam(pcam-5c) base on currently zybo-z7 platform, So can we make the external convert b'd according to existing of pmod ports? If can that how to define the pin of assignment for new MIPI2?  And any potential issue need to note?

Best Regards,

Leon

Link to comment
Share on other sites

  • 0

Hi @Leonlin666,

I do not think this will be possible to do. The existing MIPI connector was designed to implement a compatible D-PHY receiver as per XAPP894 from Xilinx (more details about this are available on the Zybo Z7 Reference Manual here: https://digilent.com/reference/programmable-logic/zybo-z7/reference-manual#pcam_port).

The Pmod ports have not been designed to meet these requirements. I suppose in theory it would be possible to route out the 8 data signals to a Pmod port (preferably with no series resistors) and make a custom adapter to physically connect to a second Pcam module, but I would not be surprised if implemented the Pcam did not work as expected (especially at higher clock rates for higher resolutions).

Thanks,
JColvin

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...