About RTCPU of MIPI

hello:

we are debug orin nano’s mipi interface, and we want to modify the source code of RTCPU, where
can we get this source code form nvidia ? or we just can only adjust the parameter form tegra to control the behavier of mipi?
thanks a lot.

The RCE firmware doesn’t public.

What’s your purpose? Maybe you can check the kernel driver like csi5_fops.c/vi5_fops.c

we are use nano’s MIPI to connect my owner camera, camera’s resolution is 1920 x 1080@120, when we pull stream from camera, the RTE report such error as below:

 kworker/2:3-288     [002] .......   211.737071: rtcpu_nvcsi_intr: tstamp:7518472758 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737071: rtcpu_nvcsi_intr: tstamp:7518473868 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737072: rtcpu_nvcsi_intr: tstamp:7518479423 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737072: rtcpu_nvcsi_intr: tstamp:7518480538 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737072: rtcpu_nvcsi_intr: tstamp:7518486093 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737073: rtcpu_nvcsi_intr: tstamp:7518487203 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737073: rtcpu_nvcsi_intr: tstamp:7518493871 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737074: rtcpu_nvcsi_intr: tstamp:7518500538 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
 kworker/2:3-288     [002] .......   211.737074: rtcpu_nvcsi_intr: tstamp:7518507204 class:GLOBAL type:PHY_INTR0 phy:1 cil:0 st:0 vc:0 status:0x10000000
what's the meaning of "status:0x10000000"  ?   and for this "status", could you tell me each bits's meaning ? 
another question is where can we get more docmentitons about this RCE, we want to know more informations about it.
thanks a lot~~

You may need to set the lane_polarity like imx219 for this message.

status:0x10000000 means intr_dphy_cil_lane_align_err_a on PHY_INTR0.

For your line:

  • phy:1 = PHY 1.
  • cil:0 = CIL A.
  • so this is PHY1 / CIL-A lane align error.

Meaning:

  • NVCSI detected that some lanes saw the sync word while other lanes did not in that PHY partition.

Practical read:

  • this is usually a CSI link/timing issue, often around lane alignment / skew / signal integrity, not a VI scheduling issue.

Related nearby bits for PHY_INTR0:

  • 0x08000000 = deskew calib err ctrl
  • 0x04000000 = deskew calib err lane1
  • 0x02000000 = deskew calib err lane0
  • 0x01000000 = deskew done ctrl

when camera’s resolution is 1920 x 1080@60 , RCE work normal, have no error.

the differace between two resolutions is 120fps is use MIPI clock rate is 594M, and 60fps clock rate is 297M

imx219’s max frame rate is 60fps, not have 120fps option.

As shown pictures above, we have another error report by RCE, the status error code is 0x00000044, is that means hs sync code (00011101) detect error by RCE ?

Yes, that cause be the settle time problem. Maybe review the pix_clk_hz/serdes_pix_clk_hz

RCE can support to receive image whose resolution is 1920 * 1080@120 ?

Why not? There’s no any limitation for the output size.

OK , get it ~~ thank you very much.