- The STM32WB15-BLE-TM-RTT is an application example based on the BLE_TransparentMode application found in the STM32CubeWB firmware package.
- This example replaces the original TransparentMode's UART functionality with SEGGER's RTT.
- This allows you to send ACI/HCI commands using SEGGER's tools or a Command Line Interface.
- The original TransparentMode uses STM32CubeMonitor-RF for sending commands.
- A list of supported ACI/HCI commands can be found in AN5270 and in STM32CubeMonitor-RF.
- Added RTT Files to Project
- Removed the LSE, USART1, Button, & LED Peripherals
- app_conf.h
- Disabled Low Power Mode (CFG_LPM_SUPPORTED)
- Enabled Debugger (CFG_DEBUGGER_SUPPORTED)
- Added RTT Read Sequencer Task (CFG_TASK_RTT_READ_POLL_ID)
- tm.c
- Included SEGGER_RTT.h Header File
- Edited TM_Init() to Configure Up Buffer & Start RTT Read Task
- Added RTT Read Function (TM_RTT_Read_Poll_Task())
- Added RTT Send Command Function (TM_RTT_Send_Command())
- Edited TM_TXToHost() to Replace UART with RTT
-
One NUCLEO-WB15CC
-
One SEGGER J-Link / J-Trace Debug Probe
-
Prebuilt firmware image: WB15_TM_RTT.hex (STM32WB15-BLE-TransparentMode-RTT\Binaries)
-
Flash the NUCLEO-WB15CC with the BLE Full or BLE Full Extended Stack based on the features you need.
a) Check UM2288 section 3.2 to see the features available in each stack.
b) Follow this video for instructions on flashing the Wireless Stack.
-
Connect a J-Link / J-Trace debug probe to the NUCLEO-WB15CC.
a) Follow this article for instructions on how to connect it. The article is written for the NUCLEO-WB55, but the steps are similar.
-
Flash the application firmware on to the nucleo board using one of the 2 options below:
a) Use J-Flash LITE included with the J-Link Software Pack to download the hex file on to the Nucleo board.
b) Open your preferred IDE (Keil MDK-ARM, IAR EWARM, or STM32CubeIDE) and build & run the project to download it on to the Nucleo board.
-
Open RTT Viewer from the J-Link Software Pack and connect to the Nucleo board.
-
Once the application example has started, you will see an initial message.
Note: You may need to press the SW4 reset button to start the application example.
-
Use the input box to send ACI/HCI commands from the HOST PC to the embedded device.
a) A list of supported ACI/HCI commands can be found in AN5270 and in STM32CubeMonitor-RF.
b) Use the Input tab to toggle sending on input or on enter and to change the EOL character.
Caution : Issues and the pull-requests are not supported to submit problems or suggestions related to the software delivered in this repository. The STM32WB15-BLE-TransparentMode-RTT example is being delivered as-is, and not necessarily supported by ST.
For any other question related to the product, the hardware performance or characteristics, the tools, the environment, you can submit it to the ST Community on the STM32 MCUs related page.