Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I am making a device that is to take pulse outputs which have been converted to wireless LoRaWAN signals, and convert it back again into a hardwire pulse output. For the receiving device, I intend to use a modem board PN 109990166 connected to an STM32L476RG. Is it possible to make a simple LoRaWAN server on the stm32F4 whose primary purpose is to take the wireless data and convert it to pulse output? If not, what other wireless protocols would be good for this application? The transmitter doesn't have to be LoRaWAN.
I am attempting to compute an impedance matching network by following the guidelines outlined in the ST Application Note - AN5457.However, on page 24, the formula and calculations appear unclear to me due to the presence of a negative value under the square root. Even though the provided example calculation values for L1 (4.45 nH) and C1 (5.53 pF) are intended for a 14 dB power setup at 868 MHz, they don't correspond with the component values found in the High band-low power reference design, MB1720.For instance, L6 on reference design includes a 0 Ohm resistor, not 4.45hH inductor as calculated in application note, similarly and for C6 in reference is 0.7 pF vs 5.5pF in AN. What further distracts me is that these values are allocated to a high-power reference design - 22 dB components too.Kindly advice how matching network is calculated? Does reference design show wrong component values or Application Note calculations are misleading?
Hi, the problem is very simple, yet I haven't seen any information about this case in the foro or anywhere.When trying to build the example proyect BLE_HR_p2p_Sensor which I think was already in the B-WB1M-WPAN1 board relesed to start cathing up with the FW I'm not able to do so.It doesn't mind if i get the example from the "STM32Cube_FW_WB_V1.18.0" or from the STM32CubeMX example BLE_HR_p2p_Sensor generation I always encounter the same errors: C:/ST/STM32CubeIDE_1.11.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: BLE_HR_p2p_Sensor.elf section `._user_heap_stack' will not fit in region `RAM1'C:/ST/STM32CubeIDE_1.11.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM1' overflo
Helloi have been following the stm32wb55 getting started, i have been successful in lab 12b about sending from the phone to the board. working with 12c has not been successful, am pressing the button but i dont receive a notification on the phone but i have followed the video well can i get some guidance about this.Below are the configurations for the notify characteristics and the phone application, i will be grateful if helped
Hello everybody!I installed STM32CubeIDE 1.15.0 and I tried to follow the session STM32WBA5x workshop - 3:https://www.youtube.com/watch?v=BLs1KzC-s4obut STM32_WPAN is in grey; explanations say me to install other things, but it seems boxes insides other ones...I enabled RNG: STM32_WPAN is STILL in grey,I enabled RAMCFG: STM32_WPAN is STILL in grey,I enabled RF: now STM32_WPAN is active!Why is STM32_WPAN not already active starting from the example WBA55_P2P_SERVER?Thank you for the replyBR
I have been testing with two STM32WB boards, one as central and the other as peripheral. I read in the document "Building wireless applications with STM32WB Series microcontrollers" (newest member cannot add links so I could only paste the title of the document) in section 6.9 that the master can initiate `aci_gap_start_connection_update()` to update the connection parameters, and the end of procedure will be indicated with an HCI_LE_CONNECTION_UPDATE_COMPLETE_EVENT.However, I didn't seem to be getting any event on both central and peripheral, even though I could sense the update taking effect and the update was actually completed.As I'm new to bluetooth, I don't know what the possible reason for missing events could be. I don't have problems with other events such as the completion of general discovery or connection establishment. Connection updating is the only one I'm having an issue with. Please help! Thanks!EDIT: After some more testing, I noticed only when the update caused chang
Hi,I'm using ble notification for transferring data. I have increased MTU Size to 512 as mentioned below#define CFG_BLE_MAX_ATT_MTU (512)Also I changed " SizeAudstream_Char = 500 " for " aci_gatt_update_char_value " function. After doing the changes via BLE I'm only getting 244 bytes and the rest of the byte is 0.Output:[1, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 27, 0, 28, 0, 29, 0, 30, 0, 31, 0, 32, 0, 33, 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 58, 0, 59, 0, 60, 0, 61, 0, 62, 0, 63, 0, 64, 0, 65, 0, 66, 0, 67, 0, 68, 0, 69, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 79, 0, 80, 0, 81, 0, 82, 0, 83, 0, 84, 0, 85, 0, 86, 0, 87, 0, 88, 0, 89, 0, 90, 0, 91, 0, 92, 0, 93, 0, 94, 0, 95, 0, 9
Hi Sirs,I designed a custom board using STM32WB55. I loaded one board with my custom BLE Server code which sends strings at two-second intervals, while the other with my current custom BLE Client code.I received these characters properly from the &pr->Attribute_Value variable during the ACI_GATT_NOTIFICATION_VSEVT_CODE on my custom Event_handler. My problem is when I connect one of my custom boards using NRF52840, the ACI_GATT_NOTIFICATION_VSEVT_CODE does not fire during the debug, which is why I'm not receiving the characters.I tried to connect these custom server boards on the ST BLE Toolbox, and here's what I found out.1. Custom STM32WB Server board: READ and WRITE characteristics are fine. With enabled notification on READ characteristic. I also happen to see a specific "READ" button on the READ characteristics.2. Custom NRF52840 Server board. The WRITE characteristic is fine, no READ button on the Read Characteristics, but has a notificat
Hello!I am having trouble with lost BLE packets in my system:- TX: STM32WB15CC- RX: nRF52840I have tried so many different things to patch this, but I continue struggleling. For my app, I get a 247B frame ready to be sent every 3ms, so I need a high througput for BLE. However, theoretically I should be possible to get around 10m or more without losses, whereas I get roughly to 4m.There seem to be two main problems:The first one takes place in the link and the environment. As packets do not reach their destination succesfully, I suspect there has to be interferences or some kind of distorion that gets the packets lost in the air.The second one is around the BLE queues in the transmitter. I believe there could be overflow in the buffers or some timeout running out when failing to retransmit the packets that are lost in the link.However, as I do not have such a great experience, I do not know how to analyse what is exactly happening with the queues and how much memory are they able to sto
Hi,I tried to import the BLE Heart rate example from the Firmware Package (1.18.0), direct importing by the STM extension in VSCode (Cube IDE directory inside the project) seems to be not possible. If I choose 'Create a new appl. project' in the extension, open Ble_HeartRate.ioc in the project folder and change the project output to STM CubeIDE and generate the files, it is not compilable. Probably importing in Eclipse is more successful, but is there maybe a way to do it in VSCode? Greetings,Rémy Hurx
Can you tell me what the Data field holds in ACI_L2CAP_PROC_TIMEOUT_EVENT?Photo out of AN5270:Thanks
Using Nucleo-WB55 and I call the above command. I put a break point and can see then later that I call UTIL_SEQ_SetTask with the same mask HOWEVER I never go back into my function. Can anyone tell me what I am doing wrong?
Hello,actually, i'm using the bluetooth module BlueNRG-M2 , and i want to know the communication distance in meter please and the length of the antenna .Thank you
Hello....I have generated code with CubeMX for the WB55. I have read and write on some characteristics with some require authentication. On one characteristic I have read, write (with authentication) and notification set. On this same characteristic I am enabling GATT events :From all the reading and watching videos I have done I have not been able to answer some questions:1. What is GATT_NOTIFY_ATTRIBUTE_WRITE?2. Can someone explain what is the difference between the following functions?Custom_STM_Event_Handler (custom_stm.c) and Custom_STM_App_Notification (custom_app.c) It appears that sending info back and forth to the client from the server using custom_stm.c seems to work fine for reading and writing to the application. The Custom_STM_App_Notification function has switches showing my services, etc but is bare with no user code. I'd like to understand the sequence of what files call what here and for what reason should I p
Hi everybody,Here's a bit of context of my project:I'm using BLE Mesh Template, using Sensor and Generic Models.I'm enabling the USB and the CDC middleware. Thus:I changed the configuration of the SystemClock.The nodes are mostly self-provisioned.One node is working as root/gateway.And here comes the problem. When I try to Self-Provision the Root Node, by enabling theDYNAMIC_PROVISIONER feature in mesh_cfg_usr.h, and execute the command ATEP ROOT. The app "hangs" indefinitely.These two logs show: 1.- The uncomplete self-provisioning process and (2.-) the second log shows the complete self-provisioning process. UNCOMPLETE PROCESS. Application Crashes; the last line is where the app dies. Wireless Firmware version 1.17.3 Wireless Firmware build 2 FUS version 1.2.0 >>== SHCI_SUB _EVT_CODE_READY >>== WIRELESS_FW_RUNNING >>== DBGMCU_GetRevisionID= 2003 >>== DBGMCU_GetDeviceID= 495 Success: SHCI_C2_BLE_Init command Success: aci_hal_write_config_data co
Hello, is there anything which specifies exactly the copper restriction area (page 11) under the antenna? Thankshttps://www.st.com/resource/en/datasheet/stm32wb1mmc.pdf
Dear all,we are trying to build a simple battery-powered BLE device. It should basically measure at intervals and advertise results only (minus the occasional update connection). With limited power resources we would expect to shut down both cores and have a 10 uA-ish power consumption, set aside the occasional advertisement- and rx-timeslots.That said, we have code running on the Nucleo-WB and a custom baord with the STM32WBMMG but with surprisingly high power consumption*. To eliminate our code as a cause, running the BLE_Beacon sample consumes around 7mA average after disabling the blue LED.Then, I enabled the CFG_LPM_SUPPORTED in app_conf.h resulting in 2.4 mA - right direction, but still a factor away from where things should be.I then had a look at the aci_* API to interact with the BLE framework on the second core but did not find any (official) way to set CPU2 to sleep resp. wake it at advertisement interval times. As far as I understand the forum entries, the LL_CPU2 cal
Hello everyone, I am working with STM32WB55RG board to make a custom profile that sends a read request from mobile app to the board to communicate with STM32F7 via SPI. F7 contains the data that has to be sent to the mobile app. I have been trying to figure how to integrate BLE and SPI in my code. I have used the snippet codes of SPI and it works fine.It seems to be very difficult and the resources and tutorial aren't that straight forward like I wanted them to be. I am just not able to build the connection between the app and SPI.@TDK @KDJEM.1 @Issamos @Remy ISSALYS @Remi QUINTIN Can you please explain me how to connect the mobile interrupt to enable the SPI.Thanks in advance!
Hello, i have a STM32WBA52CG with a NUCLEO 64 board.I want to utilize the new BLE in speakers. I want a Client phone to broadcast audio to servers -> STM32WBA52CG.First question, does an example sketch exist for this application? Is there some available code that i can look at to get started with BLE and its new features like an audio server?Second question, can i use the internal DAC for audio purposes? Then the left and right channel go though the DAC and out to GPIO, so i can connect it to amplifier?Third question, can i use the buildin DSP for doing equalizer operations on the left and right audio channel?Fourth question, I was at a ST workshop in Denmark -> Aarhus, they showcased a video with some audio applications where the boards were used for audio broadcasting. In the video the server side could switch between two audio channels and there was two audio boards that each had a channel that were broadcasting audio. Im looking for this video, i cant find it, also looki
hello everyone!from the link Solved: STM32U5 Can't exit STOP2 mode with LPTIM - STMicroelectronics Communityit is possible to make LPTIM work in stop2and there is a macro,__HAL_RCC_LPTIMx_CLKAM_ENABLE(), where x can be 1, 3, or 4. but in my project,(STM32Cube_FW_WB_V1.19.0),I can't find this macrois there anyone who can help me, how to make lptim work and wakeup from stop2thanks for your help!
Hi, I am Firmware Engineer and I'm using stm32WBMMG controller in custom board. Here, I can program it and is running the application right but it resets again and again and we found it by programming the RCC-> CSR control and status of reset flag registers and found the reset is brownout. When I run the program, this reset should not happen, Help me to get rid of this
Hello,I am trying to use the USB virtual com port on an STM32WB5MMG. After trying to go into any of the stop modes, I cannot get the virtual com port to work again. (I am using the RTC alarm to wake up the MCU from stop mode and it wakes up fine)I have tried these commands to get it to restart:USBD_DeInit(&hUsbDeviceFS); HAL_Delay(100); MX_USB_Device_Init(); HAL_Delay(100);I have also tried:-Before the sleep:USBD_Stop(&hUsbDeviceFS);-After the sleep:USBD_Start(&hUsbDeviceFS); I tried the 2 above method with standby mode on a previous project on this MCU but I can't seem to get it going again. Also, how I go into stop mode:HAL_SuspendTick(); HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI); HAL_ResumeTick(); Does anyone have some suggestions on what it might be?
Hi,I'm looking for help with time synchronization in Zigbee networks. How can we make sure the time stays accurate across all devices, considering delays in communication? Any suggestions or examples for implementing time clusters would be really helpful.Thanks,Naani Ch
Hello I am using the following to try and get a notification from an STM32WB Nucleo server to my phone the client but cannot get it to work.BLE Notifications ---- ST Micro video I compile and can see the two characteristics on my phone but when I push the button on the board my phone never updates with anything. I have tried ST Toolbox and nRF Connect and neither works.I have attached my project pdf file from CubeMX. This project was built on a test that does Pairing and Bonding with Pairing required only on certain characteristics from the Product service. After this was working successfully I added the STATUS service (page 18) which is pretty similar to the video. The difference is the VALVE characteristic has permission set to:ATTR_PERMISSION_AUTHEN_WRITE = YESand GATT event set to :GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP = YESThe second characteristic is the NOTIFICATION which the video is based off of (see page 18 of the pdf).Can anyone please
Dear ST Support Team,We are currently working on a project that involves communication between an STM32H5 microcontroller and an STM32WB10CC Bluetooth module. The Bluetooth module is flashed with the "Transparent Mode" firmware, and we aim to communicate with it using UART, directly sending HCI commands to the stack.Upon researching potential solutions,we discovered that the STM32_WPAN middleware appears to implement communication with the stack. However, we are uncertain whether it is possible to run this middleware on the STM32H5 MCU while using the Transparent Mode firmware on the Bluetooth module.In our current firmware, we have successfully used the HCI command approach to retrieve the firmware version of the Bluetooth module without relying on any libraries.To proceed with our project, we kindly request your assistance in clarifying the following:1. Is the STM32_WPAN middleware compatible with the STM32H5 microcontroller?2. Can the STM32_WPAN middleware be used in conjunction wit
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.