Firmware for STM32WB05KZV6TR with Sensors and BLE (No Host MCU)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-08 8:58 AM
- MCU: STM32WB05KZV6TR (192 KB Flash, 24 KB RAM).
- Features: BLE GATT server, sensor data handling, Flash storage.
- Approach: Bare metal programming (FreeRTOS/Zephyr may be too heavy).
- Can I fit this functionality within 24 KB of RAM and 192 KB of Flash? Any optimisation tips?
- Are there examples or libraries for these sensors with the STM32WB series?
- How should I structure the firmware to balance sensor reads and BLE notifications?
- Is STM32CubeMX the best tool for configuring peripherals and BLE?
Solved! Go to Solution.
- Labels:
-
FreeRTOS
-
STM32CubeMX
-
Zephyr
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-09 12:33 AM
Hello @vkosuri
Please check these examples on the link below to find drivers for your sensors:
Saket_Om
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-08 9:15 AM
Hello @vkosuri
Below are some optimisation tips:
-
RAM Usage:
- Use static memory allocation where possible.
- Minimize stack usage by optimizing function calls and avoiding deep recursion.
- Using efficient data structures and algorithms.
-
Flash Usage:
- Removing unnecessary code and libraries.
- Using compiler optimization flags (e.g. size optimization).
Saket_Om
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-08 12:45 PM
Thanks @Saket_Om, do we have any example projects for these sensor drivers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-09 12:33 AM
Hello @vkosuri
Please check these examples on the link below to find drivers for your sensors:
Saket_Om
