- BU03-Kit (with screen) *1
- BU04-Kit (with screen) *1
- USB data cable *2
- USB-to-TTL tool *2
Ai-Thinker Serial Port Debugging Assistant:
https://docs.ai-thinker.com/_media/tools/aithinker_serial_tool_v1.2.3.7z
- Computer (Windows 10 or Windows 11 system)
1. UART1 Test
UART1 is the Type-C interface marked with "TTL" on BU03-Kit or BU04-Kit, mainly used for sending and receiving AT commands and configuring modes. This UART port uses the CH340 serial port driver.
Connect the Type-C data cable to the computer, open the serial port debugging assistant, and press the reset button. If the debugging assistant prints the information as shown in the figure, it indicates that the reset button is normal.
2. Send the command "AT".
If "OK" is returned, the send-receive test is successful.
The USB port is the Type-C interface marked with "USB" on BU03-Kit or BU04-Kit, mainly used for printing ranging or other information. This USB port uses the built-in USB driver of ST's MCU, which is generally not automatically recognized and installed by the computer, so manual driver installation is required.
Driver InstallationThe following is the installation of Version 1.4 driver:
1. The following is the first step of installation; just click "Next" until completion.
2. Find the program in the above path and proceed to the next installation step.
Version 1.5 Driver and Installation
https://aithinker111.oss-cn-beijing.aliyuncs.com/en.stsw-stm32102.zip
3. Insert the Type-C port into the USB port of the development board, open the Device Manager Ports, and check whether the driver port is correctly recognized.
If the port is correctly recognized, it means the driver is installed normally (you need to re-plug the port after installation to use it).
If the Device Manager correctly recognizes the STM port, it indicates that the USB port is successfully identified.
UART2 TestThe port test of UART2 requires the USB-to-TTL tool. Here, Ai-Thinker's USB-to-TTL tool is used for a wire-jumping test. The wiring method is shown in the following table:
If the Device Manager correctly recognizes the USB-to-TTL port, it indicates that UART2 is normally connected.
Test Result ExplanationThe above tests include the recognition of Type-C UART1 port, USB port, and UART2 port. Successful recognition indicates that the hardware wiring is normal, and other tests can be performed.
Comments