Hi,
I am currently developing a driver for the IMX566. I have a working I2C communication to the sensor, configured the sensor according to the suggestions from Sony, get Signals on the CSI2-Lanes, and see in the trace log, that I am receiving packets over CSI2.
kworker/4:0-36 [004] .... 90.125066: rtos_queue_send_from_isr_failed: tstamp:3056869333 queue:0x0b4b04d8
kworker/4:0-36 [004] .... 90.125067: rtos_queue_send_from_isr_failed: tstamp:3056869599 queue:0x0b4b1298
kworker/4:0-36 [004] .... 90.125068: rtos_queue_send_from_isr_failed: tstamp:3056869870 queue:0x0b4b2058
kworker/4:0-36 [004] .... 90.125069: rtos_queue_send_failed: tstamp:3056873087 queue:0x0b4a7698
kworker/4:0-36 [004] .... 90.181122: rtcpu_vinotify_event: tstamp:3058239096 tag:CSIMUX_STREAM channel:0xff frame:0 vi_tstamp:3058238592 data:0x00000001
vi-output, imx5-7922 [003] .... 90.211275: tegra_channel_capture_frame: sof:90.102124224
kworker/4:0-36 [004] .... 90.237041: rtcpu_vinotify_event: tstamp:3059618819 tag:ATOMP_FS channel:0x00 frame:112 vi_tstamp:3059618320 data:0x00000000
kworker/4:0-36 [004] .... 90.237048: rtcpu_vinotify_event: tstamp:3059650524 tag:CHANSEL_PXL_SOF channel:0x00 frame:112 vi_tstamp:3059650052 data:0x00000001
kworker/4:0-36 [004] .... 90.237051: rtcpu_vinotify_event: tstamp:3059657220 tag:CHANSEL_LOAD_FRAMED channel:0x01 frame:112 vi_tstamp:3059656736 data:0x08000000
kworker/4:0-36 [004] .... 90.293126: rtcpu_vinotify_event: tstamp:3060980334 tag:CHANSEL_PXL_EOF channel:0x00 frame:112 vi_tstamp:3060979346 data:0x0b1f0002
kworker/4:0-36 [004] .... 90.293132: rtcpu_vinotify_event: tstamp:3060980667 tag:CHANSEL_SHORT_FRAME channel:0x01 frame:112 vi_tstamp:3060979360 data:0x00001000
kworker/4:0-36 [004] .... 90.293134: rtcpu_vinotify_event: tstamp:3060981038 tag:ATOMP_FE channel:0x00 frame:112 vi_tstamp:3060979362 data:0x00000000
kworker/4:0-36 [004] .... 90.293139: rtos_queue_peek_from_isr_failed: tstamp:3061159211 queue:0x0b4b4940
vi-output, imx5-7922 [003] .... 90.430240: tegra_channel_capture_setup: vnc_id 0 W 2856 H 2848 fmt 20
vi-output, imx5-7922 [003] .... 90.430319: tegra_channel_capture_frame: sof:90.102124224
kworker/4:0-36 [004] .... 90.461140: rtos_queue_peek_from_isr_failed: tstamp:3066159147 queue:0x0b4b4940
kworker/4:0-36 [004] .... 90.461152: rtos_queue_send_from_isr_failed: tstamp:3066468210 queue:0x0b4a7698
kworker/4:0-36 [004] .... 90.461155: rtos_queue_send_from_isr_failed: tstamp:3066468498 queue:0x0b4ab1a8
kworker/4:0-36 [004] .... 90.461159: rtos_queue_send_from_isr_failed: tstamp:3066468771 queue:0x0b4acdd8
kworker/4:0-36 [004] .... 90.461162: rtos_queue_send_from_isr_failed: tstamp:3066469049 queue:0x0b4af718
If I am interpreting the messages correctly, I get a SOF at line 0x0000(0), get some data, get an EOF at line 0x0b1f(2847). Until here, I think all went well, I expect 2848 lines with data.
Then I get a CHANSEL_SHORT_FRAME with data: 0x00001000
If I interpret the data correctly, I get EMBED_SPURIOUS.
“Jetson_TX2_Parker_TRM_DP07821001p.pdf” states:
EMBED_SPURIOUS: Embedded bytes found between line start and line end
I expect 4 lines of meta data (configured in the device tree) with the same line length as image data (CSI2 Header of first line: 0x12, CSI2 Header of 2nd to 4th line: 0x13) which are transmitted before the data, but after the SOF.
Can you help me finding the wrong configuration?
If you need more information to help me, I will try to provide it as soon as possible.