background image

 

 

 

 

THDB-HDMI 

Terasic  HDMI  Video  Daughter  Board   

User  Manual 

Summary of Contents for THDB-HDMI

Page 1: ...1 THDB HDMI Terasic HDMI Video Daughter Board User Manual...

Page 2: ...Block Diagram of HDMI Signal Receiving 10 2 5 Generate Pin Assignments 11 2 6 Pin Definition of HSTC Connector 13 Chapter 3 Demonstration 21 3 1 Introduction 21 3 2 System Requirements 21 3 3 Setup t...

Page 3: ...e written in Verilog and C for HDMI signal transmitting and receiving Based on reference designs users can easily and quickly develop their applications 1 1 1 1 A Ab bo ou ut t t th he e K KI IT T Thi...

Page 4: ...1 2 shows a HDMI daughter board connected to the HSTC connector of DE3 Due to high speed data rate in between users are strongly recommended to screw the two boards together Note Do not attempt to con...

Page 5: ...nnector HDMI Transmitter Features 1 HDMI 1 4 transmitter 2 Compliant with HDMI 1 3 HDMI1 4a 3D HDCP 1 4 and DVI 1 1 specifications 3 Supporting link speeds of up to 2 25 Gbps link clock rate of 225MHZ...

Page 6: ...ble HDMI output current level 13 MCLK input is optional for audio operation Users could opt to implement audio input interface with or without MCLK 14 Integrated pre programmed HDCP keys 15 Purely har...

Page 7: ...lved clocked with both rising and falling edges o Input channel swap o MSB LSB swap 6 Bi direction Color Space Conversion CSC between RGB and YCbCr color space with programmable coefficients 7 Up down...

Page 8: ...30 36 13 5 27 65 74 25 74 25 108 148 5 12 15 18 Separate 13 5 27 65 74 25 74 25 YCbCr 4 4 4 24 Separate 13 5 27 65 74 25 74 25 108 148 5 162 30 36 13 5 27 65 74 25 74 25 108 148 5 12 15 18 Separate 1...

Page 9: ...M MI I S Si ig gn na al l T Tr ra an ns sm mi is ss si io on n This section describes the block diagram of HDMI signal transmission Figure 2 3 shows the block diagram of HDMI signal transmission Pleas...

Page 10: ...ntrol the transmitter 1 Reset the transmitter from the TX_RST_N pin 2 Initialize the transmitter through the I2C interface 3 Polling the interrupt pin INT_N continuously If a HDMI sink device is detec...

Page 11: ...ause the pin PCADR is pulled low the transmitter I2C device address is set to 0x90 Through the I2C interface the host board can access the internal registers of receiver to control its behavior The re...

Page 12: ...ver port every three seconds and activate it if no HDMI source device found on the current active port If a HDMI source device is detected o Perform HDCP authentication o Read the input video format i...

Page 13: ...12 3 Add HDMI Board 4 Connect DE3 and HDMI Board by drag and drop the mouse...

Page 14: ...This section describes pin definition of the HSTC interface onboard All the control and data signals of HDMI transmitter and receiver are connected to the HSTC connector so users can fully control the...

Page 15: ...14...

Page 16: ...15...

Page 17: ...16 Figure 2 5 HSTC Connector of HDMI board...

Page 18: ...X_GD 8 16 input Digital Video Output Pins RX_RD 1 17 input Digital Video Output Pins RX_GD 7 18 input Digital Video Output Pins RX_RD 4 21 input Digital Video Output Pins RX_HPD 1 22 output Enable Har...

Page 19: ...X_BD 9 71 input Digital Video Output Pins RX_BD 3 72 input Digital Video Output Pins RX_BD 2 75 input Digital Video Output Pins RX_BD 1 76 input Digital Video Output Pins RX_DE 77 input Data enable RX...

Page 20: ...CL 139 output I2 C Clock for DDC TX_PCSDA 140 inout I2 C Data for DDC TX_RST_N 141 output Hardware reset pin Active LOW TX_GD 3 142 output Digital video input pins TX_INT_N 143 input Interrupt output...

Page 21: ...ut TX_BD 2 170 output Digital video input pins TX_I2S 1 171 output I2S serial data input TX_BD 1 172 output Digital video input pins TX_I2S 2 173 output I2S serial data input TX_BD 0 174 output Digita...

Page 22: ...transmission including various video formats and color space There are 11 video formats available The color space includes RGB444 YUV422 and YUV444 Loopback Loopback Internal bypass the HDMI Video Au...

Page 23: ...rce Device x 1 HDMI Cable x 2 3 3 3 3 S Se et tu up p t th he e D De em mo on ns st tr ra at ti io on n Figure 3 1 and Figure 3 2 show how to setup hardware for transmission and loop back demonstratio...

Page 24: ...r on DE3 Make sure Quartus II is installed on your PC Execute the batch file hdmi_demo bat under the folder examples DE3_xxx_TX_RX demo batch HDMI Transmission Only After FPGA is configured please fol...

Page 25: ...1 to change the color space of pattern source The color space includes RGB444 YUV422 and YUV444 Figure 3 3 and Figure 3 4 show the test pattern of FULL HD 1920x1080p60 in RGB and YUV color space respe...

Page 26: ...HDMI TX port with a HDMI Cable Power on the LCD monitor and make sure the LCD monitor is set to the mode where HDMI input is the source Connect the HDMI source device and HDMI RX port with a HDMI Cab...

Page 27: ...ce RGB444 and 36 bits color depth Both input color and output color of the receiver and transmitter are configured as RGB444 In another words the color format doesn t change from the source to the LCD...

Page 28: ...ons Transmission only Generate HDMI Video Audio signals for transmission including various video formats and color space There are 11 video formats available The color space includes RGB444 YUV422 and...

Page 29: ...deo formats in three color spaces The source selector circuit is designed to select the desired video source between the video pattern generator and the video from the receiver Four LEDs and two BUTTO...

Page 30: ...nternal registers of the transmitter and control the behavior of the transmitter The NIOS program controls the transmitter to perform the following procedures step by step o Initialize the HDMI chip o...

Page 31: ...hip o Detect if a HDMI source device is attached or detached o Select one of the receiving ports and activate it o Read and parse the EDID content to find the capability of the HDMI source device The...

Page 32: ...describes the design flow and how Nios II processor controls transmitter and receiver Figure 4 2 shows the software stack of the NIOS program The I2C block implements the I2C read write functions base...

Page 33: ...ating a tone sound The folder named terasic_lib includes the I2C driver The folder named HDMI_Lib includes transmitter and receiver drivers The platform dependent functions are located in mcu c under...

Page 34: ...emories are created to store the NIOS program and data separately The size of each on chip memory is 128 K bytes One on chip memory is used to store program and the other one is used to store data The...

Page 35: ...If users would like to test audio during HDMI transmitting only mode please remove the constant definition TX_VPG_COLOR_CTRL_DISABLED from main c Users will hear a tone sound from the built in speake...

Page 36: ...2 JAN 04 2010 Figure 2 1 Corrected 1 3 MAR 09 2011 Support HDMI 1 4 1 4 AUG 01 2017 Contact Information 5 5 2 2 A Al lw wa ay ys s V Vi is si it t T TH HD DB B H HD DM MI I W We eb bp pa ag ge e f fo...

Page 37: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Terasic P0087...

Reviews: