Skip to content
Β 
Β 

Latest commit

Β 

History

21,780 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Telink Matter SDK

Telink Website Forum License Matter


πŸ“– This is the README for the Telink Matter SDK (fork). For the upstream Matter (Project CHIP) README, see MATTER_README.md.

A Matter protocol implementation for Telink RISC-V SoC platforms based on the Connected Home over IP (CHIP) project


πŸ“– SDK Introduction

Telink Matter SDK is a software development platform that implements the Matter protocol on Telink RISC-V SoC platforms. It is built on top of the Connected Home over IP (CHIP) project and integrates with the Telink Zephyr SDK to provide complete Matter-over-Thread support for Telink chips.

What's Included

  • βœ… Matter 1.5.1 protocol stack
  • βœ… Telink Zephyr RTOS integration
  • βœ… Thread networking via OpenThread
  • βœ… BLE commissioning support
  • βœ… OTA firmware update support
  • βœ… Factory data provisioning
  • βœ… Power management with retention RAM
  • βœ… MCUboot bootloader integration
  • βœ… Multiple sample applications

Supported Examples

Example Type Description
Matter over Thread Lights, switches, locks, sensors, thermostats, bridges, Smoke/CO alarms, pumps, air quality sensors, window coverings, etc.
Development Tools Shell, OTA requestor, all-clusters test apps

πŸš€ Quick Reference

Resource Description Link
Release Note Telink Matter SDK Changelog & New Features Telink Matter SDK Release Note
Get Started Guide SDK Quick Start Guide Telink Matter Getting Started
Developer Guide Telink Matter Developer Guide (online) Telink Matter Developer Guide
Examples Matter Sample Applications See examples (filter by telink)
Dependency Telink Zephyr SDK Telink Zephyr SDK

πŸ“š Additional Resources

Type Resource
🌐 Telink Official Website Telink - Chips for a Smarter IoT
πŸ’¬ Telink Forum Telink Technical Support
πŸ“– Documentation Telink Matter Developer Guide
πŸ“¦ Matter Community Project Connected Home over IP

πŸ”§ Environment Setup

Prerequisites

The Telink Matter SDK is built on top of the Telink Zephyr SDK. They are tightly coupled and must be installed as a matched pair. Set up the Telink Zephyr SDK before the Matter SDK.

Dependency Overview

Component Role Required
Telink Zephyr SDK (dev-tlk_v4.1 branch) Provides the Zephyr RTOS core, Telink HAL, BLE stack, MCUBoot, OpenThread, the WEST tool and build toolchain βœ…
Telink Matter SDK (dev-tlk_v1.5 branch, this repo) Provides Matter protocol stack and Telink Matter examples; consumes the Telink Zephyr SDK via TELINK_ZEPHYR_BASE βœ…

Setup Steps

The setup follows the standard Zephyr "Environment Setup (Manual)" flow, tailored for Telink. A full walkthrough (with host package versions and screenshots) is in Chapter Environment Setup (Manual) of the Telink Matter Developer Guide; the high-level steps are:

  1. Set up the host (Ubuntu 24.04 LTS) β€” install the OS packages required by Zephyr and the Matter build: git, python3 + pip + venv, make, gcc, g++, cmake, dfu-util, device-tree-compiler, libssl-dev, libffi-dev, libudev-dev, usbutils and the curl/wget downloaders. Add the user to the dialout/plugdev groups and install the Telink USB udev rules so the programmer is reachable without sudo.

  2. Install west β€” Zephyr's multi-repository meta-tool. It is pulled in as a Python package and must be available on PATH before any west command is used.

  3. Get the Telink Zephyr SDK β€” west init the Zephyr manifest repository and then check out Telink SDK (branch dev-tlk_v4.1) . Run west update to fetch Zephyr itself, the Telink HAL, OpenThread, MCUBoot. Download and install Zephyr SDK toolchain (which provides the riscv64-zephyr-elf GCC cross-compiler). See Chapter Install Zephyr Project Environment in the Matter Developer Guide for the exact west commands.

  4. Get the Telink Matter SDK (this repo) β€” clone the dev-tlk_v1.5 branch of this repository next to the Zephyr SDK.

  5. Point the Matter SDK at the Zephyr SDK β€” export TELINK_ZEPHYR_BASE so the Matter build system can find Zephyr, the Telink HAL and the toolchain. This variable must be set in every shell used for Matter builds.

  6. Bootstrap & activate the Matter build environment β€” run the Matter scripts/activate.sh bootstrap once to install gn, ninja, pigweed and the Python dependencies, then source it in every new shell before building.

πŸ’‘ The exact shell commands for each step (apt/pip/west/git/export) are listed in the Environment Setup (Manual) chapter of the Telink Matter Developer Guide. Follow that guide to avoid version mismatches.

Building Examples

Matter builds use west build directly from each example's telink directory. Each supported board ships a dedicated *_README.md under examples/<app>/telink/boards/ that lists the exact build commands for every configuration of that board (default, OTA + LZMA, dual-mode Matter + Zigbee, 4 MB flash, Software Version 2 for DFU/OTA images, etc.).

Refer to the board README for the app + board combination you want to build:

Lighting App (TL3238X / TL521X / TL7218X)

Light Switch App (TL3238X Retention / TL7218X Retention)

Concurrent Mode (TL3238X / TL7218X)

Note: LZMA compression is required for 2 MB flash with OTA. Build Software Version 2 (via the flag documented in each *_README.md) to generate the DFU/OTA upgrade images (merged_dfu.lzma.bin, matter.ota). The same *_README.md files also cover dual-mode (Matter + Zigbee), BLE + Thread concurrent mode, Channel Sounding (CS), and 4 MB flash configurations.

Flashing Firmware

For developing and testing purposes, refer to Chapter Firmware Burning in our Matter Develop Guide.


πŸ“± Supported Boards

Board Chip Family Series Status
tl3238x TL323X - Telink Zephyr HAL_V2
tl5218x TL521X - Telink Zephyr HAL_V2
tl7218x TL721X - Telink Zephyr HAL_V2

πŸ“ Release Information

For version history and detailed changelog, refer to the Release Note.


πŸ“„ License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Made by Telink Semiconductor

About

Telink fork of CSA's open-source Matter implementation (project-chip/connectedhomeip), with vendor support for Telink Matter SoCs. Telink develop and release branches are maintained in this fork.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

139 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages