CHANSEL_NOMATCH issue

Hi~
Recently I tried to capture YUV422 image data from Camera, but I cannot get image by v4l2-ctrl. The errors from RTCPU are as below:
kworker/0:2-1193 [000] … 71.470570: rtos_queue_peek_from_isr_failed: tstamp:2422204321 queue:0x0bcbcf78
kworker/0:2-1193 [000] … 71.470571: rtcpu_vinotify_event: tstamp:2422357050 tag:FS channel:0x00 frame:2 vi_tstamp:2422147571 data:0x00000010
kworker/0:2-1193 [000] … 71.470572: rtcpu_vinotify_event: tstamp:2422357193 tag:CHANSEL_NOMATCH channel:0x01 frame:2 vi_tstamp:2422148696 data:0x00000589
kworker/0:2-1193 [000] … 71.526553: rtcpu_vinotify_event: tstamp:2423442569 tag:FE channel:0x00 frame:2 vi_tstamp:2423251377 data:0x00000020
kworker/0:2-1193 [000] … 71.526556: rtcpu_vinotify_error: tstamp:2423714078 tag:CHANSEL_NOMATCH channel:0x01 frame:3 vi_tstamp:2423711112 data:0x00000589
kworker/0:2-1193 [000] … 71.526557: rtcpu_vinotify_event: tstamp:2423714480 tag:FS channel:0x00 frame:3 vi_tstamp:2423709986 data:0x00000010
kworker/0:2-1193 [000] … 71.526558: rtcpu_vinotify_event: tstamp:2423714637 tag:CHANSEL_NOMATCH channel:0x01 frame:3 vi_tstamp:2423711112 data:0x00000589
kworker/0:2-1193 [000] … 71.526559: rtcpu_vinotify_event: tstamp:2424853308 tag:FE channel:0x00 frame:3 vi_tstamp:2424813792 data:0x00000020
kworker/0:2-1193 [000] … 71.582553: rtcpu_vinotify_error: tstamp:2425276354 tag:CHANSEL_NOMATCH channel:0x01 frame:4 vi_tstamp:2425273527 data:0x00000589
kworker/0:2-1193 [000] … 71.582555: rtcpu_vinotify_event: tstamp:2425395441 tag:FS channel:0x00 frame:4 vi_tstamp:2425272406 data:0x00000010
kworker/0:2-1193 [000] … 71.582556: rtcpu_vinotify_event: tstamp:2425395581 tag:CHANSEL_NOMATCH channel:0x01 frame:4 vi_tstamp:2425273527 data:0x00000589
kworker/0:2-1193 [000] … 71.582559: rtcpu_vinotify_event: tstamp:2426480153 tag:FE channel:0x00 frame:4 vi_tstamp:2426376208 data:0x00000020
kworker/0:2-1193 [000] … 71.582560: rtcpu_vinotify_error: tstamp:2426839917 tag:CHANSEL_NOMATCH channel:0x01 frame:1 vi_tstamp:2426837094 data:0x00000589
kworker/0:2-1193 [000] … 71.638546: rtcpu_vinotify_event: tstamp:2427023084 tag:FS channel:0x00 frame:1 vi_tstamp:2426834827 data:0x00000010
kworker/0:2-1193 [000] … 71.638549: rtcpu_vinotify_event: tstamp:2427023208 tag:CHANSEL_NOMATCH channel:0x01 frame:1 vi_tstamp:2426837094 data:0x00000589

I want to know what 0x589 means, and what makes the “CHANSEL_NOMATCH” happen. BTW, the Jetpack I used is jetpack_4.2-l4t_r32.1.

Thank you.

  • double check sensor register settings of embedded_metadata_height
  • if you set embedded_metadata_height = 1 for sensors that does not output embedded data

Thanks for reply,
I have confirmed that the camera is not configured to output embedded data, and the parameter of “embedded_metadata_height” in Xavier device tree is configured to be 0, but the RTCPU still have the errors above, is there any other possible reason to cause the errors?

Have a check if the pixel format is correct by v4l2-ctl --list-formats-ext

Hi ShaneCCC,
Thanks for reply, I tried “v4l2-ctl --list-formats-ext” and it showed:

‘YUYV’ (YUYV 4:2:2)
Size: Discrete 1920x1080
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1280x768
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1280x768
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1280x1088
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1464x720
Interval: Discrete 0.050s (20.000 fps)
Size: Discrete 1280x960
Interval: Discrete 0.050s (20.000 fps)

The result is as expected, my camera output 1280*960 resolution 20fps YUV422 image.

Try to boost the vi/nvcsi clocks to try

sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/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/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate

Hi ShaneCCC,
Thanks for reply, it is the datatype mismatch that caused the error, now Xavier can receive images from camera.