Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I have been using the BLE_Ota released binary in an unmodified form in my products for years. Now I want to modify it for use on a product that doesn't have an LSE crystal. I have successfully updated my own application to run on HSE only, but now I need to modify the BLE_Ota to do the same.I would like to step through the BLE_Ota code with the debugger, but I am running into the error "Break at address "0x800fd70" with no debug information available, or outside of program code." That address is past the locations of BLE_Ota, and into my own application code. I have tried a few things to get debugging to work, and I've run out of ideas.Things I have tried:Made a new workspace in the BLE_Ota area so that the relative include references will work. The code now compiles.Made a new debug build configuration, with Optimize for debug (my usual optimize-none makes the code too big), and debugging set to maximum (-g3) in the GCC assembl
Hi All,I am working on B-WL5M-SUBG1 hardware.I compiled the example "C:\...........\STM32Cube\Repository\STM32Cube_FW_WL_V1.3.0\Projects\NUCLEO-WL55JC\Examples\PWR\PWR_STANDBY" to measure the current consummed in standby mode and I am measuring the current using STLINK_V3PWR.I removed JP2 and connect "OUT" from STLINK_V3PWR to the pin that supply STM32WL5MOC and the GND of STLINK_V3PWR to GND of STM32WL5MOC.I got current of about 2.3mA in standby mode instead of less than 1uA as specified in the datasheet and I discovered that the 5V_PWR LED(LD4 Green) was ON.I am just wondering how power got to the 5V_PWR LED or if I am missing something, has anyone done this in the past?
Hi everyone,I have custom stm32wle board that is configured as dc-dc supply, and external 32MHz crystal with 6.8pF capacitors.I can read and write to/from radio registers but i can't transmit any data. Indeed even transmit interrupt (HAL_SUBGHZ_TxCpltCallback) is fired after i call sx126x_set_tx() function. void send_data(){err += loradio_reset(p); err += sx126x_set_pkt_type(p, SX126X_PKT_TYPE_LORA); struct loradio_params_str radio_params;radio_params.bw = LORADIO_BW_125;radio_params.cr = LORADIO_CR_4_5;radio_params.sf = LORADIO_SF7;radio_params.ldro = 0;radio_params.preamble_len_in_symb = 8;radio_params.header_type = LORADIO_LORA_PKT_EXPLICIT;radio_params.payload_length = 23;radio_params.crc_enabled = true; //trueradio_params.invert_iq_enabled = true; //trueradio_params.radio_freq = 915000000;err += loradio_set_lora_params(p, radio_params); // it is a function firstly set lora mod params and then paket params err += sx126x_set_reg_mode(p, SX126X_REG_MODE_DCDC); //L
Hello,On a custom board based on the STM32WL55JC1, I managed to flash a version of the LoRaEndNode application. However, when I run it, I observe an unusually high power consumption of around 70 mA.In contrast, when the board is in programming mode or when I run the PWR_Stop2_PeripheralNoRetention example, the current draw drops to about 6–7 mA, which matches the expected value based on my calculations.I can share the schematics and code if needed, but I suspect the high current consumption is related to the firmware behavior rather than any hardware leakage or residual current on the board.Is there a recommended way to reduce the power consumption of this application (AN5568 ?), or would it be better to start a new project from scratch? Do i need to code something in particular in stm32_lpm_if.c ?Also, is this level of power consumption normal for the LoRaEndNode example?Finally, I’ve noticed no significant difference between LowPowerSleepMode (Sleep mode with a 1 MHz clock) and
Hi, There's an image in the NUCLEO-WB55RG user manual (UM2435) with the phrase "Wrong Image". Not sure what this is suposed to mean, maybe an internal doc note? ST Doc team, can you please review? Best, Alessandro
Hello STM Community,I’m currently working on measuring a LiPo battery voltage using one of the ADC inputs (AIN6) on an STM32WB55RG. The battery voltage ranges from approximately 3.0 V to 3.95 V. Since the ADC reference (Vref) is 3.3 V, I used a voltage divider (two 10 MΩ resistors) to scale the voltage to half its original value. In firmware, I then multiply the measured voltage by two to recover the actual battery voltage.However, I’ve observed that the measured ADC voltage is roughly three times lower than expected. This suggests there may be an additional internal resistance or loading effect influencing the measurement — possibly an internal parallel resistance within the ADC input path. I checked the datasheet and reference manual but couldn’t find any specifications confirming the presence or value of such an internal resistor.I’ve attached my tentative schematic for reference.Has anyone encountered a similar issue or can shed light on this behavior? I’d like to make the measurem
How I get the software stack/firmware library stack with LoRaWAN for STM32WLE5xx MCU (other than Seed Studio Library) ?. In github, stm32wl repository only has a STM32WL55JC drivers alone. Is there any possibilities to get a firmware stack for STM32WLE5xx ? If anyone have an idea kindly let me know.
I am using the LoRaWAN_End_node application. The application was working fine until I integrated the Low Power sample code. The Sequencer appears to stop working (I suspect the timers are not working). If I do not do add MX_LPTIM1_Init() in main everything appears to work. The problem is without the LPTIM1 I can not wake up the processor. HAL_LPTIM_Counter_Start_IT(&hlptim1,(2000 * LSI_VALUE / 1000)); HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI); Thanks for the help.
Hello,I'm developing a battery-powered application for the STM32WB55 (specifically the STM32WB55RGV6) and am seeing periodic pulses or spikes in the SoC's current consumption every 200ms in STOP2 and standby modes. These pulses occur with the Nucleo board MB1355-C02 as well, though the pulses have a different shape on the Nucleo board than the ones I can observe on the board I designed. I have tried the demo firmware in addition to my own, and observe the pulses with it as well.A couple other notes:The pulse period is reduced with increasing ambient temperature. If I point a hair dryer at the board, the pulse period gets much shorter.The pulses occur when running the boards off of an isolated battery supply as well as a typical benchtop DC power supply.I have tried setting all of the pins possible to analog input in order to isolate the STM32WB55 as much as possible from outside circuits, but this didn't help with the pulses.I've attached couple images from my power analyzer that show
Hi all,I am using the STM32WB55CEU6 to share data using BLE technology. I have designed a customized PCB based on my requirements. I fully configured the STM32CubeIDE .ioc file according to ST’s reference documents. However, I am not getting any output — the BLE device name is not showing up in the ST BLE Toolbox application. I am not sure what the exact problem is in my case. Below, I have attached my schematic design and RF part in my design Note: Polygon is applied on my RF part,if it is correct?.I have one question:When I checked the IC before mounting it onto my PCB, I noticed that Pin 21 (RF1) and Pin 49 are internally connected. Is this normal? In some reference designs, Pin 49 is connected to GND, and I have also connected it to GND. Which one is correct?Can anyone please help me solve this problem? Thank you in advance for your responses.
Hello STM Community,I’ve been struggling with an issue for some time and would appreciate your insights.I’m using an STM32WB55 MCU connected to an LTE modem via LPUART for cellular communication. The modem’s default baud rate is 115200.I use a ring buffer with interrupt-based reception: HAL_UART_Receive_IT(&huart1, rxByte, 1);At 115200 baud, I can see valid TX/RX activity on the lines using a logic analyzer, but the MCU does not receive or process any data in my ring buffer.However, when I lower the baud rate to 9600, everything works perfectly — I can read and process all incoming data as expected. The only change I make is the baud rate; the hardware and code remain the same.Has anyone encountered similar behavior with LPUART on the STM32WB55. I’d like to maintain 115200 baud for my application’s performance requirements. Does anyone have an idea how should I proceed on with this?Best regards,
hi 1. Your STM32WBA55G-DK1 with BLE_Audio_TMAP_PeripheralThe TMAP (Telephony and Media Audio Profile) example in the STM32 WBA SDK has different roles.In your case, the BLE_Audio_TMAP_Peripheral project is designed as a TMAP Sink/Peripheral device (meaning it receives Auracast™ / BIS streams).So your STM32WBA55G-DK1 is the Receiver (Sink).2. Your nRF5340 Audio DKYou are running the nRF5340 Audio DK in “Broadcast Source / Transmitter” role.That means it is sending audio over BIS (Broadcast Isochronous Streams).In your logs:LE_AUDIO_EVT_STREAM_0 LE_AUDIO_EVT_STREAM_1 ...These indicate stream events per BIS index being transmitted.3. BIS and SubgroupsYou mentioned Number of BIS = 4, with 2 subgroups.Example breakdown:Subgroup 1 → BIS 0 & BIS 1Subgroup 2 → BIS 2 & BIS 3The transmitter (nRF5340) is advertising 4 streams grouped into 2 subgroups.The receiver (STM32WBA) must parse the BASE (Broadcast Audio Stream Endpoint) info and decide:Which subgroup(s) it will sync to.Which B
Dear Community,I have the B-WBA5M-WPAN module and trying to get a basic OpenThread Project working with Demo Code provided.The Demo Code provided for the module is not sufficient - I am trying to change LED Color when button B2 is pressed.I am trying to copy code examples for the NUCLEO-WBA55CG, but it is not working as there any many dependencies in the BSP file unique to the NUCLEO Board.I also can't find a proper Application Note for the module.Any assistance will be greatly appreciated.
Line 2185 of stm32wbxx_hal_usart.c uses incorrect macros for clearing the receiver timeout flag:__HAL_UART_CLEAR_FLAG(husart, UART_CLEAR_RTOF);I believe this should be:__HAL_USART_CLEAR_FLAG(husart, USART_CLEAR_RTOF);The original line warns of implicit function declaration for __HAL_UART_CLEAR_FLAG and an undeclared identifier for UART_CLEAR_RTOF in projects that use the USART but not he LPUART.The bug can be found in the latest release on GitHub.Updating the file is fine, the functionality is identical. But every change to the USART configuration with CubeMX overwrites the updated file.
Hello everyone,I am trying to communicate via LoRaWAN on the live object network of the French operator Orange. I'm using the nucleo STM32WL55 for the end device. Here are the version of the application on the end device side : APPLICATION_VERSION: V1.3.1MW_LORAWAN_VERSION: V2.6.1MW_RADIO_VERSION: V1.3.1L2_SPEC_VERSION: V1.0.3RP_SPEC_VERSION: V1-1.0.3I tried with these two lora mac version :* - 0x01000300: Link Layer(L2) v1.0.3 + Regional Parameters(RP) v1.0.3* - 0x01000400: Link Layer TS001-1.0.4 + Regional Parameters RP002-1.0.1 The Live Object coverage is good, I used a field tester from ADEUNIS to find out if it's network side or end device side. I think the problem come from a configuration.Do you guys have any idea of what the issue ?
Hello,We made a custom pcb with STM32WLE5CC MCU, and with the IPD BALFHB-WL-05D3. You'll find in attachement the schematic.We use the STM32CubeWL software. We tries the same version on the nucleo and everityhing was going well, we could join with the nucleo (Nucleo WL55JC2) We would like some support to find out why we could not join the network, and why there is CRC error.Our Gateway is a Multitech MTCDT-H5-210L Firmware 5.3.8s-s1Thank you for your helpAnthonyEDIT : The problem came from the 32 MHz quartz, which had a slightly low frequency. We solved the problem with the internal capacity of the microcontroller
Hello ST Team, I am Ramya Ranganathan from Karaka eDrives. I am working on the STM32WB5MM-DK discovery kit and used STM32CubeMonitor-RF BLE Transmit and Receive data with two different boards. The packets are missing even less than 1 meter distance. The above Test is done at distance of 23 Centimeters only. Is there need for any modification in settings to achieve long distance and reduce the Packet Data Rate(PER).Thanks in Advance.
Hi, After configured the GPIO pins via STM32CudeMX and generated the code, when I run the firmware, the "WWDG_IRQHhandler()" problem keep appearing from no way and hinder me from the rest of the development. Please see the attached screen shoot picture. Even after I commented out the customize codes the problem didn't go away. Same problem seen on the P-NUCLEO-DONGLE too. I configured the MCU to support "USB HID + Zigbee". Any help?
I am using the LoRaWAN end-node dual-core demo on an STM32WL5M. I noticed the RAM_SHARED section in the .LD files of each core project points to different addresses, one to 0x20008000 and one to 0x20009000. Is this a potential issue?
Dear esteemed members,I am designing a Bluetooth based small headset kind of application, which will be capable ofreceiving audio stream, streamed through a device like mobile or any other.also need to control few GPIO with mobile, command will be sent over Bluetooth.also looking for Broadcast mode, so that multiple such headset will be receiving the same stream in future designs.Kindly let me know about the sameWarm RegardsPreet
Hello,I’m working on a project with the STM32WB55 where I use BLE (which is working fine) and also want to use the RTC Calendar. The project was generated with STM32CubeMX, RTC is using LSE.The problem:The RTC calendar runs, but its time counting is incorrect.Instead of incrementing one minute (60 seconds), it only increments 4 seconds per minute.What I tried:In app_conf.h, in the section with RTC-related macros, I modified CFG_RTCCLK_DIVIDER_CONF to different values (16, 8), but the issue remains the same.In main.cpp, during RTC initialisation:hrtc.Init.AsynchPrediv = CFG_RTC_ASYNCH_PRESCALER; hrtc.Init.SynchPrediv = CFG_RTC_SYNCH_PRESCALER;I tried replacing these macros with explicit values (i.e. 127 and 255 which works on STM32L4), but the result did not change. Has anyone experienced this before on STM32WB55? Any guidance or hints would be greatly appreciated.
I can't find any example schematics for the stm32wba65ciWhere could I find them?
Post edited by ST moderator to be inline with the community rules especially with the code sharing. In next time please use </> button to paste your code. Please read this post: How to insert source code Hi All, I’m developing a custom BLE Central + Zigbee Coordinator application, and I’ve implemented all the required functionalities. Initially, I tested everything on the STM32WB55 Nucleo board, and both BLE and Zigbee worked perfectly. However, after migrating the same application to my custom hardware, I’m facing an issue specifically with BLE connections. I can successfully scan and see BLE advertising packets from nearby devices. When I attempt to connect to a BLE smart relay/smart plug, I receive a Connection Complete Event (Success), but immediately afterwards I get a Disconnection Event with reason code 0x3E. Zigbee still works fine — I can connect Zigbee end devices into my network without any issue. So the surprising part is: On the Nucleo board → BLE and Zigbe
Hi,I made a custom board with a STM32WL5MOC module and I want to test LoRaWAN connectivity. How to get a blank example for testing LoRa? I try to use the End_Node example of the B-WL5M-SUBG1 board, but it requires some environmental sensors to be initialize and the microcontroller goes to hard fault.Thanks.
Hello, I’m facing an issue with the STM32WLE5JC controller after flash programming. After programming, the controller does not automatically reset. It only starts working after manually turning the power OFF and ON. In these cases, I've observed the following: Sometimes the controller enters an idle or hang state. When the watchdog timer expires, instead of resetting, the controller stays in idle. After a manual power cycle, the controller works as expected. It seems the issue occurs specifically when the automatic reset after programming does not happen. Any insights or suggestions on this would be greatly appreciated.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.