Raw 8,10 and 12 bit from toshiba chip to xavier nx in L4T 32.6.1

hi i have been trying to get 8 bit raw from onsemi sensor through toshiba chip in xavier nx but xavier unable to process the raw data from toshiba chip and we have have with ever possiblities butcould get the proper raw image from platform .platform is showing corr error and uncorr error .toshibha is giving standard mipi parallel output but in yuv 422 8bit i can get the stream properly
so far we have confirmed the in every end toshibha we are setting 8 bit from device tree is 8 bit and in side the kernal print the format is properly settinf but still error couurs and i have tried to comment the uncorr errorpart and the image getting is kind of couurption after commenting the corr error portion in vi channel deque function

What’s kind of uncorr? Maybe try fix by sensor output configuration instead of just comment it out.

Hi @ShaneCCC thanks for your reply i have tried but issue i can’t corner it and if i set yuv422 8 bit then only the issue is resolving and i have enabled all the debug log on kernel side but the
below error only coming
class:CORRECTABLE_ERR type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004
kworker/0:0-9397 [000] … 2961.350379: rtcpu_nvcsi_intr: tstamp:92925281924 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000110
kworker/0:0-9397 [000] … 2961.350380: rtcpu_nvcsi_intr: tstamp:92925282641 class:GLOBAL type:STREAM_VC phy:0 cil:0 st:0 vc:0 status:0x00000004

and i have doubt if toshibha chip is using the standard mipi output and how does the platform will map the data according to the nvidia bit arrangement
below is for nvidia but in mipi the padded data for raw10 bit will padded in 5 th byte

The error tell the payload CRC error and rxfifo error.
Maybe boost the clocks to confirm the rxfifo error.

sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee  /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
cat /sys/kernel/debug/bpmp/debug/clk/emc/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/emc/rate

Hi @ShaneCCC i have tried that also but still no improvement .i will attach the image capture during the uncorr error coming

The problem looks like signal interference.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.