Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hello Everyone,Currently, I am working with the board Nucleo-WL55JC1. I wonder if it is possible to isolate and measure either current or voltage of a component (RF or a peripheral for example) on my development board?. My main goal is to seperately measure power consumption of a component on my board.Hope to see your help.Thank you, Huy Nguyen.
I have been developing embedded software for on and off for 15 years, and STM32 for 5. I have a pretty simple goal for a timer application on the WB55 microcontroller, and I've been banging my head for the last 2 days with little success, so I'm asking the community if there is something simple I'm missing.I'm trying to use Timer 16 and Timer 17 on the STM32WB55 to each output one pulse per software call. This is for a very typical servo PWM control application, where a single positive pulse of 1.0 msec to 2.0 msec is needed every 20 msec. I'm using my own hard real-time scheduler to drive the control loop, and when the software calculates the desired pulse duration, I want to output the pulse with minimum latency after that calculation is done. This means that I don't want to use a continuous timer PWM and adjust the pulse width on the fly, because if my software scheduling drifts out of sync with the PWM period, there could be up to 20 msec of latency before the updated pulse duratio
Any program that I generate using STM32CubeIDE for the STM32WB with BLE enabled hangs until I comment out the following line. What needs 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 designed the hardware like the firgure below,my schematic below,the VDD connected to the VDDPA pin.VR_PA voltage is 1.7 - 1.9V.when Lora transmit the VR_PA voltage is smaller than 3.1V.Please support me. Thank you very much
I am relatively new to stm32 and willing to know whether there are any detailed description for utilizing HAL functions. Recently, I'm DIYing a breathing LED (PWM sweeping from 0% to 100% and then go back to 0%) with stm32wb55rg on a nucleo board, without using software level counters in while loop. Instead, I'm learning to use HAL callback functions for PWMs and I found the PulseFinishCallback very suitable. The problem is that it keeps failing with callback never reached, I've looked through so many forum questions both in ST community and stack overflow, together with so many trial and errors to find the true settings in .ioc layout for calling this HAL callback function. So Right now I'm wondering are there any things like pilots' pre-take off checklist to check for settings in .ioc file, in order to run those HAL library functions?
How to change the operation cycle of each server and scanner in iBeaconI want to shorten the transmission interval between iBeacon server and scanner
Hi,How to use I2C with BLE , I got return HAL_ERROR when I read/write register data from sensor. Thanks.
Please suggest me some documents explain about RadioSetRxDutyCycle.Thanks.
Hello everyone. 4 years ago i began developing a project from this board B-L072Z-LRWAN1 using a LoRa "PingPong" example. Now i want to re-start this project on Nucleo-STM32WL55, but there is not a "LoRa PingPong" example, only a SubGhz PingPong (alas, i need the lora middleware for authenticating ingoing and outgoing packets). Fact is: I want to take some code from the old Ping Pong example on B-L072Z-LRWAN1 , but i cannot find it anymore!I tried to: Use current CubeMX with NUCLEO-L073RZ (or similar L0 boards). See picture attached. Manually download L0 package v. 1.12.1, but did not find the example among files. (picture attached) Use a old version of cubeMx (6.1.0), still no lora ping pong example. Has it been removed? Anyone has a clue? I would really love to have the source code again Thank you very much if you have any hint!
HiWe have a project that uses the STM32WB55 with the full BLE stack in version 1.10.1. Today I recorded some air traffic between my PC and the device and struggled over something that confused me.In our project we have disabled the data length support by: #define CFG_BLE_DATA_LENGTH_EXTENSION 0But in the air trace I see two things that make me think that DLE is enabled even with the configuration that should disable it.1) In the LL_FEATURE_RSP that comes from the STM32WB we see that it tels us that it supports DLE:2) In a response to a LL_LENGTH_REQ we get a nomal response with an extended RX length:Is this a normal behavior? I would expect that the DLE feature is not activated and the LL_LENGTH_REQ is rejected.Regards Adrian
Hello,I am having trouble running a successful LoRaWAN FUOTA campaign for my Nucleo-WL55JC development board. I am using the LoRaWAN_FUOTA_DualCore example project found in the STM32CubeWL_V1.2.0 firmware package, and am using AWS-IoT for LoRaWAN as my network server. Following the steps in AN5554 (LoRaWAN firmware update over the air with STM32CubeWL), I am able to successfully compile the End_Node application + SBSFU firmware and flash it to my Nucleo board using the provided BATCH scripts. I am also able to make minor changes to the End_Node application (eg. adding additional print statements), and see those changes reflected in the UART output from my board. I am also able to commission the device with AWS, and it in turn successfully joins with the network server and I am able to see my device payloads arrive in the MQTT topics I have routed them to.The trouble I am having is in the execution of the FUOTA campaign. I am following the steps outlined in the AWS IoT Core for LoRaWAN
Hi,On a custom board I can no longer reprogram the MCU (STM32WB15) via the SWD link.The last program flashed on the card works perfectly but I can no longer establish the SWD link with CubeIde via the ST-LINK probe.Message "target not found".I guess the SWD link was disabled by accident.I tried to change the voltage on the PH3-BOOT0 pin from GND (0V) to Vdd (3V), but the MCU still boots only to the user flash.How to erase the last program and restore the initial (factory) configuration of the MCU.Thanks.
I'm developing my custom board using a STM32WB55VGY6TR microcontroller and I want to use the Nucleo-WB55 developer kit as a programmer for my custom circuit board.However, I cannot start debugging using STM32cubeIDE. The IDE said that failed to start the GDB server and error in initializing the ST-LINK device.I agree my chip assembly could have a problem, but I feel that the chip is rigidly bound to the board. So, I am pretty sure there is no miss connection.I connected the programming Jumper pin of Nucleo-WB55 to the STM32WB55VGY6TR below.GND => GND of microcontroller (Vss in right-top side)NRST = NRST of microcontroller pin with a 10k resistor, 100 nF capacitor, and Schottky diode. (the circuit is fully same with reset part of Nucleo-WB55)SWDIO => PA13 of microcontroller that is described as "SYS_JTMS_SWDIO (no mode)" in the STM32cubeMXSWCLK => PA14 of microcontroller that is described as "SYS_JTCK_SWCLK (no mode)" in the STM32cubeMXSWO => PB3 of microcontroller that is d
..
Hello,In STM32WLE5CC Lorawan, when It Doesn't get ack for confirmed uplink, it decreases its datarate(Increase SF), but not TX Power is increases.Say Due to ADR Device is at DR5 and TX Power 10. Due to increase in noise, device doesn't get ack from LNS. After some try, it changes its datarate to DR4,then to DR3 and So on till DR0. but in all backoff, TX power remains to 10. TX power not increased to 0. Pease guide to solve this issue?Thank You
I connected a LED to the PA11 pin of STM32WB55VGY microcontrollerand I want to toggle it.So, I'm trying to use HAL_GPIO_TogglePin(xx, yy) but I cannot know the "xx (GPIO_Typedef)" of PA11 pin.Where can I found which pin is which GPIOx?
Hi,I am developing a small module with the STM32WB10 and I need to do 10 ADC conversions (9 external and the internal temperature).However, I can only get the DMA to do the 8 channels configured in the regular channel ranks (Number of conversions = 8 is max in the CubeIDE configurator).How do I make the DMA handle the last 2 channels aswell? if it is at all possible?I can see in the stm32wb10xx.h that there is this define#define ADC_SUPPORT_2_5_MSPSthat prevents the stm32wbxx_hal_adc.h from providing more than 8 ranks for the ADC, but I don't need 2,5MSPS. Is it possible to slow it down somewhere? I tried just giving it a slower clock, but that didn't do the trick...
Hello everyone,Currently, I am working with the example LoRaWAN_End_Node on Nucleo-WL55JC1. I am trying to achieve downlink control. Downlink messages are sent from Chirpstack NS.Right now, I don't know where the function of receiving and processing downlink packets is, in the LoRaWAN_End_Node. I suspect that it is the function OnRxData in lora_app.c but when I tested, it was not what I wanted.Can anyone help me on finding where that function is and how to implement new code?P/s: My next goal is to send a hex (01) from Chirpstack NS to the board so that an LED is turned on.Thank you in advanced, Huy Nguyen.
Hi everyone,I have NUCLEO-WB15CC board. This board has STM32WB15CCx MCU.I have also a custom board. This board has STM32WB15CCxE MCU.The differences of both MCU are, STM32WB15CCx has SMPS pins and functionality, but few GPIOs; STM32WB15CCxE has no SMPS pins and no functionality, but more GPIOs. I decide to use STM32WB15CCxE, because I need more GPIOs and don't need power consumption optimization that SMPS provides.I want to create a BLE device with custom template.I use v1.14.1 stm32wb1x_BLE_Stack_full_fw.bin as Bluetooth firmware.I use v1.10.1 STM32CubeIDE.I disabled SMPS function for NUCLEO board. I have the same PCB antenna for both. I write same code for both. Only change MCU selection while creating new project. I compare both code and they are the same. I use WinMerge program to compare one-to-one.My problem is, my android phone(Samsung M12) can discover NUCLEO board, but cannot discover custom board. Also there are other android phones that cannot discover it.In another way, my
Hello,I am using the STM32WB55 nucleo development kit to communicate over QSPI with an external memory device. I presently have the QSPI interface configured for DMA operation, and I am able to use the external device successfully. However, when transmitting data during the data phase of commands, I have captured a pause between bytes being transmitted, as shown below.Note that on the left of the capture, the clock is toggling regularly while the address is sent. However, the clock then stops toggling, and only pulses to send a byte every ~240 ns.The STM32 is clocked at 32 MHz, and has no prescalar, so the QSPI clock should also be at 32 MHz. This pause is not present during the command phase or address phase, and is not observed when receiving data, only when transmitting data.Is this a known limitation of the QSPI peripheral?The external peripheral is used for bulk data logging, and speed is very important for my application. It looks like a data transfer speed up of ~3x is being los
Hi, I try to implement an USB CCID device on an STM32WB55 MCU and the stm32_mw_usb_device release V2.11. I do not find any documentation about how to use this implementation... Today, I created an USB peripheral that is recognised by Windows as CCID device but I do not know what I need to write in the "CCID_Send_Process" function (for example...) from the "usbd_ccid_if_template.c" file. uint8_t CCID_Send_Process(uint8_t *Command, uint8_t *Data) { Command_State_t Command_State = Command_NOT_OK; /* Initialize ICC APP header */ uint8_t SC_Command[5] = {0}; UNUSED(Data); UNUSED(Command_State); UNUSED(SC_Command); /* Start SC Demo ---------------------------------------------------------*/ switch (Command[1]) /* type of instruction */ { case SC_ENABLE: /* Add your code here */ break; case SC_VERIFY: /* Add your code here */ break; case SC_READ_BINARY : /* Add your code here */ break; case SC_CHANGE : /* Add your code here */ break; &
I am working on the NUCLEO-WB55RG eval board and I try to run the BLE_TransparentMode project provided as example. But when I run the code (without any modification), it doesn't work. The debugging shows that it failed suddenly at MX_APPE_Init main function.I have successfully flashed the firmware stm32wb5x_BLE_Stack_full_extended_fw.bin at address 0x080C7000.Other examples works fine (I've tested BLE_Zigbee_Dyn and Zigbee_APS_Router projects)I use STM32CubeIDE with STM32Cube_FW_WB_V1.14.1 library.
Hello STM32-Team,do i have to use the MLPF-WB55-02E3 or MLPF-WB55-01E3 matching network for UFBGA129. In the Appnote AN5165 (Table 6) the matching network MLPF-WB55-01E3 matching network is recommended, but in the Datasheet of the MLPF-WB55-01E3 its only for the STM32WB55Cx/Rx. In the MLPF-WB55-02E3 datasheet its for the STM32WB55Vx and the UFBGA129 would be the STM32WB55Vx.So im a bit confused whats the right choice for the UFBGA129.Thanks an Greetings,Matthias
I want to enable the RTOS Proxy in the debug launch configuration for my STM32CubeIDE project. However, in the "Driver settings" fieldset, I need to select a "Port" from a dropdown. The options in that dropdown confuse me. I have an STM32WB55, which to my knowledge is considered an MCU, not MPU, and it consists of an ARM Cortex M0 + ARM Cortex M4. My application is running on the M4, since M0 is dedicated to BLE.The 3 dropdown options for M0/M4 are 1) "ARM_CM0", 2) "ARM_CM4F" and 3) "ARM_CM4_MPU" - but my code runs on M4, so 1) is probably not right, I don't use the STM32F-Series, so 2) is probably not right, and the WB55 is not an MPU, so 3) is probably not right either. I am certain that my naive interpretation of those cryptic port abbreviations is wrong for at least one of the options.So - what is the right selection to make?
Hello, We're using STM32WB55RGV6 and trying to communicate with a smart card. At the beginning of communication, we can read ATR and we can send and receive PPS successfully. But when we try to send an APDU message our data signal doesn't fit our calculated baud rate. And we're getting framing error on the logic analyzer, as you can see on the picture. Our calculated baud rate is 212500. Has anyone worked with smart card interfaces?
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.