F-Tile HDMI Intel® FPGA IP Design Example User Guide

ID 709314
Date 5/23/2024
Public
Document Table of Contents

3.9.2. Running the TX-Only Design

Before running the TX-only design, program the design, set the DIP switches, and adjust the clock settings according to the instructions in Compiling and Testing the Design.

For the TX-only design, the following video resolutions are supported:
Video Resolution Color Depth (Bits per components)
720x480p60 (Vic 2) 8
1280x720p60 (Vic 4) 8
1920x1080p60 (Vic 16) 8
3840x2160p30 (Vic 95) 8
3840x2160p60 (Vic 97) (Default) 8

The default resolution is 3840x2160p60 (Vic 97) 8 Bpc. Change the video resolution by following these steps:

  1. Modify the TPG_VIC define variable in main.c software file to configure TPG to the desired resolution.
  2. Modify the TX_MAX_FRL_RATE define variable in main.c software file to configure TPG to the desired FRL Rate (from 0 to 6).
  3. Rebuild the software and run the new .elf file as follows:
    1. Start a Nios® V Command Shell session.
    2. Change directory to /software/tx_control.
    3. Run the make. command.
    4. Download the .elf file with the following command:
      niosv-download <project directory> / software/tx_control/tx_control.elf -g -r -i 0
    5. Start a JTAG UART terminal session with the following command:
      juart-terminal -i 0
      This command generates output similar to the following example output:
      CVO 3840x2160P60_MODE DS125BR820 TX = 85
      DS125BR820 RX= 46
      HDMI TX initialization done
      Check TX hotplug:
      EDID Sink format support updated:
              Sink Name          = 00980 HDMI RX
              Y444 Support       = 1
              Y422 Support       = 1
              Max TMDS char rate = 600
              SCDC present       = 1
              Max FRL rate       = 6
      TX hotplug detected.
      TX TMDS Clock Freq = 74250000Hz, out5_divider = 0, out6_divider = 0
      Configure SI5391 OUT6 to frequency= 74250000 hz
      Preamble
      Configure OUTS
      Configure OUT6
      Configure OUTS
      Post-amble
      SI5391B [0x000C] = 0x00
      SI53918 Locked after reconfiguration
      Set TX FRL Rate = 6
      HDMI TX LTS: link_training_LTS3
      HDMI TX LTS: link_training_LTSP
      FRL: Completed link training
      software process done