Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Learning how to use the STM32WB55RG alongside the 'Mastering STM32' by Carmine Noviello. I followed the instructions for setting up interrupts to use the NUCLEO hardware buttons, but when I build, I get a warning that 'HAL_GPIO_EXTI_Callback' defined but not used [-Wunused-function]. I have pasted some snippets of my code to help. I have added toggling the state of an LED to the Handler functions to ensure they are being called. What seems to happen is that the __weak function is called, despite me placing a definition of the callback in main... any help is appreciated.EDIT: I should also mention that the interrupts do not work, the callback is not called as per the warningstatic void MX_GPIO_Init(void) { GPIO_InitTypeDef GPIO_InitStruct = {0}; /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOC_CLK_ENABLE(); __HAL_RCC_GPIOB_CLK_ENABLE(); __HAL_RCC_GPIOA_CLK_ENABLE(); __HAL_RCC_GPIOD_CLK_ENABLE(); /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOB, LD2_Pin|LD
Hi,Is there any way to put STM32WB to stop1 mode, without using sequencer, while BLE advertising is on? I know how to enable stop1 and I know how to enable advertising. But how to combine it? I'm exploring the BLE_Peripheral_lite sample. In BLE_HearRate sample I see that sequencer can put MCU into stop1 mode, but how to do this without sequencer?
Hi,I'm using STM32WB5MMG and want to send 8-bit data through BLE every specified duration (e.g. 1s). I have tested the Bluetooth and timer interrupt separately and both works fine. However, when I tried to trigger the Bluetooth using timer interrupt as shown in the following code, both stop working.The error is:
Log output file: C:\Users\ASHSIR\AppData\Local\Temp\STM32CubeProgrammer_a10808.logST-Link Server is running on port : 7184ST-LINK SN : 3A2C0A0011145243574D4E00ST-LINK FW : V2J37S7Board : --Voltage : 3.18VSWD freq : 4000 KHzConnect mode: Under ResetReset mode : Hardware resetDevice ID : 0x497Revision ID : Rev YDevice name : STM32WLxxFlash size : 256 KBytesDevice type : MCUDevice CPU : Cortex-M4BL Version : 0xC4Memory Programming ...Opening and parsing file: ST-LINK_GDB_server_a10808.srec File : ST-LINK_GDB_server_a10808.srec Size : 36.83 KB Address : 0x08000000 Erasing memory corresponding to segment 0:Erasing internal memory sectors [0 18]Error: failed to erase memoryError: failed to erase memoryEncountered Error when opening C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE\plugins\com.st.
Good morning everyone,I'm using NUCLEO-WL55jc1 board and STM32CubeIDE 1.10.1. The case is that before creating a new second project, the ST-LINK V3 was detected and everything worked properly. However, currenly, when I want to debug the program I get this message (even with the first project I have, LoRaWAN_End_Node example).I hope someone could help me.Thank you very much,Carlos
Dear all,How can we generate a 40 KHz signal based on LSE (32KHz crystal)? If I Feed the HSE 32MHz / 32 to run the either LPTIMER's would it be still in low power?Thanks,mmsya.
..
Hello everyone. I am using openthread with stm32wb55 processor in one of my projects. I have a related question. I cannot make the number of children connected to the leader or the router more than 10.I am using the childmax11\r command.OPENTHREAD_CONFIG_MLE_MAX_CHILDREN in the software this value was equal to 10, but changing this value did not work. What would be the reason?
Hi,My 1st post here, so please forgive me if I'm posting this in the wrong category.2nd disclaimer, I'm predominantly a HW engineer, so I have a limited amount to SW experience.I've been trying to put together a OT border router application on a BeagleBone Black, using the P-Necleo-WB55 board programmed as a RCP.My intention is to build a border router (and other products) using the STM32WB5 modules.I followed the OpenThread instructions to setup the BBB Debian installation, with the only difference being that I interfaced the BBB to the RCP directly via a UART interface. Naturally, I am struggling to get it working.I've managed to see UART traffic from the BBB platform, but have not been able to get any UART communication with the STM32WB55.I also looked into this ST article on how to setup a border router, where the author comments that one can connect to the STM32WB55 board to a hyperterminal to view the RCP logs:Connect one HyperTerminal (ST_Link) to be able to get the RCP running
I've read all topics regarding this error on the forum but nothing helped. The borad connected to Arduino connector is USI® WM-SG-SM-42. Projects build succesfully and connect with the board through ST-Link v3. This is the output I get when debugger and low power work is not enabled(set to 0):STMicroelectronics ST-LINK GDB server. Version 6.0.0Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled
HelloI am trying to implement low power mode with STM32WLE5 MCU (as a part of RAK3172-SIP).However, the current consumption is unreasonably high.I measure around 200uA with 3.6V and around 150uA with 3.3V.Did many tests with different configurations, checked the RF switches. I use TXCO, but even if I run with internal clock - no changes. Debug mode is disabled.How can I debug it further?I even tried to go into Stop2 mode directly before HAL_Init() - still the same 200uA (at 3.6V) consumption. So even before all periphery is initialized I cannot get the lower consumption.I did similar test with Wio-e5 module just to check that the HW is not an issue, and there I 've got around 300uA (at 3.6V). So I have no questions to HW.Regarding the HW, there I have one 100k resistor to BOOT0 to GND and one 100k pullup to nRST. The rest is caps and inductors for supply lines, nothing else is connected to the module.I was thinking this is because of SMPS - but I checked that it is not running in
Hi guys,Do you ever had a thought about making the CoPro firmware opensource and allow the community to participate the development? I see that the progress in maintining the Thread protocol is quite slow compared to the Openthread main repos, also some bugs I found during development could already be closed by myself if I only had the CoPro sources. For example, a problem on the DNS subsystem is in your github issues page since 1 month, maybe I can had solved that problem in the meanwhile and share the solution with other guys. I'm not questioning about the delay, I can understand that not all developer in ST can work on every topic. This is the exactly reason why I'm suggesting the opensource approach.BestAlessio
Hi I'm trying to create a new project from an .ioc file and I get 2 errors, first the "code generation could not be done most probably because the neccessary firmware package is missing, not able to complete stm32Cube project creation" then as suggested I use the "project>Generate Code" tool to complete the code generation. The files looks fine but I cant build the project, when I see the project propieties I notice that there are no buidlers added. When I create a new blank project using the same MCU part the builders are added with no trouble and the project can be build. the project from where I get the .ioc file is in this repo. What am I doing wrong? could it be a linux related error since I'm using Ubuntu 22?
I am writing a driver for the STM32 to get the data from the front-end board, AD5940 using the SPI communication. I am using the AD5940 library available at the : https://github.com/analogdevicesinc/ad5940lib.STM32WB55xx has been used. I have configured the SPI clock to the < AD5940 clock speed. Added the SPI and CS pin configuration in cube mx. whenever I am trying to read the chipid, I am always getting ffff. Also, When projecting the MISO line on the digital analyzer, observing the miso line stays high always. Please find the cubemx main.c file for reference:
In my application, I receive a message from LoRa and intend to transmit it via UART1 which is set to PA9 and PA10. However, when I check the UART RX using a logic analyzer, I do not receive anything.I have tested the UART1 alone in a simple project, and it works fine. But, when I integrate UART1 into the SubGHz_Phy_Per and STM32WL-SubGHz-PhyBasic-Tx-Rx examples, it does not work.I have added HAL-UART to the OnTxDone function, main function, and other parts of the code, but the issue persists. Can someone please suggest a solution to this problem?#[UART/USART] #LoRa #STM32WL
Some of our devices stopped working properly. We can see an advertisement, however the advertisement does not contain a device name. Furthermore, it is not possible to connect to the device. The interesting part is, that the device seems to be broken permanently. No matter which firmware is flashed, the device does not recover. Even the ST provided examples do not work. However, other devices which are not "broken" work fine even though the same firmware is flashed (which does not work on the "broken" device).We made sure that all firmware files are the same on the devices (user FW, FUS, BLE stack). However, still there are devices which work with this firmware setup and devices which do not work. We tried with BLE Stack v1.13.3 and v1.15.0.My question to you is the following: Do you know of occurrences where a user firmware change on CPU1 broke the BLE module? Do you have any suggestions how we might fix this issue? Best regards and thank you, Levin Messing
If server1 is connected to the client and when I try to connect with server2, will server1 still be connected?because once 2 servers are connected I am not able to GATT Write attribute to an individual server.I am able to write only newly connected server only.I am using "aci_gatt_write_without_resp" to write even if I change Connection_Handle parameter also I am not able to write to server1. Thank You.
I want to get data from Bluetooth module to main MCU via Rx Tx (Like HC-05 communication with Arduino). if you have any answer to communicate with STM32WB5MMG Bluetooth module without any firmware development or if you have any example code to upload to STM32WB5MMG and get data from it as serial please let me know.
I have been trying to have the STM32WB55 save the OpenThread network information after joining the network, so that it can automatically join it upon power cycle. After joining the network through the commissioning process, I call SHCI_C2_FLASH_StoreData(THREAD_IP), but it doesn't seem to save the information in flash memory. I show the code snippet that calls the function in the Joiner handler below:static void APP_THREAD_JoinerHandler(otError OtError, void *pContext) { if (OtError == OT_ERROR_NONE) { SHCI_C2_FLASH_StoreData(THREAD_IP); OtError = otThreadSetEnabled(NULL, true); if (OtError != OT_ERROR_NONE) { APP_THREAD_Error(ERR_THREAD_START, OtError); } APP_DBG("JOIN SUCCESS!"); } else APP_THREAD_Error(ERR_THREAD_JOINER_CB, OtError); }
Is there any way to erase 32bytes in flash?
I am trying to use the following well written example to have two boards communicate using GFSK:sub-GHz FWMy code compiles error free up to the Example Application section. If I then replace my main with the GFSK main on github. I get the following error. I have verified that the project properties in the compiler section for the include paths are correct. When I double click on the error I go to it in radio_driver.c, hitting F3 jumps me to the #define in radio_conf.h. I then place cursor her on the line over UTIL_MEM_set_8 and hit F3 but I jump to nowhere. The interesting thing is at the top of this file is #include stm32_mem.h and if I hover on it and hit F3 and go into it the declaration exists AND the stm32_mem.c contains the function definition just fine.Can anyone tell me what I might be missing here??Thank you
Hi, on P-NUCLEO-WB55 board, the VREF+ pin is connected to VDDA which is the analog power supply. See the picture.My understanding is that this pin is an output when the internal VREF (2.048V or 2.50V) is used. Does this connection mean the use of internal VREF is disabled or the pin/device might be damaged due to contention? Thanks. -wq
Hi I'm looking for a wifi opencpu soc with 2*UART and I2C with SD card support.Can you Please sugggest me an IC
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.