vc_mipi_nvidia icon indicating copy to clipboard operation
vc_mipi_nvidia copied to clipboard

XavierNX with IMX183 version above 0.12.3

Open PierrickIntom opened this issue 5 months ago • 5 comments

We've been using the driver version 0.12.3 for a long time to connect our two IMX183 sensors with a XavierNX and an Auvidea JNX30 carrier board. Recently, while flashing a new Jetson, I wanted to install the latest version of the driver, and I ran into a few problems:

1. Bytes per line During the setup, I modify the device tree to enter the following values: o physical_w = “13.056”; (the physical width and height values have been modified since version 0.12.3) o physical_h = “8.755”; o active_w = “5440”; o active_h= “3648”; o max_gain_val = “27000”; o pixel_t = “gray”; o max_framerate = “26800”; o default_framerate = “26800”; o max_exp_time = “10000000”;

After the flashing is finished, I check with v4l2-ctl --device /dev/video0 --all the parameters and here the Bytes per line number is 5632 instead of 5440. bytes_per_line And so, when I try to take images, nothing happens. In the dmesg, I see the message "No response from camera processor". How can I modify this Bytes per line number to match the width of the image, as we had before ?

2. Max exposure Another issue that we previously had and that you helped us solve was related to the maximum exposure time for this sensor. When the exposure time is calculated automatically in your program, the maximum we get with the sensor is around 2,6 seconds. However, we need a maximum exposure time of 10 seconds. Before, by modifying the update_tegra_controls() and set_sen_exposure() functions in your programs, I could get a value of over 2,6 seconds. But with the new version, another function is called: max_exposure

Should I modify this function now to achieve an exposure time of more than 2,6 seconds ?

3. L4T 35.x The previous two points are problems I encountered when trying to install a 32.x version of L4T. But I also tried a 35.x version. After seeing issue #49 I tried to follow the same steps. For the pixelformat, I was able to obtain the GREY format as desired (by doing the method of the issue #52). Then, I ran the max_speed.sh script. But when I try to take an image, it still doesn't work, and I get a "NULL VI channel received" message in the dmesg. I read online that it was probably linked to a problem with the pix_clk_hz. Do you have an idea of how I can check that all the values are set correctly?

PierrickIntom avatar Feb 26 '24 17:02 PierrickIntom