Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi,I'm currently working to start the FUOTA on a STM32WB, so I've spent several time following the Application Note AN5247 and watching the MOOC - STM32WB Firmware Update Over the Air (FUOTA) videos that explain how to run the OTA on a P-NUCLEO-WB55 board. Following the steps, I've managed to get everything working without problem.I want to launch the OTA on a STM32WB5MMG Discovery board, so the main issue I have is that doesn't seems to be too many information on how to do this outside of the examples.The Application Note is a really guided example for the NUCLEO board, same goes for the videos. Even after having followed it, I'm still not sure what I should do in my project if I want to be able to do the same thing in a different MCU with a custom application. The examples that I find in CubeIDE are not configurable, and doesn't include an .ioc file that allows me to see what changes have been made here so the OTA works on the MCU. Finally, I haven't been able to find information abo
I use a GNSS connected to LPUART and a LoRaWAN module connected to USART1.I use the two UARTs via the RXNE interrupt.If I initialise and enable the two UART interrupts, USART1 no longer interrupts me and I do not receive any data. The problem is only in reception, as the transmission via USART1 is done correctly.The LPUART, on the other hand, continues to interrupt and I receive data constantly.I have tried to disable the LPUART and its RXNE interrupt to see if it interrupts the USART1 but I can't get anything.
Situatiion:BLE Mesh Provisioner Example for stm32wb55 nucleoconfiguration in mesh_cfg_usr.h:#define ENABLE_PB_ADV // #define ENABLE_PB_GATT // #define ENABLE_PUB_KEY_TYPE_OOB // #define ENABLE_AUTH_TYPE_NO_OOB #define ENABLE_AUTH_TYPE_STATIC_OOB // #define ENABLE_AUTH_TYPE_OUTPUT_OOB // #define ENABLE_AUTH_TYPE_INPUT_OOBone unprovisioned Node that should not connect and be able to join the network does not have static OOB enabled but ENABLE_AUTH_TYPE_NO_OOB.The Provisioining process succeeds without authentification, it chooses no oob authentification although it is not enabled in the provisioner application. The same problem was found on an esp32 -> https://github.com/espressif/esp-idf/issues/5281is this wanted, can i disable this no oob authenfication to provision obly me devices?
Using:BLEMesh_SetRemotePublication(GENERIC_ONOFF_SERVER_MODEL_ID, srcAddress , GENERIC_ON_OFF_SET_UNACK, generic_Buff, 38, MOBLE_FALSE, MOBLE_FALSE);I send a buffer with a size of 38, on the receiving end however GenericModelServer_ProcessMessageCb only receives a buffer with the first data point, the other 37 data points nowhere to be seen. Most of the code im using comes from the MeshLightningPRFNode example, how could i best go about solving the issue?
I have loaded BLE OTA example (v1.13.1) to my STM32WB50CG. User application starts on default set address 0x08007000. Problem is when I send a BLE command to OTA Reboot characteristic (to load into OTA, first sector + how many to delete) from my Android app to the STM the flash never deletes. I've been debuging the OTA STM example code but everything returns status OK except flash doesn't actually erase. After this command is sent, I disconnect the phone from the STM board. If I manually delete flash via STMCube Programmer, BLE OTA example then completely works as intended.Any idea what could be the cause?
According to BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 6, Part F, there are two methods of supporting DTM: DTM over HCI and DTM trough 2-wire UART. I know that WB55 supports DTM over HCI for sure, but what about DTM over 2-wire UART? It's also supported by this microcontrollers?
Hi everyone, I am a student and I used arduino for now. I have stm32f4 disocvery board, stm32f103c8t6 and stm32f401ceu6. I have lora module E32-44t30D module which is working with UART. I was using these with arduino and there is a lot of library for it. I searched from the internet but I couldn't find stm32 library for E32-44T30D ( It uses sx1278 UART). I want to learn stm32 microcontrollers with C so I want to a project with these components. I want to make single channel gateway with ESP32 and this lora module (I will do this with arduino). On end node side, I want to use 3 stm32 with E32-44t30D but I couldn't find any library. Is there a library for it ? ( If so can I comunicate Esp32(arduino code) and Stm32 modules (C code) )I found one example, he doesn't use library, He only uses these;HAL_UART_Transmit()and HAL_UART_Receive()He used 2 stm32 with Ebyte 433MHz. He made point to point comunication.Can I do this with (esp32 ardunio code as gateway) and (3 stm32 module as end node )
Hello everyone,Situation: Currently, I am trying to intergrate BME688 to the board Nucleo-WL55JC1. To be specific, on the board, I downloaded and ran the LoRaWAN_End_Node example. Then, instead of obtaining temperature/humidity/pressure from a function from the example (I assumed the original data obtaining function is EnvSensors_Read(&sensor_data) in lora_app.c), I want to use the sensor BME688 to give me those measurement. What I did: I initialized the BME688 sensor as well as set up some constrains for it after the MX_LoRaWAN_Init(). Then I set the BME688 data obtaining process as a function and register it as a task. The task has an equal priority as the SendTxData() function. Result: the program stopped right at the first measurement.Question: Was my procedure of intergrating BME688 into LoRaWAN_End_Node example correct or I missed something else? I assume the fault was when I set the BME688 data obtaining process with an equal priority as SendTxData()?If I was wrong at that
I'm currently working with the "Thread_Coap_Generic" example for the STM32WB, which I got from MXCube. I want to connect to a pre-existing thread network. I have changed the panid and channel of the example to that of my network (in the "app_thread.c" file). The example code won't connect to my network. Do you have any advice?
https://www.st.com/en/evaluation-tools/nucleo-wl55jc.html indicates that it has "Arm® Cortex®-M4/M0+". I am confused about this: does it use an M4 or an M0+?Also, what is the difference between the WL55JC1 and WL55JC2 versions of the Nucleos? Please disregard the first question as the answer seems to be that the WL has dual cores so it has both an M4 and an M0+.
I am also trying to debug my pcb through bootloader usb but my my win11 computer says usb device not regonsized.
Hello,I'm using STM32WB55 in conjunction with freeRTOS OSI found a very good I2C BARE-METAL working example located at:..\STM32Cube\Repository\STM32Cube_FW_WB_V1.12.1\Projects\P-NUCLEO-WB55.Nucleo\Examples\I2C\I2C_TwoBoards_AdvComITI'm looking for a similar I2C Example, however based on and using freeRTOS implementationThanks In Advance,Micha
Hello, I many years used ST-Link to download my framework to STM32, so I am not new in this.But now - I used all available settings in - ST-LINK software (under reset, hot, normal, with different frequency). I pushed reset in the boards, I connected boom0 to 3.3V to GRN. I used many jumpers in the Nucleo board.How it is happened!Initially this boards worked. I created simple code - for turn on LED. After that I decided to test the wireless connection and uploaded the .hex file from here - P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_HeartRate\Binary it was not successful attempt, BUT after that I could not establish connection with boards, please the images. How I can fix it?
..
Hi,I created Lora project which send and receive data. I designed my board, no TCXO.My schematic:My result:the random value is 0, TxTimeout everytime.I replaced to new MCU, new RF switch IC but result not change. Please support me.Thanks.
Hi,I created my project which send or receive data through LoRa. This is my result:This is my configuration:Can I fix in my firmware ? Please support me.Thanks.
Hi i build an application with fatfs implementation to log data.but when the file size reach 64kB, the SD card stop responding and i can not write on it.I used standard configuration for ff_confany suggestion to resolve the problem ?thank you.
Hi guys,I am working with the LoRaWAN_End_Node example provided in STM32WL SDK. I want to set up the calendar and get the time and date. The example itself initializes the RTC in rtc.c. Then I set the time and date and I call getTime and getDate from the main.cMy problem is that the time does not update and the seconds are always 0 as shown in the image below.However, when I create a fresh new project the calendar works fine. But when I work with the End_Node example it doesn't. I have also read AN5406 but I didn't find any related information.Any help?rtc.c file/* USER CODE BEGIN 1 */ void setTime(void) { sTime.Hours = 16; sTime.Minutes = 0; sTime.Seconds = 0; sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; sTime.StoreOperation = RTC_STOREOPERATION_RESET; if (HAL_RTC_SetTime(&hrtc, &sTime, RTC_FORMAT_BIN) != HAL_OK) { Error_Handler(); } } void setDate(void) { sDate.WeekDay = RTC_WEEKDAY_SATURDAY; sDate.Month = RTC_MONTH_AUGUST; sDate.Date = 13; sDate.Year =
Hi,Every time I attempt to flash the BLE wireless stack to the chip or I try to perform a mass erase I receive the same error and the USB dongle disconnects.FYI - I have successfully been able to upgrade the FUS version with no issue:I attach the logs for both the Wireless stack fail and the chip mass erase fails.Not sure how to export the options byte (incase they are useful information here) so some guidance on that would be appreciate also.Thanks very much!
Here is the output of STM32CubeIDE on flashing the custom board:On STM32CubeProgrammer I am not able to consistently get a connection (by hitting the connect button).There are some instances if the configuration is set to "Shared" mode that the device connects but there is no way to write/read to the FUS or perform any flashing. Here's some screenshots of the outputs I've seen while attempting to write to the FUS using Programmer: I've had a hard time figuring out how to approach debugging this issue since I have not been able to get consistent results. Any advice or suggestions is much appreciated, thank you.
Hi, I'm new here and a beginner on STM32WB15 MCU. Currently, I'm having an issue related to STMCubeIDE, trying to activate resources for this MCU.Please, can somebody explain why I can't enable AES cryptography with STM32_WPAN?If it's not possible really to do it, there is a form to use this kind of cryptography over STM32_WPAN APIs? I'm searching for technical documents, but, until now, I didn't find anything. Thanks very much
Hi, I'm having issues with RTC Alarm in Lora application. My RTC configuration works correctly when I run program configure only RTC. When I use Lora with RTC timer, the alarms not working. I use Sub-GHz Phy PingPong but I want Lora send and receive data while the alarms interrupt issue therefore I configure RTC in CUBEMX as free running BCD calendar mode. Does anyone have any tips what the issue might be? Thanks
Hello,I have a problem updating the Wireless Stack on STM32WB55CGU6 on a custom board. The board is basically a cloned version of the P-NUCLEO-WB55-USBDONGLE. The device is connected via SWD on St-Link/V2.FUS Version is already on v1.2 from Factory, but there is no STACK installed.Whenever I try to install a new BLE Stack, there are two possibilities:Either a ‘Error: FUS_STATE_ERR_UNKNOWN’ or everything appears to go fine, showing ‘success’. But either way, afterwards it appears there is no STACK installed.This is exactly the same for different Wireless Bundles and different Version Numbers.I tried 1.13.1, 1.13.3, 1.14.0 and 1.14.1 with stm32wb5x_BLE_Stack_full_fw.bin, stm32wb5x_BLE_Stack_light_fw.bin and stm32wb5x_BLE_Stack_full_extended_fw.binThe strange part is, that it already worked on one board, doing exactly the same thing!But it doesn’t matter how many times I try, it doesn’t work on the other boards.It is exactly the same thing when trying to update the STACK with the CLI Prog
The ADS_DRDY signal (data ready signal) can be judged by the external edge interrupt method(HAL_GPIO_EXTI_CALLBACK) and reading the state of this pin(HAL_GPIO_ReadPin(ADS_DRDY_GPIO_Port, ADS_DRDY_Pin)).For the second readpin method, how should I write the program?Currently I only know about external trigger (HAL_GPIO_EXTI_CALLBACK) and virtual timer (HW_TS_Start), but I don't know how to read the AS_DRDY pin state and send notification program in the task scheduler (I don't think the above two methods are applicable).
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.