1. IDE download and installation
http://wiki.telink-semi.cn/wiki/IDE-and-Tools/RISC-V_IDE_for_TLSR9_Chips/
After downloading, unzip it to a suitable location and click setup to install it.
After the installation is complete, you need to enter the serial number, which can be obtained from the Telink forum. This step requires registering an account on the forum.
https://developers.telink-semi.cn/topic/861
After clicking "here", download a key with the suffix .lic and enter it in the IDE to obtain authorization
2. Software SDK download
http://wiki.telink-semi.cn/wiki/chip-series/TLSR951x-Series/
is divided into hardware driver, dual-mode Bluetooth and matter Internet of Things protocol.
3. Compile
Import Driver in ide, the default example is UART_DEMO, compile to generate bin file
4. Program burning
The program burning tool seems not to be downloaded directly in the IDE. You need to download a separate burning tool Telink BDT
http://wiki.telink-semi.cn/wiki/IDE-and-Tools/Burning-and-Debugging-Tools-for-TLSR9-Series/
The burning tool only needs to connect SWM and GND to the board. Both the burning tool and the board need to be powered using the miniUSB port.
Can be erased or downloaded
5. Check data via serial port
Use the USB to serial port tool to connect to serial port 0, pins are PB2 and PB3,
In the main loop, a string of data is sent every 500ms.
It can be seen that the phenomenon is consistent with the program design.