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: 
Observer missjr
Observer
2,294 Views
Registered: ‎01-15-2018

how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

The HDMI tx do not have "field" signal for interlaced mode support, but HDMI rx did.

When i connect HDMI rx to HDMI tx with native mode, the HDMI analyzer show me "pixel repeat" error.

i had check pg235, but i dont know how to understand the section "Interlaced Video with Pixel Repetition".

If i want connect HDMI rx and tx? how to do it?

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
2,250 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

I have done some tests with KC705 TX only example design.I can see pixel repetition is enabled. 

pixel_rep.JPG

 

As per mentioned by @chrisar , you can use following to enable pixel repetition : 

AVIInfoFramePtr->PixelRepetition = XHDMIC_PIXEL_REPETITION_FACTOR_2;

 

I was able to reproduce the issue related to Hsync width. I will report this issue to factory.

 

BTW, I also notice you are trying to implement 8 color depth for YUV422, which isn't supported. We only support 12 bits color depth for YUV422. 

21 Replies
Xilinx Employee
Xilinx Employee
2,232 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr FID for HDMI TX is used for field input. 

0 Kudos
Observer missjr
Observer
2,223 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

the signal port in HDMI tx core do not have FID. 

however, the 1080i60 works well.  that makes me confusing.

i think there have something i misunderstanding. could you please give me a illustration more detailed?

0 Kudos
Xilinx Employee
Xilinx Employee
2,178 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

 

Please see the screenshot. If you still can't find FID, please attach your xci file for HDMI TX IP

HDMI_TX.GIF

0 Kudos
Observer missjr
Observer
2,169 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud i think you had generate HDMI tx core with AXI mode. now i'm using Native mode. i havent found the FID in both Vivado2016.4 and Vivado2017.4.

    attach file is the xci for HDMI tx. please help me have a look.

0 Kudos
Scholar watari
Scholar
2,155 Views
Registered: ‎06-16-2013

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

Hi @missjr

 

I guess that you need to adjust a relationship between hsync and vsync for supporting interlace, if you use native mode.

Because of like this format is pointed out by using a relationship between hsync and vsync insted of filed signal.

 

Best regards,

 

0 Kudos
Observer missjr
Observer
2,152 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@watari the 480i/576i format for SD comes from HDMI rx, but i think the format is properly, the field,hsync and vsync seems fine. we can convert the 480i/576i format from HDMI rx to SDI properly, but we cannot let HDMI tx works well. we had Altera SDI core for compare, when we set 480i/576i in HDMI tx, we should change oversampling from 5 to 10 to support pixel repeat. but i dont know how to set in Xilinx.

 

0 Kudos
Xilinx Employee
Xilinx Employee
2,130 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

 

Currently, HDMI TX doesn’t keep track of the field ID and drop unnecessary field. Users need to have their own logic to make sure the interlaced video are fed to HDMI TX accordingly. Otherwise, there are chances the field 1 from previous frame mixed with field 0 of current frame.

 

For more details, please refer to page 42-43 of PG235 : https://www.xilinx.com/support/documentation/ip_documentation/v_hdmi_tx_ss/v3_1/pg235-v-hdmi-tx-ss.pdf

 

 

Observer missjr
Observer
2,094 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud

    we got transfer status as below, i think the format is properly.hdmi status.png

 

but we got pixel repetition error as below:

pixel_rep_err_1.jpg

the image was not correct at display, so i want know how why the pixel repetition was not asserted?

 

0 Kudos
Xilinx Employee
Xilinx Employee
2,085 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

 

The software driver reports the Video timing information based on VIC code, so the timing in terminal is correct. From the screenshot, I can see your analyser can detect correct VIC code. It seems there is problem with the intervals between two hsync signals, and pixel repetition

 

Can you add hsync to debug signals, and measure it in ILA? If the hsync in ILA is measured as 128, there might be some problem with IP.

 

Can you attach your xci file, please? I will check if v2018.1 has this problem.

0 Kudos
Observer missjr
Observer
2,039 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud

 

    The HDMI tx xci file in upstairs. the version is vivado2016.4.

    I can use ILA for hsync problem confirm.

    if you need other xci file, please tell me.

