Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, I trying to debug on nucleo-WL55 with serial wire debug via SWO. I have enable "Serial Wire Viewer (SWV)" in debug config, and add SWV ITM Data console (Config 0).Even add this code : int _write(int file, char *ptr, int len) { /* Implement your write code here, this is used by puts and printf for example */ int i=0; for(i=0 ; i<len ; i++) ITM_SendChar((*ptr++)); return len; }With this line : printf("HelloWorld");Did you know why it doesn't work? Is that possible to have serial wire on WL-55 ? I have all jumper on JP8 as we receive the nucleo-WL55.My config : Thanks
Hello, I'm Using the STM32WLE5JB with STMCubeWL , and i'm wondering how i need to confirgure the .ioc and writing the code to have a arduino style ADC.Without DMA i want to read only the channel that i want to read and not all in one time.I tried some tutorials on internet but none of one was succesful.Thanks
Hi there, I have tried BLE_HeartRate_ota and it works. Yet, when I integrate OTA to my own applicaiton (by uploading BLE_Ota_reference.hex to 0x08000000 first)and try to update the firmware via ST BLE sensor app, the STM_OTA service cannot be connected and the app shows that node cannot be found. Only my application is advertising. My application starts at 08007000 and I have updated the linker file(you can find it in the attachment). "BLE_CFG_OTA_REBOOT_CHAR" is set to 1 (from ble.config.h) and "SCB->VTOR = VECT_TAB_OFFSET" is removed (from system_stm32wbxx.c). The magic word can be found in app_ble.c(see below). I am using STM32cubeIDE and STM32Cube_FW_WB_V1.0.0. I have no idea what to do so that my OTA application can work. Thank you for any suggestion!Cheers,Mo
Similar to this post - https://community.st.com/s/feed/0D53W00001nnAMrSAM?t=1670943529113.I believe different values is needed for:CFG_BLE_ATT_VALUE_ARRAY_SIZE = XCFG_BLE_NUM_GATT_ATTRIBUTES = XCFG_BLE_NUM_GATT_SERVICES = XHas anyone managed to get these values for the WB10
There are some parts of the schematic and board view. I was created my own test project from video on YouTube from st.com. Also was tested stm32wb15 example projects with heart rate monitor which are worked.UPD: APPE_SysUserEvtRx is calledIPCC_C1_TX_IRQHandler is calledIPCC_C1_RX_IRQHandler is calledAlso, my option bytes on screenshotWIRELESS_FW_RUNNING іn stockSHCI_C2_BLE_Init cause Error Handler with 0x01 code
Hi thereHow to calculate the maximal possible CPU execution time for the STM32WB55 when running fetching the code from external flash?Kind Regrads
I have a board NUCLEO-WB55RG and STM32CubeProgrammer v2.12.0, I'm trying to write OTP area to address 0x1FFF7000, but I got errors.I edit with GUI and I got error message: "Memory edition verification failed", with CLI I have this error:./STM32_Programmer_CLI -c port=swd -w32 0x1FFF7000 0xAAAAAAAA ------------------------------------------------------------------- STM32CubeProgrammer v2.12.0 ------------------------------------------------------------------- ST-LINK SN : 066BFF5XXXXXXXXXXXXXX ST-LINK FW : V2J40M27 Board : NUCLEO-WB55RG Voltage : 3.26V SWD freq : 4000 KHz Connect mode: Normal Reset mode : Software reset Device ID : 0x495 Revision ID : Rev X Device name : STM32WB5x/35xx Flash size : 1 MBytes Device type : MCU Device CPU : Cortex-M4 BL Version : 0xD5 Debug in Low Power mode enabled Write 32-bit data w @0x1fff7000: 0xaaaaaaaa Downloading... [==================================================] 100% Error: Failed to download data! If i
..
Dear All,I have managed to get the LoRaWAN_end_Node_DualCoreFreeRTOS sample working and now I am trying to get this sample to perform a continuous wave.I know that I need to use the mailbox system in order to send the proper settings and commands, but I am a bit lost in the details of how to create and propagate this message.I am currently using STM32Cube FW_WLv1.1.0 and it would be too hard to upgrade at this point.Thanks a lot in advance
Hi,I want to know the difference between EXTI PR1 and EXTI PR2 registers in stm32wb55xx.
We are using an STM32WL55 (NUCLEO-WL55JC2) and don't understand RCC_BDCR_RTCEN. Our system is configured to be woken up from Stop 1 Mode via RTC wake-up, clocked by LSE. This works, but we wonder about a detail.According to RM0453, RCC_BDCR_RTCEN is "RTC kernel clock enable". In the RTC block diagram, Figure 274, this seems to be rtc_ker_ck, and also named RTCCLK in that document. As this seems to be the main clock for the RTC clock domain, the RTC should not work if this clock is not enabled.However, if we comment out RCC_BDCR_RTCEN and POR the device, the RTC wakeup works like... a clockwork. As our software does not use any 3rd party code it was easy to check that nobody touches this bit. How can it work without it? What else does that bit do?
Hello,I am currently using STM32WB55 with QSPI external flash.Currently, the plan is to use it without Bluetooth, for now.I am able to write and read the flash in the program.The plan:Record for 24 hours with DMA from sensors to flash.Upload another program to transfer the data via serial (or with some conditional loop).The question:Is there a better way of doing this?I only need to save the data to the flash and then download them to a PC, can anyone point me to an example or tutorial for a similar case?Best regards,A.S.
STM32u585I and STM32WB5MMI'm struggling programming the bluetooth module of the U585I board.Stlink is connected in CN5, board is powered with CN8, but how to program the stm32wb (the Bluetooth module).With the CubeProgrammer, I can connect only to the stm32u575. Any help,pls?
The stm32wb55 writes data to the sd card in real time through FATFS, and the function f_write() will take tens of ms. I want to use two buffers, one buffer to store data, and one buffer to write data to and from the sd card (can this avoid the delay of f_write?). How should I write the program?
I have a custom board running the STM32WB55. My medium term goal is to use BLE to perform OTA updates for my firmware. I'm trying to leverage the BLE_p2pServer BLE_p2pServer_ota examples from the as a starting point, but I'm getting stuck at one of the first steps.To start with, I'm just trying to copy (clone) the BLE_p2pServer example from the STM32Cube_FW_WB_V1.15.0 repository into my own working directory. I started by generating a new project from the BLE_p2pServer .ioc file using CubeMX, and then I copied all the source code files from the STM32Cube_FW_WB_V1.15.0 repository into my own file area. The new project compiled fine after I copied the stm32wbxx_nucleo.c file into my area. The problem is that the new app does not properly advertise.I checked the debugger text, and both applications have identical debugger output, ending with ==>> Success: Start Fast Advertisingbut the copied version of the project keeps the green LED2 on constantly rather than flashing it, and the b
Hello, I have a STM32WLE5JB, and a want to wakeup the chip from sleep mode to have multiple task. (Read a sensor every x sec) externally from the RTC that is tied to the lora TX delay.So i have the code that include the lora stack without any modifications. Just setting the LPTIM module (counter mode), enable the IRQ in NVIC tab and setting the clock source : LSE / LSI ( multiple tries ).But the chip is unable to wakeup with the callback function. (Tested with a LED).With the low power disabled the LPTIM work as intended.Below the zip containing the project.Thanks
On STM32WL is the rfbusys only available in polling mode or is there an interrupt linked to it ?
Hi Team,We are using the Stm32wb55 series for our project and how to load the BLE Stack file through this programmer and which hex file we need to load for our board like stm32wb5x_BLE_Stack_full_extended_fw.bin (or) stm32wb5x_BLE_Stack_full_fw.bin (or) stm32wb5x_BLE_Stack_light_fw.bin for our board.Is there any upgrade document please share it with us.Regards,Srinivas.V
Hi, I want to configure the USART1 as TRACE in LORAWAN_AT_Slave project. I tried replaced LPUART with USART1 in the MDK-ARM but my project's TRACE not work. Any one know how to replace LPUART with USART1 ?
Hi Team,We are using the STM32WB55 Series for our project. We are using specific flash sectors (8) for our config data. Is there any specific Initializations are required for Flash Operations which is similar to other peripherals like Clock, UART, I2C and Timers.Please let us know the same we will go through once and we will take care of those.Regards,Srinivas.V
I am designing a PCB that uses an STM32WB5MMGH6TR and I intend to use an ST-Link from one of my Nucleo boards for programming/debugging.I have read through the SWD section in the reference manual and read that SWDIO requires a 100kohm pullup resistor. But I also read online that sometimes MCUs already have built-in pullups for these pins so there is no need to add them.I would like to be certain about the proper wiring for these pins to avoid building an unprogrammable board. Will I be able to use my Nucleo ST-Link (6-pin connector) with this MCU after simply connecting the SWD pins? Will this MCU behave the same as any other when connected to an ST-Link?
I have a board NUCLEO-WB55 and I'm testing some examples.I'd like acquire a sine wave about 14 MHz and convert to square wave with internal comparator. I can't find enough informations on datasheet if it's fast to acquire this signal.Thank you for suggestions
Dear all,I am happy playing with STM32WB kits but there is something that really annoys me.I am creating a very low power temperature sensor configured as SED. The problem is after every payload I send it stays in fast polling every 500 ms for some time. This drains the battery. As it is only a temperature sensor I never expect to receive commands so I do not need any kind of polling. How can I permanently disable it?Update:Looks like Zigbee_OnOff_Client_SED works as intended using anothe STM32WB as coordinator. Power consumption in stop2 is as expected around 3uA.If I use another device such as zigbee2mqtt or xiaomi gateway it has a different behaviour. After sending a command it generates 6 poll requests and after that CPU2 is not going to STOP2consuming 1.8mA. The point is that right after transmitting it goes into stop2 but around 1 second after it wakes up and stays up until next transmission.Is there any way to avoid waking up too early?
Hello, To push code using commands, i use this : STM32_Programmer_CLI.exe --connect port=SWD mode=UR reset=HWrst -d file.elfBut I would like the program to run after the programming step is complete (same behaviour as when programmed with STM32CubeProgrammer.I noticed that "run after programming was checked but I don't know how to do that with commands. I watch the possibilities using STM32_Programmer_CLI.exe -h but I didn't find it. STM32 : STM32WB5MMGH6TRHave a nice day Laora
Hi!We want to build a localization system based on AoA, which should localize BLE-Beacons. Therefore, I have a few questions to the ST BLE-chips:1. Is it possible to configure a device from the product portfolio to a fixed radio channel, on which BLE signals are received?2. The channels from an antenna array are connected via switches simultanously to the BLE-RX and thus, the IQ samples of the different receive channels are sampled with some microseconds time difference. If the frequency error between TX and RX goes too large, the phase error between the channels would be become too large. Therefore, is the difference between the carrier frequencies of the BLE-TX and the BLE-RX estimated continously and compensated?3. Could you recommend a chip from the product portfoilo which meets the named requirements?Thank you very much for answering my questions!
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.