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:
| Setting | Value |
|---|---|
| Baud Rate | 38400 |
| Data Bits | 8 |
| Parity | None |
| Stop Bits | 1 |
| Step | Input + Enter key | Description |
|---|---|---|
| 1 | 0 | Set mode to Conductive |
| 2 | 3 | Set sleep time to four seconds |
| 3 | 1 | Enable extended output |
| 4 | 2 | Output format: Delta and standard measurement |
| 5 | 2 | Selecting a custom reference value |
| 6 | REFERENCE_VALUE (0 to 65,535) | Enter a custom reference value |
| 7 | THRESHOLD_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.
