We are using our customized PCB for AGX Orin. The PCB contains four MAX96712.
When we connect each MAX96712 with two 8M cameras and configured DPHY with 2.5 Gbps, frame drop happens frequently for the image frames come from CSI-6 and CSI-7. The other image frames from the other CSI ports received without frame drop.
However, if we reduce the DPHY rate to 2.4 Gbps, all the images frames received without frame drop.
In 2.5 Gbps configuration, the error trace log are listed below:
is it due to system loading? please check you’ve already running in MaxN performance mode.
please also enable tegrastats utility to gather usage reports.
for instance, $ sudo tegrastats --interval 5000 --logfile <out_file> &
Thank you for your reply. The frame drop still happens even if there is only one 8M camera running in MaxN mode. Also, it happens only with the MAX96712 connected to CSI-6 and CSI-7
I’ve monitored the CPU load by Jetson Power GUI. The CPU load for all the CPU cores are low before frame drop happening. After a while, the frame drop happens, and one CPU core immediately reaches 100% at the same time.
Thank you.
I’ve modified the serdes_pix_clk_hz from “600000000” to “625000000”.
The problem seems disappear.
I will update the result after a long time test.
Skew calibration is required if sensor or deserializer is using DPHY, and the output data rate is > 1.5Gbps
the camera firmware will continue to wait for deskew signal from the sensor side, it’ll enable pixel parser when deskew calibration has completed.
I’ve confirmed that if deskew signal is not given, the v4l2-ctrl will not receive any frames, and the dmesg error just like camera not streaming:
tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
(NULL device *): vi_capture_control_message: NULL VI channel received
In that situation, if I access the Deserializer register to send deskew signal, the v4l2-ctrl immediately receives images.
However, in my case, whether the frame drop during video streaming is related to deskew or not? I have no idea yet. Since the MIPI trace length of the CSI-6/7 is the shortest than the other CSI ports.