Telink TL-EdgeAI-DK User Guide
Overview
The TL-EdgeAI-DK is a development kit designed for function development and demonstration with various modules. It can be used with the following modules, but only one module can be used at a time:
- ML3219D-MERCURY-M0-PA11-V01(TL321x Small Module)
- ML7218D1-MERCURY-M0-PE11-V01(TL721x Small Module)
- ML7218A-GAIA-M0-PE11-V01(TL721x Big Module)
Preparation
Before starting the TL-EdgeAI-DK
demonstration, it is needed to prepare the hardware as well as the software environment.
Hardware Preparation
(1) AIOT-DK1-V2 * 1
Used as motherboard, supporting on-board burning and enabling combined use with other submodules.
(2) Platform Module * 3
Only one platform module is supported to work at the same time, including TL721x big module, TL721x small module, and TL321x small module.
(3) Peripheral Module * 3
Contain 1 LCD module, 1 CODEC module, 1 camera.



(4) USB Type-A to Type-C Cable * 2
One cable is used for burning and the other cable is used for power supply and USB data communication.
Software Preparation
Users can burn the platform module directly through the Telink BDT tool using USB connection to J12
of the motherboard; SDK uses tl_platform_sdk and the software version needs to be higher than v3.5.0
.
Note:
- As shown above, this document takes the TL721x big module as an example, and chooses
TL721X
as the burning platform. Other platform modules need to replace the corresponding platform.- When using BDT to burn, the motherboard's
SW13
switch needs to be set to the right (to support Single Wire mode), and theSW15
switch needs to be set to the right (to burn the module).
Operation Procedures
Sensor Module
Take the TL721x big module as an example, other platform modules only need to replace the corresponding platform.
Select Sensor_Lcd_Demo
project in tl_platform_sdk
, compile and burn the target file to the module with the following physical connection:
Notes:
- Connect the TL721x big module to
J2
and mikroBUSJ4
to the LCD module. - Turn on the switch 1 of the
SW3
and turn off the switch 2-4 to select the corresponding chip select pin.
When the burning is complete, basic data of the Sensor will be displayed on the screen. Due to the large amount of Sensor data, it is displayed in two pages, the above figure shows the data from the first page and the following figure shows the data from the second page:
CODEC Module
Take the TL721x big module as an example, other platform modules only need to replace the corresponding platform.
Codec_Demo supports a variety of application modes and types as described below:
(1) Application Mode
##define DMIC_INPUT_TO_BUF_TO_LINEOUT 1 //dmic_in->buff->SDM out
##define I2S_TO_EXT_CODEC_USB 2 //I2S input->buff->I2S out for external codec. See AUDIO_I2S_TO_EXT_MODE to choose codec type
##define I2S_TO_EXT_CODEC_MIC_SPK 3
DMIC_INPUT_TO_BUF_TO_LINEOUT
: Built-in CODEC is used and requires on-board DMIC and SDM to work together, with data streaming in from DMIC and out from SDM. Note: Only TL721x Module supports this mode.I2S_TO_EXT_CODEC_USB
: External CODEC is used, a USB Audio application, and this mode is selected by default.I2S_TO_EXT_CODEC_MIC_SPK
: External CODEC is used, with data streaming in from CODEC module's MIC and out from SDM.
(2) Model
There are various models of external CODEC modules, and the currently supported ones are as follows:
- AIOT-CODEC1-V2:NAU88L21
- AIOT-CODEC2-V2:ES8389
Built-in CODEC
Select Codec_Demo
project in tl_platform_sdk
and configure the macros as follows:
##define AUDIO_MODE DMIC_INPUT_TO_BUF_TO_LINEOUT
Compile and burn the target file to the module with the following physical connection:
Notes:
- Connect the TL721x big module to
J2
of the motherboard and the mikroBUSJ5
is inserted with the CODEC module. - Set the
SW7
switch to the lower side and theSW8
switch to the right side for use of the built-in CODEC.
After the burning is complete, the sound captured by the DMIC can be heard with headphones.
External CODEC
Select Codec_Demo
project in tl_platform_sdk
and configure the macros as follows:
##define AUDIO_MODE I2S_TO_EXT_CODEC_USB
or
##define AUDIO_MODE I2S_TO_EXT_CODEC_MIC_SPK
CODEC is currently available in a variety of models, with corresponding macros selected according to the hardware:
/* Choose different external codec type */
##define I2S_TO_EXT_nau8821 1 //external codec
##define I2S_TO_EXT_es8389 2 //external codec
##define AUDIO_I2S_TO_EXT_MODE I2S_TO_EXT_nau8821
Compile and burn the target file to the module with the following physical connection:
Notes:
- Connect the TL721x big module to
J2
and the mikroBUSJ5
to the CODEC module - Set the
SW7
switch to the top side and theSW8
switch to the left side for use of an external CODEC.
The default configuration of software is I2S_TO_EXT_CODEC_USB
mode, after burning, the USB port will enumerate the audio devices, select the Telink device:
The audio plays now can be heard through headphones.
If the software is configured with I2S_TO_EXT_CODEC_MIC_SPK
, the sound captured by the MIC can be heard with headphones.
Camera Module
Due to the limitation of the quantity of IO, only the TL721x big module can support Camera.
Select Camera_Demo
project in the TL721x project in tl_platform_sdk
, compile and burn the target file to the module with the following physical connection:
Hardware Notes:
- Connect the TL721x big module to
J2
and mikroBUSJ6
to the LCD module andJ7
to the camera module. - Set
SW17
switch to the lower side and theSW8
switch to the left side.
After burning is complete, the screen will display the data captured by the camera in real time.