the highest lane clock is able to (0x19,0x15,0x19,0x19)*100Mhz without deskew.
after enabling deskew, i checked the debug message, deskew worked.
but the highest lane clock is still (0x19,0x15,0x19,0x19)*100Mhz
may I know what’s the clock performance you’re going to improve?
according to developer guide, SerDes Pixel Clock,
let me re-cap as below..
skew calibration is required if sensor or deserializer is using DPHY, and the output data rate is > 1.5Gbps.
BTW,
there’re some PHY_INTR has reported within your snapshots.
the error code 0xE000000 which might due to DPHY deskew calibration not complete, it happened when the calibration sequence length is not long enough. please give it a try to configure cil_settletime, and please also review the serdes_pix_clk_hz settings.
you may see-also TRM for the register description, such as.. CILA_INTR_0_STATUS_CILA_0
serdes_pix_clk_hz = “625000000”;
num-lanes = "4’;
expected lane date is 2.5Gbps.
the mipi clock is 2.5Ghz.
if i set the data rate to 0x19 (x100MHz), 2.5Gbps.
the VI will not capture full frame, many error occurred.
the highest data rate could be set to 2.3Gbps.
I tried to change ‘cil_settletime’ from ‘0’ to ‘0x400’, the error message is same.
I also tried different deskew width, nothing changed.
I’m using IMX490 w/ ISP camera for the testing.
The datarate will less than 2.5Gbps per lane.
but discontinous_clk = “yes” has been set.
here is more details about device tree.
mclk_khz = “24000”;
// num_lanes = “4”;
num_lanes = “4”;
tegra_sinterface = “serial_a”;
vc_id = “0”;
discontinuous_clk = “yes”;
dpcm_enable = “false”;
cil_settletime = “0x400”;
dynamic_pixel_bit_depth = “8”;
csi_pixel_bit_depth = “8”;
mode_type = “yuv”;
pixel_phase = “uyvy”;
serdes_pix_clk_hz = (deserializer output data rate in hertz) * (number of CSI lanes) / (bits per pixel).
= 2.5Ghz * 4 / 16 = 625000000.
if i set the output rate to 2.5Ghz, failed to capture full frame due to many errors.
if i set the output rate to 2.4Ghz, succeed to capture full frame, but the image has issue. The image has a border effect.
if i set the output rate to 2.3Ghz, succeed to capture full frame, it works well.