TYZS3

Overview

TYZS3 is a low power-consumption embedded Zigbee module developed by Tuya. It consists of a highly integrated wireless RF processor chip (EFR32MG13P732F512GM48) and several peripherals. TYZS3 is embedded with a low power-consumption 32-bit ARM Cortex-M4 core, 512-KB flash memory, 64-KB RAM, and rich peripheral resources.

Hardware

  • EFR32MG13P732F512GM48 Gecko SoC

  • CPU core: ARM Cortex®-M4 with FPU

  • Flash memory: 512 kB

  • RAM: 64 kB

  • Transmit power: up to +19 dBm

  • Operation frequency: 2.4 GHz

  • Crystal for HFXO (38.4 MHz).

For more information about the EFR32MG13 SoC and TYZS3 module:

Supported Features

The tyzs3 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.

tyzs3/efr32mg13p732f512gm48 target

On-target memory for this board target: 64 KiB of RAM, 512 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

Bluetooth

on-chip

Silicon Labs Series 2 Bluetooth HCI1

silabs,bt-hci-efr32

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 Port41

silabs,gecko-gpio-port

I2C

on-chip

Silicon Labs Series 0-2 I2C2

silabs,gecko-i2c

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

MTD

on-chip

Flash node1

soc-nv-flash

Pin control

on-chip

Silabs Gecko Pin Controller1

silabs,gecko-pinctrl

RTC

on-chip

Silabs Gecko RTCC (Real-Time Counter)1

silabs,gecko-rtcc

Serial controller

on-chip

Gecko USART12

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

Watchdog

on-chip

Silicon Labs Series 0-2 WDOG2

silabs,gecko-wdog

System Clock

The EFR32MG13P SoC is configured to use the 38.4 MHz external oscillator on the board.

Serial Port

The EFR32MG13P SoC has three USARTs and one Low Energy UARTs (LEUART with 9600 maximum baudrate). USART0 is used for the console.

Programming and Debugging

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

flash debug rtt attach debugserver reset
jlink ✅ (default) ✅ (default)
openocd
pyocd

Flashing

This board supports jlink, openocd and pyocd. For pyocd, you have to install the pack first:

pyocd pack install efr32mg13p732f512gm48

Solder wires to the pins SWDIO, SWDCLK, nRST, GND and VCC (3.3V). Then connect them to a power source and a debug adapter of your choice.

Here is an example for the Hello World application.

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

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

  • Speed: 9600

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Reset the board and you should see the following message in the terminal:

Hello World! tyzs3/efr32mg13p732f512gm48