Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Who rated this article

Who rated this article

lock attach
Attachments are accessible only for community members.

EZ-USB™ SX3 HDMI 4K Capture Card Solution Demo Kit

Chelladurai
Community Manager
Community Manager
Community Manager
100 sign-ins 50 questions asked 50 sign-ins

What is EZ-USB™ SX3 HDMI 4K Capture Card?

 

EZ-USB™ SX3 HDMI 4K Capture Card is a USB Video Class (UVC), USB Audio Class (UAC) compliant capture card which is ideally suited for capturing video and audio from any HDMI source and supports up to 4K, 30fps/ 1080p, 60fps in YUV format video. It is based on Infineon® EZ-USB™ SX3, a USB3.1 peripheral controller, Lattice ECP5 FPGA and HDMI receiver IC.

Figure 1. SX3 HDMI RX 4K capture card block diagram

Chelladurai_0-1625834576527.png

Any HDMI source such as Laptop, Raspberry Pi, Gaming consoles, Android TV set-top box, media streaming devices like Amazon fire TV, Apple TV, and so on can be used with this kit. The “Microsoft Camera” application, e-CAMView, MPC-HC player or any UVC player application can be used to view this video on a USB Host. This is a form factor kit of size 26-mm × 75-mm.

The kit schematic, BOM, and board files are attached with this document. You can build customized board using these files.

The kit firmware configuration file includes the SX3 configuration and FPGA bit file which are attached with this document.

Figure 2. EZ-USB™ SX3 HDMI 4K capture card - Rev 01

Chelladurai_1-1625835037562.png

 

Figure 3. Type-C and HDMI receptacles of EZ-USB™ SX3 HDMI 4K capture card – Rev 01

 

Chelladurai_2-1625835097383.png

Follow the below steps to capture the 4K video from HDMI source using EZ-USB™ SX3 HDMI 4K Capture Card:

 

  1. Download and install EZ-USB SX3 Configuration Utility.
  2. Connect the EZ-USB™ SX3 HDMI 4K Capture Card Solution Demo Kit to USB 3 port of PC using a USB-C-to-A cable or a USB-C-to-C cable.
  3. Download the SX3 Configuration file (sx3_hdmi_4K_capture_card.zip) for EZ-USB™ SX3 HDMI 4K Capture Card from the attachment.
  4. Import the sx3_hdmi_4K_capture_card.zip file into SX3 Configuration Utility using the Import Configuration option.

     

    Figure 4. Import configuration option in SX3 configuration utilit

    Chelladurai_3-1625835318411.png
  5. Select USB boot mode using the boot mode selection switch (available on Rev 02 board).
  6. Program the configuration to the connected kit.

     

    Figure 5. Program configuration option in SX3 configuration utility

    Chelladurai_4-1625835417861.png
  7. Once the firmware and configuration files are loaded, select SPI boot mode using the boot mode selection switch (implemented on Rev 02 board).
  8. Disconnect and re-connect the USB cable.
  9. In Windows Device Manager, the kit will be visible as SX3 in the Cameras and Audio Inputs and Outputs section.

     

    Figure 6. SX3 devices in Device Manager after Enumeration

    Chelladurai_5-1625835510017.png
  10. Connect any HDMI source to the HDMI port of the kit using the supplied HDMI cable. The HDMI source will stream video and audio. The kit will capture the same and send it over the USB port to PC.
  11. To view the video from HDMI source, run the Windows Camera application and choose SX3 in the Devices option. The video from the HDMI kit will be captured on PC screen.

     

    Figure 7. Video played on HDMI source viewed in Windows camera application

    Chelladurai_6-1625835603977.png
  12. To listen the audio from HDMI source, perform these steps:
    1. Open the Windows Control Panel.
    2. Click the Hardware and Sound icon.
    3. Click the Sound icon.
    4. Click the Recording tab.
    5. Double click on Digital Audio Interface- SX3.
    6. Click the Listen tab in the Digital Audio Interface Properties dialog box.
    7. Select the Listen to this device checkbox and click the Apply button. You should hear the audio from HDMI in Laptop speakers.
    8. Adjust your speaker volume.

Figure 8. Testing the audio from HDMI source

Chelladurai_9-1625836210865.pngChelladurai_14-1625837161691.png

 

Figure 9. Enable “Listen to this device” option to route audio from HDMI source to the speaker

Chelladurai_11-1625836360907.png

 

Steps to re-program the EZ-USB™ SX3 HDMI 4K Capture Card

 

In EZ-USB™ SX3 HDMI 4K Capture Card Revision 01, there is no provision available to change the boot option using PMODE pins. To re-program the board, the device will need to boot as USB Bootloader Device.

To erase the on-board firmware and to get back the device to bootloader mode, open the command prompt in the folder where HID_Sample_App.exe is located and enter the reset command as shown below:

HID_Sample_App.exe -vid 0x04b4 -pid 0x00c2 -reset

Replace the vid and pid values with corresponding vendor ID and product ID of the connected device. Once it is successful, the “Erase and Fallback to Bootloader is successful” message is displayed as shown in the below screenshot.

Figure 10: Reset the existing firmware using HID_Sample_App.exe

Chelladurai_12-1625836499567.png

 

Download the HID_Sample_App.exe file from the attachments. Once the board falls back to bootloader mode, follow the procedure from step 2 to program the device.

Additional learning resources:

Visit EZ-USB™ SX3 FIFO to USB 5 Gbps Peripheral Controller for additional resources like datasheet, and application note, configuration utility user guide.

Attachments with EZ-USB™ SX3 HDMI 4K Capture Card Solution Demo Kit:

  1. Schematic: SX3 HDMI 4K CAPTURE CARD Schematic.pdf
  2. BOM: SX3 HDMI 4K CAPTURE CARD _BOM.xls
  3. Board File: SX3 HDMI 4K CAPTURE CARD _layout.pdf
  4. EZ-USB SX3 Configuration File: sx3_hdmi_4K_capture_card.zip
  5. HID_Sample_App executable file: HID_Sample_App.zip

 

 

Author: Mitilesh                                           Version: **

Attachments
2970 Views
Who rated this article