The error tell the SOT(start Of Transfer) multiple bits error.
It could be cause by the incorrect MIPI timing like settle time. You may need to review the pix_clk_hz/serdes_pix_clk_hz
The error tell the SOT(start Of Transfer) multiple bits error.
Did you mean the status:0x10000004 in the case of discontinuous clock = yes?
It could be cause by the incorrect MIPI timing like settle time. You may need to review the pix_clk_hz/serdes_pix_clk_hz
The MIPI-CSI2 output of the FPGA is with pixel clock of 74,9 Mhz (nominally 74,25MHz). Should I set a approximate value (75MHz) or is there any problem to multiply it with a factor of N (for example 74,25x4 = 297Mhz) ?
The MIPI clocks didnāt set in device tree but NVCSI/VI driver calculate it by pix_clk_hz.
BTW, you canāt only set the discontinuous clock in device tree, you need to configuration the sensor to output as discontinuous clocks or continuous clocks.
BTW, you canāt only set the discontinuous clock in device tree, you need to configuration the sensor to output as discontinuous clocks or continuous clocks.
We expect the continuous clock mode from the FPGA, but we are waiting for the confirmation from the FPGA designer about that as we are having the issue of receiving the MIPI-CSI2 data during the integration. I switched btw the modes just for debugging and provided additional information to the FPGA designer.
For the calculation you gave, I can configure in the device-tree :
The MIPI clocks didnāt set in device tree but NVCSI/VI driver calculate it by pix_clk_hz.
So I think that thereās nowhere that I can set the MIPI clocks (aka. sensor data rate per lane (Mbps)) but can only guarantee that it does not exceed the max. value (usually 1.5Gbps/lane). I can only provide the 3 above parameters correctly. Could you confirm if they are correct?
The error tell the SOT(start Of Transfer) multiple bits error.
Also, could you clarify what indicates the SOT(start Of Transfer) multiple bits error?
I mean you just need to set correct pix_clk_hz donāt need to set the MIPI clock due to NVCSI driver will calculate it by pix_clk_hz than base on MIPI clock to calculate the settle time if you set the cil_settle to 0.
Thanks for your explanation. Now I have consistent ā PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000004ā. Is it the āSOT multiple bit errorā you mentioned? If yes, should I still revise the pix_clk_hz or the FPGA output signal?
Could you help to instruct how to access the NVCSI registers (NVCSI_PHY_0_NVCSI_CIL_A_CONTROL_0, NVCSI_STREAM_0_INTR_STATUS_VC0_0) for the HW debugging purpose, please ?
This is quite urgent as we are being stuck/blocked during the integration of the FPGA bridging. To progress, we need to provide more info to the FPGA designer to do some tuning on the Tx side.
Some probably relevant discussion I found is :
But I experienced the system hang/crash while trying to access the 0x15a281d8 address with devmem2.
Thanks but the solution you shared was applied for the Orin family and for the jetpack-6.
I am with the Xavier NX and Jetpack-5.0.2 unfortunately.
By the way, by asking the FPGA side to switch to discontinuous clock mode (of course I modified the device-tree to align with that mode as well), there was small progress : being able to capture half of the very fist frame with any launching of gstreamer command, however it then froze.
I think thereās still necessary tuning in the FPGA side (MIPI-CSI2 Tx) but I would like to know how to interpret the above error in order to provide info to the FPGA designer, please ?