I enable AF engine
My setting is
int iir0[12] = {64, 0, 0, 21, 22, 21, 0, 0, -16, 32, -16};
int iir1[12] = {64, 0, 0, 21, 22, 21, 0, -29, -16, 32, -16};
gAF_config.hmf_config.threshold = 0;
gAF_config.iir_config.hz_start_pos = 2;
gAF_config.paxel_config.height = 64;
gAF_config.paxel_config.width = 64;
gAF_config.paxel_config.line_incr = 4;
gAF_config.paxel_config.column_incr = 4;
gAF_config.paxel_config.vt_start = 60;
gAF_config.paxel_config.hz_start = 80;
gAF_config.paxel_config.hz_cnt = 32;
gAF_config.paxel_config.vt_cnt = 24;
gAF_config.fv_sel = AF_HFV_AND_VFV;
gAF_config.mode = ACCUMULATOR_PEAK;
gAF_config.rgb_pos = RG_GB_BAYER;
But, ths peak value is not stable(run 50 step motor)
The value is follow
4526099
4444242
4427746
4362516
4673635
4526131
4476963
4444371
4444307
4346116
4378595
4411699
4542563
4444355
4460691
4509923
4460595
4542531
4493555
4493523
4411507
4427987
4608163
4526115
4624371
4345667
4395060
4673587
4411492
4460595
4493155
4460596
4476995
4575428
4493363
4395172
4526227
4542419
4345843
4509860
4411427
4526243
4460563
4444259
4493508
4346132
4395140
4542450
4575106
4493298
Where is the problem??And How to solve it?
thanks