Hi all,
Environment :
Board : Jetson AGX Xavier
JetPack : 4.3
We’ve developed a driver for our MIPI-CSI GMSL2 custom camera using an AR0820 as an image sensor, this latter has a resolution of 8 Mpx (3848x2168), we’re able to capture properly with this resolution, but when we set the resolution to 2 Mpx (1920x1080), we have too many glitches during the capture with nvarguscamerasrc
The description below use 8 Mpx (3848x2168) as a resolution
mode0 {/*mode AR0820_MODE_3848X2168_CROP_30FPS*/
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_e";
discontinuous_clk = "no";
dpcm_enable = "false";
cil_settletime = "0";
dynamic_pixel_bit_depth = "12";
csi_pixel_bit_depth = "12";
mode_type = "bayer";
pixel_phase = "grbg";
active_w = "3848";
active_h = "2168";
readout_orientation = "0";
line_length = "4440";
inherent_gain = "1";
mclk_multiplier = "14.58";
pix_clk_hz = "296236800";
serdes_pix_clk_hz = "833333333";
gain_factor = "1";
min_gain_val = "1";
max_gain_val = "15";
step_gain_val = "1";
default_gain = "1";
min_hdr_ratio = "1";
max_hdr_ratio = "1";
framerate_factor = "1000000";
min_framerate = "30000000";
max_framerate = "30000000";
step_framerate = "1";
default_framerate ="30000000";
exposure_factor ="1000000";
min_exp_time = "15";
max_exp_time = "33333";
step_exp_time = "1";
default_exp_time = "5454";
embedded_metadata_height = "0";
};
I set the new resolution 1920x1080 to be able to capture 2 Mpx as the following
mode0 {/*mode AR0820_MODE_1920X1080_CROP_30FPS*/
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_e";
discontinuous_clk = "no";
dpcm_enable = "false";
cil_settletime = "0";
dynamic_pixel_bit_depth = "12";
csi_pixel_bit_depth = "12";
mode_type = "bayer";
pixel_phase = "grbg";
active_w = "1920";
active_h = "1080";
readout_orientation = "0";
line_length = "4440";
inherent_gain = "1";
mclk_multiplier = "14.58";
pix_clk_hz = "296236800";
serdes_pix_clk_hz = "833333333";
gain_factor = "1";
min_gain_val = "1";
max_gain_val = "15";
step_gain_val = "1";
default_gain = "1";
min_hdr_ratio = "1";
max_hdr_ratio = "1";
framerate_factor = "1000000";
min_framerate = "30000000";
max_framerate = "30000000";
step_framerate = "1";
default_framerate ="30000000";
exposure_factor ="1000000";
min_exp_time = "15";
max_exp_time = "33333";
step_exp_time = "1";
default_exp_time = "5454";
embedded_metadata_height = "0";
};
Is there other paramters that must be edited to get the 2 Mpx without glitches ?
Thanks.