Use Jetson Nano MIPI interface connect MAX9286(with four GMSL camera)

Dear Shane,
Please refer below raw data.

frame_119.raw (1.8 MB)

Thanks a lot.

By the way , I attached my dts file .
Could you help to check it together?

tegra210-porg-camera-max9826.dtsi (864 Bytes)

Thanks a lot.

1 Like

I got this image by 7-yuv from the frame_119.raw, both or RGB565 and RGBA1555 can see the Y correctly not sure the UV is correct or not. Does the sensor output YUV422?.

BTW have a try set the set the preferred_stride as 2560 to try.

Dear Shane,

As i try to upload raw uyvy data to below url:
https://rawpixels.net/ ( choose format RGB565 )

  1. one camera 1280X720
    raw data
    frame_119.raw (1.8 MB)

use website and convert to below png image:

  1. 4 camera 5120 x 720
    raw data
    5120.raw (7.0 MB)

use website and convert to below png image:

Seems the outlines of object is more clear than jpeg format.
Do you think it need modify any other parameters?

Thanks a lot.

Don’t understand your question, sorry.

Dear Shane,
Yes, you are right,
We also try to use RGB565 to get more clear image at the same time.
(maybe use JPEG format is incorrect way)

As check the Camera module spec , it output UYVY pixel format.
Do you mean Camera sensor doesnt output UV information?
Actually , i doesnt see any color information from RGB565 image.

Thanks a lot.

Dear Shane,

Em… I means that seems Y is correct , but seems it’s also incorrect with UV value , does it need modify something in Jetson nano side or confirm with sensor vendor about UV output?

Thanks a lot.

I don’t know what’s exactly the sensor output, but you need to confirm the output format is YUV422 packed.

Dear Shane,

If Camera output YUV422 unpacked format,
Does Jetson nano support?

Thanks a lot.

Yes, nano support it.

Dear Shane,

As i confirm with sensor vendor,
Camera ISP output UYVY unpacked format.
So what should i do next to get full color image?

Thanks a lot.

The support format as below, you can check the TRM for detail information.

Dear Shane,

I had already check this section from TRM documatation.
But what should i do on Jetson Nano to capture UYVY 422 unpacked raw data?
Can i get any guide within below link?
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3231/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fcamera_sensor_prog.html%23wwpID0E0KCB0HA

Thanks a lot.

You may need to check with vendor if can output packed format due to Nano not support unpacked YUV422 format.

Dear Shane ,
Thank you so much for your kindness help.
I will double confirm with vendor about their output format.

By the way , If their sensor already output UYVY packed format , and the image shows like former atteched .
What should i check next?

Thanks a lot.

Dear Shane,

Does it have any method to disable jetson nano ISP function?
I want to capture video data without ISP process.

Thanks a lot.

Dear Shane,

I have tried preferred_stride with 2560.
It shows as the same status.

Dear Shane,

Does Jetson nano ISP did some format work , so that i cant capture uyvy raw data?

Dear Shane,

As i check the code , vivid_vid_out_g_fbuf will set the format to V4L2_PIX_FMT_RGB565 , do you think it will cause i cant get raw UYVY data?

Thanks a lot.

Current the v4l2-ctl pipeline already bypass the ISP, only the argus/nvarguscamerasrc pipeline include the ISP. The vivid driver only a test APP that won’t cause it.