Playing with HDMI2.1 source testing [Specification interpretation]
HDMI (High Definition Media Interface) is widely used in consumer electronic products (such as TVs, set-top boxes, projectors, etc.) because it can transmit video and audio data at the same time, has simple connections, and has good compatibility. The HDMI system can be divided into four categories: Source, Sink, Cable, and Repeater. In order to ensure good compatibility of these devices, the specification has made signal integrity requirements for electrical signals.
Currently, the mainstream HDMI standards on the market are 1.4b and 2.0, which support maximum resolutions/refresh rates of 4K@30Hz and 4K@60Hz, respectively. With the increasing demand for higher resolutions and refresh rates, the HDMI Association launched HDMI 2.1 in November 2017, adding the FRL (Fixed Rate Link) mode to support 8K@60Hz and 4K@120Hz.
Scan the QR code to perform HDMI
Test Instrument configuration for the solution
Long press to identify the QR code
FRL mode
The specific changes of FRL are: 1) The independent clock signal of the HDMI interface is embedded in the data, and the clock is recovered by a clock recovery unit at the receiving end; 2) There are up to 4 channels for transmitting audio and video data, and each channel supports a maximum rate of 12Gpbs; 3) The encoding method is changed from 8b/10b to 16b/18b, which has higher encoding efficiency.
The physical form of the interface has not changed. The original TMDS Clock channel is redefined as FRL lane 3; TMDS Data 0/1/2 correspond to FRL lane 0/1/2 respectively, as shown in the following figure.
In FRL mode, there are only 3 lanes and 4 lanes working modes. In the 3 lanes working mode, only 3 Gbps and 6 Gbps rates are supported. In the unused Lane3, both the source and sink need to use differential 50Ω~150Ω terminations. In the 4 lanes working mode, four rates of 6/8/10/12 Gbps are supported.
HDMI2.1 Source和Sink的Link Training Procedure
The Source must first read the Sink's EDID (EDID is a storage space with an I2C address of 0xA0/0xA1 and a length of 256 bytes, containing information such as the resolution and maximum rate supported by the Sink), and output the resolution/rate supported by the Sink. The Source cannot output a resolution/rate that is not supported by the Sink's EDID.
For Sinks that support HDMI2.1, SCDC_Present must be set to 1 in the HF-VSDB corresponding byte of EDID. The Max_FRL_Rate setting range is 1 to 6. The number 0 means that FRL mode is not supported. Other values are reserved. Set Sink version to 1 in SCDC.
The specific meanings of the Max_FRL_Rate values are as follows: the number 1 means that only the 3Gbps rate in the 3 lanes mode is supported, and other rates and lane configurations are not supported; the number 3 means that the 3Gbps and 6Gbps rates in the 3 lanes mode are supported; the 4 lanes mode only supports the 6Gbps rate, and other rates are not supported. The meanings of other numbers are similar.
SCDC is a storage space with I2C address 0xA8/A9, which is used for Source and Sink to communicate and exchange status and control information. Some bytes can be read and written by both Source and Sink. Unlike EDID, EDID is read-only for source. During the communication between HDMI2.1 Source and Sink, information such as Sink version, Update Flags, Sink Configuration, and Status Flags will be used.
>>> Link Training is required when the Source and Sink supporting FRL mode establish a connection for the first time. Link Training is also required to update the FRL rate.
The first training will go through 4 link training states in sequence:
Source TX tests are all completed in the LTS:3 state. The test equipment sets SCDC FLT_no_timeout to 1, so that the source will not exit the FRL LT state when it exceeds LT Tflt = 200ms. The test items require pattern and FFE level to be requested and issued in this state.
When Link updates FRL rate, the state LTS:4 Update FRL_Rate is used; when Link training fails or times out, the state LTS:L Legacy TMDS is entered. Source and Sink work in TMDS mode, which is HDMI1.4b/2.0 mode. The Link training state transition can also be seen in the figure below.
HDMI2.1 FRL test project requirements and solution configuration
project |
HDMI1.4b/2.0 |
HDMI2.1 |
Pattern |
There is no pattern requirement, just output the corresponding resolution |
A corresponding pattern is required, and a total of 8 Link Training Patterns are defined, which are abbreviated as LTP1 to LTP8. Among them, LTP5 is only transmitted on FRL Lane 0, and LTP6/7/8 correspond to FRL Lane 1/2/3 respectively. |
Crosstalk |
THAT |
When calculating the eye diagram, the crosstalk introduced by other lanes needs to be considered. |
Data Rate |
The rate of the 1.4b test corresponds to the resolution. The commonly tested rates are 0.27 / 742.5 / 1.485 / 2.97 Gbps The speed of 2.0 test corresponds to the resolution, and the commonly tested rates are 3.71/4.45/5.94Gbps 2.1 The test signal rate and resolution are different, the rate is fixed at 3 / 6 / 8 / 10 / 12Gbps Take the eye diagram as an example: 1.4b requires testing of eye diagrams at all rates. 2.0 and 2.1 only require testing the eye diagram at the maximum and minimum rates. |
Since the FRL mode supports a maximum rate of 12Gbps, the oscilloscope bandwidth is required to be no less than 23G. There are two configuration methods to meet different customer needs; in addition, an HDMI2.1 fixture is required, and the EDID/SCDC controller also needs to support HDMI2.1 to achieve automated testing.
Configuration 1: Using SMA cable method
Two DPO 70000 SX oscilloscopes are synchronized using UltraSync cable, which can adjust the skew of all channels to within 1ps, ensuring the synchronization of all single-ended signal acquisition. The connection between the fixture and the oscilloscope uses SMA cable, which supports the simultaneous acquisition of 4 lane FRL signals. The test process does not require changing the hardware connection, the signal path is not attenuated, and the test speed is fast.
Configuration 2: Using Tri-mode probe P76/77xx
P76/77xx probes can be connected to the fixture with an SMA adapter.
Using the characteristics of the Tri-mode probe, the oscilloscope automatically controls the probe to work in single-ended mode A-GND and B-GND, completing the acquisition of the 4-lane FRL signal in multiple times. The test process does not require changing the hardware connection. The connection diagram is as follows. The oscilloscope will automatically de-embed the probe to eliminate the influence of the probe on the signal.
Tekexpress FRL Settings
The FRL mode test software is Tekexpress FRL, and the software interface is as follows. According to the technical specifications of the product to be tested, select the minimum and maximum supported rates. Select the lane to be tested in Multi-lane setup. Select the corresponding test items in the Test Selection interface. The test items no longer distinguish between single-ended and differential, because the test solution can automatically realize the acquisition of all single-ended signals and the operation of differential signals.
Regardless of the configuration used, the FRL signal can be quickly verified using Tektronix automated test solutions.
Scan the QR code or click to read the original text to learn more!
Follow Tektronix Service Account
Tektronix officially launches the "Expert Appointment" service, enjoy one-on-one consultation with technical experts! Play the test and measurement circle with Tektronix!
For more information about our products and applications, you can also contact us via the following methods:
Email: china.mktg@tektronix.com
Website: www.tek.com.cn
Tel: 400-820-5835 (Monday to Friday 9:00-17:00)
Bring your inspiration to life
We provide professional measurement insights to help you improve performance and turn possibilities into reality.
Tektronix designs and manufactures solutions that help you test and measure solutions, breaking through the barriers of complexity and accelerating your global innovation. Together, we can help engineers at all levels create and realize technological advances more easily, faster, and more accurately.
Click "Read Original Text" to learn more!
Featured Posts
- Shanghai Hangxin ACM32F070 development board + serial port
- Continuingfromthelastreview,thelinkisasfollows: https://en.eeworld.com/bbs/thread-1221177-1-1.html Theseareskippedfornewconstructionprojects. Preparetheserialportassistant: Theinterfaceisasfollows: Theseareall
- meiyao Domestic Chip Exchange
- [2023 DigiKey Contest Participation Award] Unboxing Raspberry Pi SBC4 + RP2040 Development Board
- Ilookedaroundfora300yuanbonusandonlyRaspberryPihasthebestvalueformoney. Digi-Key'spackagingisasbeautifulasever.Thepackagingisalargefoamairbag,andeachcomponenthasanindependentanti-staticpackaging.
- 老杰瑞 DigiKey Technology Zone
- How to find MSP430 program examples on TI's official website
- TakeMSP430Fr6972asanexample: 1)EntertheTIofficialwebsite:http://www.ti.com.cn/ 2)Enter:msp430fr6972inthesearchbarandclickgoon 3)Clickthefirstsearchresult(usuallythefirstoneisfine,youcantryit). 4)Clickthered
- 火辣西米秀 Microcontroller MCU
- Unboxing of "Lane Change Racing: China's Road to New Energy Vehicles"
- BeforetheChineseNewYear,Iparticipatedinaneventcalled"Atrialreadingof"LaneChangingRacing:TheChineseRoadofNewEnergyVehicles""(https://en.eeworld.com/bbs/elecplay/content/fca773bd). Ireceivedthebooklastweekandwant
- nemon Automotive Electronics
- 28335 Is there a similar program I can refer to for the design of a three-closed-loop servo control system for a brushless DC motor?
- 28335programsimilartotheoneforreference Youcangotothedownloadcentertosearchforrelevantinformation.download.eeworld.com.cnYoucanrefertoTI'scontrolSUITE,whichcontainsverycomprehensivemotorcontrolandservo-relatedsou
- yiyiyiyiyi Motor Drive Control(Motor Control)
- [DigiKey "Smart Manufacturing, Non-stop Happiness" Creative Competition] Raspberry Pi PLC+HMI simple-demo
- Finally,wecometothedevelopmentprocessontheRaspberryPi4B.TheUbuntu2204ltsversionoftheLinuxOSimagehasbeendeployedwhenitisunpacked.Herewecandirectlyenterthedeploymentanddevelopmentoftheapplicationsoftwaresy
- ly87802541 DigiKey Technology Zone