HDMI 2.1 RX Subsystem Interrupt Controlling Layer - 1.2 English

HDMI 2.1 Receiver Subsystem v1.2 Product Guide (PG351)

Document ID
PG351
Release Date
2023-10-31
Version
1.2 English

The following table shows the mapping between the HDMI 2.1 RX, HDMI 2.1 RX SS interrupts and HDMI 2.1 RX interrupt controlling layer events that trigger state transitions.

Table 1. Interrupt Sources and Application Interrupt Controlling State Machine Layer Mapping
HDMI 2.1 RX Interrupts HDMI 2.1 RX SS Callback HDMI 2.1 RX Interrupt Controlling Layer Event Label
HPD XV_HDMIRXSS1_HANDLER_CONNECT

XV_RX_HDMI_EVENT_DISCONNECTED

XV_RX_HDMI_EVENT_CONNECTED

A

B

Video Ready

Note: It is edge triggered

XV_HDMIRXSS1_HANDLER_STREAM_UP

XV_HDMIRXSS1_HANDLER_STREAM_DOWN

Video Ready rising edge: Stream Up

Video Ready falling edge: Stream Down.

XV_RX_HDMI_EVENT_STREAMUP

XV_RX_HDMI_EVENT_STREAMDOWN

C

D

 

XV_HDMIRXSS1_HANDLER_STREAM_INIT

Note: This callback function is not directly mapped to any interrupt source. Instead it is executed when the stream is detected and the HDMI PHY Controller /HDMI GT Subsystem is stabilized for the HDMI 2.1 RX Subsystem to start stream locking.

XV_RX_HDMI_EVENT_STREAMINIT E
FRL

XV_HDMIRXSS1_HANDLER_FRL_CONFIG

XV_HDMIRXSS1_HANDLER_FRL_START

XV_HDMIRXSS1_HANDLER_TMDS_CONFIG

XV_RX_HDMI_EVENT_FRLCONFIG

XV_RX_HDMI_EVENT_FRLSTART

XV_RX_HDMI_EVENT_TMDSCONFIG

F

G

H

HDMI Receiver Auxiliary Infoframe Interrupt XV_HDMIRXSS1_HANDLER_AUX XV_RX_TRIG_HANDLER_AUXEVENT  
HDMI Receiver Audio Interrupt XV_HDMIRXSS1_HANDLER_AUD XV_RX_TRIG_HANDLER_AUDIOCONFIG  
HDCP 1.4 Interrupt      
HDCP 1.4 Timer Interrupt      
HDCP 2.3 Timer Interrupt      
 

XV_HDMIRXSS1_HANDLER_HDCP_AUTHENTICATE

Note: This callback function is not directly mapped to any interrupt source. Instead it is executed when the HDCP authentication state machine has reached the authenticated state

   

The following figure shows the control flow of the HDMI 2.1 RX Subsystem interrupts received by the application. See the previous table for more details on the mapping of interrupts and events. The event LABEL from the previous table is marked as the event cause of state transitions in the following figure.

Figure 1. HDMI 2.1 Subsystem Interrupt Control

In the HDMI 2.1 RX Interrupt controlling layer each interrupt received from the HDMI 2.1 RX subsystem has its corresponding state. This allows the application to track the last received interrupt and control the behavior of HDMI 2.1 RX based on the next interrupt received. The application controls the flow of HDMI 2.1 RX subsystem interrupts from the connection of the RX cable to the disconnection of the RX cable.

The control of flow and transition from one interrupt state to another can be modified to accommodate a required level of leniency or strictness. The previous figure shows a minimalist and strict transition between the states.

The state transitions in the HDMI 2.1 RX interrupt controlling layer can be changed and updated depending on the extent of strictness of leniency that is needed in serving the interrupts from the HDMI 2.1 RX SS. The application implements a formal and minimal flow control of the interrupts.

The following is a description of the HDMI 2.1 RX states and transitions that are allowed on the state.

  • STATE CONNECTED – The state machine transitions to this state after receiving the connect interrupt from the HDMI 2.1 RX sub-system. Ideally, the transition to this state should happen only from the disconnected state.
  • STATE FRL CONFIG - The state machine transitions to this state after receiving the frl config request interrupt from the HDMI 2.1 RX sub-system. The state machine transitions to this state from all states except disconnect. In case of multiple frl config requests, each interrupt is serviced exclusively.
  • STATE TMDS CONFIG - The state machine transitions to this state after receiving the tmds config request interrupt from the HDMI 2.1 RX sub-system. The state machine transitions to this state from all states except disconnect. In case of multiple tmds config requests, each interrupt is serviced exclusively.
  • STATE FRL START - The state machine transitions to this state after receiving the frl start interrupt from the HDMI 2.1 RX sub-system. Ideally, the state machine should transition to this state from the frl config states. FRL start received on any other states is ignored.
  • XV_RX_HDMI_STATE_STREAMINITIALIZED - The state machine transitions to this state after receiving the Stream Init interrupt from the HDMI 2.1 RX sub-system. Ideally, you should expect the state machine to transition to this state from the Tmds Config, Frl Config or Frl Start states.
  • STATE STREAM ON - The state machine transitions to this state after receiving the stream up interrupt from the HDMI 2.1 RX sub-system. Ideally, the state machine should transition to this state from the stream Init state, however, it is possible to receive the stream up interrupt on other states as well.
  • STATE STREAM OFF - The state machine will transition to this state upon receiving the stream down interrupt from the HDMI 2.1 RX sub-system drivers. Transition to this state can happen from any state.
  • STATE DISCONNECTED – This is the default state to which the state machine is initialized. The state machine will transition to this state upon receiving the disconnect interrupt from the HDMI 2.1 RX sub-system drivers. Transition to this state must happen from every state.