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: 
Highlighted
Observer zionh
Observer
1,792 Views
Registered: ‎04-18-2018

mipi rx simulation

Hi,

 

I built design for simulation with 3 xilinx IP's: test pattern generator that connected to mipi csi-2 tx subsystem and the lanes is connected to mipi csi-2 rx subsystem.

i see the mipi tx block transmit data but the mipi rx block output is zeros,can you help me? (i attach my configuration file) 

second, how i can reduce simulation run time?

 

thx, 

Zion.

0 Kudos
10 Replies
Xilinx Employee
Xilinx Employee
1,752 Views
Registered: ‎03-30-2016

Re: mipi rx simulation

Hello Zion @zionh


Unfortunately, information you have provided is very limited, you will need to share more detailed information.

1. Checked your attachement, I do not know what the meaning of these numbers.
Could you please explain the meaning of these numbers ?
0x44a00004 0x00000003
0x44a00000 0x00000001
0x44a10000 0x00000001
0x44a10000 0x00000000
0x44a10008 0x000186A0
0x44a10010 0x00010005
0x44a10014 0x00006400
0x44a10030 0x00000100
0x44a10000 0x00000002

2. Could you please share your XCI files with us ?

3. Could you show us that MIPI CSI-TX is transmitting the correct data ?
- Initialization is done ?
- MIPI CSI-2 TX is ready to receive data ?
- Please check the line buffer full register.
- Please check the Pixel-Data under-run register.
( Any sim waveform to share ? )

 

Best regards
Leo

0 Kudos
Observer zionh
Observer
1,711 Views
Registered: ‎04-18-2018

Re: mipi rx simulation

Hi Leo,

first, thanks for your help.

my answers for your questions:

1.  The mipi csi-2 rx subsystem configuration registers.

2. I attach my archive project.

3. Initialization is done ? yes, see capture1

    MIPI CSI-2 TX is ready to receive data ? yes, see capture2

- I also attach my test pattern generator init file and mipi csi-2 tx subsystem init file.

 Thx,

Zion.

 

0 Kudos
Observer zionh
Observer
1,705 Views
Registered: ‎04-18-2018

Re: mipi rx simulation

Hi Leo,

Can you send me ftp link?

the size of archive project file is big.

Thx,

Zion.

0 Kudos
Xilinx Employee
Xilinx Employee
1,678 Views
Registered: ‎03-30-2016

Re: mipi rx simulation

Hello Zion @zionh

Thanks for sharing your MIPI sim waveform.
PS: Let me confirm with Forum Moderator on how to transfer big files with Forum user.

 

1. I need your XCI files. Could you please share that files with me.
   ( the files you have attached is a register setting )
  
2. You are using MIPI CSI-2 TX & RX Subsystem.
   At default, you do not have to access the MIPI D-PHY registers.
   I see that you set many default values, that is not necessary.
   All initialization procedure should be done from the TX/RX subsystem. Please fix that.

 

3. I see that your TX MIPI IP does not work as expected.

SIM_MIPI_ZIO.png

4. I see that that you triggered ULPS mode on TX side.
   Is this expected ? If not please fix.
      44a00000 0x00000001  <Core enable>
      44a00000 0x00000000  <Core Disable>
      44a00000 0x00000001  <Core enable>
      44a00000 0x00000009  <Triggered ULPS Entry>
      44a00000 0x00000001  <Core Enable>

 

5. HS_SETTLE is a setting for RX side, no need to set it for TX.
   Also, If you do not see any trouble on you system, I am suggesting to leave it as the default value on RX side.

 

6. Reading your register setting, I think you set the soft_reset=1 on RX side. Please set soft_reset=0 to run the IP.
0x44a10010  0x00010005  <HS TIMEOUT>
0x44a10014  0x00006400  <ESC TIMEOUT>
0x44a10030  0x00000100
0x44a10000  0x00000002

 

7. I believe you already have MIPI D-PHY and MIPI CSI-2 spesification.
   If you dont please dowload the pdf from mipi.org

 

Thanks & regards

Leo

0 Kudos
Observer zionh
Observer
1,671 Views
Registered: ‎04-18-2018

Re: mipi rx simulation

Hello Leo,

  1. I attach my XCI files.
  2. I fixed – and remove the not necessary registers.
  3. You right, I miss that.

 what can cause the problem?

  1. It not needed now and I remove that.
  2. I saw that the HS_SETTLE is a setting for Rx side and leave the default value.    
  3. As mentioned in PG202 Doc. the Dphy soft reset is in bit (0) and it set to ‘0’ (I attached the table from the Doc.) 

 0x44a10000  0x00000002

Thanks,

Zion. 

soft_reset.PNG
0 Kudos
Observer zionh
Observer
1,617 Views
Registered: ‎04-18-2018

Re: mipi rx simulation

Hi Leo,

the s_axis_tuser bus value was zeros, i fixed it, but still i have unexpected behavior of dphy tx signals.

i attach the IP's configuration and IP's configuration registers. 

test pattern generator configuration registers:

0x0010 0x00000870
0x0018 0x00000f00
0x0020 0x00000001
0x0028 0x00000000
0x0030 0x00000000
0x0038 0x00000000
0x0040 0x00000000
0x0048 0x00000000
0x0050 0x00000000
0x0058 0x00000000
0x0060 0x08700800
0x0068 0x00000000
0x0070 0x00000000
0x0078 0x00000000
0x0080 0x00000000
0x0088 0x00000000
0x0090 0x00000000
0x0098 0x00000000
0x0000 0x00000081

 

mipi csi-2 tx subsystem registers:

0x04 0x00008003
0x28 0x00000005
0x00 0x00000001
0x00 0x00000000
0x00 0x00000001

 

I will glad to your help and ftp link for attach my archive project.

 

Best Regard,

Zion.

tx_dphy.PNG
tpg_config.PNG
mipi_tx_ip.PNG
0 Kudos
Moderator
Moderator
1,473 Views
Registered: ‎11-09-2015

Re: mipi rx simulation

Hi @zionh,

 

I sent you an email to send you project. Please use the link provided.

 

Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Xilinx Employee
Xilinx Employee
1,450 Views
Registered: ‎03-30-2016

Re: mipi rx simulation

Hello @zionh  , Hello @florentw

 

If you can share the project, I will help to check your simulation.

 

Best regards

Leo

0 Kudos
Moderator
Moderator
1,356 Views
Registered: ‎11-09-2015

Re: mipi rx simulation

HI @zionh,

 

If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" buton below the reply)

If this is not solved/answered, please reply in the topic giving more information on your current status.

Thanks and Regards,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Observer zionh
Observer
606 Views
Registered: ‎04-18-2018

Re: mipi rx simulation

Hello Florent,

 

I only now see your response.

My problem don't solved yet and I will get back to it in two weeks, I will need yours support also.

 

Thx,

Zion. 

0 Kudos