This post was last edited by damiaa on 2019-5-17 11:00 [STM32WB55 Evaluation] +thread trial 1
[STM32WB55 Evaluation] +After the wireless firmware update is completed. In fact, I downloaded the stm32wb5x_Thread_FTD_fw.bin firmware. 1. Application programming (the hardware jumpers are in the factory state): WB55.Nucleo is in the:
stm32wb\STM32Cube_FW_WB_V1.0.0\Projects\NUCLEO-WB55.Nucleo\Applications\Thread\Thread_Cli_Cmd directory. There are some application examples. You can burn directly using Thread_Cli_Cmd_reference.hex, or you can burn it after compiling with IAR, MDK, SW4STM32, etc. NUCLEO-WB55.USBDongle:stm32wb\STM32Cube_FW_WB_V1.0.0\Projects\NUCLEO-WB55.USBDongle\Applications\Thread\Thread_Cli_Cmd Directory The following figure is the MDK debugging diagram of the WB55.Nucleo board4139332. Test preparation: The STM32WB55RG_Nucleo board uses ST's virtual serial port, and the STM32WB55RG_UsbDongle board uses USB to serial port and power on. (The hardware is usually set at the factory) 3. Use PUTTY or other serial debugging terminal: - BaudRate = 115200 baud - Word Length = 8 Bits - Stop Bit = 1 bit - Parity = none - Flow control = none 4. Open the serial port 5. Enter the command on one device first (Done is the answer) >panid 0x1234 Done >channel 12 Done >ifconfig up Done >thread start Done Then a master device is established 6. Enter the same content in 5 on the other device and the two devices are connected
7. Check the status of the first device >state Leader Check the status of the second device >state child Others
LED indication: LED2 ON (Green) means that the device is in "Leader" mode. LED3 ON (Red) means that the device is in "Router" or "Child" mode. LED2 OFF and LED3 OFF means that the device is disabled or detached. This content is originally created by EEWORLD forum user damiaa. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source.