Orin nano CSI2 configuration cannot capture rawdata

HI Nvida,
I am currently in debug mode, so I believe this configuration is acceptable. However, I encountered a failure when configuring the second channel to capture raw data, and the log information is as follows:
[ 654.245347] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 654.258105] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 654.267730] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 654.275509] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 654.286212] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 654.293945] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 2 vc- 0
[ 654.305014] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
The trace log did not provide any additional information.
trace_log.txt (5.6 KB)




I am not entirely clear why data can be output when debugging the first channel (CSI0), but an error is reported after only modifying the information corresponding to the second channel(CSI2). I can determine the presence of data information by checking the status register of the SerDes.

Now ok, I searched for a similar issue:https://forums.developer.nvidia.com/t/nvcsi-error-uncorr-err-request-timed-out-after-2500-ms-stream-novc/253040/14, I compared the configuration again and found that lane_polarity set to 6 on CIS2, After modification, the data flow is now normal.