Hi,
Could you clarify when do we get ‘master error’.
...
[ 174.263988] tegra-vi4 15700000.vi: master error
[ 174.274956] tegra-vi4 15700000.vi: master error
[ 174.285918] tegra-vi4 15700000.vi: master error
[ 174.296880] tegra-vi4 15700000.vi: master error
[ 174.302167] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
I am interfacing a CSI2 camera with TX2 using 4 lanes (raw data format). There is data coming up on the lanes.
I have enabled trace and below are those logs,
kworker/0:0-4 [000] ...1 210.902092: rtos_queue_peek_from_isr_failed: tstamp:6894680886 queue:0x0b4a3c58
kworker/0:0-4 [000] ...1 210.902096: rtcpu_start: tstamp:6894681850
kworker/0:0-4 [000] ...1 211.062085: rtos_queue_peek_from_isr_failed: tstamp:6899681728 queue:0x0b4a3c58
kworker/0:0-4 [000] ...1 211.231902: rtos_queue_peek_from_isr_failed: tstamp:6904682226 queue:0x0b4a3c58
kworker/0:0-4 [000] ...1 211.394819: rtos_queue_peek_from_isr_failed: tstamp:6909682735 queue:0x0b4a3c58
kworker/0:0-4 [000] ...1 211.394822: rtcpu_vinotify_handle_msg: tstamp:6909907560 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2614939845 data:0x00010000
kworker/0:0-4 [000] ...1 211.394823: rtcpu_vinotify_handle_msg: tstamp:6910005707 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2615037997 data:0x00020000
kworker/0:0-4 [000] ...1 211.447109: rtcpu_vinotify_handle_msg: tstamp:6910348354 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2615380519 data:0x00040000
kworker/0:0-4 [000] ...1 211.447110: rtcpu_vinotify_handle_msg: tstamp:6910348542 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2615380549 data:0x00020000
kworker/0:0-4 [000] ...1 211.447111: rtcpu_vinotify_handle_msg: tstamp:6910690976 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2615723142 data:0x00040000
kworker/0:0-4 [000] ...1 211.447112: rtcpu_vinotify_handle_msg: tstamp:6910691164 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2615723172 data:0x00020000
kworker/0:0-4 [000] ...1 211.447113: rtcpu_vinotify_handle_msg: tstamp:6911033599 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2616065763 data:0x00040000
kworker/0:0-4 [000] ...1 211.447113: rtcpu_vinotify_handle_msg: tstamp:6911033787 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2616065793 data:0x00020000
kworker/0:0-4 [000] ...1 211.447114: rtcpu_vinotify_handle_msg: tstamp:6911376217 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2616408386 data:0x00040000
kworker/0:0-4 [000] ...1 211.447115: rtcpu_vinotify_handle_msg: tstamp:6911376405 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2616408416 data:0x00020000
kworker/0:0-4 [000] ...1 211.447116: rtcpu_vinotify_handle_msg: tstamp:6911718842 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2616751008 data:0x00040000
kworker/0:0-4 [000] ...1 211.447116: rtcpu_vinotify_handle_msg: tstamp:6911719029 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2616751038 data:0x00020000
kworker/0:0-4 [000] ...1 211.501948: rtcpu_vinotify_handle_msg: tstamp:6912061466 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:2617093630 data:0x00040000
One of the post mentions that it is due to Clock mismatch between VI and ISP interfaces but doesn’t provide more details.
trace msgs are from CSIMUX which is the frontend of VI so the data hasn’t passed through VI yet so wondering how it can be a clock mismatch between VI and ISP (as ISP comes after VI)?
CSIMUX_STREAM is also an error event but it is not clear to me how to interpret the ‘data’ field in the msg.
Does this channel specify the channel id in the VI? I believe there are only 12 channels so 0xff seems incorrect. Could it be why I am hitting this error?
Please let me know what does this error indicate.