3.12 Restore Default Configuration
The device is initially set with the default configuration provided by Microchip®. To
restore the device to this default state, the users must set the DEVCTRL.SMCFG bit to
'
1
'. Upon doing so, the bit will automatically reset to
'0
'. It is imperative for users to verify the integrity of the
configuration by assessing the 16bit-CRC to ensure that it has been loaded correctly.
Note:
- The existing saved configuration will be cleared.
- The suspended and disabled sensor register values will be cleared immediately, but the measurements will be performed after device reset.
Refer the following manufacturer configuration table for further information.
Register | Button[n] | Value |
---|---|---|
SENCTRL | BUTTON 0 to 11 | 0x01 |
BUTTON 12 to 15 | 0x00 | |
CSD | BUTTON 0 to 15 | 0x00 |
MCLKFREQ | BUTTON 0 to 15 | 1 MHz |
FILTERLEVEL | BUTTON 0 to 15 | FILTER_LEVEL_16 |
THRESHOLD | BUTTON 0 to 15 | 0x14 |
GAIN | BUTTON 0 to 15 | 0x01 |
HYSTERESIS | BUTTON 0 to 15 | 25% |
AKSGRP | BUTTON 0 to 15 | NO_AKS_GROUP |
MP | - | 30 ms |
LPMP | - | 100 ms |
TIMEOUTCONF | - | 5 sec |
REBURSTMODE | - | REBURST_UNRESOLVED |
DI | - | 0x02 |
ANTITCHINT | - | 0x05 |
MOD | - | 0x00 |
DHT | - | 4 sec |
TCHDR | - | 4 sec |
ANTITCHDR | - | 1 sec |
ANTITCHRECALTHRESH | - | 50% |
NOISETHRESH | - | 0x0F |
NOISEINT | - | 0x03 |
FREQ[0] | - | 0x00 |
FREQ[1] | - | 0x03 |
FREQ[2] | - | 0x07 |
DEVCTRL | - | 0x07D0 |
LUMPCONF[0] | - | 0x0000 |
LUMPCONF[1] | - | 0x0000 |
LUMPCONF[2] | - | 0x0000 |
LUMPCONF[3] | - | 0x0000 |
PIN | - | 0x0000 |
DIR | - | 0x0000 |
OUT | - | 0x0000 |
IN | - | 0x0000 |
CRC | - | 0x1040 |
Note: The Cyclic Redundancy Check (CRC) values for the mentioned
configuration; however, due to the activation of the Autotune and Easytune
functionalities, modifications will be made to the channel threshold and frequency
parameters.