Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi All,I am working with the STM32WL55 MCU in a project-based between Generic Node and MB1389 (Nucleo board). my code is using Lorawan_End_Node.Everything seems to be working well but the radio part is not transmitting (checking it with AIRSPY an a SDR device). We can see the LoRaWAN messages debug logs and it tries to connect to the network but no radio at all.Things we have seen:VDD1V5 is around 2V.PB0_VDD_TCXO is around 0.7V.I did all the steps from this tutorial: https://www.youtube.com/watch?v=Gjuu4OOPh1w&t=1477sthe hardware design is https://github.com/Sosteco/generic-node-se/blob/develop/Hardware/sch/sch-stm32wl.pdf Our design main difference is that we are using 32MHz HSE TCXO with 3.3 VDD, we modified TCXO_CTRL_VOLTAGE from TCXO_CTRL_1_7V to TCXO_CTRL_3_0V in radio_conf.hI checked the voltages in PB0_VDD_TCXO is 0.756 V (always), it must be arround 3.0 V... and VFBSMPS is 1.945v and it must be maximum 1.62 (datasheet).Firmware shows as it is transmiting properly
Hi all,I have three STM32WL55 boards and I am following the STM32WL_WS Workshop tutorial. I can programmed one of the boards using SubGHz_Phy_Base_Station.bin and build the sensor SubGHz_Phy_PingPong project for the other two boards using the following \Projects\NUCLEO-WL55JC\Applications\SubGHz_Phy\P2P_Sensor.Both Sensor board works fine and I can edit both the c code header files in the project and program them. However if I edit the SubGHz_Phy_PingPong.ioc file then the project stops to build.Has any one else experience this issue. Many thanks in advance.RegardsOla
I have just downloaded the reference board from the STM32WB55: STM32WB55RG - Ultra-low-power dual core Arm Cortex-M4 MCU 64 MHz, Cortex-M0+ 32 MHz with 1 Mbyte of Flash memory, Bluetooth LE 5.4, 802.15.4, Zigbee, Thread, Matter, USB, LCD, AES-256 - STMicroelectronics under the board manufacturing specifications. In the schematic, there is only a mention of USB ports for the chip at pins PA11 and PA12. I am actually planning on using ST-link to program the chip and needed help on seeing which pins I can add this to and what components are needed for this. I am new to STM microcontrollers and would really appreciate the help.
I’m using a STM32WB5MMGHx module on a battery powered device. When the module loses power due to low battery or the battery being removed it does not advertise after regaining adequate power. Only after restarting or reflashing the wireless stack does the module begin to advertise again.Here are my cube configurations for BLE: How can i solve this?
Hello, how can I call a full reset of the CPU2/BLE stack (as if the device were powered up)?I'm resetting CPU1, which then restarts the CPU2/BLE stack from some other code. But this causes some corruption with BLE notifications.
Hi everyone, I try to debug CM0+ core (using GDB server) application LoRaWAN in SBSFU dual core project. If I only run the debugger on CM4, the program will start and run normally. But when I try to debug CM0+, it will not run and my program failed.I have stopped CM4+ by breakpoint in time CM4 wait for CM0+ running, and not download the executable when debug CM0+. Anyone have experience with this?
STM32WL lorawan middleware use a RTC subsecond underflow interrupt update tick instead systick,but the subsecond underflow interrupt never entered.It seems interrupt not enabled, so I manually enable RTC subsecond underflow interrupt but the handler still never accessed. /* RTC init function */ void MX_RTC_Init(void) { /* USER CODE BEGIN RTC_Init 0 */ /* USER CODE END RTC_Init 0 */ RTC_TimeTypeDef sTime = {0}; RTC_DateTypeDef sDate = {0}; RTC_AlarmTypeDef sAlarm = {0}; /* USER CODE BEGIN RTC_Init 1 */ /* USER CODE END RTC_Init 1 */ /** Initialize RTC Only */ hrtc.Instance = RTC; hrtc.Init.HourFormat = RTC_HOURFORMAT_24; hrtc.Init.AsynchPrediv = RTC_PREDIV_A; hrtc.Init.SynchPrediv = RTC_PREDIV_S; hrtc.Init.OutPut = RTC_OUTPUT_DISABLE; hrtc.Init.OutPutRemap = RTC_OUTPUT_REMAP_NONE; hrtc.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; hrtc.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; hrtc.Init.OutPutPullUp = RTC_OUTPUT_PULLUP_NONE; hrtc.I
Hello,What I have done:- Following instructions from AN5185 document.- Using STM32CubeProgrammer v2.14.0- NUCLEO-WB15CC powered on- With STM32CubeProgrammer :- ST-Link configurationST-Link upgrade (v3.12.3)Update to firmware V2J42M27- ST-Link Connect- Firmware Upgrade Services withC:\ST\STM32Cube_FW_WB_V1.18.0\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB1x\stm32wb1x_BLE_Stack_full_fw.binStart address: 0x08021000Start Stack after upgrade-> Firmware upgrade -> "Application is running, Please Hold on..."=> Firmware Upgrade Success- Erasing and Programming withC:\ST\STM32Cube_FW_WB_V1.18.0\Projects\NUCLEO-WB15CC\Applications\BLE\BLE_p2pServer_ota\Binary\BLE_p2pServer_ota_reference.binStart address: 0x08007000Verify programmingRun after programming-> Start programming -> Filedownload complete-> Download verified successfuly-> Start operation achieved successfully At this point, only the main led of the board is blinked, not the small led during one minutethe P2
Good morning,I am creating an application that would require the use of several stm32wl55.The idea is to have one microcontroller configured as a LoraWan EndNode communicating with TTN and a set of Slaves communicating via subghz (which will be slaves).I was able to implement both solutions separately but I would like to know if anyone has ever tried to combine the two functions so that a microcontroller communicates with a ttn gateway and simultaneously is a master of a ping pong network.Or if there is a similar methodology.thanks to those who can help me
In the STM32WB Workshop video I can understand how to send data and control the LED but how to read data is not explained. I want to read data from STM32WB BLE. Can you someone help me in regards to this?
Hi,I'm looking for the max size of SRAM allocated for the GATT database for the STM32WB series.I've found the informations for WB55 and WB15 but I can't find the information for WB10/30/35/50/. Does anyone know these values or how it can be calculated ?I'm asking this question because I'm working with WB10 and I'm close to the max size permitted (2.7kB). I would like to know if the SRAM allocated for the GATT database is bigger for WB30.Thanks for your help.
Hey guys. I'm trying to collect the sigfox credentials through the website https://my.st.com/sfxp and once the download is done,the file is corrupted and I can't extract it.How can I solve this problem?
Greetings!I'm designing a board using STM32WLE5CCU6 MCU and decided to use a 32-MHz Clipped Sine Wave TCXO instead of a crystal for the HSE32 clock.I have a question regarding the additional circuitry between the TCXO and MCU, is an AC coupling capacitor required? Or perhaps a load capacitor (from OSC_IN pin to GND).The datasheet mentions to add some kind of a capacitor but I'm not sure if it's an AC cap or a load cap - "For TCXO output voltage of 0.8 Vpk-pk, 10 pF can be used."Also what is the input impedance of the OSC_IN pin?My TCXO is specified for a input of 10KΩ in parallel with 10 pF, am I supposed to add those externally?I hope you can help me with these questions.BRDomagoj
The LoRaWAN middleware End-node (lora-app.c) includes a "Join Switch" mechanism set up around the StopJoinTimer, the OnStopJointTimeEvent function, and the StopJoin() task function.The StopJoin function appears to be used to toggle between ABP and OTAA Activation modes. I'm not sure why you might want to do that but Ok - it may have to do with other uses cases such as the AT command firmware.As it stands within the End Node generated code, it appears to be dormant code as nothing ever seems to start the StopJoinTimer.But, if it were started by the application, it looks like it may go into a bit of a loop. The StopJoin() function restarts the StopJoinTimer at the end of the function, which means it will called back after JOIN_TIME (2000ms) to swap activation mode again. As a Join usually requires about 5 seconds before the Rx window opens, I am thinking this might actually end up stopping any OTAA Join before it has a chance to succeed.Possibly I have completely misunderstoo
Hello, community,As of LORA calculator maximum speed that can be achieved is 5kbps using B-L072Z LRWAN1 board. But I'm not able to achieve that speed. I'm attaching a screenshot.I have increased the no. of frames per minute by changing APP_TX_DUTYCYCLE and frames transmission speed by changing RECEIVE_DELAY1 and RECEIVE_DELAY2 but still I'm able to get a speed of 1.3kbps.To increase the speed I have set default SF=7 by the default setting of #define LORAWAN_DEFAULT_DATA_RATE DR_5with this setting, it gets a speed of 3.2kbps but after 100 frames this DR_5 drops to DR_4( that is SF=8) then after every 30 frames this DR drops, that is SF increases and the speed again drops to 1.3kbps.At SF(spreading factor) 7 it's sending 100 frames of 253byte register in 20 seconds and I want to set#define LORAWAN_DEFAULT_DATA_RATE DR_5after every 100 frames but im not able to set it, after every try, DR drops from 5 to 0.IS THIS SF DROPPING AFTER PARTICULAR FRAMES ARE SET INTO HARDWARE ONLY?L
..
I have programmed the STM32 MCU as per the document (https://github.com/Seeed-Studio/LoRaWan-E5-Node/tree/qian) However, I'm not getting any response in TTN network. kindly help me resolve it.
Hello,I am developing a Bluetooth application which can communicate with Android phone emulating Serial Connection. On previous device we used our own Bluetooth Classic module with SPP (Serial Port Profile) using RFCOMM (Serial Port Emulation) and we need to maintain backward compatibility with existing Android Mobile Application.Our Hardware team chose STM32WBA52CG MCU. If I understand it correctly, this MCU is capable of BLE (Bluetooth Low Energy) ONLY, which does NOT support RFCOMM and SPP.Is there any suitable BLE solution for Serial Communication emulation while using one STM board and phone/PC? Do I have to develop and implement my own Custom Profile? And if so, are there any good tutorials how to proceed?I am aware of BLE_SerialCom_Central and BLE_SerialCom_Peripheral examples (for NUCLEO-STM32WBA52CG), but these examples are serial communication between TWO STM32WBA boards, not one board and Phone/PC.I will be grateful for all tips and suggestions. Thank you in advance!
Hello,I am downloading the firmware \STM32Cube_FW_WB_V1.17.0\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB1x\stm32wb1x_BLE_Stack_full_fw.bin to the STM32WB15CC using STM32CubeProgrammer v2.14.0, with USB cable.At the end, I have : 11:21:53:481 : Error: failed to download Segment[0] 11:21:53:481 : Error: failed to download the File If I try to download stm32wb1x_Safeboot_fw.bin, there is no error.Where is the problem ? All products are from STMicroelectronics...Thank you for help. FWX.
Trying to enable both USB and BLE at the same time I encountered difficultyThe USB failed to run.I encountered the following ticket: usb-device-does-not-work-when-starting-ble-stack-on-stm32wb55 which had an example attached to it.After trying several things from that example we saw that the only thing I needed was to lock HW semaphore number 5 (Which I found on other projects to be defined as CFG_HW_CLK48_CONFIG_SEMID).Do note that the semaphore is never being releasedI'm not entirely sure if what I did was correct.My USB clock configuration is: LL_HSEM_1StepLock(HSEM, 5); // USB clock enable memset(&PeriphClkInitStruct, 0, sizeof(PeriphClkInitStruct)); PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USB; PeriphClkInitStruct.UsbClockSelection = RCC_USBCLKSOURCE_HSI48; if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) { goto PeripheralClocksErr; } __HAL_RCC_USB_CLK_ENABLE(); Anyone fr
Hello,I'm writing an application running on Windows and Linux, using Qt to update STM32WB15CC application.I have read AN5247 document and implement it, but my Qt application never receive the last Reboot Indicatatione ( characteristic uuid: "{0000fe23-8e22-4541-9d4c-21edae82ed19}"). I have configured it by writing [0x01,0x00] to descriptor of {00002902-...}.First question: how to determine the value of the second byte in the BOOT REQUEST (Sector Index) for characteristic {0000FE11-8e22-4541-9d4c-21edae82ed19} ? How to caluate it?Second question: after reboot and connect to OTA service, do I need to wait before sending command, or after sending command and before sending data?Thank you for help.
Hello,I would like to know the capacity of external memories supported by STM32 MCUs wireless family :- STM32WBA- STM32WB- STM32WB0- STM32WL I looked up in the datasheet of all referencies but I didn't find the information. Thank you for your help. Best Regards.
hi allI'm working on a P-NucleoSTM32WB boardI've try BLE_p2pServer_Ext exemple with CM0 loaded with stack_full_extended.bin and it works wellon the other hand I've a simple Custom app that works wellafter tweaking .ld file for getting it to work with extended stack on CM0 it works okI've added adv_ext_app.c/h from exemple but at ADV_EXT_Start() call the hci_le_read_number_of_supported_advertising_sets(&adv_set_count_supported) returns status 1 (Unknown HCI command)I've isolated this in a button press call and it's same void Custom_Switch1_Action(void) { APP_DBG_MSG("-- Switch 1 \n"); APP_DBG_MSG(" \n\r"); tBleStatus status = BLE_STATUS_INVALID_PARAMS; uint8_t adv_set_count_supported; uint8_t HCI_Version; uint16_t HCI_Subversion; uint8_t LMP_Version; uint16_t Company_Identifier; uint16_t LMP_Subversion; status = hci_read_local_version_information(&HCI_Version,&HCI_Subversion,&LMP_Version,&Company_Identifi
I’m using a STM32WB5MMGHx module on a battery powered device. I need to put the module in Stop mode 2 in order to have a better battery life. After reset when the module enters the stop mode for the first time it stops advertising as it should. After waking up when the module returns to stop mode again the advertisement keeps being active. I need the module to stop advertising every time it enters Stop Mode 2.I’m using HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI) to enter stop mode 2.
Created a new project for the STM32WB55CE microcontroller and I am trying to configure the SPI1 using the Pinout & Configuration tool. However, SPI1 is greyed out with the message "I2S1 must be disabled". I tried looking for the I2S1 and I think it is implemented with the SAI1, but that is also disabled. Is this just a bug? Or am I missing a setting?SPI1 Greyed OutSAI1 Disabled
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.