This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB954-Q1: Pattern generator

Part Number: DS90UB954-Q1
Other Parts Discussed in Thread: ALP

Hi team, I am working with a carrier board (JETSON) that has an NVIDIA module mounted running a Linux operating system. An FPGA that acts as a switch is connected to it to give way to six TI-954 deserealizers. Together with these, six TI-953 serealizers work together, to which data from different video cameras arrives.
I have the problem that the arrival of frames is cut off randomly. That is why I want to generate these generators of pratons so that you are sure that there is no communication problem.

I use the example from the 954 datasheet for the pattern generator but cannot display it, getting a green screen which means there is no video data. I wanted to know how I can visualize this color bar through the Ubuntu console. What is the command that I can use to see it?

  • Hello Adrian,

    It sounds like your question is about the Nvidia processor and how to display a certain screen resolution generated by the pattern generator? If so we can't help you here since we are only experts on the FPD-Link devices. If you need support on configuring a certain type of pattern from the FPD devices, then what I would suggest to utilize is the Analog LaunchPad software GUI which has a PATGEN tab that allows you to graphically configure the desired pattern you would like to display and can generate registers settings for you as well. You can find ALP here: https://www.ti.com/tool/ALP 

    Best Regards,

    Casey 

  • Hello, thank you for your quick response. I have seen that software but I needed to run it on linux. I'm going to see if I can find a way to use it anyway.

  • Hello Adrian,

    Even if you can't connect to your device using the PC running ALP, you can at least generate the PATGEN registers settings through ALP using demo mode and then use those reg settings in your embedded code to save time. Just a recommendation :) 

    Best Regards,

    Casey 

  • It is a good option, I will take it into account, thank you very much!

    I take this opportunity to consult about the problem that I have which is the cut of the transmission of video images. Could it be due to channel saturation or errors in the configuration of the SERIALIZER-DESERIALIZER? 

  • Hello Adrian,

    Can you give more details on your system configuration? How many sensors going into the hub? What are the video rates and video formats for those videos? How many CSI-2 lanes are being used? What is the configured CSI-2 data rate?

    Best Regards,
    Casey 

  • Here I leave a diagram of the connection.

    A camera is connected to each serializer, and then also a single one of these, connected to port 0 in the deserializer. The physical connection is made using a 5 meter coaxial cable with a 50 ohm impedance that I understand is the correct thing to do.

    The video rate is 60 fps, YUY2 format,1824 x 940 pixeles, and 2 CSI-2 lanes are being used at 1.6 Mbps on the 954 side, and 2 Mbps on the 953 side.

  • Hello Adrian,

    Can I just clarify on one point above? 

    2 Mbps on the 953 side.

    What do you mean by this? What is the per-lane CSI-2 rate on the 953 side and how many CSI-2 lanes are used? 

    Best Regards,

    Casey 

  • Hello Casey, I clarify the last part of the message for a better understanding. Sorry if I explained wrong
    or forgot any information.

    The video rate is 60 fps, YUY2 format,1824 x 940 pixels.
    The 954 uses 2 CSI-2 lanes with a rate of 1.6 Gbps per-line,
    and the 953 uses 4 CSI-2 lanes with a rate of 50 Mbps per-line because it operates in synchronous mode.
  • Hello Adrian,

    The 953 has a minimum per-lane CSI-2 rate of 80Mbps per the datasheet operating conditions. So 50Mbps lane rate may be part of the issue here. Can you please fix your 953 side configuration to ensure that the input CSI-2 lane rate is >=80Mbps/lane?

    I'm not sure your statement about the 953 CSI-2 rate makes sense because the video format 1824x940@60, YUV2 should take more bandwidth than 50Mbps/lane on the 953 CSI-2 input side 

    Best Regards,

    Casey 

  • Yes, your analysis is correct. Check and data on entry to 953 comes at 800 Mbps / lane. Sorry for the mistake and thank you.

  • Hello Adrian,

    Can you do a quick check when this issue occurs can you read back 0x4D and 0x4E registers in the 954? Also make sure to read them back after powering up the system and starting the image data to clear any transient errors. I'm trying to understand if your issue is losing LOCK or buffer error, etc. 

    Best Regards,

    Casey 

  • Hello, I followed the steps you told me, and the results of reading the registers after cutting the image are:

    • Register 0x4D: 0x33 
    • Register 0x4E: 0xFD
  • Hey Adrian,

    Just to be extra clear - you read the registers first to clear the transient errors, and then read them again to give the above?

    Best Regards,

    Casey 

  • Hello, I did that as you told me. I tell you the steps that I followed:

    Start a video stream and then read the registers to clean them. Once they were clean, they gave me the following values: ​​

    • Register 0x4D: 0x03 and register 0x4E: 0x0C

    Wait for the error to occur, transmission cutoff, and I got the following values:

    • Register 0x4D: 0x33 and register 0x4E: 0xED

    I clarify that for different tests the register 0x4E returns the value of 0xFD.

  • Hello Adrian,

    Ok so what the registers indicate clearly is that you are losing LOCK between the SER and DES at some point during transmission which is causing data errors or lost data. Can you please share some pictures of your setup so we can understand what the interconnects look like? It may also be useful to run the Margin Analysis program in ALP to help get a better picture of the link margin in your system or switch to a different cable to see if the issue improves: 

    https://www.ti.com/lit/pdf/snla301 

    https://www.ti.com/lit/pdf/snlu243

    Best Regards,

    Casey 

  • Hello Casey, I am sending you the photos that you asked me before.

                    

    The first photo shows the connection from the serealizer to a COAXIAL cable of 3 meter (RG58 A-U) ,and finally it goes to the deserealizer as seen in the second photo.

    I'm going to take your recommendation to change the cable, and I wanted to ask you which of these two that I have available would serve me (attached datasheets of each one).

    What type of cable do you recommend using, if these two do not work for me or to have other options, if I want to have a length of 15 m? And if I want a longer length?

    Thank you!

  • Hello Adrian,

    We typically recommend low loss high quality cable such as Dacar 302 or Dacar 462 for 954/953 links. If you are targeting 15m, then you need to get higher quality Dacar 302 cable here. From the two that are listed, they don't show any information about RF performance at frequencies up to 2GHz which is where the operating bandwidth of this link would be so it is difficult to comment on if they could work or not. 

    You can find more info about FPD-Link cable requirements here: 

    https://training.ti.com/basic-transmission-parameters?context=1134310-1139223-1134170

    https://training.ti.com/common-connectors-and-cables-automotive-applications?context=1134310-1139223-1134171

    https://training.ti.com/what-you-need-know-about-transmission-channel?context=1134310-1139223-1134173 

    I do suspect that the high speed channel between SER/DES is not meeting the requirements of the link which is why you are getting errors. I would suggest switching to Dacar 302 or similar cable and using a connector solution on the deserializer side which matches that of the serializer side which I believe is a Rosenberger Fakra connection 

    Best Regards,

    Casey 

  • Hi Casey,

    Thank you very much for your time and the advice you gave me. These days I will be doing tests and I will tell you the results.

  • Hello Adrian,

    Ok please let us know if you need any additional help 

    Best Regards,

    Casey 

  • Hello Casey, I wanted to say that you helped me a lot because I can have the camera on, sometimes, for about an hour.

    This was previously impossible because after a few seconds the connection dropped.

    However, there are times that when it starts up I lose the connection and then in the second attempt it works fine, or other cases that it remains good for about 10 or 15 minutes and then the connection is lost.

    I can think that maybe now it is not a LINK problem and it comes from the other side.

    Thank you.

  • Hello Adrian,

    What sort of support are you looking for exactly? If there is a technical problem you would like help with, can you provide specifics of the what you are seeing, what symptoms are occurring, and how you reproduce the issue? When you say connection is lost, do you mean that LOCK is permanently low?

    Best Regards,

    Casey 

  • Hi Casey,

    I read the registers you told me last time and I get the following values:

    • Register 0x4D: 0x17 and register 0x4E: 0xED

    I can see that in register 0x4D the LOCK is high because it is indicated by bit 0, but there is a change in it because it is indicated by bit 4. But my question is if there is no way to make it less sensitive and not to cut the connection, that is, to tolerate that error and continue to transmit video.

    I do not care if I lose a frame or decrease the quality, my main focus is that the connection is not cut and continues to transmit video tolerating errors. Can I do this by changing any settings in the internal registers?

    Thank you!

  • Hello Adrian,

    The most robust way to fix your issue is to resolve the SI component of your system since it sounds like the errors are coming as a result of temporary loss of LOCK. There's really no way to prevent LOCK from dropping if the SI is out of spec since the deserializer needs to be able to recover the link clock and encoding to be able to receive data and construct CSI-2 packets. By default the part will forward packets with errors if there are error coming as a result of link quality, but by the time you are getting loss of LOCK events, that means the SI is at a point where the video is un-recoverable - not just one or two pixel errors

    Best Regards,

    Casey 

  • Hi Casey,

    Thank you very much for your prompt response, but I don't understand what you mean when you say "solve the SI component of your system". What is the SI component?

    The rest of the message about the loss of the LOCK I understand perfectly.

  • Hello Adrian,

    SI means signal integrity. Basically I believe the problems here are a result of poor signal integrity between the SER/DES and would recommend switching the link to use Dacar style connectors on both sides per my previous comments 

    Best Regards,

    Casey 

  • Hi Casey,

    You were right and the problem came from the cable and the connectors used. I thank you very much for all your contributions.

    Greetings and thanks, Adrian!