cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
588 Views
Registered: ‎09-07-2019

4-virtual channel by MIPI D-PHY(v3.0)

I used mipi dphy in VCU118 xilinx FPGA board. i wanted to use 4-virtual channel function .

when opened 3-virtual channel , the function is success.

when opened 4-virtual channel , rx detected the frame is losted, and all 4 channel is losted.

How used it.

Pease give me some advance. thank you ~

0 Kudos
12 Replies
Highlighted
Xilinx Employee
Xilinx Employee
582 Views
Registered: ‎03-30-2016

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @lxxu 

Are you using MIPI D-PHY RX ? or MIPI CSI-2 RX Subsystem ?
MIPI D-PHY RX does not care about Virtual channel, so as long as bandwith is sufficient and errorsotsynch is not asserted, MIPI D-PHY RX should work.


Could you please share :
    1. your XCI file ( I want to check IP version, and configuration )
    2. your MIPI D-PHY RX register dump.

Thanks & regards
Leo

0 Kudos
Highlighted
Visitor
Visitor
570 Views
Registered: ‎09-07-2019

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Sorry, I don't think I described it clearly.

My TX is Xilinx FPGA MIPI D-PHY(3.0), RX is Hisilicon IC. 

FPGA send 4-virtual channel , RX parsing error. 

FPGA send 3-virtual channel, RX parsing is OK.

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

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @lxxu 

As I have mentioned above, MIPI D-PHY does not really care about Virtual channel.
Virtual Channel is part of MIPI CSI-2 spesification.
So, as long as INIT_DONE is asserted and bandwith is sufficient MIPI D-PHY TX should work.

You would like to start debugging from your MIPI CSI-2 TX IP.
     Are your CSI-2 IP setting the correct Virtual channel number ?
     Are they reporting any error ?
MIPI D-PHY TX only do converting byte data from your MIPI CSI-2 TX IP to serial data.

Could you please share :
      1. your XCI file ( I want to check IP version, and configuration )
      2. your MIPI D-PHY TX register dump.

Thanks & regards
Leo

Highlighted
Visitor
Visitor
545 Views
Registered: ‎09-07-2019

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @karnanl 

      I used virtual channel number is 0-3, and simulate PPI interface is OK.

      when 4-virtual channel, i used different data(monochrome screen data and colorbar data), that losted frame is different.

     Random 3 channel, the function is ok.

 

D-PHY register is config by mipi controller module(Synopsys).

Sorry, i did't send XCI file(the IP Line rate is 1G), because of network management。

My IP configuration blew, and my ip version is D-PHY(3.0)

D-PHY lane ==> 4;

line rate ==> 1000;

Data flow ==> TX;

Esc clk ==> 20.000;

LPX Period ==> 50;

HS Timeout ==> 65541;

Escape Timeout ==> 25600;

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

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @lxxu 

If your IP is working on simulation but not on HW, I would suggest to upgrade the IP.

You are using MIPI D-PHY IP from Vivado somewhere around 2016.3 or 2016.4.4
We don't recommend to use this IP version. Please upgrade to the latest version. ( 2018.1 or newer, 2019.2 if possible)

Regards
Leo

Highlighted
Visitor
Visitor
492 Views
Registered: ‎09-07-2019

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @karnanl ,

    i found this problem in HW, and wanted to recurrent in simulation.

    If you have others advance , please tell me . thank you ~

    Thank you for your advance, i will upgrade ip to test.

 

0 Kudos
Highlighted
Visitor
Visitor
456 Views
Registered: ‎09-07-2019

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @karnanl 

   i used xcvu9p-flga2104-2L-e-es1 in vivado 2016.3 version, now used 2018.3 version, but fpga in vivado only have xcvu9p-flga2104-2L-e.

   Are the two chip models the same ? the 'es1', is test IC? 

   xcvu9p-flga2104-2L-e-es1 IC load xcvu9p-flga2104-2L-e project bit file, OK?

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

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @lxxu 

>If you have others advance , please tell me . thank you ~

I have seen some bugs on older MIPI TX IP.
2018.1 is a stable version.

> Are the two chip models the same ? the 'es1', is test IC?

ES1 is Engineer Sample Chip.
ES device is for evaluation purpose only, you cannot use it for production.
I am very surprised that US+ ES device is still used.

>xcvu9p-flga2104-2L-e-es1 IC load xcvu9p-flga2104-2L-e project bit file, OK?

No, It will not work.


Do you have a board with production device ?

Regards
Leo

Highlighted
Visitor
Visitor
398 Views
Registered: ‎09-07-2019

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @karnanl ,

    Thank you for your help.

    These days, i efforts need to find the right platform, there really is no suitable environment to verify.

     Now, i only have xcvu9p-flga2104-2L-e-es1 IC. 

    If you have others advance, please tell me, thanyou ~~~

    Anyway, thank you very much for your help!

Highlighted
Xilinx Employee
Xilinx Employee
330 Views
Registered: ‎03-30-2016

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @lxxu 

Talked with our development team about this. We concluded that additional MIPI patch for 2016.3/16.4 cannot be provided.

One alternative is to use 2017.4 !
You are able to select your ES device using 2017.4. Please give it a try.

BTW, these ARs explain MIPI D-PHY TX problems that you might see using is you are using IP generated from Vivado 2016.4
https://www.xilinx.com/support/answers/69760.html
https://www.xilinx.com/support/answers/69671.html
https://www.xilinx.com/support/answers/69931.html
https://www.xilinx.com/support/answers/69766.html

Regards
Leo

0 Kudos
Highlighted
Visitor
Visitor
313 Views
Registered: ‎09-07-2019

Re: 4-virtual channel by MIPI D-PHY(v3.0)

hi @karnanl ,

   thank you ~ 

   i'm using 2018.3 vivado bitfile load to ES device. it works.

   But It's still abnormal. Probably not the cause of the D-PHY. 

    

    Recently, the outbreak has been severe. Protect yourself. 

     Wish good health~~~

 

Highlighted
Xilinx Employee
Xilinx Employee
304 Views
Registered: ‎03-30-2016

Re: 4-virtual channel by MIPI D-PHY(v3.0)

Hello @lxxu 

Thank you for the update.
If you see unexpected behavior of Xilinx MIPI IP, please share the ILA and register dump. I will be happy to help.
BTW, I see that 2018.3 MIPI CSI-2 TX IP is widely used and very stable IP (never heard any bug reported)

Please take care too ! Thank you.