Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hello,I have experience using Bluetooth classic profiles: SPP and A2DP.Started using STM32WB and I understand it doesn't support these two above profiles, it only has a stack for BLE. Is this correct?Can I use STM32WB with SPP and/or A2DP, if yes - how? if no - what profiles supported by the STM32WB do you recommend (to replace SPP and A2DP)?In addition, I've noticed ST has Bluetooth devices of series BlueNRG and SPBTLE: what is the difference between these two and the STM32WB?Do they support SPP and A2DPThanks,Jig
Hello, I have been testing my custom board using MCUs, Stm32WB series, these days.Actually, I successfully opened my own custom board with a functioning RF part (BLE).However, there is still an undeclared issue with new WB MCUs.When I used a new WB MCUs, the RF part (BLE) was not able to open while the other functions like GPIOs, UART, SPI, and more were totally fine. However, when I desoldered WB MCU from Nucleo board and soldered on my custom board, it was totally fine even after I upload new firmware.Is there any special step or method for setting a new Stm32WB MCU before opening RF part?I really want to solve this issue as I cannot sacrifice expensive Nucleo boards for every new project.Thank you for reading.
From AN Optimized RF board layout for STM32WL Series no recommandation are given for this frequency band.
I have followed the instructions on "Connecting STM32WB to Alexa Zigbee Hub" video tutorial. I have updated the FUS and the Zigbee stack at the last version.During the discover step the blue led go on but the Alexa doesn't recognize the STM32WB device.Do you have any suggestions for meThanksAdriano
Hello everyone, for one of my projects, I am trying to use an STM32WB55 (RGV6) to read data from the ADC and notify a phone through BLE. I have been able to read from the ADC, send the relevant data and enter shutdown mode, before waiting 64 seconds for an RTC alarm to wake up the system and start the system again. It works fine, until I try to enable the low power mode in the advertising phase. According to what I found in another question (https://community.st.com/s/question/0D50X0000BzuU4fSQE/ble-low-power-mode-stop2), I should be able to enter STOP2 mode when entering the idle phase of the sequencer. I tried running the provided code, and a few other things to do just that, but I kept running into the same issue. First, here is the code (in app_entry.c) that I tried to enter low power modes when idling : void UTIL_SEQ_Idle( void ) { #if ( CFG_LPM_SUPPORTED == 1) UTIL_LPM_EnterLowPower(); #endif //UTIL_LPM_SetStopMode(1U << CFG_LPM_APP, UTIL_LPM_ENABLE);
Hi,I am working on a ZigBee project for the STM32WB55 which requires to send commands to all neighbours in the network. I saw in zigbee.nwk.h that I can request the entries of NeighborTable. Where can I see the max dimension of this table?I found in zigbee.zdo.h this line:/* NOTE was 64, but end up allocating too much on the stack */ #define ZB_ZDO_NEIGHBOR_LIST_MAX_SZ 4UIs that the size that I'm loonking for? If so, considering its size (too small for what I need), is there a way to overcome this limit (or can I modify it)?
Hi!I am using STM32WB to build a project and transfer data by BLE. I have tried with MATLAB to receive the data. But sometimes, MATLAB runs really slow,. Then some data are missed. Is there any software which I can use to collect my data. I need to update my data every 200 us by BLE.Best regards
HiI am working on an STM32wl project where I need to use a real time clock, I use the Utilities that I have found in one of the examples that ST provides, it is the Sequencer, Timer server and System time.I can not see if there is a smart way to save and read the current time.I can see that the Timer server uses the RTC in free running mode and therefore can not set the current time.If I set System time, and reset the stm after some time, it starts with the time I have set earlier, and not the updated time.anyone who can point me in the right direction ??
I'm designing multichannel ADC using scan conversion mode.Using HAL_ADC_Start_DMA code, the 1~9 ADC is easily saved in the DMA but. from 10, the ADC is not working and I cannot see any UART communication data.How to use ADC channel 10~16 in the Nucleo-WB55 board or is there anything I missed? In addition, is there any exam sending the row data from the WB55 board to the PC through Bluetooth?here is the code.#include "main.h"#include "stm32_seq.h"#include "string.h"#include "stdio.h"ADC_HandleTypeDef hadc1;DMA_HandleTypeDef hdma_adc1;HAL_StatusTypeDef ret;UART_HandleTypeDef huart1;ADC_ChannelConfTypeDef sConfig;float value[16];uint16_t DMA_value[16];int main(void){ HAL_Init(); MX_APPE_Config(); SystemClock_Config(); PeriphCommonClock_Config(); MX_IPCC_Init(); MX_GPIO_Init(); MX_DMA_Init(); MX_RF_Init(); MX_RTC_Init(); MX_USB_PCD_Init(); MX_ADC1_Init(); MX_APPE_Init(); MX_APPE_Process(); HAL_ADC_Start_DMA(&
I just started a project with STM32WB5MM module and STM32Cube_FW_WB_V1.13.0. I implemented the BLE_Beacon example successfully. Now the question comes up if it is possible to send iBeacon and Eddystone advertisings alternating. I found a ACI_GAP_ADDITIONAL_BEACON_START function but in the latest Release Notes for the BLE stack it is stated, that this feature has been removed... So, what will be the best startpoint for such an application?
Short and simple question: Why am I getting this error? Is there something obviously wrong with the schematic?Tested all possible configurations when trying to connect. Holding boot, holding reset, nothing works. The error code changes to target not found when the supply is removed from the MCU.All the voltages around the MCU on the capacitors are right. All capacitors are near the BGA. VDDPA is 1.5V, all VDD pins are 3.3V. There is one thing which bothers me. The vref+ pin is not connected. The datasheet mentions this Pin to be connected to VDDA or Ground, nothing about a floating state. Is it impossible to flash the device when the vref+ pin is floating? Because this is the only problem i can find at the moment.Note. I have access to an X-Ray and all the pins seem to be connected properly.Thanks in advance.
Hi,We have a custom design board with external flash and we are using external flash as download area. We are getting it working with upto 64 KB using SWAP_SIZE of 2KB. But our binary is around 150 KB, we enabled SWAP_SIZE of 4KB. With this scenario, we are getting FW_SIGNATURE error on 3 out of 4 times. ( 1 time success and 4 times failure).Please share your inputs whether FW Signature and FUOTA Work flow is validated with 4KB SWAP SIZE.Thanks,Hariharan.V.
Is there any code example on how to perform the VBAT/3 measurement. I need to measure my battery level (1.8V-2.7V) which I connect to VBAT pin. VDD and the rest of the micro supply pins are coneccted to a DCDC output which gives 3.3V.
Hi!I'm trying to get a connection between the stm32f411ce and the LoRa sx1278.The first comm fails because I read 0x45 on the RegVersion register on the LoRa(which is addresed at 0x42). From the documentation I read that it should be 0x12. does anyone know if it's OK? maybe it's a sign of a fake chip?Thanks!Eyal Porat
I've downloaded STM32Cube_FW_L4_V1.17.0.However in this package, there is no project code for B-L462E-CELL1, of which the MCU is an STM32L462REY6TR microcontroller. Particularly I am looking for sample code for USART communications.
Hi,I have a STM32WB55 (P-NUCLEO-WB55-NUCLEO board) Zigbee coordinator to which I am trying to join an Ikea Tradfri bulb, but I cannot get the bulb to join. The bulb locates the network but fails to join. There is a 'Transport Key' message but no 'Device Announcement' message.I have flashed the co-processor with Zigbee FFD v1.13.2 firmware.I believe I have configured the STM32WB55/coordinator as a Trust Center. My starting project was the 'Zigbee_OnOff_Server_Coord' V1.13.3 example. I have modified it to use channel 15 and I (think I) have also enabled Trust Center in APP_ZIGBEE_NwkForm: /* Using the default HA preconfigured Link Key */ memcpy(config.security.preconfiguredLinkKey, sec_key_ha, ZB_SEC_KEYSIZE); //trust centre //uint8_t trustCentreEnable = 1; ZbBdbSet(zigbee_app_info.zb, ZB_BDB_TrustCenterRequiresKeyExchange, &trustCentreEnable, sizeof(trustCentreEnable)); //uint8_t trustCentreLinkKeyMethod = BDB_LINKKEY_EXCHANGE_METHOD_APS; ZbBdbSet(zigbee_app_info.zb, ZB
Hello, I am testing two STM32WL55. I have two NUCLEO-WL55JC2 demoboards. I'm using the example code provided in the LocalNetwork_Concentrator and LocalNetwork_Sensor demos. In the basic configuration, I cannot manage to have a communication distance range of more than 1m... Do you know what the maximum ranges of these Nucleo boards? Is there a setting to configure or is it a problem with the hardware design?Thank you
Dear ST As a follow up to my previous question (https://community.st.com/s/question/0D53W00001Tgf47SAB/high-power-consumption-in-low-power-examples:( I'm using a custom board based on the STM32WB55CE6U MCU, design using the various application notes and Nucleo-WB datasheet/user manual. The board does work, as I'm able to run my core BLE application with ADC/DMA and other functionality. I've now started to implement Low Power (FreeRTOS tickless idle) using STOP2 mode. The current consumption has dropped significantly (from 10mA --> 630uA during idle), but that is nowhere near the 3-6uA the BLE_HeartRate_FreeRTOS example uses on the Nucleo development board. Digging in to the issue I've played around with the simple PWR_STOP2_RTC example, which uses ~3uA on the Nucleo. Running the same (basically) software on my board, the consumption is never below ~80uA. I've literally soldered off all components but the basics - see pictures. Are there some custom
We Developing One Product which will use in very noisy environment.In our product we are using STM32WLE5CC which connected with multiple input switches some are Active high Configured and Some are Active Low Configured.So our query is which values of resister should we use for Pull-Up/Pull-Down that input pins.4.7k or 10k or any other value?
Hello - I was using the results of aci_hal_get_anchor_period() just a few months ago, but now in v1.13.3 BLE_full_stack, it is returning ERR_UNKNOWN_HCI_COMMAND. Is there some command that needs to be sent to enable getting the anchor period? If there is no way to successfully invoke this in v1.13.3, please - what is the last version in which it was enabled?
In v1.13.3 BLE full_stack it looks like general scanning is locked-out forever after terminating a direct connection establishment procedure. Using the Nucleo dev boards as a master and a slave, start general scanning with aci_gap_start_general_discovery_proc(), return is SUCCESS. The target slave is found, scanning is stopped and connection with it is started by master with aci_gap_create_connection(), return is SUCCESS. Before this connection completes, the slave goes out of range or just stops advertising and goes to its deep sleep. But then connection establishment is hung forever on the master. So, master cancels this indefinitely "hung" procedure with aci_gap_terminate_gap_proc(GAP_DIRECT_CONNECTION_ESTABLISHMENT_PROC), return is SUCCESS and soon receive the ACI_GAP_PROC_COMPLETE_VSEVT_CODE with the status of SUCCESS and the procedure code of GAP_DIRECT_CONNECTION_ESTABLISHMENT_PROC, all as expected.The problem now is master can no longer re-start scanning, call to aci_gap_start_
..
Hi, How can I set the RF output power of stm32wl55 in a LoRaWAN application? I have Nucleo board, but it seems transmission power is adjusted automatically. The distance between the Gateway and Nucleo is a bit far, so I need to increase TX power. If I read TXPower using functions of LmHandler APIs, I always see 0(I think this means 0dBm output power). How to set TX power? (I've tried SetTxPower function, but I still read 0)
Hello,Is there have 2-Layer Reference design based on SMDs with STM32WL UFBGA MCU ?Thank you,Sincerely
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.