TODAY | STM32 Summit 2026
Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I can read the on board temperature sensor when I use the code below when it is run in the file platform_STM32Cube_IoT01L475VG.c... but if I move the same code to a function from another file it always returns 0... can't figure out why... any ideas?float TEMPERATURE_Value; float HUMIDITY_Value; float PRESSURE_Value; TEMPERATURE_Value = BSP_TSENSOR_ReadTemp(); HUMIDITY_Value = BSP_HSENSOR_ReadHumidity(); PRESSURE_Value = BSP_PSENSOR_ReadPressure();
Hi,I wanted to generate PWM using timer on B-L072Z-LRWAN1 board for LED Dimming.I searched on the forum and web for this but I am unable to get any example for PWM on B-L072Z-LRWAN1 .Which LED I can use for this purpose?Can any one help me with this?
The Murata module connects to another MCU which has bluetooth. I want the update to go over bluetooth and write it to the module with AT commands.
Hello!I'm going to build an application in Java for Iphone and Android using GluonHQ framework. The application should logging values from a STM32 board. I have a STM32f401RE board and STM32f446RE board. I want to implement FreeRTOS on them and then I going to use sockets to communicate with the Iphone or Android application. But between my phone and STM32 Nucleo board, I need to use a WiFi module. Can you recommend one for me?Best regards
Hi everyone,I just finished a project with the cubeLRWAN example and it works well. But I have a question. In many tutorial I saw that people put an mspInit() after stop mode but not before. Why do we not initialise the card the same way before and after wakeup ?
Hello community,I'm getting started with the STM32WB55 Nucleo board and worked through some examples. To get a better understanding I chose to start a new project from scratch. I used CubeIDE (came from Atollic TS and CubeMX anyways) and initalised the MCU (as seen in the workshop tutorials). The MCU immidiately dropped into Hard Fault Error. I investigated a bit and compared the code to the p2p_server example. Everything seemed fine, except the linker script. The _estack variable didn't match. As soon as I adapted it, all seemed to work fine but the app_ble_init() was never called. I really invested a lot of time tracking the error down but could not find anything. Then I simply copied the linker script from the p2p_example to my project and suddently everything worked fine.It seems like a workaround for me. Can anybody enlighten me what is going on there?Thanks in advance!Best regards,Philipp
Hi everyone,I am using the Nucleo-WB55RG to try and fully erase/program the flash memory. However, when the FLASH_MassErase() function is called in stm32wbxx_hal_flash_ex.c, a hard fault exception occurs. I believe this has to do with trying to erase the secure memory only accessible through CPU2. When I try to boot up CPU2 (set C2BOOT pin) I receive a PGSERR flag in the FLASH_C2SR register. This has been extremely inconvenient that for the entire flash to be erased, you need execute from CPU2 and the boot process is not exactly straight forward. Are there any suggestions on how to gain access to CPU2 and perform the mass erase function? Thanks.Steve
Hi, i am making some tests with my BL072Z board, with SF7 uplinks and downlinks are ok, but when y run the code with SF12 i only can send uplinks, in TTN i can see the scheduled downlink and in the next uplink the downlink is sent but in the BL072Z board i don't receive anything, mi configs are:#define OVER_THE_AIR_ACTIVATION 0 #define LORAWAN_DUTYCYCLE_ON false #define APP_TX_DUTYCYCLE 10000 #define LORAWAN_ADR_STATE LORAWAN_ADR_OFF #define LORAWAN_DEFAULT_DATA_RATE DR_0 #define EU868_DEFAULT_DATARATE DR_0 //the deafult frequencies were 868100000, 868300000, 868500000 but i am using a single channel gateway working in 868100000, that is why i changed the config, if i keep the default values some uplinks are lost /*! * LoRaMac default channel 1 * Channel = { Frequency [Hz], RX1 Frequency [Hz], { ( ( DrMax << 4 ) | DrMin ) }, Band } */ #define EU868_LC1 { 868100000, 0, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 } //LoRaMac default channel 2 #define EU868_LC2 { 8
I am trying to understand what parameters I could change to increase throughput. In the file app_conf.h/** * Maximum supported ATT_MTU size */ #define CFG_BLE_MAX_ATT_MTU (156) /** * Size of the storage area for Attribute values * This value depends on the number of attributes used by application. In particular the sum of the following quantities (in octets) should be made for each attribute: * - attribute value length * - 5, if UUID is 16 bit; 19, if UUID is 128 bit * - 2, if server configuration descriptor is used * - 2*DTM_NUM_LINK, if client configuration descriptor is used * - 2, if extended properties is used * The total amount of memory needed is the sum of the above quantities for each attribute. */ #define CFG_BLE_ATT_VALUE_ARRAY_SIZE (1344) /** * Prepare Write List size in terms of number of packet with ATT_MTU=23 bytes */ #define CFG_BLE_PREPARE_WRITE_LIST_SIZE ( 0x3A ) /** * Number of allocated memory blocks */ #define CFG_BLE_MBLOCK_COUN
I am using the STM32CubeIDE and using my new P-NUCLEO-WB55. I have tried to create a simple project and ran a debug session but it is always getting stuck in Hard Fault Error. Please find the attached screenshot.
I just started working on STM32WB55 and was going through the BLE example codes given in the STM32Cube_FW_WB_V1.2.0 package. I am confused in understanding the program structure of the code (where to add new services, characteristics, where to handle the events generated by read and write services) as I would like to add a simple read or write service to the code.In which file do i need to edit or add these?Regards,Haider
i'm trying to use the Nucleo WB55 dongle as a mass storage device.Using cubeMx i set the USB, and the USB Middleware as MSC, leaving the default settings. Nothing else is running on the dongle, just USB.When i plug it, it appear as an unknown device. Windows is returning an Error 43 Code [43 (CM_PROB_FAILED_POST_START)]Uppon connection, USB events are as follow:000000: PnP Event: Device Connected (UP), 2019-08-23 11:07:13,0401325 (1. Device: Unknown)The USB device has just been connected to the system.000001: PnP Event: Surprise Removal (UP), 2019-08-23 11:07:13,0411870 +0,0010545 (1. Device: Unknown)The USB device has just been disconnected from the system.000002: PnP Event: Device Disconnected (UP), 2019-08-23 11:07:13,0413300 +0,0001430 (1. Device: Unknown)The USB device has just been removed from the system, all drivers unloadedUsing debug, i checked that nothing was skipped, and i also add printf messages through SWO to be sure that all the USB init is done properly. And also to c
I have downloaded the stm32cube package that contains the BLE example but i am unable to correctly import and run any of the project on the MCU.Looking for help, thank you.
Hello, I want to use only LoRa communication between to devices. Which files i need for this in the i-the cube-lrwan library. I going to add this files to CubeMX project.Regards.
I have a question about role of BLE. I would like to set multi role either as a central(master) or a peripheral (slave) on STM32WB. I checked on STCubeMX5.3.0 but not found multi role function. I would like to know this chip or software are support multi role? If it able. How to setting?
I wish to connect this kit (STM32L072CZY6TR) to a raspberry pi. As the Pi only supports SPI in master mode I need to use I2C to get a two way conversation. I wish to send and receive the occasional codes from a server via LORAWAN and communicate those to a Raspberry Pi which in turn will control machinary. It is impossible for the Pi to be connected to the internet. I am hoping to not have to go down the GSM route.Many thanks
Hi All, I have trouble getting the BlE working on my new hardware(stm32wb55RGV6). The prgram can't enter into APP_BLE_Init( ); . The same code in P-NUCLEO-WB55.Nucleo(stm32wb55RGV6U)can work. What's different between stm32wb55RGV6 and stm32wb55RGV6U?
Hello,I used the Nucleo STM32WB55 board to test the STM32WB55xx current consumption.I took the PWR_STOP2_RTC example from the STM32Cube MCU package for STM32WB Series (v1.2.0)With STM32CubeMx v5.3.0 I re-generated code for Truestudio (I am using Truestudio v9.3.0) and followed the readme for the board setup.I measured 113µA on JP2 (when the chipset is in STOP2 mode), while I expected something close to 2µA as per the datasheet.What is strange is that I have the same consumption if I change the code to use STOP1 or STOP0 mode instead of STOP2.What could be wrong in my setup?How much current should the board consume with this example code?Thanks & Best Regards,Julien.
Hi Sir,In the MB1355 schematics what is the purpose of two antenna's?How to calculate the unfitted capacitors ? what is the purpose of band pass filter here?
I need to know, is there any specific command(Like a AT Command) to get a timestamp from any network server or gateway for the end device STML082? Is there any API we can find in the "STM32 Cube Expansion" stack to implement it? If there, then where in the stack can we find it or what changes we need to do in the stack?Thank you.
Hello,I am new to BLE and the STM32WB55. I want to get to a point where I can use the Nucleo board (MB1355C) to receive advertising messages which contain data. I was looking at the BLE example repository. I also attended the ST workshop for this microcontroller. If I understand right, these examples are meant to run on the STM32WB55 acting as the Server/Broadcaster/Peripheral while a smartphone operates as the Client/Observer/Central. Does anyone know if there are any examples of the STM32WB55 operating as the Client/Observer/Central?Thanks and I appreciate the help.Michael
I get this errorc:\Users\sabdalla\zephyrproject\zephyrproject\zephyr>west flash-- west flash: rebuildingninja: no work to do.-- west flash: using runner pyocd-- runners.pyocd: Flashing file: C:/Users/sabdalla/zephyrproject/zephyrproject/zephyr/build/zephyr/zephyr.hexNo connected debug probes0007036:CRITICAL:__main__:uncaught exception:Traceback (most recent call last): File "c:\python37\lib\site-packages\pyocd\__main__.py", line 338, in run self._COMMANDS[self._args.cmd](self) File "c:\python37\lib\site-packages\pyocd\__main__.py", line 468, in do_flash with session: File "c:\python37\lib\site-packages\pyocd\core\session.py", line 284, in __enter__ assert self._probe is not NoneAssertionErrorERROR: command exited with status 1: pyocd flash -e sector -a 0x8000000 -t stm32wb55rgvx C:/Users/sabdalla/zephyrproject/zephyrproject/zephyr/build/zephyr/zephyr.hexc:\Users\sabdalla\zephyrproject\zephyrproject\zephyr>zephyr samples/hello_world
Hi Sir,In the MB1355 schematics what is mean by 0R value. If it is 0 Henry what is the use of placing 0Henry. Does 0 Henry gives any effect??
Hi, I have two types of MCUs that I am building a board with. One is labeled as STM32WB55, while the other one is ES32WB55. Is there any difference between the two? I could not find any information on the ES32 chip in my Googling. I am having trouble connecting to the chip using an ST-Link. Does it have anything to do with the fact that I am using an ES chip? Thanks.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.