During initialization the application must pass a few parameters to MTouchSetSensor(…) for each sensor. This chapter describes how to select optimal values for a press detection threshold, oversampling factor, CTMU current and charge delay. If these parameters are not optimized then it can influence on the sensors’ performance especially in a noisy environment. The optimization of sensors can be divided in a few steps:
- Step 1. Optimal CTMU current selection (MTOUCH_CTMU_CURRENT parameter in mTouchConfig.h).
- Step 2. Optimal CTMU charge delay selection.
- Step 3. Optimal oversampling factor selection.
- Step 4. Optimal press detection threshold selection.