HI,TI:
In SDK 8.6, AM62A ISP uses non-fixed exposure (100~33000us), and the image is blue. With fixed exposure (11ms), the image is normal. Any suggestions? Thank you! AE log is as follows:

DCC XML:
image:
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
HI,TI:
In SDK 8.6, AM62A ISP uses non-fixed exposure (100~33000us), and the image is blue. With fixed exposure (11ms), the image is normal. Any suggestions? Thank you! AE log is as follows:

DCC XML:
image:
Hello Yangrongbo,
When you had non-fixed exposure time (100~33000us), was the image brightness okay? Can you print out the exposure time calculated by the 2A algorithm?
When you tuned AWB, did you use fixed exposure or automatic exposure?
Thank you.
Jianzhong
Hi Yangrongbo,
I suppose you developed the IMX623 driver for AM62A on your own.
Do you receive the xml files from Sony or do you do the tuning on your own camera?
For Sony, sensor exposure is always fixed at 11ms.
HI, Jianzhong,
When I tuned awb, I use fixed exposure. The exposure time calculated by 2A algorithm is as follows:

In addition, how to set H3A_INPUT_LSB appropriately, 2 or 4?
It is typically around 2~6.
You may start with 4 and adjust if necessary.
Hi Yangrongbo,
The calibration plots look fine to me.
That is probably why you don't see any issue with 11ms exposure time.
uses non-fixed exposure (100~33000us), and the image is blue.
What is the condition for the images to be blue?
Could you please share the sensor companding knee points and some raw images in failure case?
Hi yangrongbo,
I cannot tell for sure if anything is wrong in your AWB calibration although the calibration plots looks reasonable.
It might be either that 2A runs too slow in your system or AWB calibration is not done properly.
Camera app in TI SDK is a demo program that is not tested and tuned for complex road test conditions.
You will have to check if the issue happens because AE/AWB are slow in response to lighting condition changes.
Then, you may have increase the frame rate of AE and AWB as necessary.
You may also refer to IMX623 reference tuning and AE/AWB setting changes Sony did for TDA4 in the link below.
| IMX623 | 1 | Sony module w/ SR1069A Lens | Please contact Sony for SDK 8.1 driver Registration flow | Developer World (sony.com) |
Hi yangrongbo,
Simply adjust your knee points so that black level is removed before decompanding, e.g.,
From below sensor companding knees points before adding 200 black level
0 0
512 512
1024 873
To decompanding knee points used by AWB plugin
0 0
200 0
712 512
1073 1024
HI, Gang Hua:
From below sensor companding knees points before adding 200 black level
0 0
273 1118481
546 2236962
3822 15658734
4095 16777215
65535 16777215
To decompanding knee points used by AWB plugin
0 0
200 0
1118681 273
2237162 546
15658934 3822
16777415 4095
16777415 65535
Is it correct?
0 0
273 1118481
546 2236962
3822 15658734
4095 16777215
65535 16777215
This does not look like reasonable sensor companding knee points.
Anything below 1118481 in the linear raw image would get lost during sensor companding.
HI, Gang Hua:
From below sensor companding knees points before adding 240 black level
0 0
256 256
512 1024
831 3900
994 7800
1319 23400
1984 87315
2530 174630
2871 349260
2968 548421
3258 1736000
3541 5208000
3855 16777215
65535 16777215
0 0
256 256
512 1024
831 3900
Yes, this looks good and you can add the black level on top.