====== HDMI to GMSL2: yCamSim-basic (YUV422/RGB888) ====== yCamSim-basic converts HDMI video to GMSL signal (YUV422/RGB888), usually used for video injection, ADAS algorithm validation, and device test. yCamSim-basic does not support RAW, for RAW injection, please see [[摄像头及视频源:hdmi转gmsl_支持raw输出| yCamSim-pro: HDMI to GMSL, support RAW8/10/12]]. ===== Block Diagram ===== yCamSim-basic converts HDMI video to GMSL signal. {{ :摄像头及视频源:whiteboard_exported_image_3_.png?direct&600 |}} As shown in above image, when connected to a PC or other video source, in normal working mode: * To the video source, yCamSim-basic is a "Display device" or "screen". * To the down-stream DCU/ADAS controller, it is a GMSL camera with configurable resolution. it is able to replace GMSL cameras(with ISP) module, to inject video. Signal and power flow descripted blow(May change without prior notice) {{ :摄像头及视频源:all.png?direct&600 |}} Images: {{ :摄像头及视频源:3d_view.png?direct&600 |}} {{ :摄像头及视频源:output.png?direct&600 |}} ===== User Manual ===== yCamSim-basic is a transparent video convert: convert HDMI to GMSL2 while keep the resolution and frame rate. The output format of the video is YUV422 or RGB. yCamSim-basic does not need special configuration. ===== Use Case ===== ==== User case1:video loopback test==== {{ :摄像头及视频源:loop_image_3_.png?direct&600 |}} ==== User case 2:front camera video injection ==== {{ :摄像头及视频源:front_.png?direct&600 |}} ==== User case 3:SVM video injection ==== {{ :摄像头及视频源:svm.png?direct&600 |}} ===== User Guide ===== **Basic Steps** * Connect the product's HDMI to the video source. * Use a GMSL cable to connect the Fakra interface of this product to the deserializer of the main controller. * The POC power supply for GMSL is 6–16V. When the power supply is normal, the red LED on the device will light up. * Check if the video source has detected a new display device. * Load the driver on the main controller and configure the serializer and deserializer chips. ==== Set Resolution ==== After poweron, enable POC output (the RED LED will on), connect HDMI to a video source (for example a PC), from the PC side, it is an normal display, its name is XREAL9295 or YYT-GMSL-XXX. {{ :摄像头及视频源:fbl1.png?direct&600 |}} It is recommended to use the extended display mode (the normal use of the computer will not be affected when video is output). {{ :摄像头及视频源:8f912a8d-bf2e-4ad8-b796-4fe5de62d39f.png?direct&600 |}} The device and the display will negotiate a preset resolution. For example 4K(3840x2160)@30fps。 {{ :摄像头及视频源:e2e4de84-d224-4e70-876d-16893da4df58.png?direct&600 |}} You may need to enter "Advanced settings" to confirm settings: {{ :摄像头及视频源:fbl1.png?direct&600 |}} * In "advanced display settings", choose display of the HDMI2GMSL device, make sure the source signal resolution is the same as what you set. * If it is not, click link below, and open display adaptor properties window. * In the opened window, set appropriate resolution and framerate. * Click confirm to save settings. **(Please noted, for different windows version, the UI maybe different, please modify accordingly.)** ==== CSIRX Settings ==== Information useful when setup receivers: - 4K 3840*2160: format: YUV422 8BIT resolution: 3840*2160 mipi lane: 4 mipi rate: 1200 ~ 1350 Mbps - 2K 1920*1080: format: YUV422 8BIT resolution: 1920*1080 mipi lane: 4 mipi rate: 560-640 Mbps ==== 调试建议 ==== [[en:gmsl相关文章:软件修改max9296的模式及速率|MAX9296: Mode and settings]]