π 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
- For development environment setup, SDK acquisition, and quick-start instructions, refer to the Telink Matter Getting Started Guide.
- For a deeper walkthrough, see the online Telink Matter Developer Guide (Chapter Obtaining Matter Source Code covers the initial setup).
- For a detailed list of supported devices and resource usage, refer to the Release Note
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.
- β 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
| 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 |
| 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 |
| 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 |
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.
| 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 |
β |
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:
-
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,usbutilsand thecurl/wgetdownloaders. Add the user to thedialout/plugdevgroups and install the Telink USB udev rules so the programmer is reachable withoutsudo. -
Install
westβ Zephyr's multi-repository meta-tool. It is pulled in as a Python package and must be available onPATHbefore anywestcommand is used. -
Get the Telink Zephyr SDK β
west initthe Zephyr manifest repository and then check out Telink SDK (branchdev-tlk_v4.1) . Runwest updateto fetch Zephyr itself, the Telink HAL, OpenThread, MCUBoot. Download and install Zephyr SDK toolchain (which provides theriscv64-zephyr-elfGCC cross-compiler). See Chapter Install Zephyr Project Environment in the Matter Developer Guide for the exactwestcommands. -
Get the Telink Matter SDK (this repo) β clone the
dev-tlk_v1.5branch of this repository next to the Zephyr SDK. -
Point the Matter SDK at the Zephyr SDK β export
TELINK_ZEPHYR_BASEso 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. -
Bootstrap & activate the Matter build environment β run the Matter
scripts/activate.shbootstrap once to installgn,ninja,pigweedand 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.
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:
- TL3238X:
examples/lighting-app/telink/boards/tl3238x_README.md - TL5218X:
examples/lighting-app/telink/boards/tl5218x_README.md - TL7218X:
examples/lighting-app/telink/boards/tl7218x_README.md
- TL3238X Retention:
examples/light-switch-app/telink/boards/tl3238x_retention_README.md - TL7218X Retention:
examples/light-switch-app/telink/boards/tl7218x_retention_README.md
- TL3238X BLE + Thread Concurrent:
examples/lighting-app/telink/boards/tl3238x_concurrent_README.md - TL7218X BLE + Thread Concurrent:
examples/lighting-app/telink/boards/tl7218x_concurrent_README.md - TL7218X BLE + Thread Concurrent + Channel Sounding:
examples/lighting-app/telink/boards/tl7218x_concurrent_cs_README.md
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.mdfiles also cover dual-mode (Matter + Zigbee), BLE + Thread concurrent mode, Channel Sounding (CS), and 4 MB flash configurations.
For developing and testing purposes, refer to Chapter Firmware Burning in our Matter Develop Guide.
| Board | Chip Family | Series | Status |
|---|---|---|---|
| tl3238x | TL323X | - | Telink Zephyr HAL_V2 |
| tl5218x | TL521X | - | Telink Zephyr HAL_V2 |
| tl7218x | TL721X | - | Telink Zephyr HAL_V2 |
For version history and detailed changelog, refer to the Release Note.
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