EFM32 Tiny Gecko (EFM32TG-STK3300)

Overview

The EFM32 Tiny Gecko Starter Kit EFM32TG-STK3300 contains a MCU from the EFM32TG family built on ARM® Cortex®-M3 processor with excellent low power capabilities.

Hardware

  • EFM32TG840F32 MCU with 32 kB flash and 4 kB RAM

  • Advanced Energy Monitoring provides real-time information about the energy consumption of an application or prototype design.

  • 160 segment Energy Micro LCD

  • 2 user buttons, 1 LED and a touch slider

  • Ambient Light Sensor, Inductive-capacitive metal sensor and touch sensor

  • On-board Segger J-Link USB debugger

For more information about the EFM32TG SoC and EFM32TG-STK3300 board:

Supported Features

The efm32tg_stk3300 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

efm32tg_stk3300/efm32tg840f32 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M3 CPU1

arm,cortex-m3

Flash controller

on-chip

Silicon Labs Gecko flash controller1

silabs,gecko-flash-controller

GPIO & Headers

on-chip

Silicon Labs Series 0-2 GPIO Peripheral1

silabs,gecko-gpio

on-chip

Silicon Labs Series 0-2 GPIO Port3 3

silabs,gecko-gpio-port

I2C

on-chip

Silicon Labs Series 0-2 I2C1

silabs,gecko-i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MTD

on-chip

Flash node1

soc-nv-flash

Pin control

on-chip

Silabs Gecko Pin Controller1

silabs,gecko-pinctrl

Serial controller

on-chip

Gecko USART1 1

silabs,gecko-usart

on-chip

Gecko LEUART1

silabs,gecko-leuart

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

Connections and IOs

The EFM32TG SoC has six gpio controllers (PORTA to PORTF), but only three are currently enabled (PORTB, PORTC and PORTD) for the EFM32TG-STK3300 board.

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

Name

Function

Usage

PD7

GPIO

LED0

PD8

GPIO

Push Button PB0

PB11

GPIO

Push Button PB1

PD0

USART1_TX

UART Console USART1_TX #1 (EXP Pin 4)

PD1

USART1_RX

UART Console USART1_RX #1 (EXP Pin 6)

System Clock

The EFM32TG SoC is configured to use the 32 MHz external oscillator on the board.

Serial Port

The EFM32TG SoC has two USARTs and one Low Energy UART (LEUART). USART1 is used for the console. It is exposed to the EXP Header on the board (TX: Pin 4, RX: Pin 6).

Programming and Debugging

The efm32tg_stk3300 board supports the runners and associated west commands listed below.

flash debug debugserver rtt attach
jlink ✅ (default) ✅ (default)

Note

Before using the kit the first time, you should update the J-Link firmware in Simplicity Studio or with JLinkConfig.

Flashing

The EFM32TG-STK3300 includes an J-Link debug adaptor built into the board. It is used to flash and debug the EFM32TG on the board.

Flashing an application to EFM32-STK3300

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 efm32tg_stk3300 samples/hello_world

Connect the EFM32TG-STK3300 to your host computer using the USB port. Flash the device:

west flash

Connect the board with Use a Serial-to-USB cable to connect the host computer with the board. The serial port is exposed on the EXP Header (TX: Pin 4, RX: Pin 6).

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 should be able to see on the corresponding Serial Port the following message:

Hello World! efm32tg_stk3300/efm32tg840f32