UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor aawce
Visitor
793 Views
Registered: ‎09-13-2018

mipi dsi tx core output clock is incorrect

Jump to solution

Hi,

 

I'm using the  MIPI dsi tx core, and setting it to 350MHz line rate.  However after implementing the design, the actual output clocks are divided by 4, that is I only see ~87Mhz on oscilloscope, and Vivado clock report says the same. 

 

Here's the DSI-TX configuration (note 350Mbs Line Rate):

 

mipi-dsi-tx-line-rate-setting.png

 

And here's Vivado clock report:

 

clock-report-incorrect-mipi-clock.png

 

When probing into the implemented netlist I see the bitslice is implemented a divide by 4.  Why is this and how do we fix it so we get the rate we are specifying?

 

Thanks,

Chris

 

 

 

 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
683 Views
Registered: ‎03-30-2016

Re: mipi dsi tx core output clock is incorrect

Jump to solution

Hello @aawce

Per our conversation via email, it seems that you have solved your problem. Thank you very much for your effort.

1. This is not a bug of MIPI DSI TX IP.
   For line-rate setting less than 600Mbps, MIPI D-PHY is adopting oversampling mode to run the MIPI D-PHY core with different mode depending on line-rate.
   With 350Mbps setting, all clock from PLL output has an expected frequency.
   ( Shown in your previous post clkoutphy_out_DIV=87.5MHz is also expected)
     XF_20181022_CHRIS_DPHY.png

2. MIPI DSI TX timing register setting will not affect MIPI D-PHY serial clock output frequency.
   So, MIPI D-PHY clock is always 175MHz ( 350MHz/2), if we set line-rate as 350Mbps.
   
3. Issue is solved after MIPI DSI TX timing register modification, so HFP/HBP value can meet the Display spec requirement.

Thanks & regards
Leo

0 Kudos
5 Replies
Xilinx Employee
Xilinx Employee
756 Views
Registered: ‎03-30-2016

Re: mipi dsi tx core output clock is incorrect

Jump to solution

Hello Chris @aawce

@chrisar

 

1. MIPI is using DATA_WIDTH=8, so DIV_MODE=4 is an expected setting. (no issue on this)

2. 87.5 MHz is also an expected PLL clock output.

    You should be see clock connectivity as shown at diagram below.

 

XF_DPHY_MMCM.png

3. But I think I do see some unexpected byteclkhs  configuration for

    dphy_tx_fab_top & dsi_tx_ctrl_0. Let me check with MIPI team and give you a feedback on this.

XF_DSI_CLOCK.png

 

Thanks & regards

Leo

 

 

 

Xilinx Employee
Xilinx Employee
747 Views
Registered: ‎03-30-2016

Re: mipi dsi tx core output clock is incorrect

Jump to solution

Hello @aawce

 

4. You should see 350/2=125 MHz clock serial line. ( Note that MIPI clock is a DDR )

    I confirmed that using 350Mbps setting, the txbyeclkhs is 87.5/2MHz, which is not an expected value.

 

I cannot give you a feedback today, since today is a National holiday for our MIPI team.

Please wait until tomorrow.

 

Thanks & regards

Leo

 

0 Kudos
Xilinx Employee
Xilinx Employee
684 Views
Registered: ‎03-30-2016

Re: mipi dsi tx core output clock is incorrect

Jump to solution

Hello @aawce

Per our conversation via email, it seems that you have solved your problem. Thank you very much for your effort.

1. This is not a bug of MIPI DSI TX IP.
   For line-rate setting less than 600Mbps, MIPI D-PHY is adopting oversampling mode to run the MIPI D-PHY core with different mode depending on line-rate.
   With 350Mbps setting, all clock from PLL output has an expected frequency.
   ( Shown in your previous post clkoutphy_out_DIV=87.5MHz is also expected)
     XF_20181022_CHRIS_DPHY.png

2. MIPI DSI TX timing register setting will not affect MIPI D-PHY serial clock output frequency.
   So, MIPI D-PHY clock is always 175MHz ( 350MHz/2), if we set line-rate as 350Mbps.
   
3. Issue is solved after MIPI DSI TX timing register modification, so HFP/HBP value can meet the Display spec requirement.

Thanks & regards
Leo

0 Kudos
Visitor aawce
Visitor
664 Views
Registered: ‎09-13-2018

Re: mipi dsi tx core output clock is incorrect

Jump to solution

Hi Leo,

 

Yes, thank you.  I'm not sure how we were seeing the slower 87MHz clock on the output, but now that we have corrected the Horizontal and Vertical porch timings for the display we see correct operation (consistent 175MHz on the clock lines for 350Mbs DSI MIPI rate).

 

To confirm, we got confused by the Vivado clock report saying 87MHz for txbyteclkhs and now that you have provided how the D-PHY implements oversampling, we now confirm correct implementation and Vivado logs for the design.

 

Thank you your help.

 

-Chris

0 Kudos
Highlighted
Moderator
Moderator
656 Views
Registered: ‎11-09-2015

Re: mipi dsi tx core output clock is incorrect

Jump to solution

HI @aawce,

 

As this is now clear for you, could you kindly close the topic by marking @karnanl's reply as accepted solution (click on accept as solution below the reply while logged in)?

This might help other members having the same question.

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**