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.

OPT3101: External clock calibration calculation problems.

Part Number: OPT3101

Hi,

1. Do I need to give a signal from the outside when using an external clock calibration? I have clients who use GP2 without an actual reference clock, but it still works.

2. The formula for calculating REF_COUNT_LIMIT is different from that in the Distance Sensor System Calibration manual. Which formula should I use?

                                

3. The two different formulas I can understand that the value written by the register is the count of the reference clock, to avoid non-synchronization, actually to count how many times, the chip will calculate the value according to the formula on the calibration book!

eg: The peripheral clock is 625KHz, SYS_CLK_DIVIDER=6, according to the manual REF_COUNT_LIMIT= 1, and according to the calibration manual it is 16384, that is, before giving the register a 1, it does its own work before writing it in to multiply by 2 to the 14th power to become 16384, Is that right?

sbau310.pdf