3.2 ECFG: ON (UART Terminal Mode)

When ECFG is set to ON, the board is configured through a serial terminal connected via USB. This method allows access to extended settings that are unavailable through dual in-line package (DIP) switches.

In UART configuration mode, the device begins accepting input as soon as it is powered. Enter each configuration value in the correct order, pressing "Enter" after each one to move to the next.

Table 3-3 showcases a configuration that uses Conductive mode with a four-second sleep time, Extended Output mode enabled for delta and standard measurements, and user-defined reference and threshold values.

To enter configuration values using a serial terminal on the host PC, select the COM port assigned to the MCP2221 and apply the following UART settings:

Table 3-2. UART Serial Communication Configuration Settings
SettingValue
Baud Rate38400
Data Bits8
ParityNone
Stop Bits1
Table 3-3. Example UART Command Input and Actions
StepInput + Enter keyDescription
10Set mode to Conductive
23Set sleep time to four seconds
31Enable extended output
42Output format: Delta and standard measurement
52Selecting a custom reference value
6REFERENCE_VALUE (0 to 65,535)Enter a custom reference value
7THRESHOLD_VALUE (0 to 65,535)Enter a custom detection threshold value

Other values are available for each step. For a complete list, refer to the “Enhanced Configuration Mode Enable” section of the MTCH9010 data sheet.