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:
  1. The existing saved configuration will be cleared.
  2. 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.

RegisterButton[n]Value
SENCTRLBUTTON 0 to 110x01
BUTTON 12 to 150x00
CSDBUTTON 0 to 150x00
MCLKFREQBUTTON 0 to 151 MHz
FILTERLEVELBUTTON 0 to 15FILTER_LEVEL_16
THRESHOLDBUTTON 0 to 150x14
GAINBUTTON 0 to 150x01
HYSTERESISBUTTON 0 to 1525%
AKSGRPBUTTON 0 to 15NO_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.