一、Introduction

Product introduction

HDMI-TO-MIPI-CSI Drive Board

The HDMI-TO-MIPI-CSI drive board uses the video bridge chip RK628D, which can realize the conversion requirements of HDMI video signal to MIPI CSI signal, greatly simplify the hardware design, improve the hardware design efficiency, and save the overall cost. It can be applied to intelligent micro projector, intelligent display screen, video acquisition and conversion products.

_images/rk628d_front.jpg

Shipping list(Only for references)

_images/rk628d_shipping_list_en.png

Specifications

  • Size: 43.5mm * 30 mm

  • HDMI RX Interface:

    • Compliant with HDMI 1.4/HDMI 2.0

    • Supports 8/10bit per component video format

    • Supports rgb888/yuv420

    • Supports Max resolution 4K@60fps (yuv420)

  • MIPI CSI Interface:

    • Compliant with MIPI DPHY V1.2

    • Support Format: YUV422

    • Main Support Resolution:3840x2160@30fps,1920x1080@60fps,1280x720@60fps,720x480@60fps

  • LINEOUT Interface:

    • Same audio output: 3.5mm headphone interface * 1, 3P-2mm * 1, 2P-1.25mm * 1

Interface Definition

_images/rk628d_interface.jpg

Line Out: Output the analog signal processed by the sound card to the audio device through this interface.

二、Usage

See the Compile the firmware section for the embedded board support list.

Hardware connection

RK3566/RK3568/RK3588/RK3588S Series Embedded Board

_images/rk628d_connection.jpg

RK3399 Series Embedded Board

_images/rk628d_connection_30p-to-24p.jpg

Note:
1. Operate this step when the drive board and development board are in power off state to avoid burning them.
2.If the RK3399 series embedded board has two MIPI CSI interfaces, it is connected to MIPI CSI0 by default.

Android uses HDMI-IN

HdmiIn2 application is built in the system by default, as shown in the figure:

_images/rk628d_HdmiIn2.png

Click to enter the application, the interface will display HDMI-IN video, and the audio will be output from LineOut on the driver board. The application supports the maximum output resolution 3840x2160@30fps .

Linux uses HDMI-IN

Run the following script on the device:

#!/bin/bash

export DISPLAY=:0
export XAUTHORITY=/home/firefly/.Xauthority
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/aarch64-linux-gnu/gstreamer-1.0
WIDTH=1920
HEIGHT=1080
SINK=xvimagesink

gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=${WIDTH},height=${HEIGHT} ! videoconvert ! $SINK &

wait

三、Firmware and Resource download

Related documents and firmware download, see the official website Resource Download

四、Tutorial

Compile the firmware

RK3566 platform

System Board
Android11.0 AIO-3566JD4, ROC-RK3566-PC
Ubuntu20.04 AIO-3566JD4, ROC-RK3566-PC

RK3568 platform

System Board
Android11.0 AIO-3568J, ROC-RK3568-PC, ROC-RK3568-PC SE
Ubuntu20.04 AIO-3568J, ROC-RK3568-PC, ROC-RK3568-PC SE

RK3588 platform

System Board
Android12.0 ITX-3588J, AIO-3588Q

RK3588S platform

System Board
Android12.0 AIO-3588SJD4, ROC-RK3588S-PC