Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi,is there anyone who tries to run ota zigbee example? After some debug I think that ota client is unable to write data to flash.From the server side I can see that the process started. From the client side I can see the red led on what mean abort download. After reset the flash from the address 0x08030000 remains unchanged.Best Regards
Hi there, I'm struggling with the P-NUCLEO-WB55 kit I just bought...! I wanted to try basic application example given in STM32WB package, followed the documentation and nothing works correctly on the USB dongle...!Application : Zigbee_OnOff_Client_RouterBoard : MB1293C (STM32WB55 USB dongle) I flashed FUS (version 1.1.2) & Zigbee stack (stm32wb5x_Zigbee_FFD.bin) ( following documentation, nothing special)I build the application "Zigbee_OnOff_Client_Router" (STM32Cube_FW_WB_V1.11.0/Projects/P-NUCLEO-WB55.USBDongle/Applications/Zigbee) using STM32CubeIDE (V1.6.0), no errors, binary files generated. Flash ELF file into USBDongle, in DFU mode, flash OK. I'm following the start up order, so I start first the "Zigbee_OnOff_Server_Coord" (UART message, led BLUE light's on) and then I I power up Dongle.....When Dongle's application starts (Switch is not in DFU mode now), LED's starts roling and nothing works... Am I doing something wrong ? Many thanks in advance
Hi all. I'd like to write a simple bare-metal application for STM32WLE5JC. Could you provide snippet code for STM32WL (core + radio) initialization and simple RX/TX Lora Packet ? Thanks Olivier
Note the difference between WB5 and WB55. My main goal is to determine whether I can define any of the pins on the WB5 as SPI or ADC, or are there only certain pins that can perform those functions.
Hello, coming from a STM32L071 + SX1276 application I find it impossible to achieve the equivalent P2P simplicity using the STM32WL package and the latest version of CubeIDE. Am I correct assuming this package only works with the Nucleo hardware at the moment?Second question; has anyone managed to get a Simple P2P template working with the STM32WLE5CB on a custom board? Reason I ask this is because I keep getting quite a lot errors no matter what parameters I change, it just never compile. Same for you guys?Hardware: STM32WLE5CB (GPIO: 2 LEDs, 2 VCTRL for RF TX/RX)Goal: Board1: TX 1byte + flash led. Board2: RX 1byte + flash led.
I'm trying to add an external FLASH and RAM to the STM32WB55, but he doesn't have an FMC or FSMC, and all resources a could find related to this subject use the FMC peripheral, there is any way to use the external RAM and FLASH in the same time?should I use 1 QSPI for both of them?
I am working on smart watch and I have been using STM32WB board, The bluetooth is communicating with the Mic and it is working fine, I want to display, Date and time on my ST7789 display and I want to know how I can display, I am using BLEPeripheral and Opus code in my project, I was able to interface display, but need to write RTC without interfacing the current fuctions, As we know this microcontroller is working with M0 and M4 processors, in while loop(in main), when I try to implement RTC, I am getting, but there is a problem in the code, Can anyone help me with this.
Hi everyone,I am trying to connect a NUCLEO-WL55JC1 to the TTN network. I have specified the device EUI, app/join EUI, app key and network key in the se-identity.h file. The debug output of the board confirms that the values correspond to the values specified in the TTN application. The join request fails, but I can see that the request is received by the gateway and it makes its way to the application in the TTN console. The data in the TTN console shows that the OTAA join request failed because of a MIC mismatch. If I copy the raw payload and decode it using this online decoder I can indeed see that the received MIC does not correspond to the expected MIC. Now my question is: How do I check the if the MIC is calculated in the right way? I have a feeling my device is using the wrong credentials to calculate the value, but I am unable to pinpoint where this happens in the swamp of the LoRaWAN-stack. I am also unable to find what LoRaWAN version and Regional Parameters version I need to
As an example, the following code is provided, the timers are started and stopped in app_ble.c.I can run two of the three leds using two different timers and they work properly, but when I add the third one than the leds start working in an unexpected way. I tried to find details about the concurrent work in AN5289 but I couldn't find any information. I also played a bit with periods, but this also didn't give me any clarity of the server behaviour. May I ask for some support?OK, with some changes it works much better now :)#include "leds_task.h" //#include "main.h" //#define PERIOD_S (1 * 1000 * 1000 / CFG_TS_TICK_VAL) //1s //#define PERIOD_S (20 * 1000 * 1000 / CFG_TS_TICK_VAL)//20s #define PERIOD_LED_BLUE (1 * 1000 * 1000 / CFG_TS_TICK_VAL)//1s #define PERIOD_BLUE_LED_OFF (1 * 1000 / CFG_TS_TICK_VAL)//1ms #define PERIOD_LED_GREEN (1 * 1270 * 1000 / CFG_TS_TICK_VAL)//1s #define PERIOD_GREEN_LED_OFF (1 * 1000 / CFG_TS_TICK_VAL)//100ms #define PERIOD_
I have written bootloader for F0 and F1 series. These are pretty straight forward and lots of flavors available on Github. However I cannot adopt the same strategy for the WB55. The reference documents on memory mention a standard bootloader and an OTA boot loader which are actually mapped to a different memory location compared to the other processors. Is there any thing special that i need to do? I have to develop my own boot loader as I have not been able to use the wifi stack with ZigBee successfully. I am using a third party radio so cant really use the built in radio features of the WB55.
I have written an app using the sequencer and time server. My app selectively runs or doesn't run the BLE stack by calling or not appe_Tl_Init();I use HW_TS to generate delays. When I don't run the appe_Tl_Init function my timing is correct. when I do run the function the timing is 4 times too fast. How does appe_Tl_Init() affect this timing?
In my project I uses 2 LEDs and one Buzzer, all of them based on PWM controlMy current HW implementation is as follow:Led#1 connected to PA.3 - PWM based on TIM2/CH4Led#2 connected to PB.9 - PWM based on TIM1/CH3NBuzzer connected to PA.0 - PWM based on TIM2/CH1LED#1 and LED#2 should work at almost the same Freq. and the best for my needs is: 400Hz and Buzzer optimal Freq. is: 4KHzI set TIM1 Freq. to be 400Hz (CLK=64M, PSC=3 and Period=53333) - - and it works fine as expected!I set TIM2 Freq. to be 4KHz with CH1 Duty Cycle: 50% - and it works fine as expected!However this mean that LED#1on TIM2/CH4 must work at the same Buzzer Freq: 4KHz and NOT at 400Hz similar to LED#2My Question are:In current HW setup is it possible to solve above issue, and make LED#1 & LED#2 to both work at 400Hz?Is there a GPIO solution, to activate both LED#1 (PA.3) and LED#2 (PB.9) from one common PWM channel (example:PB.9) ? P.S. I also tried to make it using TIM2 interrupt, but this is involved with TIM I
..
I am trying to write FW for the WB55 which starts a BLE server on powerup ( so far so good)then after BLE connected to and a characteristic has been written and BLE disconnected I want to be able to enter standby modeUpon an RTC wakeup the FW will see its not a power and NOT start the BLE stack, but still start the scheduler for data acquisition tasks.Can you point me to examples or documentation?
Hi,I am currently using STM32 custom board with STM32CubeWB. I am a newbee in writing the firmware. There were two versions of binary files I got from previous programmer, one is with OTA function and one is without OTA function. They were uploaded into different addresses (0x08000000 and 0x08007000). Right now, I want to make some modifications on the firmware, and then want to generate two versions of firmware as well. But I don't know what I need to do to generate OTA and NON_OTA versions. This is the header file I thought I can change to generate two different firmware. I thought changing the "BLE_CFG_OTA_REBOOT_CHAR" to 1 will achieve that. Apparently, it is not that easy.https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_HeartRateFreeRTOS/STM32_WPAN/App/ble_conf.hAnyone could help me out?
I am using STM32WB50 to build a sensor which can be connected by the Android app via BLE. The code is generated by cubemx, and advertise works fine. But it will not work when the phone request a connection with the MCU.I captured the BLE packages with a BLE analyzer and it shows that the MCU did not answer to "LL_FEATURE_REQ" send from my phone.The app debug messeges are as follows:Then I tried to download the example for Nucleo(STM32WB55) to my MCU and the problem remains the same.Thank you for helping me and if anything is not clear please let me know.
I tried to update the firmware on P-NUCLEO-WB55 devboard, but it fails with the following error:"Error: FUS_STATE_ERR_UNKNOWNError:Old Firmware delete failed"I check in STM32CubeProgrammer, and I have V.0.0.0 version: I do not know why it happened, maybe a previous incorrect way of upgrade process.Any idea how can I resolve it?Additional info:The dongle is ok, I could update it via USB, it has fw V1.1.2.0 version.
In ST's documentation, great pains seem to be taken to avoid specifically identifying the Semtech SX126x radio implementation. ST consistently refers to it as a "sub-GHz radio." Why is this?
Hello,I have problem with ADC using in LORA Porcess on NUCLEO WL55JC1.I modified project PING PONG(from LORA) to MASTER and SLAVE, where SLAVE send to MASTER in periodicly time a voltage form ADC, when I use ADC in main, everything its ok, but when I use it in LORA process then function HAL_ADC_PollForConversion return a HAL_TIMEOUT. Thank you in advance.P.S On footage "ADC_Timer" I only read a value from ADC not send to master yet.EDIT: I debuged this using APP_LOG and I saw that ADC_Enable go to this (image: "ADC_Enable"), and set to ErrorCode HAL_ADC_ERROR_INTERNAL, where in definition of this error code is that is "ADC peripheral internal error (problem of clocking, enable/disable, erroneous state, ...)
There is not available example code for the router to router connection.(https://www.st.com/en/evaluation-tools/p-nucleo-wb55.html#documentation)Can anyone help & guide to solve this issue?
Hi I am using STM32WB55 p-nucleo board..I wanted help on how I can transfer file from mobile to device over Bluetooth using File Transfer Protocol
I would like to send an image of size 320x240 pixels using ZigBee mesh to the intended node from coordinator. What is the maximum range of ZigBee in mesh configuration achieved with STM32WB55 with external SMD antennaWhat is the power consumption in ZigBee mesh configuration for each node.I will have to send the image twice in a day and rest of the time all the zigbee nodes will be in sleep mode.. Is it possible to have wake on radio mechanism to keep the modules in sleep and wake up only when there is some data flow ?
Hello! At first I want to apologize for my bad english.I faced with the following problem.I have device with STM32L476 MC and STM32WB55CE. Input voltage around 4 V. This voltage go the the switching voltage regulator TPS63050RMWT. After switching on of device, bluetooth working is good. But after some time bluetooth is crashed. Although the main core work.I tried to add extra capacitors but this one did not solve my problem.I seted counter of radio activity event and increment this one in handler of radio activity event in app_ble.c and this counter was stoping on random number each other. Maybe I was wrong in power supply schematic?LVCC_OUT - input voltage for both boards. P.S. R32 - 10k for uncharge capacitors after switching off
Hi, i watched the video (https://www.youtube.com/watch?v=WgsXMVZfoO8) from the getting started series. I followed the steps and everything worked til running the example. If I press debug everything starts and the led 6 blinks red and green. The console prints:"Download verified successfully. "(I moved the debugger till the while true loop).If I press run, everything seems to work as well, till "Download verified successfully." Immediately after this the console prints:"Debugger connection lost.""Shutting down..."and the led 6 is only red. In any case I cannot connect my phone with the board. Im using macOS, STM32Cube MCU Package 1.11.1 and the STM32WB55 Nucleo. Has anyone an idea why this does not work?Kind regards Till
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.