The latest development version of this page may be more current than this released 4.0.0 version.

SparkFun Thing Plus Matter

Overview

The MGM240P Mighty Sparkfun Think Plus Matter contains a Wireless System-On-Chip from the EFR32MG24 family built on an ARM Cortex®-M33F processor with excellent low power capabilities.

MGM240P Sparkfun Think Plus Matter

MGM240P Sparkfun Think Plus Matter (image courtesy of Sparkfun)

Hardware

  • Based on the Series 2 EFR32MG24 SoC

  • CPU core: 32-bit ARM® Cortex®-M33 core at 39 MHz

  • Flash memory: 1536 kB

  • RAM: 256 kB

  • Supports Multiple 802.15.4 Wireless Protocols (Zigbee and OpenThread)

  • Bluetooth Low Energy 5.3

  • Crystals for LFXO (32 kHz) and HFXO (39 MHz).

For more information about the EFR32MG24 SoC and BRD2601B board, refer to these documents:

Supported Features

The board configuration supports the following hardware features:

Interface

Controller

Driver/Component

COUNTER

on-chip

stimer

FLASH

on-chip

flash memory

GPIO

on-chip

gpio

UART

on-chip

serial

TRNG

on-chip

semailbox

WATCHDOG

on-chip

watchdog

I2C(M/S)

on-chip

i2c

RADIO

on-chip

bluetooth

Other hardware features are currently not supported by the port.

Connections and IOs

In the following table, the column Name contains Pin names. For example, PA2 means Pin number 2 on PORTA, as used in the board’s datasheets and manuals.

Name

Function

Usage

PA8

GPIO

LED0

PA5

USART0_TX

UART Console EFM_BC_TX US0_TX

PA6

USART0_RX

UART Console EFM_BC_RX US0_RX

The default configuration can be found in boards/sparkfun/thing_plus_matter_mgm240p/sparkfun_thing_plus_matter_mgm240p_defconfig

System Clock

The EFR32MG24 SoC is configured to use the 39 MHz external oscillator on the board.

Serial Port

The EFR32MG24 SoC has one USART and two EUSARTs. USART0 is connected to the board controller and is used for the console.

Programming and Debugging

Note

Before using the kit the first time, you should update the J-Link firmware from J-Link-Downloads

Flashing

The sample application Hello World is used for this example. Build the Zephyr kernel and application:

# From the root of the zephyr repository
west build -b sparkfun_thing_plus_mgm240p samples/hello_world

Connect the sparkfun_thing_plus_mgm240p to your host computer using the USB port and you should see a USB connection.

Open a serial terminal (minicom, putty, etc.) with the following settings:

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Reset the board and you’ll see the following message on the corresponding serial port terminal session:

Hello World! _sparkfun_thing_plus_matter_mgm240p

Bluetooth

To use the BLE function, run the command below to retrieve necessary binary blobs from the SiLabs HAL repository.

west blobs fetch silabs

Then build the Zephyr kernel and a Bluetooth sample with the following command. The Observer sample application is used in this example.

# From the root of the zephyr repository
west build -b sparkfun_thing_plus_matter_mgm240p samples/bluetooth/observer