Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, Everyone. I have encountered a problem in using BLE with STM32WB55CG. I made custom STM32WB55CG board and the schematic is below.When I was testing the functions of the MCU, there was an abnormality in the BLE function. All other peripherals worked well. When I put the code on NUCLEO WB55, BLE worked normally, but when I put it on my board, the BLE didn't work.I'm using 2450AT43B100 chip antenna from Johanson.Will be greatly appreciated if anyone can help me to solve this frustrating problem.
HI all,I tried change option bytes for STM32WB55 in code, and probably something went wrong when I did this. After programming MCU I found that my flash was probably be blocked:How can I unblock FLASH? I tried change security config options in STM32CubeProgrammer, used CLI, used DFU mode but It didn not help. In all the time I have error:STM32_Programmer_CLI -c port=swd -ob SFSA=0xcb ------------------------------------------------------------------- STM32CubeProgrammer v2.4.0 ------------------------------------------------------------------- ST-LINK SN : 066FFF393738425043065240 ST-LINK FW : V2J35M26 Voltage : 3.27V SWD freq : 4000 KHz Connect mode: Normal Reset mode : Software reset Device ID : 0x495 Device name : STM32WB55xx Flash size : 1 MBytes Device type : MCU Device CPU : Cortex-M0+/M4 UPLOADING OPTION BYTES DATA ... Bank : 0x00 Address : 0x58004020 Size : 104 Bytes ██████████████████████████████████████████████████ 100% P
I'm planning to use 2052 bytes per packet (ATT-MTU-2052) and I want to know if it is possible. So. here is a question.What's the maximum ATT-MTU and minimum connection interval of WB55 with BLE 5.2?
Has anyone else seen this?I have never seen such a problem in years of debugging with EWARM and STM32's through sleep modes: using source and project files that debug fine with EWARM 9.20.2, now with 9.20.4, the IAR IDE is hung on the ST LINK driver as shown in the attached screen shot. IDE is unresponsive until I cause an EXTIO to wake the STM32WB from STOP2. I reported this first to IAR, but the engineer responding to me, Dave, keeps asking for logs, and as you can see from the screen shot, nothing interesting is getting logged. so the IAR support seems to be at an impasse.
Hi,I wanted to ask if there is a variant of the STM32WB5MMG planned in the near future (~1 year) with a MHF4/IPEX1 antenna connector instead of the integrated one.There are some cases where it is useful to move the antenna (for instance because of a metal case).Thanks
step1: I upgrade the firmware 1.2.0 and flash the wireless stack "stm32wb5x_BLE_Stack_full_fw.bin " .step2: Rebuild all files and flash the board with the executable file.step3: Power On MB1293C and download the ST_BLE_Sensor. But i can't find the HRSTM in the device list.
-The MCU is running well but The Bluetooth is disconnected from the Application. and then restarts the application. BT connects with the App.-is this a hardware side issue or an application issue?Please share your best knowledge.#STM32WB #BT #BLE #BLE_Disconnetcted Thanks Sagar
All video materials are shared on GitHub repository:In this tutorial, 2 STM32 micro-controllers are communicating together using RYLR998 LoRa Module. RYLR998 interfaced over UART and its AT commands are explained in details.https://youtu.be/SqHOaU0ZsxA
Hi,I tried to generate a new project follow SubGHZ_Phy_PingPong example project which does nothing, to test the stop mode with RTC. When I active the stop mode, the current consumption is around 1mA, which still is far away from the consumption mentioned in the datasheet. (In the stop mode, I already configure all GPIO to Analog no pull mode). How to fix this? Please recommend for me some solution. Thank you.my MCU is STM32WLE5CBU6
Hi,Our project adopt stm32wb35cc, since we need to measure usb diagram,so we do like to consult that how to active usb test mode?any document describe that?I found a function USBD_RunTestMode(), but it's empty and do nothing?is't need to implement code of USBD_RunTestMode() for eye diagram?Thanks~
Hi there,I am using an STM32WLE and I am trying to reduce my Standby mode current consumption. I am currently drawing around 800nA, while the datasheet says I should be drawing about 450nA. One potential cause of excess current is the LSI running for the IWDG (~100-150nA). I have set up the option byte IWDG_STDBY to freeze the IWDG in Standby mode. Does this option byte disable the IWDG (and therefore the LSI) in Standby mode or just freeze the counter? Some of the IWDG registers in RM0461 say they are reset by Standby mode (KR, RLR, WINR), but not others (SR). The PR register doesn't specify. Does this mean the IWDG continues running through a Standby mode exit? And if so, does it lose the previous set up?Any help or clarification would be greatly appreciated. :smiling_face_with_smiling_eyes: Thanks,Rebecca
I Have updated the Dongle's fuses to 1.2.0 version. I did a successful test with the example of transparent mode and the monitor RF. Now I'm trying to use it as Server in a p2p example and it doesn't works. To discard, I flash it again with the example of the transparaent mode and I now I can't conect with monitor RF giving me the following pop-up.Is it that the Dongle is broken? I tryed programming on it the heartrate example and it didn't work.If I read the fuses it response fine:
I want to have 4 diveces as peripherals, each of one with a button, that they comunicate the button state to a 5th device (a Central) in a determinated period of time. The peripfherals should turn off the anttena (or save battery us much as they can) until it is the time to send the button state again. I've already see the STM32WB Getting Started Series form youtube, was very helpfull but now I need somthing more advanced.
Hello,The MCU used in our project is STM32WBCEU (LQFP48).I am going to download the BL stack binary in the form of Firmware Upgrade through STMProgrammer >> FUS page.The problem is that I face a "Wrong address" error.Where can I find the Start address for my MCU???It should be noted that its the first install.hank you very much in advance for your response.
Very new but excited to start an IoT project here. I have a WL55JC1 and IKS01A3. I followed https://www.youtube.com/watch?v=9s8XiABakuQa and managed to get some widgets connected to Cayenne dashboard, but I can't add anymore widget as devices are greyed out - is there a tutorial how to add additional sensor widgets through CubeIDE or MX etc?
Hello!I have a question - I'm working on interfacing with the STM32WB5M module on the B-U585I-IOT02A. From what I understand, the STM32WB5M module is already flashed with an example for AT commands (in the STM32Cube_FW_WB_V1.13.3/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_MultiAppAt).I was hoping to be able to create a STM32 project for the B-U585I-IOT02A board without flashing anything to the STM32WB5M module. For now, I just wanted to be able to send an AT command according to the AN5379 application notes and receive some sort of info back from the module. If there is a way to do this, or if I have some conceptual error, please let me know!Thank you,Jake U.
See attached clocking setup. When I run this, BLE is unreliable. I am running STM32WB55CGU6 in server/peripheral mode. For example, sometimes on power up advertising is occurring and sometimes it does not. And if advertising does work, connecting from my smart phone almost never works. If I change CPU1 to 32MHz, it works great every time and is 100% reliable. I want to run CPU1 at 16MHz to save battery life. I can't run CPU1 any lower because I am running 5 channel ADC DMA constantly at 400kHz sample rate (5x400kHz is 2MHz sample rate for ADC). Is 16MHz on CPU just too slow with all this DMA to SRAM activity? Note that DMA is active but CPU is not doing anything during this time, except servicing BLE.
I'm using STM32WB55 and communicating with a program using Windows BLE APIs. My system affords BLE 5.2 version and I know it affords 2 Mbps.However, I don't know how to change the BLE setup in the microcontroller and my program.Currently, my microcontroller can send 244 bytes of data per packet.So, Here is some question.How to change ATT-MTU (number of bytes per packet), Connection Interval, and number of packets. (or a good example for this)Whether, if I change these BLE setups, the BLE setup of the Windows program automatically changed. (or how to change Windows BLE setup using Windows APIs)How to transfer multi packets (or a good example for this)I hope your comments.
I am trying to immigrate my project on STM32WB55RGV to STM32WB5MMGH. Now I am using last firmware package V1.13.3 instead of 1.10.0 that used for STM32WB55RGV.I updated FUS (FUS V1.2.0) and BLE_stack_full_fw. I am trying to connect STM32WB55RGV but immediately after establishment of connection I am receiving disconnection event (HCI_DISCONNECTION_COMPLETE_EVT_CODE).How I can fix this problem?Can anyone help?Update: I ran a firmware in debug mode and saw below line not executed under the case HCI_DISCONNECTION_COMPLETE_EVT_CODEdisconnection_complete_event = (hci_disconnection_complete_event_rp0 *) event_pckt->data;as a result I cannot understand reason of disconnection!
/*--------------------------------------------------------- * Shutdown *--------------------------------------------------------- *//* This API moves the stack to shutdown mode, used in case of a sleepy end device to conserve power. */void ZbShutdown(struct ZigBeeT *zb);/* The following APIs are to pause the stack and allow another service to use the * MAC layer. Upon resume, the MAC interface(s) are reconfigured to work with the * Zigbee stack again. */enum ZbStatusCodeT ZbStatePause(struct ZigBeeT *zb, void (*callback)(void *arg), void *arg);enum ZbStatusCodeT ZbStateResume(struct ZigBeeT *zb);
I have to projects based on FreeRTOS. One is st example and one is generated by me from example .ioc file. All of the files in projects are the same (including FreeRTOS middleware directory). In the projects there is a task called periodically which set flag for the other task using osThreadFlagsSet function. While debugging I've noticed that osThreadFlagsSet function returnes different values. In one project rflags variable has value equal to 1: In the other rflags has some random value:and because of that I think that there might be the problem with setting flag for the task. Not setting the flag causes project work unstable. What might be the issue?
I'm using STM32WL V1.2.0 and trying to generate LoRaWAN End Node FreeRTOS application from .ioc file and make it work but I met some issues with sending data packets periodacally. After succescul join procedure device sends only one data packet. After Tx LmHandlerSend status is LORAMAC_HANDLER_BUSY_ERROR, MacCtx.MacState equals LORAMAC_TX_RUNNING and no more data packets are send. I think that the issue is caused by some part of FreeRTOS because I generated appliaction without it and everything works as expected but I can not find soucre of the problem. Here are steps that I made in order to generate application:- generated project using .ioc Configuration File from LoRaWAN_EndNode_FreeRTOS example- imported BSP driver and added it to include path- replaced generated app_freertos.c file with app_freertos.c file from LoRaWAN_EndNode_FreeRTOS example- inside lora_app.c file filled user code section of SendTxData function with own sending code:static void SendTxData(void) { /* USER CODE
Hello everyone, I have recently started learning C language and I am kind of new into embedded systems. I am using NUCLEO WB15CC and trying to develop a system using VL53L1X with MPU6050 sensors. I am getting two sensor data successfully every time I write 0x101 to read/write characteristic. What I want to do now is, I want to start continuously measuring the acceleration data of X axis of the MPU6050 sensor until its value is between -990.0 and -1010.0 and if it is true I want to measure the distance over VL53L1X sensor. However, when I am debugging I receive -1 value over VL53L1X and I think its because MPU6050 is still using the I2C1 line. I have tried to put MPU6050 into sleep and wake it up back but it didn't work well. I am thinking that the way to solve this issue is by using scheduler or I2C event interrupt. I don't know which one is more practical. I am using P2PServer example provided by ST with STM32Cube_FW_WB_V1.13.0. Here is my code snippets:#if(P2P_SERVER1 != 0) if
Hello,I wanted to ask if it would be possible to have the sequence of commands sent and how they should be formatted, by the STM32CubeMonitorRF tool to the board, so possibly I can recreate those steps even with a custom program.Thank you very much
..
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.