Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
The STM32WB55 microcontroller have SMPS internally. Can I use it to convert AC power to DC power for the microcontroller? If possible, I want to supply RF inductive charging power directly to the microcontroller.
Hello!We are developing device on STM32WB55 MCU along with mobile app companion. We use stm32wb5x_BLE_Stack_light_fw. The MCU works as Peripheral, mobile app - as Central.In our firmware we use internal FLASH to store some configurations. Our application accesses FLASH according to AN5289 4.7 Flash memory management. However, we noticed that even if there is no active BLE communication, sometimes after FLASH writing operation the BLE connection between the device and mobile companion breaks with reason 0x08. It seems like we lock FLASH and BLE stack stops executing for long enough to not send packet during connection interval.My next step was to update connection parameters to tolerate BLE stack stalling. I use aci_l2cap_connection_parameter_update_req API with parameters:Conn_Interval_Min = 0x18 (30 ms)Conn_Interval_Max = 0x24 (45 ms)Slave_latency = 30Timeout_Multiplier = 600 (6 s)Now I am testing on iPhone 11. This parameters look fine and complies with https://developer.apple.com/ac
I'm developing STM32WB55VQ power system but I wonder the microcontroller automatically use battery power or not when Vdd is cut. Is there anybody can explain this?
Hello,From 1.13.0 to 1.13.3, the command ACI_HAL_TONE_START was removed (get Unknown command return). The release note indicates that some HCI commands were removed not ACI commands.Is it an error or should we prepare to move to the full extended stack to get this API again ?We are using it during industrialization process to check the radio frequency and power.Is it planned to update the API spec (AN5270) to indicate which API are not present in the full stack ?BRAnthony
..
Currently, we are using the STM32WLE5CC MCU.Some MCUs do not operate normally when the same firmware is inserted into several MCUs. (Abnormal current, delays in Uart log output, RF is not transmitted)If a higher voltage (4.4V) than the MAX operating voltage (3.6V) is applied to these MCUs, it operates normally.I wonder why this problem appearsIf you have such experiences and solutions, please let me know.
I'm designing power supply part of STM32WB55 microcontroller.I'll use a Li-ion battery for power supply of STM32WB55 microcontroller.As we know, the microcontroller requires 3.3 V maximum but Li-ion battery can generate maximum 4.2 V. So, I'll use internal LDO in microcontroller to supply proper voltage from 4.2 V.However, here is a problem in RF power supply, VDDRF.I think VDDRF requires 3.3 V but currently I have only one option (4.2 V).My question is that is it possble use 4.2 V for VDDRF?or if I apply 4.2 V to LDO, LDO can generate 3.3 V in VDD?or LDO can supply power to VDDRF internally?
I have created this easy project for the RAK3172 based on the LoRaWAN end node skeleton (myIoTopenTech/TiposDeDispositivos/TTNMAD_SOUND/STM32CUBEIDE/ttnmad_noise/) available on GITHUB.The program works properly joining to The Things Network using OTAA and sending a dummy payload every 20 seconds... but in the interval between transmisions, the power consumption is about 150uA... I would expect something closer to 15 uA (that is what I get on the same hardware with a similar program developep using MbedOS).I am using the RAK3272S breakout board, so there is nothing connected to the STM32WLE5, and the st-link is disconnected during power consumption measurements.
Hello,I'm doing a new board bring-up and following the document AN5503 (https://www.st.com/resource/en/application_note/an5503-bringing-up-the-bluenrglp-bluenrglps-devices-stmicroelectronics.pdf)At chapter 4 (HS_Startup_time) I use the example firmware to compute this value but my results are very high according to the eval board.UART results:Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 369. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 369. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 370. Worst: 654 (1596 us) Last: 369. Worst: 654 (1596 us) Last: 370. Wors
We have implemented BLE application on STM32WB5MMGH. I see that some of the BLE packets are getting lost in transit. The peripheral and the master are in very close proximity. I understand that packets can get lost depending on environment but my question is how to make the communication lossless. Doesn't BLE protocol, in general, provide a lossless option for communication - aka acknowledgements?? Based on the protocol, I see that using 'indication' is a way to make that happen. Is that correct? Since I took over most of the code base, and am somewhat new to the whole BLE application, can someone help me figure out things to check to make sure the application is setup for a lossless communication. I'm not concerned about latency, i'm more interested in having a lossless communication for this application. Any suggestions, advice is greatly appreciated. Thank you.
How can I interrupt the connection process?
Hi.I would like to send in the worst case 750 chars through ZigBee.Issu: I can send only 59 chars per zigbee message, using Messaging cluster.After reading the ZigBee specification, it seems that this cluster handles sending more than 59 chars, by fragmenting it.Here is what it says:« For supporting larger messages sent over the SE Profile network, both devices must agree upon a common Fragmentation ASDU Maximum Incoming Transfer Size. Please refer to [Z1] for further details on Fragmentation settings. Any message that needs truncation shall truncate on a UTF-8 character boundary. The SE secure payload is 59 bytes for the Message field in a non- fragmented, non-source routed Display Message packet (11 bytes for other Display Message fields). Devices using fragmentation can send a message larger than this. Reserving bytes for source route will reduce this. InterPAN message payload for the “message�? is 98 bytes. »Is the Fragmentation implemented on STM?Are there other ways to
If I see the pin layout of STM32WB55VQ,There are multiple VSSRF, VSS, and VDD like below.If I want to see proper function, should I connect all the VSSRF, VSS, and VDD?or is it fine connect only one of them (For example, one ground on VSSRF, one ground on VSS, and one bias on VDD)?
I am trying to create a project that takes advantage of the HAL drivers, but does not include auto generated code. It would be ideal to be able to tell the IDE which HAL drivers to include and start off from there. Unfortunately, I could not find such option. As an alternative approach, I saw cloning the respective MCU firmware package (in my case the STM32CubeWB) and copying the Drivers and Middlewares folders into the project. Unfortunately, this lead to an infinite chain of having to delete certain files and folders and updating include and source paths. I am wondering what would be the recommended strategy to work with the HAL libraries when I do not want to end up with auto generated code. Many thanks in advance!
Hello, I just started working on my first project utilising the STM32 family of processors - STM32wle5 to be exact, but I've ran into some issues. While setting up LORAWAN middleware in CubeMX v. 6.5.0, I've found no options related to RF switches. For the hardware, I just have a single GPIO Output line that is either HIGH or LOW signalising RX/TX and for the RF switch i have this IC. Does this have to be configured outside of CubeMX or is there somewhere a hidden option?
I try to connect NUCLEO-STM32WL55 with the example LoRaWAN_End_Node to a LoRa network here in Medellin Colombia, which use the region band AU915, but i realize that the gateway only detect data from low frequency channels, more specifically sub-band 2 and 3 916.4 MHz to 919.2 MHz.So it would be a great help if you can help me to explore the code in the example to get the algorithm that makes the sweep in frequency, so i can make test and discover if i can solve the problem and send data in all sub-channels.Thank you
As of now, I work with the STM32WLE5JC controller. in that I need to interface CAN protocol for STM32WLE5JC board-to-board communication. For this is there any library available for this specific STM32WL controller and also which CAN module is suitable for interfacing with the STM32WL microcontroller. kindly guide me on this.
Hey there,I am looking into using the STM32WB55CG as RCP/NCP on an embedded Linux device. All my communication is mesh local. I want to make a python script for communication between my devices, but I can only use the global IP address on netcat (which I used to test connectivity) the Mesh local IP seems to be useable via the open thread command line interface only. Am I doing something wrong? Can this be changed?Jeroen
Hello....I am using STM32CubeIDE 1.10.0. I purchased a LoRa-E5 from Seeed. The E5 has proprietary code on it that one must use a UART to talk to the device. I would like to basically erase the device and load my own code onto the device. I have created a very basic project in CubeIDE for the STM32WLE5JC which is the processor on the E5. At the moment my code does nothing more than toggle PA3 high and low. When I try to load the code onto the DUT I get the following error on the console:Erasing memory corresponding to segment 0:Erasing internal memory sectors [0 3]Download in Progress:Error: failed to download Segment[0]Error: failed to download the FileFurther reading seems to imply that the RPD bits are somehow set and I need to set them to Level 0. Can someone please confirm that yes this is actually the problem? And how using CubeIDE I go about doing this? I am very unfamiliar with this environment and would prefer to use CubeIDE rather than command line, etc. I was under the impres
I'm working on a custom board based on STM32WLE5JB. First few prototypes worked without any issues, but in the last small batch (assembled by different assembly house) many boards have issues with data transmission: using HackRF I can see that the boards transmit something on the correct frequency (868.1, 868.3, 868.5MHz) but the gateway (RAK7258) doesn't detect it. Visually it looks like the transmitted signal on the bad boards is stronger so maybe it's somehow distorted (but it is slightly closer to the gateway so it's subjective).So, two boards from the same batch, running the same firmware, do the transmission but the gateway can decode only one.What would be the best way to debug this? Could this be the consequence of bad antenna matching (antenna was supposed be matched properly and boards are assembled in the same run so the components should be the same on them)?signal from ok board:signal from bad board:
Hi All, I'm currently working on a project where I will have a proxy/Friend Node that will talk with a Low power Node.The proxy node should be able to go on standby when requested and in the condition I would like to obtain the optimal current consumption.The Problem I'm facing right now all related on how to enter the STOP MODE properly and how to wake up everything correctly.Looking at the examples I implemented my own version of the proxy example using RTOS.Then I tried to implement a lot of different way to enter standby mode but each of this one had a problem.The Only way I can keep my network working is simply not doing anything to the RF activity but in that condition the consumption are pretty high You can find below all the procedure I tried to implement 1) Using the BLE shutdown/resume function I tried using the function available on the mesh library; before going on standby I call BLEMesh_Shutdownand when I wake up from standby (after re-Initial
Hello,I have a scenario as you can see in the picture below. For creating mesh I am using embedded provisioner (dev1). If I provision dev4, the friendship is automatically established between dev1 and dev4. I want to establish friendship between dev3 and dev4. What I have to do on the embedded provisioner side or which function should I use on the dev3 to send friend offer to a LPN? Thank you very much for any advice!Vit
Hello,I bought a nucleo-wl55 card from RS.At the beginning, it worked very well and i started to develop my application.Suddenly today, when i try to run my program, i get an error message : st-link cannot detect a target.And the card become very hot !Any suggestion !when i connect the card i can detect the virtual com port :
Hi,Our device is stm32wb35cc,we use hci command HCI_LE_TRANSMITTER_TEST_V2(0x2034) to trigger direct test mode,and use ACI_HAL_LE_TX_TEST_PACKET_NUMBER(0xfc14) to get transmitted packet number,Recently we noticed that if we do flash erase/write after HCI_LE_TRANSMITTER_TEST_V2,then device would stop transmitting packet and no response to HCI_LE_TEST_END(0x201f)temporary(shorter than 1min),we thought this is topic what AN5289 chapter 4.7 mentioned,the flash memory management between cpu1 and cpu2,So we follow AN5289 and example BLE_RfWithFlash to implement theflash management mechanism for flash erase/write,but the result still be same,Any suggestion?or we just shouldn't to do flash erase/write during ble direct test mode?Thanks~
Overview:I have been doing BLE prototyping with an STM32WB55 Nucleo kit (the white PCB, not the USB dongle). I loaded a few different demo projects (BLE Heartbeat, etc) via STM32CubeIDE, but never programmed the wireless stack specifically. I was noticing some strange behavior with the CW tone enabled via `aci_hal_tone_start()`, so decided it might be related to an older wireless firmware and tried updating it. However, when updating the wireless stack via STM32CubeProgrammer...I observed it was initially reporting FUS v0.0.0.0 and Stack v16.12.0.27 (see attached screenshot).Questions:The Stack version "16.12.0.27" doesn't seem to follow the versions in Github (where latest is currently 1.13.3). Do the wireless stack versions programmed at the factory follow a different numbering scheme?Is there a binary or set of binaries to reset the device to the factory state? It seems like the CW tone does not work with any of the 1.13.3 wireless stack binaries, whereas it was at least sort of wor
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.