Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Greetings, i have been trying to set up a STM32WLE5CC MCU to wake up from STANDBY Mode after a period of time (30 seconds for the testing phase, 1 week in the final product) using HAL Library functions.Unfortunately i have not been able to accomplish this, despite my best efforts.I am using STM32CubeIDE.Follows the code, partly abridged of comments and autogenerated MX functions://Includes #include "main.h" #include "string.h" //Private var RTC_HandleTypeDef hrtc; UART_HandleTypeDef huart2; //MX generated function prototypes void SystemClock_Config(void); static void MX_GPIO_Init(void); static void MX_USART2_UART_Init(void); static void MX_RTC_Init(void); //Own function prototype void Set_Alarm(void); int main(void) { HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART2_UART_Init(); MX_RTC_Init(); /*Check if we woke up from STANDBY mode*/ if(__HAL_PWR_GET_FLAG(PWR_FLAG_SB)!=RESET){ __HAL_PWR_CLEAR_FLAG(PWR_FLAG_SB); //cl
SUBGHZ Radio Cfg_DioIrq() describes mapping the radio interrupts to separate IRQ lines but NVIC only has one Radio IRQ interrupt.Are the radio interrupts all just muxed into that one interrupt?Does the mapping need to be applied to all IRQ lines none at all in order to get the interrupt on the IRQ lines?
Hey thereI'm working with stm32wb with custom board, I have two strange issues.I'm tying to probe GPIO_IOToggle example but the program only run when i charge the code or when I debugged it with STM32CUBEIDE, whne i press reset or activate the source the program don't runThe function HAL_Delay() is not working, the MCU keep waiting for HAL_GetTick() who is frozen in 0I tried to run with MDK and STM32CUBEIDE in two different machines but is the same. Also I tried to change the priority of the systick timer. Please. Would you help me ?I'm working witch STM32CUBEIDE V1.7.0 and STM32WBCUBE_FW_WB package V1.12 also I probed with V1.11
Helloi made a custom board using MIDATRONICS module that integrate the STM32WLE5J8I and i don't find how to make a lorawan end node project !!! when i import the end node project from the nucleo-WL package, it doesn't work (don't make a join and don't send data!!) and because the STM32WLE5J8I HAVE ONLY 64K of flash i'm at 96% of memory !!!Can you help please ? is anybody make a lorawan end node project directly with cubeMX for the STM32WLE5J8I without any import from the Nucleo project?Thank you in advanceBests Regards
Hello,I am using the STM32WB55 Nucleo board and have gone through a few of the example applications. I would now like to create my own BLE application similar to the heart rate monitor. I really am not sure how to start and was hoping for a decent tutorial or video on the flow of adding BLE functionality. If anyone has any tips I would really appreciate it.Thanks
Hello,We are designing a PCB based on the NUCLEO-WL55JC boardWe are looking for the Altium project files.Someone can share a link?Thanks.BEEPH
Dear ST communityI've been trying to implement the BLE_RfWithFlash example from the STM32WBCube package into my BLE application.When trying to write/erase flash, the MCU disconnects the BLE client and triggers a hard fault. If I run the application in debug mode, it works sometimes when stepping through the code.The basic idea is that a BLE characteristic callback triggers the MCU the save configuration data into flash page 85/0x08055000Information:MCU: STM32WB55CE (& CG)STM32WBCube package: ver. 1.12.0Firmware: BLE full stackBLE interface: Arduino BLE for stm32wbOS: Freertos alongside BLE callbacksApplication:I've used the flash_driver.c/.h from the package example (only added HW semaphore IDs to header since I have no editable hw_conf.h).I've wrapped the flash driver in a C++ class for readability. The function interacting with the driver:#define FLASH_PAGE_NUMBER 0x55 // 85 #define FLASH_BASE_ADDRESS 0x08055000 // _eeprom_buffer is an std::array ... void EEP
Looking at the HearRate Example with RTOS.I see that user app holds all the handlers in :PLACE_IN_SECTION("BLE_DRIVER_CONTEXT") static HRS_Context_t HRS_Context;What is the purpose of this placement?Can it be changed to a simple static?thanks
Hi all,We are using stm32 PDM to PCM library to convert PDM mic data into PCM data. On that we had an option to control the mic gain from -12db to 51db as mentioned in data sheet.So we try to increase the db level, But we cannot able to increase the db level more than 11db. If we increase the db level more than 11db the converted PCM values goes more than 32768(as signed).But the PDM to PCM library returns only 16bit data.Is it possible to get 32bit data from PDM to PCM library?Otherwise is there any other solution to solve this problem?I would be glad if anyone has some advice for me.Thanks in advance.
Hi, I currently have a STWINKT1B board flashed with the predictive maintenance sample application. This allows me to connect my board to the BLE sensor app through Bluetooth and it also allows me to log the ACCELLEROMETER sensor values to MQTT. However, I am unable to control the ODR at which the ACCELEROMETER data is being logged to MQTT. I have also tried flashing the High Speed Data Logging application to my board. This allowed me to control the ODR of the ISM330DHC sensor (ACCELEROMETER sensor), but when I try to perform 'cloud logging' through the app to MQTT, no data gets logged to MQTT even though I used the exact same MQTT credentials as I used in my above attempt. I am thinking this might be because I do not have an SD card installed in my STWINKT1B board. Is this true? Would entering a SD card solve this problem? If not, how can I go about configuring the ODR at which the ACCELEROMETER readings get sent to MQTT?
I am using cubeIDE to run these examples
Hi. I started a new project with the STM32WB35CEU as the target. Both in the datasheet and cubeMX MCU info it states 512Kbytes FLASH and 96KBytes of RAM.But when I generate that project code with cubeMX the linkerscript shows 256KFLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256Kthe header clearly states 512Kbytes FLASH / 96Kbytes RAMIs that just an error or am I missing something ?My first thought was that the dual core is more like two processors that splits the usage of FLASH for each processor?? But then we still can't use the whole 512KB that is stated because the radio core has it's own set code that we cant modify ?so the datasheet description should come with and annotation that states that the user can not use more then half of the FLASH? I hope that I am wrong, and this is just an error :)From linker script (STM32WB35CEU)/********************************************************************************* File : LinkerSc
I want to use RTC (RX-8571) for I2C communication with STM32WLE5JC. I wrote the code using [HAL_I2C_Master_Transmit] and [HAL_I2C_Master_Receive], but I can only send the device address of the first byte. The errata says "Write the first data in I2C_TXDR", but I don't know how to write it. Please help me.STM32WLE5JC�?��?�I2C通信�?�RTC(RX-8571)を使用�?��?��?�。[HAL_I2C_Master_Transmit]�?[HAL_I2C_Master_Receive]を使用�?��?�コードを書�?��?��?��?1�?イト目�?�デ�?イスアドレス�?��?��?信�?��??�?��?�。エラッタ�?��?��?「Write the first data in I2C_TXDR�?�?�書�?��?��?�る�?��?�?��?�様�?�記述�?�れ�?�良�?��?�分�?�ら�?��?�。�?��?��?��?�力を貸�?��?��??�?��?��?�。
I'm trying to set configuration for STM32WL55JC but I have no luck at all. I have set some pins, namely inputs: PB1,PC6,PC13, outputs: PB10,11,15, pc3,4,5, but the problem is all the time, I'm trying to not to touch almost anything wht is not needed:-if gpio.c is generated, then it has no entries except basic resonator , nothing else in it-gpio.c is not created at all-looks like gpio.c is created on the first try only, then you apparently have to delete project completely to have again chance to have it done by a tiny bit, but one false step and no configuration at all, and you can start overAny suggestions? It looks really hopeless
Running " i-cube-lrwan - End node" firmware on board. We are expecting consistent battery percentage but observing inconsistent in battery percentage. e.g. At first when battery is fully charged, it should show 100%. Later on as battery started draining percentage should decrease linearly. But we are observing non linear change in battery percentage. Like87%87%95%80% 100%We observed that +Vref voltage itself is fluctuating for each uplink when powered with batteries. So we are suspecting variation in Vref might be the reason. If so how to resolve this issue or is there any other reason for this??
Hi, I am not so sure about where to connect the jumpers from the ULINK plus on my STM32WL55JC board to measure power consumption? Can anyone please help? The picture of the board is from the UM2592 User Manual. I couldnt find the information.Thanks!
I see there is now a video series on connecting the STM32WL to The Things Stack (TTN v3):LoRaWAN with STM32 Getting Started: Part 1, LoRaWAN with STM32WL OverviewLoRaWAN with STM32 Getting Started: Part 2, STM32 LoRaWAN Gateway for The Things Stack LoRaWAN with STM32 Getting Started: Part 3, LoRaWAN End Node w/ NUCLEO-WL55JC1 for The Things StackBut this is specific to the WL, using the STM32CubeWL Pack.Is it the same for the latest I-CUBE-LRWAN v2.1.0 ?Specifically, on a B-L072Z-LRWAN1.In particular, the video uses the WL's hardware ID register - so how would this be handled on the B-L072Z-LRWAN1 ?
I'm using STM32WB55 in 1 master 4 slaves configuration. I've implemented scanning, connection creation, MTU exchange, data le exchange functionalities, service discovery, characteristic discovery and descriptor discovery. Problem I currently have is that sometimes I can't connect to slave device. If I am in this state, if I scan for nearby devices BLE stack doesn't report advertising packets for the device I'm trying to connect to. Note that I am doing scan after I terminate connection process using aci_gap_terminate_gap_proc(GAP_DIRECT_CONNECTION_ESTABLISHMENT_PROC); I can see advertising packets from other nearby devices though. If I connect to targeted slave device using my phone, and then disconnect, then I can see advertising packets for this device, and I am also able to connect to it. I can randomly reproduce this behavior with multiple disconnect-connect attempts. Does anyone have idea what could be happening and what to try to fix this?
This is the behavior I currently observe.I Send data at fixed intervals, but if i set slave latency to 1, than from time to time, i will have short periods of misses, the data arrives +- 1 connection event. If i set slave latency to 0, the data arrives on time all the time. (But then I can't use FLASH).
Hi Folks,Newbie at this. Bought P-Nucleo-Lrwan2 last week and have issue with join. Pack comes with L073Rz and I-NUCLEO-LRWAN1 ARDUINO expansion board used as a sensor node. Flashed STM32CubeExpansion_LRWAN_V2.1.0 with NUCLEOL073RZ, AT_Master but still can't get this to work and please let me know where to start. Help is much appreciated!KL
I have built an app based on the p2p server. I have added several tasks to read adc, drive pwm an talk to i2c devices. The app runs as expected when I disable the stop mode.UTIL_LPM_SetStopMode(1 << CFG_LPM_***, UTIL_LPM_DISABLE);However when I allow stop mode The app does not run as expected after exiting from stop mode. Do I need to re-initialize some things when exiting stop_mode?
I have used STM32Cube_FW_WL_V1.1.0 -> LoRaWAN_FUOTA -> 1_Image sample and build the binary file -> BFU_LoRaWAN_End_Node.binAfter flashing the binary, STM32WL66 Option Bytes got changed and i could not able to erase and update the fflash after that. i tried with mass erase, but it did not help. Please share your inputs to disable the flash write protection.c:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=swd -ob displ ------------------------------------------------------------------- STM32CubeProgrammer v2.7.0 -------------------------------------------------------------------ST-LINK SN : 001600345553500B20393256ST-LINK FW : V3J7M3Board : NUCLEO-WL55JCVoltage : 3.26VSWD freq : 12000 KHzConnect mode: NormalReset mode : Software resetDevice ID&
Hello Everyone!I would really need some help. I have a B-L072Z-LRWAN1 board and I use the LoRa end node project provided by ST. I'd like to add UART1 to this project with interrupt. However, the code stops working when I initialize the UART1. Could you please help me with how to correctly initialize the UART1 and the clock source for this? Thank you very much!Adam
Hi, I am new to stm32wb and I am using the stm32wb15. I want to implement the multi-role functionality on my device, that is, I want it to act as a central and also as a peripheral. However, I don't know how to do this. Are there any examples? Any advice will be much appreciated.
As per the application note AN4967 Rev 7 AT+APPKEY command has been removed from the firmware of AT_SLAVE. I would like to know how can i set or enquire the APPKEY via AT Commands. Also is there possibility to set this key in firmware itself? Since as per the lora standard for OTAA activation, user should setup APPEUI, DEVEUI and APPKEY. But since command for AppKey removed so i wonder how can i set this key on module. Please update and share if there is any good reason to remove or the way to set the key in firmware itself.
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.