RE: Using FPGA to send images through MIPI to Xavier NX to obtain no data

I’m trying to receive CSI-2 data from an FPGA on a Xavier NX with L4T 32.7.2. I’m using an IMX219 camera as a reference, and trying to duplicate the IMX219 format/timing with the FPGA (EFINITY MIPI CSI-2 Tx Subsystem on Ultrascale+ device).
Currently, I can normally obtain 3264x2464 RAW10 data from the FPGA. I want to change the format size of the image to 3264x3000. “I also changed the size of the format in the file tetra194-camera-rbpcv2-imx219.dtsi to 3264x3000, but I was unable to obtain an image.”. I want to know if the driver using IMx219 can receive 3264x3000 images.

mode0 { /* IMX219_MODE_3264x2464_21FPS */
mclk_khz = “24000”;
num_lanes = “2”;
tegra_sinterface = “serial_a”;
phy_mode = “DPHY”;
discontinuous_clk = “yes”;
dpcm_enable = “false”;
cil_settletime = “0”;

				active_w = "3264";
				active_h = "3000";//"2464";
				pixel_t = "bayer_rggb";
				readout_orientation = "90";
				line_length = "3448";
				inherent_gain = "1";
				mclk_multiplier = "9.33";
				pix_clk_hz = "300000000"; //"182400000";

				gain_factor = "16";
				framerate_factor = "1000000";
				exposure_factor = "1000000";
				min_gain_val = "16"; /* 1.00x */
				max_gain_val = "170"; /* 10.66x */
				step_gain_val = "1";
				default_gain = "16"; /* 1.00x */
				min_hdr_ratio = "1";
				max_hdr_ratio = "1";
				min_framerate = "2000000"; /* 2.0 fps */
				max_framerate = "21000000"; /* 21.0 fps */
				step_framerate = "1";
				default_framerate = "21000000"; /* 21.0 fps */
				min_exp_time = "13"; /* us */
				max_exp_time = "683709"; /* us */
				step_exp_time = "1";
				default_exp_time = "2495"; /* us */

				///embedded_metadata_height = "2";
			};

Sorry for the late response, have you managed to get issue resolved or still need the support? Thanks

hello yuejia_pri,

may I know what’s the failure when changing the format size of the image to 3264x3000.
besides, please refer to Sensor Pixel Clock. had you also update sensor pixel clock accordingly?

Thank you for your reply,Currently, we have been able to obtain RAW10 image data of different formats sent by FPGA.

We want to validate CSI RAW8 camera setting, and use FPGA as source.

https://forums.developer.nvidia.com/t/kernel-panic-when-trying-to-set-imx219-in-raw8/180111

We have modified the relevant configuration with reference to the above post, but we still cannot obtain image data normally.
Now we really need your advice on how to obtain RAW8 data. Thanks.

I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks

hello yuejia_pri,

please share the failure messages with capturing Raw8.