Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I have function to receive Dev EUI, APP Key, and NWK Key data from UART. Then, I want to put and replace of Dev EUI, APP Key, and NWK Key in se-identity.h with my own data which I have saved in flash memory. But, an error occurs when only include my own file header in se-identity.h after compiling, It also happens to when only include main.h. How can I include my own header file in se-identity.h without error ? Or maybe there is another way to change Dev EUI, APP Key, and NWK Key without hardcode in se-identity or FUOTA ?Any assistance would be greatly appreciatedError occurred:
Hi everyone,I'm trying to convert our IoT Sigfox sensor from EFM32 to STM32 architecture.As a beguinner on STM32, I'm using an LSM100A eval board based on STM32WLE5CC.Can anybody explain me how to create a simple Sigfox project ? I just want to send a simple Sigfox message.I try to start from the PushButton skeleton available on project configuration but there is alway something missing in the generated source code. First build give errors like these :../Core/Src/timer_if.c:337:51: error: 'RTC_N_PREDIV_S' undeclared (first use in this function); did you mean 'RTC_PRER_PREDIV_S'?../Core/Src/timer_if.c:415:30: error: 'RTC_PREDIV_S' undeclared (first use in this function); did you mean 'RCC_PLLDIV_3'?Any help would be greatly appreciated !Thanks,Johann
..
Hello~Hello. I am developing a BLE device using STM32WB55RG.The test board I am using is as follows.P-NUCLEO-WB55MB1335D-01After receiving the board for the first time, I wrote Middleware BLE of STM32_WPAN at STM32CUBE IDE, and communication with my mobile phone's ST BLE ToolBox was very good.However, after upgrading the stack using STM32 CubeProgrammer, P-NUCLEO-WB55RG cannot be found in ST BLE ToolBox.The picture below is the stack information at the time it was initially received, and the following picture is the stack information I updated.<default stack - work ble ><updated stack - do not work ble>Can I get some help?Or can I get the same version of the Stack as when I first got it?Thank you very much.
Hi.I need to design a custom board for LoRa 923MHz network.The AN5457 provides the example for 923MHz network. (A.1.6)I can get output Impedance from this example(AN5457).But I can't find LNA (Differential) Input Impedance for UFBGA73 package @923MHz.Could you please give me input Impedance data of this package and this frequency?
I am developing using STM32CubeMX and IAR Embedded Workbench for ARM (EWARM).I was using version 8.50.9 of EWARM.I have upgraded to the latest EWARM v9.20.2.Then the firmware that was working with EWARM v8.50.9 stopped working.I also tried EWARM v9.20.1 and v9.10.2 but it didn't work.Is it necessary to use EWARM v8.xx.x for the source code output by STM32CubeMX?
Hi together,I am trying to enter standby mode on my stm32wb15 during ble application using the following code:void UTIL_SEQ_PreIdle( void ) { if(Custom_App_Context.current_state == APP_SLEEP_STATE){ HAL_SuspendTick(); if( (LL_PWR_IsActiveFlag_C1SB() == 0) || (LL_PWR_IsActiveFlag_C2SB() == 0)) { /* Set the lowest low-power mode for CPU2: shutdown mode */ LL_C2_PWR_SetPowerMode(LL_PWR_MODE_SHUTDOWN); } /* Disable all used wakeup sources*/ HAL_RTCEx_DeactivateWakeUpTimer(&hrtc); /* Clear all related wakeup flags */ __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU); HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1); /* Enter the Standby mode */ HAL_PWR_EnterSTANDBYMode(); /* Program should never reach this point */ Error_Handler(); } }The problem is like mentioned above that the mcu immediately jumps to main() after HAL_PWR_EnterSTANDBYMode()
Hello! I'm following the example here but with RF enabled to put my STM32WB into low power run mode (https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/NUCLEO-WB15CC/Examples/PWR/PWR_LPRUN/Src/main.c)I'm running into an issue where whenever I call: SystemClock_Decrease(), I'm instantly losing RF connection.Here is my system clock configuration:RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; /** Configure LSE Drive Capability */ HAL_PWR_EnableBkUpAccess(); __HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_LOW); /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE |RCC_OSCILLATORTYPE_LSE|RCC_OSCILLATORTYPE_MSI; RCC_OscInitStruct.HSEState = RCC_HSE_ON; RCC_OscInitStruct.LSEState = RCC_LSE_ON; RCC_OscInitStruct.HSIState = RCC_HS
@oneshot.triplekill@qq.com @Salvo @Sebastien DENOUAL
Hello,I configure SUBGHZ peripheral to communicate with a RF433MHz module.The RF433MHz module send preamble and synchronisation word in little-endian fashion (bit 0 first, bit 7 last) For example, a Sync Word pattern of 0x2D 0xD4 is transmit as 0xB4 0x2B and the preamble of 0b10101010 is received 0b01010101How can I configure the SUBGHZ peripheral to receive preamble and synchronization word correctly?Thank you,Sincerely.
Hello.I purchased development board Nucleo-WL55JC2 based on STM32WL55JCI7 and am developing software for wireless data transfer.The documentation (RM0461) says:4.7.1 Startup modeAt POR or after a sub-GHz radio reset, the Startup mode is entered. BUSY is set. Wheninternal supply and clocks become available, the sub-GHz radio enters Sleep mode.4.7.2 Sleep modeIn Sleep mode ... BUSY is set...Following a POR sub-GHz radio reset, the Deep-Sleep mode is entered from Startup mode....Exit Sleep mode can be done:• on a firmware request via the sub-GHz radio SPI NSS signal (keeping sub-GHz radioSPI NSS low for at least 20 μs)• on a request from the sub-GHz radio RTC timer generating an end-of-count event(corresponding to duty cycled operation)Examining the behavior of the MCU, I found that to clear RFBUSYMS,RFBUSYS bits ( PWR_SR2 register) it is enough to clear RFRST bit (RCC_CSR register). Thus, the documentation contains an inaccuracy. I'm right?Also I found that after the RadioSPI exchange, w
Hello,I am trying to store as much data as I can into STM32WB55RGV6 flash.So far I've figured out that main memory span addresses 0x08000000 - 0x080FFFFF.I also know that CPU2 reserve some space at the end of the main memory and I am able to read the address at which it starts - this gives me last safe address to use.However I cannot seem to figure out how to find the addresses occupied by main program code which is somewhere at the beginning of the main memory.I've written test code that program flash from CPU2 secure sector, all the way down to 0x08000000 which runs fine until hardware fault is thrown upon write attempt below 0x08000000 or when some parts of main program code is overwritten.During this experiment HAL_FLASH_Program never return any errors.My goal is to read what is the first (looking from bottom up) safe address to write to in flash so I can safely store as much data as possible.
In STM32CubeIDE -> Middleware -> STM32_WPAN-> BLE Application and services, there are 2 parameters "Custom P2P server" and "Custom template". How are they different and under what conditions should be used?
HelloI am able to succesfully run the "RF Tests" using a nucleo board (STM32WB55) and a dongle, both connected on the same computer via virtual com port.Now I'd like to change some parameters for the test, e.g. the TX interval on the nucleo board. I thought I can do this via the ACI commands HCI_LE_SET_ADVERTISING_PARAMETERS.However, if I change the minimum and maximum advertising interval, nothing changes. I run the test for about 5s and I get about 8000 packets on the receiver which corresponds to the 0.625 ms interval. If I change the intervals, I still get 8000 packets.What do I am missing here?
Reference: https://www.st.com/resource/en/application_note/an4760-quadspi-interface-on-stm32-microcontrollers-and-microprocessors--stmicroelectronics.pdfIs there a particular reason (technical or HAL-driver related) that is behind this non-inclusion of STM32WB5MMG in the list of supported QuadSPI STM32 MCUs?@Imen DAHMEN (Employee) @Amel NASRI (Employee) @STOne-32 (Employee)
Hello, I am working on an application and the power consumption is a bit high as of now. I would like to know the different low power modes and how to wake up from those modes. Could you please help me with the documentation and sample codes?
We've switched to new DC-DC(LM3281) for main power supply and found that BLE TX stopped working correctly and not passing packet test anymore.After deeper investigation we found that our DC-DC in ECO mode has ripple/pulsation of 60mV/50uS, which causing this issue.Switching DC-DC into PWM mode solves the issue, but power consumption raise makes this option undesirable.Issue can be reproduced on Nucleo board with Transparent VCP test firmware and CubeMonitor-RF in packet test mode. Questions:How clean power supply should be and where this information can be found?Is there any way to expose radio phases that requires clean power supply to GPIO?Is it bug in core2 firmware or expected behavior?
Recently i experimented with the RTC modules and came accross an issue where HAL_RTC_Init() fails because RTC_EnterInitMode() fail with HAL_TIMEOUTAfter debugging, it seems that HAL_PWR_EnableBkUpAccess() need to be called before HAL_RTC_Init()It appear that HAL_PWR_EnableBkUpAccess() is called if the LSE is used, but not if LSI is used. See line 775 of stm32wbxx_hal_rcc_ex.c.Question: when is HAL_PWR_EnableBkUpAccess() supposed to be called ?
Hi i am developing a BLE-UART bridge with an STM32WB5M.I am guetting around 1,85 KB/s data troughput, is this normal?Did anyone pull this off with greater data troughput? (same uart thing or any streaming application)
I am using STEVAL-STRKT01 with FP-ATR-LORA1. I have successfully joined the LoRa network (US915), but whenever the device tries to send data on the network it returns "Send Error" over the serial. By debugging the code, I have tracked the cause to be that it seems to be unable to find a valid channel to use. I have tried a couple different data rates (4 and 5) but it has not resolved the issue. What would cause this?
The program size of my project is as follows "Program Size: Code=30996 RO-data=1548 RW-data=36 ZI-data=34980". The board i am using is a STM32WLJ1 board "256-Kbyte Flash memory and 64-Kbyte SRAM". I believe flash memory is causing me issues in my project. I am left to conclude that the CubeMx software is somehow taking up alot of data memory and i was wondering if there was any way to reduce this requirement. Any help would be appreciated, thank you.
I just got my STM32WB55 Nucleo boards with FUS v.0.5.3 and trying to upgrade firmware but neither of the provided .bin files in "repository" ("stm32wb5x_FUS_fw.bin" or "stm32wb5x_FUS_fw_for_fus_0_5_3.bin") work. I get the same message for both when trying to program the files using STM32CubeProgrammer tool. (Note: message "Firmware Delete Successful" was present). Attaching a picture of the error message I get.Note: I tried to accomplish the same thing using both user USB DFU and ST-LINK interfaces. Here's log from my flash attempts:10:43:51 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.10:43:51 : Warning: Option Byte: nboot0, value: 0x1, was not modified.10:43:51 : Warning: Option Byte: nboot1, value: 0x1, was not modified.10:43:51 : Warning: Option Bytes are unchanged, Data won't be downloaded10:43:51 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1 10:43:51 : Memory Programming ...10:43:51 : Opening and parsing file: 0x495_FUS_Operator.bin10:43:51 : &n
I am trying to follow this video: because i think i bricked my coprocessor (m0+ ), same thing happens in two different boards.✌�? STM32WB Getting Started Series: Part 9, Stack Loading https://www.youtube.com/watch?v=wheGvdXsi4oWhen i click firmware upgrade \STM32Cube\Repository\STM32Cube_FW_WB_V1.12.1\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_BLE_Stack_full_fw.bini get this Error: Firmware not authentic!the firmware start addr in the video is outdated, with fw v1.12.1 the correct addr is 0x080CA000 but still same result:logs:13:06:53 : FUS state is FUS_IDLE 13:06:53 : FUS status is FUS_NO_ERROR 13:06:53 : Read FUS state command execution finished 13:06:53 : UPLOADING ... 13:06:53 : Size : 4 Bytes 13:06:53 : Address : 0x20030030 13:06:53 : Read progress: 13:06:53 : Data read successfully 13:06:53 : Time elapsed during the read operation is: 00:00:00.004 13:06:58 : FUS state is FUS_IDLE 13:06:58 : FUS status is FUS_NO_ERROR 13:07:00 : Old Firmware delet
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.