Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
..
Hi all. I've got a problem when trying to flash the STM32WLE5J8I6.I am trying to run a simple blinky code and blink an onboard LED on my custom pcb.The program builds fine, connecting with the ST-Link (Nucleo-WL55JC1) and using SWD to connect to the STM32WLE5 works. However, when running or debugging, the program gets stuck at 97%. See picture. The following output is seen in the console:STMicroelectronics ST-LINK GDB server. Version 6.1.0 Copyright (c) 2022, STMicroelectronics. All rights reserved. Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled InitWhile : Enabled Waiting for debugger connection... Debugger connected Waiting for debugger connection... Debugger connected Waiting for debugger connection... ------------------------------------------------------------------- STM32CubeProgrammer v2.10.0 -------------------
Hello, I'm trying to connect an OLED display to my STM32WL55JC by I2C but it doesn't work...I've successfully connect it with a STM32F411RE but the I2C configuration / HAL interface seams to be different between both MCU...Here my config on the STM32F4 Here my config on th STM32WL : Does anyone know whats wrong ? Thanks so much !Hugo P.
Can you use the extended advertising and scanning found in BLE 5 somehow? I have found some references to them in the code, but cannot find any defines. Do they exist? Will they be implemented?
In examples I got familiar with RF low level access is controlled by some exact coprocessor firmware. Existing coprocessor binaries provide some higher level of abstraction that seems to not include forcing signal with exact characteristics. Do I missing something or is there any other approach to start continuous signal generation with specified power and frequency?
Hi, I want to use B-U585I-IOT02A as a controller for mobile robot, I use a smartphone for the remote control. For now I am using HC-05 as the bluetooth interface because I can't find out how to program the STM32WB5MMG to act similar with HC-05. Can anyone give me any guide or reference how to do it? I just need it to work as the bluetooth interface to receive serial data and send it to the STM32U585.And I use MITAppInventor 2 to create the smartphone software if anyone wondering.
I went from the v1.12.1 stack to the v1.13.3 stack and LE Privacy seems to be no longer working. It advertises, but always with the static random address, not a random resolvable address. Also, the address never changes. Anyone else seeing this? Is there some new interface I need to use to get random resolvable addresses?
Hello, Can you please point me to the factory settings of stm32wb55 pucleo board.I seem to have erased some sectors 1-192 and fiddled with some option bytes (nBOOT0) and nSWBOOT0Best Regards,D
Several BLE circuit design inquiries of the STM32WB55RG MCU.The BLE impedance requirement of this MCU is 50 ohm, and it is recommended to use LPF (MLPF-WB55-01E3). For the detailed circuit diagram, please refer to the fourth page of the attached file (20220119_Main Board(3-8).pdf), component information Elements will appear by clicking on them with the mouse.The PCB stack is 1oz CU / 0.1mm(FR4) / 1oz CU / 1.2mm (FR4) / 1oz CU / 0.1mm(FR4) / 1oz CU with a total thickness of 1.6mm.1. With the current design, the BLE signal will first pass through the LPF, and a T-type matching circuit is designed between the LPF and the antenna. Is this design OK? I read the ST document (AN5165) that the filter is placed near the antenna. , the Pi-type matching circuit is placed between the filter and the MCU.2. If it is feasible according to the current design, is there a tool to quickly calculate the component values and line width/length of the matching circuit?3. Currently discussing the line impedan
STM32WB55RGV6 connects ADS1299 by spi. And I choose spi2. There are three signas miso\ mosi and sck. SPI2 has two alternative: GPIO_AF3_SP2 and GPIO_AF5_SPI2.① STM32CUBEMX automatically generated miso(GPIO_AF3_SP2), mosi and sck(GPIO_AF5_SPI2).Initialization is ok, but no data.② All GPIO_AF3_SP2. Initialization is failed and application crash.③ All GPIO_AF5_SP2. Successfully.Although the result is good, I do not understand why:sad_but_relieved_face:
I was trying to use the time server for a project on STM32WB55. I tried to use it in an empty project. When I tried to debug, this window pops up:The curious part of the problem is that this error seems to happen with the time cluster only: using another cluster such as the on/off one doesn't create any problem.I will attach to this message the .ioc that I am using: I did not modify the STM32CubeMX output.What can I do?Thanks in advance.P.S. Another thing I tried to do was removing and putting back single lines of code in order to understand which part of the program caused the problem. I figured out that the whole thing runs without encountering this specific problem when I remove this line:/* file: app_zigbee.c */ zigbee_app_info.time_server_1 = ZbZclTimeServerAlloc(zigbee_app_info.zb, SW1_ENDPOINT, &TimeServerCallbacks_1, NULL);
The STM32CubeMX generate:```#define LCD_SPI_Send_DMA(rd, ln) BSP_ERROR_FEATURE_NOT_SUPPORTED```instead if I modify the generated DISPLAY/Target/lcd_conf.h with`#define LCD_SPI_Send_DMA BSP_SPI1_Send_DMA`seems work correctly.I am using:Nucleo WB55RGGFX01M1STM32CubeIDE 1.9X Cube Display 2.1.0 (in the package 2.0.0 was correctly defined)Is this only a STM32CubeMX bug or I can't use SPI + DMA+ Display?Thanks for the support
Hi, I use the nucleoWL (STM32WL which is based on STM32L4). I want to use LPWAN to communicate some measurements each day. I use I2C between MCU and sensors. If I try the Sigfox Push Button exemple, I have 2uA in stop2 mode but if I add I2C1 (thanks to cubeMX) (with any sensor yet) I have around 500uA in stop2 mode: That is too high...I think that is due to internal pull-up resistors. Is it true ? How to avoid this in stop2 mode ?In the I2C_WakeUpFromStop2 example : the current drawn my the uC is around 1uA that is good for me. I think the pins are not pull up internallyI don't need a non-blocking mode for I2C communication because it's only one time per day, polling mode can be ok but I need a low consumption in stop2 mode. I will disconnect sensors during stop2 mode to avoid the sleep current of the sensors and the current in the external pull-up resistors.How to do it in the Sigfox Push button exemple (for example) ? (do it = achieve a low consumption in stop2 with I2C pins empty)Th
I'm using verion 1.1.5 of the I-CUBE-LRWAN software and reading a few I2C sensors using the HAL_I2C functions. No issues when sensors are functioning properly; however, I have run into periodic sensor failure issues while testing, either permanent or temporary, where one of the I2C lines may be held low or enter the wrong state. In these cases, once the HAL TX enters the I2C_WaitOnFlagUntilTimeout() function, timeout is never reached and the entire application hangs until the board is reset.Has anyone encountered a similar issue or have an advice on this problem?In the real world there are bound to be issues here and there with defects and bad communication once in a while, ideally this should not freeze the entire application if the STM32 fails to communicate with a slave device properly during a single read.Code snippet below:In a failed scenario, I2C_FLAG_BUSY remains set and it appears HAL_GetTick() never exceeds Tickstart to generate the HAL_TIMEOUT return.static HAL_StatusTypeDef
In order to achieve minimum power drain on the B-L072Z-LRWAN1 discovery board, it is necessary to remove some solder bridgesSee: https://community.st.com/s/question/0D50X00009XkbSOSAZ/excess-current-consumption-running-bl072zlrwan1-from-batteryAnd:https://community.st.com/s/question/0D50X00009q4M1zSAE/cant-power-bl072zlrwan1-with-batteryTo be able to use the onboard ST-Link again, these connections need to be restored:NRST: link CN4.3 to CN12.5;SWD: fit two links on CN8;VCOM: link CN5.1,2 to JP6. Rather than have to mess about with 2 separate links for the SWD, a single-row 4-pin header can be adapted:
We recently received our B-L072Z-LRWAN1 but are not able to run the program while batteries are plugged in. In the datasheet it says that we need to remove SB37 to accomplish this. But then I cant program it anymore? How can I use the board with battery only and still be able to program it?
Posted on December 11, 2017 at 20:21 I have removed all the solder bridges & links to minimise stray consumption. When I measure the combined current through JP3 and JP1 (ie, MCU & RF), it is ~0.87mA between Tx pulses. (SB19,14,17 are removed; JP2 is not fitted - so no current to USB_LRA) But, when I power the board from the battery, and measure the battery current, I see 1.95mA (SB18 is removed) The ST LD39050 regulator (U7) is supposed to be ''low quiescent current'': the datasheet says it should only, typically, be taking 100uA at 500mA load - so we should be nowhere near that! So where is this extra milliamp going?? EDIT To clarify: the ~0.87mA to MCU & RF is measured while powered from the battery. #current-consumption #b-l072z-lrwan1 #low-power #current Note: this post was migrated and contained many threaded conversations, some content may be missing.
As I said, I get the assertion "zigbee_app_info.colorControl_server_2 != NULL" failed error from a standard debug function in the code.I thought it could have something to do with this struct, which is a bit above it.struct ZbColorClusterConfig colorServerConfig_2 = { .callbacks = ColorServerCallbacks_2, .capabilities = ZCL_COLOR_CAP_HS, }I feel like it has to be something I have to add here because this struct is checked to be NULL, but I can't seem to find what it is I have to add.The place where the struct is set to something other than NULL is here:zigbee_app_info.colorControl_server_2 = ZbZclColorServerAlloc(zigbee_app_info.zb, SW2_ENDPOINT, zigbee_app_info.onOff_server_2, NULL, 0, &colorServerConfig_2, NULL);From what I could gather, this would allocate the space needed, but I guess something goes wrong and no memory is allocated.This error occurs every time I start a new project and add the color control cluster. So it happens even when I haven't added anything.
Do you have the updated version of material for STM32WB ZigBee intro workshop? the downloaded material is based on STM32CubeWB V.1.6.0 and most of them is not working with the current STM32CubeWB V.1.13.3.
Hello everyone,I work on a project with LSM100A whitch integrate an STM32WL55CC.I have an SDK available to start development and in this SDK, we can find debug information on LPUART 1 (PA2,PA3).For my project, i can't use LPUART1 so i have decided to use UART1 on PB6 and PB7. So i have modified SDK to transform LPUART1 configuration into UART1 config.I have this following result, only the first message is printed and in this first message missing the first letter.I have try multiple things and i think that the problem turn around interrupt but i don't have find any solution.I join my project if you want to understand better my problem.Do you have advice or maybe have you already meet this problem ?Thansk for your help,Best Regards,MLam,
I am trying to use CubeMX to set up an Output Compare Interrupt on TIM16 of STM32WB55. I do not want anything to go to an output pin I just want to generate an interrupt....Can someone tell me where I set the switch that allows this interrupt as I don't see it anywhere within the module under NVIC??? Secondly do I care about the Output Mode if I am not using an output pin??? (Not sure what Frozen means here if so)
I'm making BLE data read and write a program but several functions are unclear.Because there is an only one example regarding "ACI_Gatt_Update", I have difficulty understanding read and write gatt listed like the figure.what's the"Connection_Handle""Attr_Handle"?
I want to send ADC data to the PC using BLE.The ADC data is directly connected to the DMA,So, sending DMA data is also fine.Is there any example or source code for it?I'm using the Nucleo-WB55 board.
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.