Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi St Team,We would like to test network communication using st developed gateway board come with P-NUCLEO-LRWAN2. Shall we get clarity on frequency band supported by LoRaWAN protocol like What are the frequency band supported by LoRaWAN protocol?
Hello,This is a continuation of questions raised in this thread.In the STM32WL5x microcontrollers, there is a Sub-GHz radio command called "Set_RfFrequency()". The arguments for this function are an Opcode, and RfFreq. However, you don't actually pass your desired RF frequency to this function. Instead, you need to multiply your desired frequency by 1.048576 and pass that value to the function. This is because Set_RfFrequency() takes the argument, multiplies it by 32e6 and divides it by 2^25.Setting aside how confusing it is to have a function called "Set_RfFrequency()" where you don't actually give it your desired frequency, can someone who understands PLLs explain how this larger number is used to properly set the RF-PLL?For example, if you want the RF-PLL to be at 868 MHz, you need to pass 910,163,968 to Set_RfFrequency(). How is this value used? Does the microcontroller count to 910,163,968 every second and that tells it how quickly to oscillate? How does that work?Thanks for any h
Hello, I have a problem running any project in STM32CubeIDE v1.7.0When I press 'Run' I usually get "Launching: Performing pre-launch check..." and it just hangs there.Sometimes it gets past that, and then I get the following errorError in final launch sequence: Failed to execute MI command: target remote localhost:61234Error message from debugger back end: localhost:61234: The system tried to join a drive to a directory on a joined drive.at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:1014) at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:843)Console output:STMicroelectronics ST-LINK GDB server. Version 5.9.1Copyright (c) 2021, STMicroelectronics. All rights reserved.Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 &
Hi there, We want to stream video at a reasonable quality (HD) using the STM32WL, we were thinking on implementing this feature using LoRa, but looks like Sub-GHZ system isn't no capable for transmitting video. What other methods can we use that can transmit video for around 6km (it's for a drone)? Thanks in advance and sorry for our unexpertise.
Hello Is it possible to use the P2P server example in stm32wb55 examples to add my own service and Characteristics and then be able to access my data on the STM32 sensor app. For example I want to add a sensor then send that data to my phone using the sensor app during my tests before developing my own app.
For a project im working on i need to be able to record sound with a battery powered microcontroller and send it to an RPi. I saw that the STM32WB was capable of this but can anyone tell me if i will be able to receive and process the audio file on the RPi since it only has BLE 5.0 and not 5.4 like the microcontroller.thanks in advance
Hi, I have two NUCLEO-WL55JC1 boards with me. I want to make one board as a end device and one board as a gateway. I found end node example with in firmware package of STM32WL but not found any example for gateway.Is there any gateway example available for NUCLEO-WL55JC1?Is this board(NUCLEO-WL55JC1) capable to run gateway example on it?Please help me to resolve above questions. Thanks,Meimurugan
Hi All, I can import STM32WB5MM-DK Zigbee_OnOff_Server_Coord application into STM32CubeIDE and can compile and debug, however, I would like to see .ioc file to understand more clearly how to set the clock and pins etc. I wonder if there is any place I can find .ioc file for this example. thanks,
Hello, We're wondering about the Next_State_Systime field in the end_of_radio_activity events - what kind of time unit is used for it, and how to make a use of it on application side.Long story short, we'd like to avoid some noise sensible operations in our system while some RF activity - typically an advertisement - is going on. We're struggling to find some data on that subject. We're using a ble full stack on wb55 chips.BR
Hello,I have a NUCLEO-WL55JC1 development board that I am trying to have communicate over subGHz RF.After configuring the RF module, I am trying to read what interrupts are generated based on different stimuli. To accomplish this, I set a breakpoint in the RF IRQ Handler function so I could read the value of the "itsource" variable. However, I'm seeing unexpected behavior when debugging this program. The interrupt initially triggers when I expect it to, and the program breaks in the interrupt, but the "itsource" variable keeps reading 0 (indicating no interrupt source). After this, it seems like my program gets trapped in the ISR and keeps looping over and over.Can anyone explain either of these behaviors? I will reply with the source code for my interrupt routine.
Hello ....I have an apk that seems to lose comms with a server. We have not been able to make it periodic or obvious as to the reason. We would like the server to timeout after 30 seconds of not receiving read/write rqsts from the client and force it's state to HCI_DISCONNECTION_COMPLETE_EVT_CODE which in turn will put it back into advertising mode.Can someone tell me what function can I call to set the parameter for the function SVCCTL_App_Notification(void *p_Pckt) which is a registered task in the sequencer? I would like to set the state and then I will call UTIL_SEQ_SetTask functionThanks
For a project for one of our customers, we use STM32WB15CCU6 microcontrollers on a custom board. The boards are returning from the field with several of the option bytes of the microcontroller set to a different value than they were programmed with. We would like help in restoring them. We don't use the bluetooth functionality of the STM32WB15CCU6; we just use it as a general purpose microcontroller; we don't have the wireless stack on the microcontroller. We connect to the STM32WB15CCU6 via an ST-LINK, over SWD. We read out the option bytes with 'STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI -c port=SWD -ob displ'. On the broken board, there are three option bytes different (compared to the known-good board). The values on broken board are in red, the working board is in green. We tried to correct these bytes, by issueing the 'STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI -c port=SWD -ob SBRSA_A=0x00 C2OPT=1 SBRSA_B=0x2' command,
Hello,actually, i'm searching some reference of Bluetooth module without pairing, i want that the Bluetooth module communicate directly without paring.Can you give some references please ?Thanks
I want to get RSSI value of connected p2p Clients to p2p Server and can i able to get multiple connection of p2p clients RSSI value.The main objective is get Client's exact distance from p2p server using RSSI.
I try to make an obscerver with a p-nucleo-wb55 that scan the surounding and give the adress id and the RSSI. I used the project P2P client as a base and add some codes : In the app.ble.c file in the SVCCTL_App_Notification function i add in the case HCI_LE_ADVERTISING_REPORT_SUBEVT_CODE , the following code adv_report_data = (uint8_t*)(&le_advertising_event->Advertising_Report[0].Length_Data) + 1; k = 0; /* search AD TYPE 0x09 (Complete Local Name) */ /* search AD Type 0x02 (16 bits UUIDS) */ if (event_type == ADV_IND) { int8_t RSSI; RSSI = (int8_t)*(uint8_t*) (adv_report_data + le_advertising_event->Advertising_Report[0].Length_Data); printf(" MAC : %02x:%02x:%02x:%02x:%02x:%02x" ,le_advertising_event->Advertising_Report[0].Address[5] ,le_advertising_event->Advertising_Report[0].Address[4] ,le_advertising_event->Advertising_Report[0].Address[3] ,le_advertising_event->Advertising_Report[0].Address[2] ,le_adverti
How does the STM32WB/ STM32WBA optimize power consumption during audio playback in BLE-enabled devices?
Hello ST experts,I am a beginner with the STM32WL series and need some support.So first I started with the STM32F407VG disc1 and I tried to communicate two boards of it using a SI4432 module and I didn't succeed, I tried something else and I bought two Nucleo-32WL55JC1 boards and tried to communicate them and it works as shown in the last post.It works as a ping pong application -you can find a better description about this application in this link page 44- after that I tried by developing the same code of the ping pong application to communicate a nucleo-32wl55jc1 with nucleo-32wl55jc2 because in the datasheet they don't use the same frequency but it works!Now I am working on RF communication between nucleo-32wl55jc2 and another RF device like a key car or a key garage with the same developed code of the PING PONG application but still I don't have any answer.My first question is if the NUCLEO-WL55JC cards are able to read RF signals from these RF devices?The second one is if th
Hi, i'm using the STM32WB5MM-DK borad and i encountered some problems about acquiring data from the SAI using the PDM interface.On my board is mounted the IMP34DT05 microphone which requires a clock frequency between 1.2MHz and 3.25MHz to work. I can generate a 2 MHz clock signal from the SAI and the microphone outputs the data correctly (I'm sure of this because I can the data with the oscilloscope).The problem is that I need to generate a 2MHz clock signal in order to let the microhone work but, to do that, I violate the constraints written in the datasheet of the STM32 in the SAI paragraph.I set the frame lenght = 256 bits but in the datasheet it is written that, using 1 or 2 microphones, the frame lenght must be 16 bits following the formula FRL = ( 16 * MICNBR + 1) - 1, where MICNBR is 0 in my case (1-2 microphones).I also tried to implement the example that is written in the global manual (see the highlighted row of the table in attached image).When I used 16 bits frame, 2 s
There are quite a number of cell chemistry for Lithium (and possibly others). Which one is good for Lora:Transmit time of 1.5 seconds or less, current 1C or less. Recharge 0.5C to be safe (may be 1C on spec.).Normal (non transmit) low duty cycle load is fraction of second every many seconds. Battery life one to several weeks.High-end consumer device price point. Small size, light weight and high energy density.Many thanks
Hello, I'm trying to get Zigbee working on my STM32WB55CG6 custom board. I've verified that the RF section works since BLE works perfect but now I'm trying to get Zigbee working. Since there aren't alot of examples I've tried the Zigbee_OnOff_Server_Distrib but the chip is not the same so when I tried to program it I bricked the STM32.Now my question is if there is an example for the STM32WB55CGU6 in which I can connect it to Home Automation something like this example: https://www.youtube.com/watch?v=W2oB4AmUKr0 but for the right chip.I would appreciate the help, I also shared my project files below
Hello,I made 2 project about client and server using stm32wb1mmc product. > server project is using "custom p2p server"It works well but I want to improve usability. 1. How to reduce scan time for connect client to server? > I quote it from examples. use "CFG_TASK_START_SCAN_ID" when external pin interrupt is set. so when button is pushed, client start scan request. after 10s appx, client can be connected server. I want to reduce this time. 2. How to enter sleep(stop) mode cpu2?As far as I know, cpu2 can't enter stop mode after cpu1 & cpu2 booted completely. If it is correct, is it no way to cpu2 enter sleep and wake up? I attached 2 project files.best regard.
Hello All, In My Project I am using STM32WB5MMG as BLE p2p Server and also many p2p Client.I want filter one particular Client out of 5 Client device,if its possible how to achive it?
Hi I am using the module Lora-E5 which has the STM32WLE5J inside. Looking at cubeMX , I can select LoraWan, but I want to only use the Lora side. Do I simply select the LoraWan, and use the Lora part, as it requires LoraWan key etc which I wont use. Best RegardsScott
I am Using an STM32 WL55Jc i.e., STM Nucleo Board and I am using an example code that is https://github.com/stm32-hotspot/STM32WL-SubGHz-Phy-Rx-Hop Here in this code APP_LOG(TS_ON, VLEVEL_L, "OnTxDone\n\r");Issues that i am facing with APP_LOG method is,1.Messages longer than 256 bytes are truncated or not logged.2.No error messages are provided, making it difficult to diagnose the issueIs there a known limitation with APP_LOG regarding message size, are there any configurations or settings that can be adjusted to allow logging of larger messages. Any suggestions or workarounds to achieve logging of messages longer than 256 bytes?
Hi,The chip I am using is STM32WB55RGV6. I put it into shutdown mode and tested its current. I am using instrument room N6705C for power supply, with a voltage set to 3.3V for testing. The test result is an average current chamber of a few nA, but the waveform of the current is fluctuating, and the maximum current will look like 5uA. Is this normal?What should the current waveform look like in a normal shutdown mode?It can be confirmed that there are basically no external connections to the IO port, and they are all configured in analog mode. I am using an inductor of 2.2uH.Thanks.你好,我是用的芯片是STM32WB55RGV6,我让它进入shutdown模式并且测试了它的的电流。我是用的仪器室N6705C,使用它供电,电压设置为3.3V测试。测试结果就是平均的电流室几nA,但是电流的波形是跳动的,最大电流会有5uA样子,这是正常的吗?正常的shutdown模式的电流波形应该是什么样子的呢?可以确定的是IO口基本没有外部的连接,都配置成了模拟状态,我是用的电感是2.2uH。
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.