6 Hardware Setup

First, disable the USB bridge and enable the UART configuration on the MTCH9010 Evaluation Kit. Ensure that the jumpers are positioned as shown in the table below.

Table 6-1. Jumper Settings of the MTCH9010
SwitchState
OUTPUTN/A
LOCKOFF
ECFGON
MODEN/A
USB BRIDGEOFF
SLEEP PERIODN/A

Then, connect the MTCH9010 development board to the main development board at the GPIO pins specified in Devicetree. For the SAM L21 Xplained Pro, the following pins are used on the EXT2 header.

Table 6-2. Connections to the SAM L21 Evaluation Board
MTCH9010 Evaluation KitSAM L21 XPlained Pro
VDDVCC
GNDGND
HBEATPA20
DETECT (OUT)PB15
WAKEPB14

Then, plug in and Flash the board through the debug USB interface (see the Programming the Device chapter). Connect to the virtual COM port opened by the board at 115200 baud (8 data bits, 1 stop bit, no parity) using MPLAB Data Visualizer or another serial terminal. Press the Reset button on the MTCH9010 board to ensure the board is ready to accept a configuration.

CAUTION: The MTCH9010 can only be configured once per reset. The Reset button must be pressed each time the device is booted or a configuration change is desired.

Reset the MCU development board. If everything is set up correctly, Zephyr should start printing out information, as shown below.

Figure 6-1. Serial Terminal Output