Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
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
Hello! I am using STM32WB as a MCU for a custom pcb. I am using the BLE Sensor firmware but slightly altered for our application. The question I have is - If I want to perform data acquisition intermittently (let's say every 5 mins) and transmit data over BLE, is there some sort of power consumption features within the MCU/firmware that will put the MCU into standby/sleep but stay connected to BLE (to an app let's say)? If not, is there a still way to keep the MCU on in lower power mode when measurements are not being taken? Trying to prolong battery life is the main objective here. Thanks
AN5669 seems to indicate that the BLE Object Transfer Service is available on STM32WB devices. Are there any technical documents or examples showing how this would be used in an STM32Cube application?
Hello i am looking for specifications for the antennas supplied with the p-nucleo-lrwan packages. Unfortunately i cannot find any specific information about the supplied antennas such as impedance, gain, etc in the documentation of the products. I would appreciate any help.
Hello, I am using 2 NUCLEO-WBA52CG dev boards with project STM32Cube_FW_WBA_V1.1.1\Projects\NUCLEO-WBA52CG\Applications\BLE\BLE_p2pServer. I am using IAR 9.40.1 My pc wireless is Intel® Wi-Fi 6 AX200, pc is running win10 pro (latest) While getting this development kit up and running, the bluetooth hw on my pc became corrupted and stopped working. on symptom was that the Bluetooth on/off switch in settings=>bluetooth & other devices was missing. Prior to the development all bluetooth had been working with no issues for over a year. The corruption happened when I tried loading the project listed above onto one of my devices. I don't remember if the device was bound or just advertising. It took a bit of effort to get the hardware working again but after fixing that, the device that caused the issue is no longer visible to my PC in "Add a device like it is supposed to, like this: Now one device is visible like in the picture, and the other is not.&
I followed the instructions posted here to enter the bootloader and successfully connect to the MCU via USB using STM32CubeProgrammer. When I attempt to load code the following error occurs: 09:12:45 : USB speed : Full Speed (12MBit/s) 09:12:45 : Manuf. ID : STMicroelectronics 09:12:45 : Product ID : DFU in FS Mode 09:12:45 : SN : 2061347F4852 09:12:45 : DFU protocol: 1.1 09:12:45 : Board : -- 09:12:45 : Device ID : 0x0495 09:12:45 : UPLOADING OPTION BYTES DATA ... 09:12:45 : Bank : 0x00 09:12:45 : Address : 0x1fff8000 09:12:45 : Size : 128 Bytes 09:12:45 : UPLOADING ... 09:12:45 : Siz
Hello Sir,I am working on STM32WB. I am using the reference of STM32WB Dongle. The reference Dongle design used STM32WB55CGU6U MCU Part Number. I used STM32WB55CGU6 ( Without 'U') MCU Part. Bluetooth is not working with my PCB.is there any Difference related to Hardware or Firmware?Reference Link: https://www.st.com/en/evaluation-tools/p-nucleo-wb55.html Thanks Sagar Kayasth
I have developed a program on the NUCLEO-WB55RG which contains a STM32WB55RGV6 MCU. Sadly our small company dont have the necessary equipment for RF design so we are planning to use the STM32WB5MMG module, which contains STM32WB55VGY MCU and all the RF curcit built in. Will the same code I wrote for the nucleo work on the STM32WB5MMG module if I retarget it in the STM32CubeIde?
Hi,I'm using STM32CubeIDE 1.4.0 to build an application (BLE Hid) for the P-Nucleo-WB55 board. It's looking for an include file stm32wb55xx.h which is missing. Any idea where to find this file?Thanks,Jim
Hello,I'm using the Nucleo-WL55CJ kit to test the Lora connectivity with TTN server.At first, all worked fine and I received my data, but now the kit is unable to join the networt with the following error "DevNonce is too small".Any idea?Thanks.
I have generated code with Lorawan. I am reading data from HTU31D sensor, the sensor pushes the same data (first stored data) in lorawan. Thank you
Before I recommend the STM32WB55 for our project, I'd like to know if what we want to do is even possible. Our application requires ultra-low power and so I'd like to limit the use of the micro where ever I can. We have a Gray code encoder that we need to interrogate optically. I believe that I can hook up the comparators to a timer to create an optical decoder and get shaft position. Thats great. But to save power I'd want to pulse the LEDs.If I'm pulsing the LEDs then I'd need someway to gate the decoder from counting so that the timer only considered the output of the comparators when they were valid.Is this possible without software intervention?Thanks
Hi,how can I use the Temperature Measurement Cluster with Zigbee? I have configured STM32 CubeMX with an endpoint and the cluster, but "zcl.temp.meas.h" doesn´t contain functions for handling the cluster. Only "ZbZclTempMeasClientAlloc" and "ZbZclTempMeasServerAlloc" are available.
The example project shown below builds and downloads successfully and halts at main(). The ST-LINK appears to connect and start successfully. It is when I click on run that the ST-LINK server says "Target is not responding, retrying..."I changed absolutely nothing in the source code or header files. This is happening if I attempt to run and debug immediately after importing the default project.The ST-LINK debugger works with other projects.Shown below is the precise example project I am using: This is the debugger view, with the program halted at main(), right before I click run: Below is the console output after launching the debugger and halting at main():STMicroelectronics ST-LINK GDB server. Version 5.9.1Copyright (c) 2021, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled Logging Level  
Hi everyone!I need to have several pins acting as ADCs to get data from different analog sensors connected at the same time. In board's datasheet I see that this board has 1 ADC with multiple channels (12 channels to be precise).The problem is that CubeMx provides the following ADC channels (channel - pin):IN0 - PA0IN1 - PA1IN2 - PA2IN3 - PA3IN4 - PA4IN5 - PA5IN6 - PA6IN7 - PA7IN8 - PB0IN9 - PB1IN10 - PC0IN11 - PC1IN12 - PC2IN0, IN4 and IN5 are working perfectly.IN2 and IN3 are used by other components so do not work properly.The rest of the pins are not in the board as you can see here:https://os.mbed.com/platforms/ST-Discovery-LRWAN1/#board-pinoutWhat am I missing?EDIT:Should I use a multiplexer instead of using multiple ADC channels?
Hi,This is my architecture:1 board client.5 board servers.In the client i have:A routine that try to connect, pair and update MTU size of all the servers.A routine that send and receive message from the paired servers.Right now i have some problem because i can't find an explaination of some errors i can observe. Where i can find a detailed description of the error codes returned by the functions that have tBleStatus as return type?In particular:aci_gatt_write_long_char_value return error 70 (decimal) after some working time (40min approximately). I have to disconnect and reconnect all the servers in order to restore the system.aci_gap_create_connection sporadically return the error 46 (decimal).If you have some document where these return values are explained i will be very useful.Thank you in advanceBest regardsLorenzo
I am evaluating the ASTRA1B demonstration board. I powered up the board, with factory firmware, via USB and attached an STLINK-V3MINIE debugger/programmer to the J300/STDC14 connector on the expansion board to a PC running TT.Output to console worked fine. Noticed LoRa radio was broadcasting at EU868.I am US based, so I need to configure it to use US915 band.I started a new STM32 project and imported CustomUC source code into CubeIDE.Used CubeMX to configure FP-ATR-ASTRA1 -> Parameter Settings -> STM32WL_SUBGHZ_REGION to US915.Built and flashed the board. - No console output. Tried different baud rates, 9600, 115200. No console output.I have used this setup to build, flash and run a LoRa Nucleo-WL55 board without problems.After some online research, learned that UART configuration is in the STM32_WPAN section of IOC.Tried enabling CFG_HW_LPUART1_ENABLED, which was disabled. Re-flashed the board. No console output.I tried hacking the code in main() to call DBG_PRINT
HiI'm trying to migrate and run LoRaWAN FUOTA example on STM32WLE5 custom hardware. I tried to use solution from: https://community.st.com/t5/stm32-mcus-wireless/how-to-migrate-from-stm32wl55-to-stm32wle5/m-p/190815but replacing STM32WL55JCIX_FLASH.ld file was too complex, because it contains a lot of flash setions related with KMS. I'm not sure if this is needed, because WL55 differs from WLE5 only by extra CM0 core.Code starts with no issues, connecting to AWS IoT Core, joining multicast group. Problem happened when FUOTA starts and first packet is receiver. Device gets into hard fault, there is "unaligned memory error", when 48-bytes of firmware is coppied to flash memory using LDRD command. It happens because source address is 0x200071EF which is not 8-byte aligned. I fixed that with very simple coppying to another buffer. Now full firmware can be written to flash memory, but update process is still unsuccesfull, there are many flash_write errors and device reb
Hi. Everyone.I'm trying to control external MUX using a GPIO pin in the STM32WB55 microcontroller.Because of a limited number of PWM pins, I'm trying to use a GPIO pin for continuous regular switching.My question is that even though the company said a maximum of 45 MHz (or 9 ns) is possible for the GPIO pin my code does not work properly (mux doesn't switch well without a 1 ms delay).The mux speed is a possible maximum of 100 MHz. So, I do not doubt it's performance but it may be due to the too fast swithing of GPIO pin.I need at least 1 us (1 MHz) switching speed. So, I wonder how can I give 1 us delay to the GPIO pin properly using IDE code?
Hello STM32WL Expert,We have developed a custom PCB based on the "STM32WL_QFN48_4Layers_Ref_Board" reference design with STM32WL55CCU6 MCU. It is based on high power and high-frequency configuration. LoRa transmission is handled through the FE_CTRL_2 pin for data transmission and receiving.We are using 32MHz crystal at OSC_IN and OSC_OUT pins. As per reference manual (RM0453) point 5.4.2, the load capacitors are provided by the integratedcapacitor banks that can be trimmed. The trimming is provided by SUBGHZ_HSEINTRIMR and SUBGHZ_HSEOUTRIMR registers.SUBGRF_WriteRegister( REG_XTA_TRIM, XTAL_DEFAULT_CAP_VALUE); SUBGRF_WriteRegister( REG_XTB_TRIM, XTAL_DEFAULT_CAP_VALUE);We have developed the same application on the NUCLEO-WL55JC1 development board and it is working well. The same LoRa communication is not working with custom PCB. Will you please help us to debug the issue?Best Regards,Neel
Hello,I flashed this firmware on board:after programming it shows this:nothing is running.===================================================I found some disscussion about PCROP, my settings look like this:very appreciate any help.Best regardsDanny
I have stm32wb55 , i have created a service using stm32cubeIDE, in that i have like 3 characteristics 1:: myChar, 2: mynotify and 3: mywrite,, ( mynotify has nothing to do with this problem). mychar is used to read the value only and mywrite is set to read and write the value, so in my st tools app if i try to update the value of mychar using this command, it does update the value ( Custom_STM_App_Update_Char(CUSTOM_STM_MYCHAR, (uint8_t *)UpdateCharData); BUT If i try to write the value for MYWRITE in the app, it does write the value and read exactly the same, but i dont know where the value is stored in the program, i have tried to get value from a instance like (CUSTOM_STM_MYWRITE) it does have some value but its not what i have written in the app. i have tried this command as well ( Custom_STM_App_Update_Char(CUSTOM_STM_MYWRITE,CUSTOM_STM_MYCHAR);to get the MYCHAR value in MYWRITE but as th
hi all,i am using stm32wb55 for my project ,i was setup one stm32wb55 as client and another stm32wb55 as a server both boards are connected via ble using data throughput example can anyone please help me how to code to send some data (ex:hi ) from client to server thanks in advance
I want to change the DMA memory according to the PWM signal and change the GPIO pin to turn on/off automatically based DMA memory information. Are there any good examples of this?
Hi everyone,I am trying to use an STM32WB55 to detect iBeacons and have found that if an iBeacon does not have it's GeneralDiscoverable flag set then it is not detected by the system. I believe that the iBeacon is being filtered by the coprocessor on the STM32WB before it gets to the application code.Has anyone else encountered this or can confirm that iBeacons that do not have the GeneralDiscoverable flag set are being filtered out by the coprocessor before getting to the application code on the Cortex-M4.
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.