Zeros in received frame on Xavier NX / L4T 32.5

Hi,

managed to get Jetson Xavier NX probe correctly (?) the AD-96TOF1-EBZ with L4T R32.5, but still aditof-demo shows black / red images.

The output i see is this:

Notice that there are no error on the console and confirmed with first-frame that the frame is 0s. 

 I had to build the image and the roofs from Nvidia (L4T R32.5), as the prebuild images don't work for me.

Also i noticed the commit about the Xavier AGX  and tried the same for the Xavier NX  (in sensor_enumerator_xaviernx.cpp) but i get this

W0223 18:49:47.492775 10094 addi9036_sensor.cpp:489] Programming AFE error errno: 22 error: Invalid argument
W0223 18:49:47.493240 10094 camera_96tof1.cpp:295] Failed to program AFE 

Also the output of media-ctl -p seems to suggest(?) the subdevs are not swapped, and that's why I hoped that change will fix the issue

xavier@xavier-desktop:~/gitExt/aditof_sdk/build$ media-ctl -p 
Media controller API version 0.1.0

Media device information
------------------------
driver          tegra194-vi5
model           NVIDIA Tegra Video Input Device
serial          
bus info        
hw revision     0x3
driver version  0.0.0

Device topology
- entity 1: addi9036 9-0064 (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev0
	pad0: Source
		[fmt:SRGGB12_1X12/640x480 field:none colorspace:srgb]
		-> "15a00000.nvcsi--2":0 [ENABLED]

- entity 3: 15a00000.nvcsi--2 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
	pad0: Sink
		<- "addi9036 9-0064":0 [ENABLED]
	pad1: Source
		-> "vi-output, addi9036 9-0064":0 [ENABLED]

- entity 6: vi-output, addi9036 9-0064 (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
	pad0: Sink
		<- "15a00000.nvcsi--2":1 [ENABLED]

- entity 18: addi9036 10-0064 (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev2
	pad0: Source
		[fmt:SRGGB12_1X12/640x480 field:none colorspace:srgb]
		-> "15a00000.nvcsi--1":0 [ENABLED]

- entity 20: 15a00000.nvcsi--1 (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev3
	pad0: Sink
		<- "addi9036 10-0064":0 [ENABLED]
	pad1: Source
		-> "vi-output, addi9036 10-0064":0 [ENABLED]

- entity 23: vi-output, addi9036 10-0064 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
	pad0: Sink
		<- "15a00000.nvcsi--1":1 [ENABLED

Any hint much appreciated.



Corrected comment about swapped subdev
[edited by: ykov at 7:43 PM (GMT -5) on 23 Feb 2021]
Parents Reply
  • Double checked this list, tried with v2.0.0 and current master. All 3 LEDs light up, I2C communication seems fine but no video.

    Also tried removing WiFi module / HDMI and used ssh -Y over wired LAN, no luck either. Checked again with DragonBoard, sensor itself seems fine, although different connector / devicetree...

    Is there any way to use the reset signal on Jetsons? I saw that dragonBoard's devicetree defines a GPIO for reset but there is none for XavierNX

Children