Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
hello , i'm following this tutorial LoRaWAN with STM32 Getting Started: Part 1, LoRaWAN with STM32WL Overview - YouTubeand i want to know why targeting STM32WL as end-node instead of STM32LO and How I can buy this material decomposer not a complete package like P_NUCLEO_LRWAN2 just buy one by one :-STM32WLJC-Nuculo STM32F746- RisingHF arduino expansion board (LRWAN_GS_HF1)thank you
I have a customer that wants to update the wireless stack on their custom assy. This has been implemented successfully following the procedure set detailed in AN5185. Please note that this is not an OTA upgrade and the stack is upgraded via application code using the FUS_FW_UPGRADE with the stack loaded in the non locked area of flash.During performance testing we are looking for the system to gracefully recover if a "power event / power cycle" occurs during the upgrade process. Although there is a specific error code for a power cycle or user abort, we are finding that the system does not appear to recover well if the power event happens while the cpu is acting on the FUS_FW_UPGRADE process.Any advice on error handling or further detail about the process would be helpful and appreciated.I also noticed that the OTA example provided includes the command SHCI_C2_FUS_FwUpgrade(0,0); (both source and destination addresses are set to 0) . What does this do and why was this done.Thanks
Hello everyone, I have been working with the stm32wb15cc for a few months and am having a weird issue. I believe I have set up TIM2 and it's interrupts properly and my TIM1 interrupts work but TIM2 interrupts are not being called. TIM2 clk speed is 4Mhz. Any insights would be appreciated! I noticed nowhere in the the setup function is there a "HAL_NVIC_SetPriority(TIM2_IRQn, 0, 0);" or HAL_NVIC_EnableIRQ(TIM2_IRQn); but maybe HAL does it behind the scenes? It didn't work when I added it anyways lol. I have set up the TIM2 Timer as follows:I have called "HAL_TIM_Base_Start(&htim2);" HAL_TIM_PeriodElapsedCallback function works for TIM1 but when I check for htim->Instance to be TIM2 it is never called. (callback image linked)I have made sure I enabled TIM2 interrupt in the NVIC. (interrupt image linked)The setup Code is shown below and in TIM_Setup and TIM_Setup_Code images. TIM_ClockConfigTypeDef sClockSourceConfig = {0}; TIM_MasterConfigTypeDef sMasterConfig = {0
I have an STM32WB55 board. I used the CUBEMX to generate a template that both activates the internal temperature sensor and BLE module.However, if I ran the program generated, it will be blocked in the "hw_timeserver.c" at line 566, which is:while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET)If I turn the ADC off, the program will start properly, and I am able to scan and connect. the problem seems relative to the clock configuration, but I have no idea how to debug it.I attached my CUBEMX setting file. Can anyone helps me find the problem?
Any program that I generate using STM32CubeIDE for the STM32WB with BLE enabled hangs until I comment out the following line. What need to change in the initialization sequence? /** * We should never end up in this case * However, if due to any bug in the timer server this is the case, the mistake may not impact the user. * We could just clean the interrupt flag and get out from this unexpected interrupt */ while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(phrtc, RTC_FLAG_WUTWF) == RESET);
HI. I bought the STM32WL lora HF Package (lora getaway + lora sense)I programmed the gateway as appear in the youtube here the link(https://www.youtube.com/watch?v=uJU3YM1MWN4)It worked well for 1 month, suddenly I lost the signal from the node, and I check the TTN, firmware, APPKEY, DEVKEY, etc, finally, I check the gateway and realized with the following mesage in the log. _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/_/_/ _/ _/_/ _/ _/ _/ _/ _/ _/_/ _/_/_/_/ _/_/_/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _
I have been trying to get receiving of custom(32bit preamble, 2 byte SYNC word, fixed size) FSK packets working. It seems to work fine only sometimes. Sometimes the sync word shows up in the received data buffer and sometimes it isnt there. I honestly dont know and could not find how is the radio supposed to work in this case. Is the data buffer supposed to contain the sync word or what might be happening. I am using the Radio.SetGenericRXConfig() to configure it and Radio.Rx() to start the receiving in continuous mode.
Hi,About the stm32wl55 subGHz module. I choose FSK mode because of his higher flow rate than LORA. Question what is the preamble, i know his length can be tuned but what it is ?RegardsJP
According to the documentation: In TX mode, BUSY will go low as soon as the PA has ramped-up and the transmission of the preamble starts. The active mode switching time given in 5.7.8 Table 33 does not specify what PA Ramp time is for the *-to-TX mode transitions.What is the switching time not including the PA Ramp time?
Hi there,I am attempting to generate a simple FSK TX packet with the NUCLEO-WL55JC1 development kit, but I am struggling to understand how to enable the SUBGHZ radio and get it working. I have tried writing my own hardware interface with no luck, and when I have gone back to using the ST HAL I have gotten the same results. No matter what I try, I keep getting a status of 0xAA, which I believe means the radio is in Standby mode and has experienced a Command Execution Failure. The datasheet describes this as "Command successfully received but cannot be executed at this time, requested operating mode cannot be entered or requested data cannot be sent." This status doesn't change if I try and put the radio into another mode (for example FS or TX mode).Does anyone have any ideas as to what could be wrong? I am assuming that I haven't initialised the radio correctly, but I haven't found a lot of initialisation guides. My initialisation code is below. // Reset radio RCC->CSR |= RCC_CSR_RF
PS: I don't want to use an external antenna
STM32WB55 bluevoice demo. Peripheral blinks blue, but turns red on SW1. Central blinks green -- on reset of central peripheral returns to blinking green. No code changes, but yesterday green blink was rapid today slow. I can't ask good questions yet because I am trying to figure out how this works, but I need it working to do that. Any ideas?
I'm currently looking into how to actually set the security modes and security levels for a BLE device build on the STM32WB55RG chip.I have found the method to get what the security mode and level is:tBleStatus aci_gap_get_security_level( uint16_t Connection_Handle, uint8_t* Security_Mode, uint8_t* Security_Level );However I have not found a method or combination of methods to configure the actual security mode and level for my BLE chip.Currently to setup the authentification requirements I'm using this method:tBleStatus aci_gap_set_authentication_requirement( uint8_t Bonding_Mode, uint8_t MITM_Mode, uint8_t SC_Support, uint8_t KeyPress_Notification_Support, uint8_t Min_Encryption_Key_Size, uint8_t Max_Encryption_Key_Size, uint8_t Use_Fixed_Pin, uint32_t Fixed_Pin, uint8_t Identity_Address_Type );And I'm using the io capability method for that part:tBleStatus aci_gap_set_io_capability( uint8_t IO_Capability );I can't find any documentation specifying how to actually configure
Does someone tried to have geolocation somehow with STM32WL Lora Stack?Supposedly it's included in the protocol using RSSI or TDOA against different gateways.Another way is to have direct link without gateway of known position nodes and the different RSSI.Best Regards.
..
Hi, I tested the board with the UART_TwoBoardPolling but I don't succed to turn the user button 1 into the user button 2. The LED stops blinking but nothing append. With the debugger, it is going somewhere but i don't see where... maybe hardfault ?
Hi there,I have a small question about the Radio IRQ lines on the STM32WL series. As far as I am aware, there are two MCU interrupts tied to the SUBGHZ radio: the RFBUSY interrupt (EXTI45) and the SUBGHZ_Radio_IRQ (EXTI44). However, when setting up the radio, there is the option to configure 3 separate IRQ lines. What is the purpose of this if there is only one interrupt available on the MCU side?Thanks,Rebecca
The printed message is:▒▒RT ▒▒▒n▒▒ E▒amp▒▒ ▒▒▒a▒g▒▒ ▒h▒ C ▒▒b▒a▒y p▒▒n▒▒ ▒un▒▒▒▒n ▒▒ ▒h▒ ▒▒RT▒Insteadprintf("UART Printf Example: retarget the C library printf function to the UART\n\r");
Hello guys,I have a STM32WB application that runs bluetooth and PKA peripherals. We did setup this both peripherals a long time ago and was all going smooth. Our PKA is properly working using ISR, all the hardware semaphores were validated (including PKA Hw Semaphore) and running properly, BLE is perfectly communicating.Until couple days ago we found a out a bug that, after a new device is paired to the STM32WB, in the following PKA operation, the ISR simply is not called. Without using the ISR the PKA generates a wrong result aswell.During some debugging, i saw that after a pairing operation, the PKA Control Register assumes the value 0x2200, but i stil didn't find what this means. If we reset the device, we didn't find any problem at all. We're able to communicate using BLE, use the PKA peripheral and everything works properly. Our only problem right now is after we pair a device and tries to use PKA right afterwards. I'm using CubeMX V1.7, STM32WB SDK V1.13.1 and BLE Stack Full V1.1
if it was impossible I would be glad to explain
Hi,I want to save my data calculation in internal memory or flash memory without loss after reset. But, I dont know how to do that. Because in the STM32WL MCU dont have memory bank. Any assistance would be greatly appreciated
Hello, I want to check the low consumption in stop2 mode. I use directly the Sigfox_PushButton example of cubeWL Page 71/79 of the AN5480 (Rev4 - July 2020) : I use the X_NUCLEO-LPM01A to measure the consumption in stop mode. With this setup: I supply the MCU through I_SoC (JP1) (at 3.3V)I remove JP7 to remove LED5.I remove STLK jumper (as shown in UM2592 P.22)I measure : 725uA !!! How in practice to measure these 2uA ?Thank you Best regards
I am working on a project where we would like a responsive and secure BLE connection to a battery powered sensor. If a supervisory timeout of 32 seconds is set, would the STM32WB be able to go into Standby while no data is needed to be sent and still retain the BLE connection? Or can this only be done in Stop Mode2?If possible how is this to be done? I have read in another post that the CM0+ wireless system reinitialised after being put in standby. Does data need to be stored in SRAM2a to retain the state?Thanks,Daniel
I have a WB55 with FUS 1.2.0 and I'm trying to use zephyr. However, zephyr is only tested up to v1.5 of the BLE firmware. I've tried everything from 1.5 to 1.13 and the lowest version I'm able to flash is 1.11. Is there a method to get to an older firmware, ideally 1.5?
Ok, I set up a random static address and I also enabled LE privacy with GAP init. Everything seems to work fine unless I let the device advertise for 15 minutes (with a random resolvable address). After 15 minutes, I can still see the advertisements, but when I try to connect, the connection is rejected with "unable to establish connection". It happens every time. This seems to correspond with the random resolvable address rolling to a new one. Do I need to restart advertising every 15 minutes?
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.