Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hello I'm trying to follow an example from "STM32WB Workshop - 3 How to add BLE functionality", but on the step with adding the scheduler I have a problem. There is no such a files in my project (scheduler.c & .h). I was doing everything step by step like in the video, but after generating a code files were not created. I can just copy them from demo projects or github of stm32wb firmware package, but I want to understand what the reason of happening it. Thank you!
Hello!I would like to ask for some help in my STM32 Project.In this project I want to receive and process a BLE beacon message with a Nucleo F411 board and X-Nucleo-IDB05A2 Bluetooth Shield.The message came from a simple device without any in or out periphery.This is the device: And this is the data format of the message:I want to use beacon application of the X-Cube-BLE1 software pack.I read the message with an android application, but I come up against a difficulty in the parameterize of the code.I think, I have to write the device UUID in the eddystone_beacon.c, and I have to send the values to the terminal with the User_Process() fg in the app_bluenrg_ms.cI find sources where the microcontroller measure something and send data via BLE beacon to smartphones, but I need the opposite of thatMy project: I would be grateful if someone could help me!
Dear All,I am developing an application and I have reached a point where the device is trying to join LoRa.For testing purposes, the gateway is closed, so the device ends up consuming all the available bandwidth on all channels and it can no longer try to send a join request.What I want is to have this message somehow communicated to the CM4, in order to accommodate this issue there.What I have found so far is that the LORAMAC_STATUS_DUTYCYCLE_RESTRICTEDIs propagated until the LoRaMacMlmeRequest( MlmeReq_t* mlmeRequest)found in CM0PLUS/Middlewares/Third_Party/LoRaWAN/LoRaMac.c.I think that what I need to do is to somehow forward this information to the MlmeConfirm( MlmeConfirm_t *mlmeConfirm )I tried this:LoRaMacStatus_t LoRaMacMlmeRequest( MlmeReq_t* mlmeRequest ) { LoRaMacStatus_t status = LORAMAC_STATUS_SERVICE_UNKNOWN; MlmeConfirmQueue_t queueElement; uint8_t macCmdPayload[2] = { 0x00, 0x00 }; if( mlmeRequest == NULL ) { return LORAMAC_STATUS_PARAMETER_INVALID; } if(
I am using STM32CubeIDE Version: 1.9.0 and STM32CubeMX Version 6.5.0 under Win 10I am modifying the End Node example on a NUCLEO-WL55JC and I need to use the STM32Cube_FW_WL MCU Package.For compatibility reasons I need to use the Version 1.0.0 of the MCU Package (newer versions are a no go for me)During code generation, CubeMX automatically upgrades the MCU Package to the latest available release (1.2.0).Trying to avoid this, I selected under Software Packs -> Manage Software Packs the Version 1.0.0 but at the moment of generating the code it still uploads version 1.2.0... Any help is appreciated
Hello,Our Device will be going to very Highly Noisy Hazard Environment Industry, We want to make sure device will work in any situation, STM32WLE5CC is End-node with Lorawan and Multiple application functionalities like RTC, Display etc.In this environment, if Uart RX interrupt is enabled, then it may arise many unwanted interrupts, which can affect our device functionality.Could you please suggest us is above statement is true?Should we keep this Interrupt Disable in this environment?any other suggestion to keep device functionality safe in this enviornment.Thank You
I am using STM32WB Discovery kit for STM32WBB5MM MCUs for development. I've setup the board as a RFD, Centralized End Device. I can do MAC association with a Zigbee server just fine. However, it would stop sending data requests after 8 requests as shown below: [M0] [00000000.820][API] Scan Done - unscan channels 0x0 [M0] [00000000.516][API] Poll Request - g_MAC_SUCCESS_c State ! [M0] [00000000.524][PLATFORM] ZbZdoDeviceAnnce : Sending Device_Annce for 0xa708[M4 APPLICATION] ZbStartup Callback (status = 0x00) [M0] [00000000.579][API] Poll Request - g_MAC_SUCCESS_c State ! [M0] [00000001.079][API] Poll Request - g_MAC_SUCCESS_c State ! [M0] [00000001.578][API] Poll Request - g_MAC_SUCCESS_c State ! [M0] [00000002.078][API] Poll Request - g_MAC_SUCCESS_c State ! [M0] [00000005.579][API] Poll Request - g_MAC_SUCCESS_c State !&nbs
Note: I can use stlink to download programs to other boards.But p_nulceo_wb55 doesn't work well. I use an external stlink instead of the on-board stlink, the errors are same.I was learning Bluetooth, It would have worked well. After a while, an error has occurred. Is it because I have downloaded some program?The errors are as follows(use stm32cubeprogrammer :(the erros in stm32cubeide:
Brief: I am using cubemx to configure and generate code.MCU: stm32wb55rgvxfirmware package name and version: FW_WB V1.13.3Details:I am working on a project where the stm must act as a bridge between the PC and the device under test (DUT). We use the newtmgr tool on the PC to transfer/upload the firmware on the DUT via the stm at baudrate of 1MHz. For this, we are using two uarts on the stm i.e. USART1 connected to the PC and LPUART1 connected to the DUT. All packets received from the PC must be relayed to the DUT and all packets/responses received from the DUT must be forwarded to the PC.I have attached the .ioc file that shows how I have configured the two uarts to be used with DMA's. I'd like the DMA's to work in the following cyclic order since it's a request-response mechanism.Receive packet from the PC over USART1-RXRelay this packet to the DUT over LPUART1-TXReceive a response from the DUT on LPUART-RXRelay this packet to the PC over USART1-TXWith the above configuration, the tra
I'm trying to use the STM32WB firmware event callbacks defined in ble_events.h and ble_events.c but they don't appear to be working.According to the documentation in PM0271 revision 2 section 4.4 I should be able to use the event callbacks framework as an alternative to the switch/case event handlers.However when I implement the event, it never gets hit (tried both with and without the __WEAK attribute):__WEAK void hci_le_connection_complete_event( uint8_t Status, uint16_t Connection_Handle, uint8_t Role, uint8_t Peer_Address_Type, const uint8_t* Peer_Address, uint16_t Conn_Interval, uint16_t Conn_Latency, uint16_t Supervision_Timeout, uint8_t Master_Clock_Accuracy ) { Debug_print("hci_le_connection_complete_event called!"); }But in my switch/case events I do get the EVT_LE_CONN_COMPLETE event triggering.The version of the STM32WB firmware I'm using is 1.10.0and the firmware loaded onto my P-NUCLEO-WB55 development board is V2J37M26loaded with STM32CubeProgrammer v2.5.0.I did
Hello,I have a project which contains both: Bootloader (BL) and Application (App.)The BL is based on minimal devices without interrupts, mainly RS485 - and worked Fine!The App. is based on "BLE_PERIPHERAL_LITE" example by ST, with my additional freeRTOS integration - Also worked Fine!After Reset, the control is transferred to the BL then it Jumps successfully to my App. (which is located at address 0x08008000), most of the times App. initialization goes - Fine, and the App. is working OK!!However sometimes (20% of the cases) the App. initialization doesn't succeed and it stuck in endless loop, but do recover after IWDT timeout.Below please find my main() code, on 20% of the times, the App. performs the CPU2_Init(); procedure (at line#42) and then stuck at line#48 until next IWDT occur, then my App. successfully recover and RUN!!!My question are: What might cause APP_FLAG_CPU2_INITIALIZED and APP_FLAG_WIRELESS_FW_RUNNING, M0+ flags (at lines #44-45) to remain "0" after Reset, at 20% of
This device isn't connecting with the network that I have plan of connectivity LoRaWAN.When I open the serial connection I see that the information is being read as it should. However, the connection to the network it's just not working at all. I used the commands from the user manual of the device to get the LoRa keys, and I put those in the network using the OTAA activation. Done that, the device just print " Rx TimeOut ", and the network doesn't receive any data...I already tried different data rates, ADR on/off, change the keys... Just not work.If you know something or have some documentation more explicitly than the original one, please give me some answer.** Question moved @DSoar.2
I make a pcb board with stm32wb55rgv6, but my LSE doesn't work and this part of the circuit was accidentally destroyed in my soldering process. Can i just use HSE or LSI in replace of LSE in BLE application? And what's the limitations?
i modified the code for downlink turning on red led 3." case LORAWAN_USER_APP_PORT:"for my case port 99:to turn on led defined at PB1 which i defined.as this was the default code for digital output given by cayenne port 99.when i am gpio writing whenever channel 4 is comming its turning on. but if i read 3 byte its not turning on , i am confused the code is as follow. case 99: if (appData->BufferSize == 4) { AppLedStateOn = appData->Buffer[1] & 0x64; if (AppLedStateOn == RESET) { APP_LOG(TS_OFF, VLEVEL_H, "LED OFF\r\n");&nb
Hi,Am currently running optical character reading in NUCLEO-WL55JC2 with camera attached. I want to send the reading data to the Lora Dashboard. I connected another similar board for lora and sent the received data to lora and then to dashboard. I want to use singleboard which has to read the data from camera also it has to send the data to Lora dashboard. Is it possible to do with single board? can you help to solve this?Thanks,shankari
I chose Lora E5 Mini to get a sensor measurement. For my application, I do not need a gateway and connection to a server like thingspeak. I want to make two end devices communicate. I configured the device in ABP mode, set the Tx and Rx frequency and Data rate as shown in the screenshots. But I am not able to make them communicate.
Hello,I am having a problem with my P-NucleoWB55 development board. When using STMCUBEIDE and trying to debug, I get the following error.Failed to start GDB serverError in initializing ST-LINK device.Reason: (4) No device found on target.I also cannot connect using the STM32Cube Programmer. Any ideas what could be happening? It was working with STM32Cube Programmer before I tried it with Cube IDE...Thanks for any help.
Hi all, I want to do some tests to simulate "low coverage" conditions How could I quickly make the equipment transmit at less power? For example in the EU868 region limit to 10dBm instead of the 14dBm that is allowed, or in US915 to 20dBmn instead of the 22dBmBest Regards, Sergio
Hello every body,I got stuck in Flash programming of STM32WB55CEU MCU!!! and I can not find the problem.First. I implemented the stm32wb55 example FLASH_EreaseProgram on Nucleo board successfully and then I tried to port this simple program on my PCB.Ereasing working well, but it is not able to pass HAL_FLASH_Program. I mean it returns HAL_ERRORMy code:static uint32_t GetPage(uint32_t Addr) { return (Addr - FLASH_BASE) / FLASH_PAGE_SIZE;; } /** * @brief The application entry point. * @retval int */ int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* USER CODE BEGIN SysInit */ /* USER CODE END S
Hello!I need to consider the best BLE stack firmware for production and its release provided by STMicroelectronics.Is there some long term version or some release that have long term support status?Are there some plans in BLE stack firmware development that I need to consider in our production plans?Which version of BLE stack release would be the best choice for us? During last year, ST published several releases of BLE stack binaries. What I need to consider choosing BLE stack version? I am using BLE functionality of STM32WB55VG on Zephyr RTOS.Now I'm using stm32wb5x_BLE_HCILayer_fw.bin, because with stm32wb5x_BLE_Stack_full_fw.bin I had some problems, and during tests the first worked better than others.
Hello,I am using STM32WLE5CC for my project of Lorawan FUOTA Project. I wanted to do FUOTA task with my application, but I think, there would be issue of size. According to FUOTA document, Firmware max size is 84kB, and When I compile only Generated Lorawan Code (on application code added), its size is around 65kB in Optimize level 1. So only 19kB space is available for other code, which is very les for a product to develop, again Lorawan Multicast and Timing Module is not enabled in this firmware, which also consumes memory.I need at least 35kB for my custom application code.So, how could I achieve FUOTA, in my application, is there any way to reduce Lorawan stack size or any other Lorawan Library for lowering Memory footprint.Thank You
I''m working on STM32WL55 series microcontroller and I want to use KEIL IDE,Please let me know does keil support STM32WL55 for FREE
Hello guys,I was inspecting the design files of the Nucleo board and could not understand the use of the capacitor used for the TCXO. In the image attached (nucelo design schematic file), a note says that the C31 is used in order to avoid stubs on XTA path when the same capacitor is not placed. I don't understand what it means, could someone help please?
Hello,So I already downloaded the Lorawan_End_Node example into my Nucleo board and I could see how it works with the TeraTerm terminal.However, now I'm trying to generate a new code from the .ioc file with the CubeMX (I only added the debugger option and defined regional configuration for EU868). I had some problems in the beginning because it seems that the CubeMX does not generate the BSP driver files (I read this in another question in this forum). So I coppied the BSP folder into my drivers folder of the project and added the ".extSettings" with the modified path to this same drivers folder in the project. Now the project could be built and downloaded/debugged.Can anyone confirm if this was well done?Anyway, this seemed to make the trick, but the code does not still work. When I run it into my board the code stops working before ending the first try to join. See next image:The join failed message never appears and the code is stuck at here: It seems it is waiting for an inter
..
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.