Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
code:fx3_hvci_and_fpga_i_c_commands [2022/03/10 06:33] – [0xB8] Igor Yefmov | code:fx3_hvci_and_fpga_i_c_commands [2022/07/13 10:41] – [0xBA] Igor Yefmov |
---|
|MIPI FPS|''0x01''|float|IEEE float32 format, x86 LE number derived from MIPI-observed time between first pixel output of two consecutive video frames received by FPGA| | |MIPI FPS|''0x01''|float|IEEE float32 format, x86 LE number derived from MIPI-observed time between first pixel output of two consecutive video frames received by FPGA| |
| |
===== 0xB9-0xBF ===== | ===== 0xB9 ===== |
^Name ^Offset ^wIndex ^wValue ^Access type ^Byte length ^Return buffer bits ^Notes ^ | ^Name ^Offset ^wIndex ^wValue ^Access type ^Byte length ^Return buffer bits ^Notes ^ |
|Reserved|''0xB9''| | | | | |Reserved|''0xB9''| | | | |
|Reserved|''0xBA''| | | | | ===== 0xBA - SDI control ===== |
| ^Name ^Offset ^wIndex ^wValue ^Access type ^Byte length ^Return buffer bits ^Notes ^ |
| |Reserved|''0xBA''|''0''|''0''/''1''|R/W|''0'/''1'|''0'' - SDI on/off|SDI control, for now only on/off with the default video mode of 1080p@60fps 10bit YUV ''4:2:0'' packed| |
| ===== 0xBB-0xBF ===== |
| ^Name ^Offset ^wIndex ^wValue ^Access type ^Byte length ^Return buffer bits ^Notes ^ |
|Reserved|''0xBB''| | | | | |Reserved|''0xBB''| | | | |
|Reserved|''0xBC''| | | | | |Reserved|''0xBC''| | | | |
|Video output format|''0x48''|R/W|''7:4'' - UVC\\ ''3'' - res\\ ''2:0'' - SDI|Bit depth for all video formats is set in register ''0x49''\\ UVC video formats:\\ ''0'' - "RAW" greyscale pre-debayer pixels\\ ''1'' - 4:4:4 RGB\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - packed YCbCr 4:2:2\\ ''4'' - res (packed YCbCr 4:2:0)\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - planar YCbCr 4:2:0\\ ''8-15'' - res (MJPEG, H.26x, etc)\\ SDI and SFP+ video output formats are always in unison:\\ ''0'' - res\\ ''1'' - res (4:4:4 RGB)\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - res (packed YCbCr 4:2:2)\\ ''4'' - packed YCbCr 4:2:0\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - res (planar YCbCr 4:2:0)| | |Video output format|''0x48''|R/W|''7:4'' - UVC\\ ''3'' - res\\ ''2:0'' - SDI|Bit depth for all video formats is set in register ''0x49''\\ UVC video formats:\\ ''0'' - "RAW" greyscale pre-debayer pixels\\ ''1'' - 4:4:4 RGB\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - packed YCbCr 4:2:2\\ ''4'' - res (packed YCbCr 4:2:0)\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - planar YCbCr 4:2:0\\ ''8-15'' - res (MJPEG, H.26x, etc)\\ SDI and SFP+ video output formats are always in unison:\\ ''0'' - res\\ ''1'' - res (4:4:4 RGB)\\ ''2'' - res (packed YCbCr 4:4:4)\\ ''3'' - res (packed YCbCr 4:2:2)\\ ''4'' - packed YCbCr 4:2:0\\ ''5'' - res (planar YCbCr 4:4:4)\\ ''6'' - res (planar YCbCr 4:2:2)\\ ''7'' - res (planar YCbCr 4:2:0)| |
|Video output pixel bit depth|''0x49''|R/W|''7:6'' - res\\ ''5:4'' - SDI\\ ''3:2'' - SFP+\\ ''1:0'' - UVC|Pixel bit depths \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| | |Video output pixel bit depth|''0x49''|R/W|''7:6'' - res\\ ''5:4'' - SDI\\ ''3:2'' - SFP+\\ ''1:0'' - UVC|Pixel bit depths \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| |
|MIPI configuration|''0x4A''|R/W|''7:2'' - res\\ ''1:0'' - MIPI bit depth|MIPI bit depth controls the data packing format for the pixels coming through MIPI interface. MIPI bit depth \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| | |MIPI configuration|''0x4A''|R/W|''7:4'' - res\\ ''3:2'' - de-mosaicing strategy\\ ''1:0'' - MIPI bit depth|**De-mosaicing strategy** directs the use of a specific implementation of color reconstruction:\\ ''3'', ''2'' - reserved\\ ''1'' - use "branching 5x5", for example the one [[http://www.siliconimaging.com/RGB%20Bayer.htm|described here]]\\ ''0'' - use "branchless 5x5", like the one [[https://www.ipol.im/pub/art/2011/g_mhcd/article.pdf|described in here]]\\ **MIPI bit depth** controls the data packing format for the pixels coming through MIPI interface. MIPI bit depth \(d_p\) is calculated from a 2-bit value \(N\) as: \[d_p = (N+4)*2\]| |
|Reserved|''0x4B''| | | | | |Reserved|''0x4B''| | | | |
|Audio transform blocks|''0x4C''|R/W|''7:0'' - res|Enable/disable individual transformation blocks in audio pipeline| | |Audio transform blocks|''0x4C''|R/W|''7:0'' - res|Enable/disable individual transformation blocks in audio pipeline| |
|3|Gen 3 camera (Alpha), a.k.a. "Frankie" (from Frankenstein's Monster)| | |3|Gen 3 camera (Alpha), a.k.a. "Frankie" (from Frankenstein's Monster)| |
|4|Gen 3 camera, Production| | |4|Gen 3 camera, Production| |
|5|Gen 4 camera, a.k.a. "REX"| | |5|Gen 4 camera, a.k.a. "Vitreledonella"| |
===== Release type ===== | ===== Release type ===== |
^ Code ^ Name ^ Meaning ^ | ^ Code ^ Name ^ Meaning ^ |
^Code ^Value ^ | ^Code ^Value ^ |
|1|Xilinx| | |1|Xilinx| |
| |2|Intel| |
| |
===== Hardware ID ===== | ===== Hardware ID ===== |
|3|Gen 3 camera (Alpha), a.k.a. "Frankie"| | |3|Gen 3 camera (Alpha), a.k.a. "Frankie"| |
|4|Gen 3 camera, Production| | |4|Gen 3 camera, Production| |
|5|Gen 4 camera, a.k.a. “REX”| | |5|Gen 4 camera, a.k.a. “Vitreledonella”| |
===== Release type ===== | ===== Release type ===== |
^Code ^Value ^ | ^Code ^Value ^ |