SNOA963B February   2020  – July 2021 LDC2112 , LDC2114 , LDC3114 , LDC3114-Q1

 

  1.   Trademarks
  2. 1Inductive Touch Buttons – The Working Principles
    1. 1.1 Target Distance (DTARGET) and Sensor Size
    2. 1.2 Target Material
    3. 1.3 Target Thickness
  3. 2LDC211x and LDC3114 Gain Settings
  4. 3Threshold Configuration Process
  5. 4Example Application
  6. 5Summary
  7. 6Revision History

Threshold Configuration Process

Tuning button sensitivity requires a correctly configured LDC211x/LDC3114. The configuration process(3) prior to tuning the button activation force should include the following:

  • Selecting the correct power mode (LPWRB pin)
  • Choosing the appropriate scan rate (NP_SCAN_RATE, LP_SCAN_RATE)
  • Setting the correct sensor configuration (SENSORn_CONFIG)
  • Configuring the counter-scale value (CNTSC)

A quick way to check whether the device is configured correctly is by probing the INx pins; the waveforms should resemble those shown in Figure 3-1.

GUID-6EC37D90-96D2-42B9-BDF2-DD502952FFB4-low.pngFigure 3-1 INx Waveforms

An error-free STATUS (Register 0x00) and correct sensor frequency, sampling window, and scan rate are good indications of a correctly configured LDC211x/LDC3114. Once the device has been verified to have been configured correctly the gain can be adjusted for each individual button by following these steps:

  1. Perform an I2C read transaction to determine the currently programmed GAINn (Registers 0x0E, 0x10, 0x12, and 0x13) and HYST (Register 0x18) values.
  2. Correlate the GAINn register values to the gain factor by using Table 41 in the LDC2114 data sheet or Table 7-54 in the LDC3114 data sheet. This currently programmed GAINn factor will be referred to as GAINnFACTOROLD from here on.
  3. Apply the desired amount of activation force on the button being calibrated and perform I2C read transactions to capture the STATUS (address 0x00) and DATAn value for the corresponding button. Using the captured DATAn value the new GAINn factor value can be calculated using Equation 1.
Equation 1. GUID-D329251B-1DCE-4C21-AB0E-D830E3E7A0F8-low.gif

The SWITCHINGTHRESHOLD can be calculated using Equation 2.

Equation 2. GUID-BE7B1BCC-12F8-4EEF-A93A-8C2549F7CDA8-low.gif

where

  • HYST is the value stored in register 0x18, which by default is 8

The GAINnFACTORNEW needs to be now correlated back to the closest GAINn decimal value using Table 41 in the LDC2114 data sheet and programmed into the corresponding GAINn register.

If the above process was followed correctly the button should now be calibrated to the desired button activation force. As an additional quality check, one can program the LDC211x/LDC3114 with the calculated gain factor, apply the desired button activation force, and verify if the button turns on. Section 4 walks through an example of the threshold configuration process for an inductive touch button interface.

Detailed instructions for configuring the LDC2114/LDC2112 have been provided in the LDC2114 data sheet.