IMX477 enable WDR mode in Xaiver NX Jetpack 4.6.3

I am using Raspberry Pi HQ camera IMX477 on Jetpack4.6.3 (R32.7.3), I want to use WDR mode, but the default driver does not have WDR mode, how should I modify it, I found some drivers here, but the version is a bit old, And no wdr related information was found in the patch file (NVIDIA-Jetson-IMX477-RPIV3/patches_nx/4.5_nx_imx477-v0.1.0.patch at master · RidgeRun/NVIDIA-Jetson-IMX477-RPIV3 · GitHub)
Thanks

#nvargus_nvraw --lps
nvargus_nvraw version 1.11.0
Number of supported sensor entries 2
Entry Source Mode Uniquename Resolution FR BitDepth Mode
Index Index Index CSI Dyn Type
0 0 0 jakku_rear_RBPCV3 3840x2160 29 10 10 Bayer
1 0 1 jakku_rear_RBPCV3 1920x1080 59 10 10 Bayer

Hello @deeppixel ,

You would need to read the sensor datasheet and look for the register configuration that offers that enables the feature.

Then, you can create a driver control so that you can interact with it through v4l2 or regular IOCTLs.

Please let us know if you require further assistance with adding the feature.

regards,
Andrew
support@proventusnova.com

hello deeppixel,

you’ve to bring-up it by yourself since reference drivers did not support WDR mode.

Thank you very much for your reply. I am a newbie in camera driver development. I don’t know how to modify the kernel to support WDR mode. I would be grateful if you have any suggestions.

I searched in the kernel driver and found that the cameras that support bayer_wdr_pwl or bayer_wdr_dol mode include imx185, imx274 and imx390. Is there any simple way to support wdr mode for imx477. Thanks

hello deeppixel,

it’s suggest to contact with Jetson Camera Partners for camera solutions.

to be honest, it’s not an easy approach to enable new WDR sensor mode.
you’ve have obtain the sensor mode settings, to include the settings within sensor driver (register settings) and device tree property settings.
even though it’s enabled, it needs further tuning settings to fine tune the image quality.

Hello @deeppixel,

Do you have access to the sensor documentation ?

regards,
Andrew

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.