SLAU857A May   2021  – July 2021 MSP430FR2476 , MSP430FR2512 , MSP430FR2522 , MSP430FR2532 , MSP430FR2533 , MSP430FR2632 , MSP430FR2633 , MSP430FR2672 , MSP430FR2673 , MSP430FR2675 , MSP430FR2676

 

  1.   1
  2.   2
    1.     3
    2.     4
  3.   5
    1.     6
    2.     7
    3.     8
  4.   9
    1.     10
      1.      11
      2.      12
      3.      13
    2.     14
    3.     15
  5.   16
    1.     17
      1.      18
      2.      19
        1.       20
        2.       21
        3.       22
      3.      23
    2.     24
      1.      25
      2.      26
  6.   27
    1.     28
      1.      29
      2.      30
      3.      31
      4.      32
      5.      33
    2.     34
      1.      35
      2.      36
      3.      37
    3.     38
    4.     39
      1.      40
      2.      41
      3.      42
      4.      43
      5.      44
    5.     45
    6.     46
      1.      47
      2.      48
      3.      49
      4.      50
      5.      51
  7.   52
    1.     53
    2.     54
    3.     55
    4.     56
    5.     57
  8.   58
  9.   59

Parameter Adjustment Logic and Method

The steps involved in tuning can be roughly divided into four parts: Data monitoring, sensitivity parameters adjustment, system reliability adjustment, response speed and power consumption adjustment. The overall idea is to first adjust the sensitivity, then adjust the reliability of the touch, and finally adjust the response time and power consumption. Remember to use the data monitoring function to evaluate the effect of parameter adjustment during the entire parameter adjustment process.

The logic block diagram of parameter adjustment is shown in Figure 5-11. Each parameter adjustment step often needs to be repeated. It should be noted that the difficulty of the entire parameter tuning has a great relationship with the initial mechanical and hardware design. A good mechanical and hardware design mean that the noise of the touch signal is stronger, and the system reliability parameter adjustment is simpler.

The two button nodes in the entire development process are: whether the signal change generated by the touch is higher than the minimum threshold, whether the system can pass the reliability test. The former characterizes the amount of signal generated by the touch. If the amount of signal is too small, the system may be affected by noise and cause false touches. The latter characterizes whether the system can work normally under certain conditions. Failure to meet any of the above conditions means that the machinery and hardware need to be modified.

GUID-20210517-CA0I-JSXH-PJ8P-JTQVTW37XLRJ-low.pngFigure 5-11 Logic of Parameter Adjustment

Before adjusting the parameters, first click Communications->Connect on the main GUI interface to connect the MCU to the GUI, and then adjust the relevant parameters according to the following subsections. In the process of online parameter adjustment, the following buttons in the sensor widget are used to control parameter update and reset, as shown in Figure 5-12. The corresponding functions are shown in Table 5-4. If there is no response from the GUI, remove and restore power and confirm that the HID Bridge UART/I2C is connected correctly.

GUID-20210517-CA0I-HW2S-LKPV-B9NPWCMTFDBP-low.pngFigure 5-12 Online Tuning Button
Table 5-4 Buttons for Online Tuning
NumberButtonDescription
1 Force Recalibration Mandatory system calibration, used when the button function is not normal.
2 Apply Transfer the parameters on the GUI to the MCU.
3 Read Read the current relevant parameters in the MCU.
4 Reset Reset the touch parameters in the GUI and MCU to the initial configuration values of the GUI.