To avoid aliasing, we chose another frequency of 8.57 MHz. However, the crosstalk variations were quite significant each time.
follow by:[FAQ] OPT3101: Dealias Operation - Sensors forum - Sensors - TI E2E support forums
# De-alias settings
deAliasFreq=1 # 0 for 6/5 and 1 for 6/7
override_clkgen_reg=0
dealias_en=1 # Switch to enable or not. if 0 always 10MHz when override=0
# Digital Settings
en_multi_freq_phase=1 # Irrespective of modulation frequency it will give out f1 and f2 information when 1
en_dealias_meas=0 # Freq of modulation is determined by NCR config register.
ncr_config=1-deAliasFreq
sub_vd_clk_cnt=np.uint16(9999*(5+(deAliasFreq<<1))/6.0)
tg_illumen_start=np.uint16(0*(5+(deAliasFreq<<1))/6.0)
tg_illumen_end=np.uint16(8500*(5+(deAliasFreq<<1))/6.0)
tg_capture_start=np.uint16(9300*(5+(deAliasFreq<<1))/6.0)
tg_capture_end=np.uint16(9800*(5+(deAliasFreq<<1))/6.0)
tg_calc_start=np.uint16(8500*(5+(deAliasFreq<<1))/6.0)
tg_calc_end=np.uint16(9999*(5+(deAliasFreq<<1))/6.0)
capture_clk_cnt=np.uint16(8600*(5+(deAliasFreq<<1))/6.0)
tg_en=1
why the sub_vd_clk_cnt and tg_calc_end base on 9999 not 12000?