0 Kudos
Xilinx Employee
Xilinx Employee
2,038 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

 

If you are still using 2016.4, please be aware there is a known issue for 576i :

https://www.xilinx.com/support/answers/68799.html

 

This issue was initially found in 2016.4, has been fixed in 2018.1.

 

It's known in 2016.4 that HDMI TXSS doesn't send Pixel Repetition information to the sink.

I strongly recommend you upgrade the version to 2018.1 if possible.

 

 

Observer missjr
Observer
2,035 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud

 

    Oh, thanks, i will update to newest version and have a try.

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

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

Hi @missjr,

 

Do you have any updates on this?

 

If 2018.1 solved your issue, please kinldly close the topic by marking @xud 's reply as accepted solution.

 

Thanks,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Observer missjr
Observer
1,966 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud

 

    I had update Vivado from 2016.4 to 2018.1.

    but i got some problem when we use pass thru for hdmi rx and tx. the event shows me the TX stream always up and down. before we update the vivado version, we dont have this problem.

    is hardly to compare the library between 2016.4 and 2018.1.

    does Xilinx have newset hdmi_example source file(such as xhdmi_example.c) can give me for compare?

    i can use the newset example code to verify with the new library which generate by hdf files. 

0 Kudos
Xilinx Employee
Xilinx Employee
1,964 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr Please refer to Chapter 5 of PG235/236, it helps you generating the new example design application in 2018.1

0 Kudos
Observer missjr
Observer
1,956 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud

 

    after a litter while, may be one minute, the HDMI tx can output video properly, but pixel repetition still not asserted in analyzer.

    the solution at https://www.xilinx.com/support/answers/70238.html shows the user must add pixel repetition logic to compy with HDMI specification.

    do we need it? if that's the case, how to add the pixel repetition logic by user?

 

0 Kudos
Xilinx Employee
Xilinx Employee
1,951 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

 

Can you provide following information?

- take a photo of HDMI analyser when using 2018.1 drivers I will also check if Hsync looks correct.

- xci for your HDMI TX

 

After I have above files, I will need to discuss with factory, and then get back to you.

0 Kudos
Observer missjr
Observer
1,943 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud

 

    the attached file have the photo for hdmi tx analysis, the pixel rep still not right.

    

hdmi_tx.png
0 Kudos
Xilinx Employee
Xilinx Employee
1,921 Views
Registered: ‎08-01-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

In 2018.1, the AUX Packet handling has been rewritten.  There is now a new set of APIs for setting all the necessary parameters in the AVI InfoFrame, including the Pixel Repetition.

 

You can find the code on how to set the Pixel Repetition in the TxStreamUpCallback function the TX Only Example Design Software xhdmi_example.c.

AVIInfoFramePtr->PixelRepetition = XHDMIC_PIXEL_REPETITION_FACTOR_2;

Chris
Video Design Hub | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
Xilinx Employee
Xilinx Employee
2,251 Views
Registered: ‎08-02-2007

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@missjr

I have done some tests with KC705 TX only example design.I can see pixel repetition is enabled. 

pixel_rep.JPG

 

As per mentioned by @chrisar , you can use following to enable pixel repetition : 

AVIInfoFramePtr->PixelRepetition = XHDMIC_PIXEL_REPETITION_FACTOR_2;

 

I was able to reproduce the issue related to Hsync width. I will report this issue to factory.

 

BTW, I also notice you are trying to implement 8 color depth for YUV422, which isn't supported. We only support 12 bits color depth for YUV422. 

Observer missjr
Observer
1,382 Views
Registered: ‎01-15-2018

Re: how to use pixel repetition in HDMI tx for 480i/576i support?

Jump to solution

@xud @chrisar

 

    Thanks for mention, we set the MAX BPC is 8, not 12, now we still working on intergration newr xhdmi_example.c to ou project, we will change the BPC to 12 later.

    And very appreciate for help us did the verify. We can follow the step by you comments to set the pixel repetition.

0 Kudos