This MIPI bus refers to FPGA sensor output signal?
Also:
When i change the CIL settle time , i get the PHY_INTR0 error which means there is an issue with CIL settle time.
This makes it clear the cil_settletime=0 is ideal for us.
When the cil_settletime = 0
we get VIFALC_TDSTATE which might mean MIPI bus has no data.
Could you tell us where the problem might lie? We tried different pix clk hz and cil settle time
Yet we are unable to get video dump on Orin through FPGA.
[ 52.431667] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 5000 ms
[ 52.444405] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 52.455145] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 52.473538] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 52.492010] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 121.548715] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 5000 ms
[ 121.561485] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 121.572123] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 121.590550] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 121.609033] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 127.692903] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 5000 ms
[ 127.702075] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 127.712144] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 127.730518] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 127.760694] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 132.812980] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 5000 ms
[ 132.822146] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 132.832130] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 132.850501] (NULL device *): vi_capture_control_message: NULL VI channel received
Here is the MIPI-CSI CLK & DATA spec coming from FPGA - MIPI Clock is 287.5Mhz, datarate is 580Mbps, 2 datalines, Byte Clock is 71.875, Data Type YUV422_8
DATA SIGNAL.zip (627.1 KB)
Hello Shane,
Attached is the screen shot of CSI data sequence and timing parameters. We get " rtcpu_nvcsi_intr: tstamp:4501871730 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000004 " most of the time CIL is set to “0”. We tried manually changing CIL time from 1ns to 20ns, the error is mostly “class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x10000000” along with “status:0x00000004”
We also tried configuring a Lattice Crosslink FPGA as DHPY RX and received the signals sent from DPHY TX of another Lattice Crosslink FPGA signals and we are able to see all the all the MIPI-CSI data along with packet header. We also see SOT information as expected. Please go through the attached screenshots of the CSI data lane and please verify timing parameters.
Tell the SOT multiple bits error. Could be the settle time cause the problem.
Set the CIL settle to 0 and confirm the pix_clk_hz due to the ths_settle is calculated depend on pix_clk_hz.
We are able to get the video on CSI -1 after changing some IP core settings and replacing the Orin SOM.
When we try to ingest on CSI - 3 we get the VIFALC_TDSTATE error, and this error is constant it does not change at all even when changes are made to the device tree.