Hi,
Recently I used the OPT3101 on a custom board and initialized OPT3101 according to the manual.
But I got the following problems(please help support, thank you in advance):
1. I read to the PHASE_OUT(reg 08h[15:0]) and got the value, but no matter shielding with hand or pointing OPT3101 far away, its distance value fluctuates at 3~4 meters;
2. I read to the HDR_MODE(reg 08h[17]) and the value is always 1 which shows OPT3101 has been using ILLUM_DAC_H_TX0, and i think it should be 0 at close range and 1 at long distance;
3. I read to the AMP_OUT(reg 09h[15:0]) and got a very small value less than 1000 that did not meet the requirements.
I want to know if my initialization setting is wrong or I may not be outputting enough optical power from the LED.
So here's how I initialize it: I used i2c-tools to write registers across the I2C bus.
(1) NUM_SUB_FRAMES = 127, NUM_AVG_SUB_FRAMES = 127;
(2) IMAB_MAX_SEL = 14 (200ua);
(3) EN_ADAPTIVE_HDR = 1;
(4) ILLUM_DAC_L_TX0:1.4 * 9, ILLUM_DAC_H_TX0:5.6 * 30;
(5) HDR_THR_HIGH = 27000, HDR_THR_LOW = 1800;
(6) EN_TEMP_CONV = 1;
(7) TG_EN = 1;
(8) INT_XTALK_CALIB = 1→0.
Emitter: https://dammedia.osram.info/media/resource/hires/osram-dam-5340617/SFH%204250S_EN.pdf