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: Frequency calibration related

Part Number: OPT3101

Hi Alex,

I have a few questions for external clock frequency calibration, as follows:

1、After using an external clock to perform frequency calibration, how many ppm will the frequency error be? Does the selected external clock frequency affect the calibration effect? If you want to make the calibration effect good, is there a recommended frequency?

2、The software development of the host computer is based on the SDK( version is 0.8.). Codes related to frequency calibration have been added to the initialization code(OPT3101_configuration.cpp). code show as below:

Note: The external reference frequency is 1MHZ

this->reg.en_cont_fcalib = 1; // //Enables continuous frequency calibration
this->reg.start_freq_calib = 1; // //Starts the frequency calibration block
this->reg.en_floop = 1; // //Enables the frequency correction loop
this->reg.en_auto_freq_count = 1; // //Enables automatic frequency count
this->reg.en_freq_corr = 1; // //Enables digital frequency correction
this->reg.sys_clk_divider = 5; // //Divider for system clock
this->reg.ref_count_limit = 20480; // //Counter limit
this->reg.gpio2_obuf_en = 0; // //Disables output buffer on GPIO2
this->reg.gpio2_ibuf_en = 1; // //Enables ref clock input of GPIO2

Best,

Dongming.cui