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.

MSP430FR6989: ESI TSM_Auto_cal() fuction

Part Number: MSP430FR6989
Other Parts Discussed in Thread: TIDM-LC-WATERMTR

I download a FR6989 LC ESI design code,in the software, there has  a LC_Threshold_TSM_CAL  value

so how should i set the LC_Threshold_TSM_CAL   value ? what is the rule to change this value if my  LC parameters changes?

  • Hi Kissin,

    I don't think you need to change the value of LC_Threshold_TSM_CAL. When your LC changes, you need to change cycle_width value. cycle_width = (ESICLK / freq of LC) - 2. The default value of the ESICLK frequency is 4.8MHz, and in the application note the frequency of the LC sensor is 500kHz. So the cycle_width is set to be 8 in this application. 

    You can change the cycle_width based on your application through this formula.

    Best regards,

    Cash Hao

**Attention** This is a public forum