- The STM32WB55-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 would use STM32CubeMonitor-RF instead.
- A list of supported ACI/HCI commands can be found in AN5270 and in STM32CubeMonitor-RF.
- Added RTT Files to Project
- Removed the LSE, LPUART1, 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 P-NUCLEO-WB55
-
One SEGGER J-Link / J-Trace Debug Probe (Optional)
- The Hardware Debug Probe is optional if you use the ST-Link Reflash Utility instead.
-
Prebuilt firmware image: WB55_TM_RTT.hex (STM32WB55-BLE-TransparentMode-RTT\Binaries)
-
ST-Link Reflash Utility (Optional)
- This tool is optional if you use the Hardware Debug Probe instead.
-
Flash the NUCLEO-WB55 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.
-
Setup the J-Link with the NUCLEO-WB55 using one of the 2 options below:
a) Connect a Hardware J-Link debug probe to the Nucleo board. Follow this article for instructions on how to connect it.
b) Use the ST-Link Reflash Utility to convert the on-board ST Link to a J-Link.
Note: Not all STM32 devices are compatible with this tool, please check compatibility here.
-
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 STM32WB55-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.