Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I'm trying to create a Makefile-based project for the STM32WL55CCUx microcontroller but it's not possible.Why is it disabled? Is there a workaround?Thanks in advance.
Hi, I have a small problem with the zigbee strack i hope someone could give me an direction for.When I boot up I get an error just after it initialized the CPU2(M0).static void APP_ZIGBEE_StackLayersInit(void){ APP_DBG("APP_ZIGBEE_StackLayersInit"); zigbee_app_info.zb = ZbInit(0U, NULL, NULL); <<<--- seems to return 0,0,0,0However IPCC seems to work since it communicates the version nr etc.
Hello,While using the RTC_BKP registers with HAL_RTCEx_BKUPWrite seems all right, the definition of the registers in stm32wb55wxx.h are not. Maybe they should not be present, or they should be fixed, but having symbols defined that do not lead to what their name suggests doesn't look right to me./******************** Bits definition for RTC_BKP0R register ****************/ #define RTC_BKP0R_Pos (0U) #define RTC_BKP0R_Msk (0xFFFFFFFFUL << RTC_BKP0R_Pos) /*!< 0xFFFFFFFF */ #define RTC_BKP0R RTC_BKP0R_Msk /*!< RTC backup register 0 */ /******************** Bits definition for RTC_BKP1R register ****************/ #define RTC_BKP1R_Pos (0U) #define RTC_BKP1R_Msk (0xFFFFFFFFUL << RTC_BKP1R_Pos) /*!< 0xFFFFFFFF */ #define RTC_BKP1R RTC_BKP1R_Msk /*!< RTC backup register 1 */ /******************** Bits definition for RTC_BKP2R register ****************/ #define RTC_BKP2R_Pos (0U) #define RTC_BKP2R_Msk (0xFFFFFFFFUL << RTC_BKP2R_Pos) /*!< 0xFFFFFFF
We watch "HCI_DISCONNECTION_COMPLETE_EVT_CODE" event in "SVCCTL_App_Notification" function. When use DC power supply for STM32WB module, there is no problem. Our STM32WB application can receive "HCI_DISCONNECTION_COMPLETE_EVT_CODE" message from BLE stack if Central device (Android OS) disconnect BLE connection or STM32WB cannot receive signal from Central device. And the BLE connection can keep stable for a long time. But when we use battery power supply for STM32WB module, there will be problem sometimes. The BLE connection is unstable. Central device usually lost the BLE connection with STM32WB and our STM32WB application also cannot receive any "HCI_DISCONNECTION_COMPLETE_EVT_CODE" event. We have confirmed that the battery still have enough power, the current and voltage of STM32WB seems no problem. And the STM32WB application running on CPU1 still work correctly.
I downloaded the STM32WB MCU Fw pack through https://github.com/STMicroelectronics/STM32CubeWB.git. Then, I used STM32IDE v 1.10.1 to compile BLE_HeartRateFreeRTOS project. It is complied successfully. Then, I used Device Configuration Tool to update the Pins for USART1 to PA9 and PA10 by accessing BLE_HeartRateFreeRTOS.ioc in the IDE. Besides this change, I had no other changes in Device Configuration Tool. After I saved the change, the code was automatically updated. However, when I complied it again, it shows a lot of errors as the attachment. I do not expect the change of Pins configuration will cause the whole project fail to compile. I also attached the git diff after the Device Configuration Tool change the code for the analysis.Any comments are welcome!Thanks!
Hi guys, I am using HSDatalog (v.1.4.0) with ST BLE Sensor App (4.16.1). I found one issue that the SensorTile.box FW got stuck if I click Start/Top too fast in ST BLE Sensor App. I did some debug and found it got stuck in the following code in hci_tl.c. Then, I tried to increase HCI_READ_PACKET_NUM_MAX, which does not solve the problem either. static void free_event_list(void){ tHciDataPacket * pckt; while(list_get_size(&hciReadPktPool) < HCI_READ_PACKET_NUM_MAX/2){ list_remove_head(&hciReadPktRxQueue, (tListNode **)&pckt); list_insert_tail(&hciReadPktPool, (tListNode *)pckt); }}Does anybody know how to solve this issue? Thanks!BR, Yong
Hi,Once I flash the base firmware(STM32cube_FW_WL_V1.0.0) in the RAK3172 module, I view the serial print. It displays Europe frequency… then I open the firmware(STM32cube_FW_WL_V1.0.0) and check the file named lora_info.c… in the file Europe and US regions have been enabled.Therefore, I will command Europe and the US region, then I will un-command the Indian region in lorawan_conf.h.Then I run and flash it in the RAK3172 module.Nonetheless, I am faced with this error.ERROR: Region is not defined in the MW: set lorawan_conf.h accordingly.If I need to add any configurations or parameters to lorawan_conf.h?Please guide me on how to resolve this problem. I attached the screenshots belowThank You
..
Hi, there:We need to change the Number of Conversion of the ADC during the run in STM32WB MCU. It is configured with multiple channels and with DMA.(1) Can we just de-initialize the HADC and re-initialize a new one? Will it affect the interrupt and DMA?(2) Can we just modify the SQR1 register as following (in stm32wbxx_hal_adc.c)?MODIFY_REG(hadc->Instance->SQR1, ADC_SQR1_L, (hadc->Init.NbrOfConversion - (uint8_t)1));Thanks for help in advance.-WQ
Hi,I have a question related to the working principle of RTC in the LoRa middleware I-CUBE-LRWAN and STM32CubeWL.I'm working on the firmware for custom boards based on development boards both B-L072Z-LRWAN1 and the more recent NUCLEO-WL55JC1.My projects should work for years on LoRaWAN public network and I noticed a comment in the user manuals about the duration (48 days) of RTC both LoRa middleware. Here in I-CUBE-LRWAN (UM2073)and here in STM32CubeWL documentation (AN5406)What I observed looking at the firmware (example End_Node, TX_ON_TIMER) is that RTC is configured in free-running mode using binary mode. Default configuration has LSE activated and it is clocked at 32.768 kHz. This means that each second we have an increment of 32768 units in the 32-bit RTC free-running counter register that is used to timing the LoRa stack and alarms (and wake-up the machine from low-power modes). Moreover, after around 48 days we have the overflow of this 32-bit RTC free-runni
Hello,I want to advertise custom data in beacon mode using UUID, Major and Minor Value. In my understand It is not available to change those value when the beacon is working. Because UUID, Major and Minor will be set when beacon starts.Is there way to change UUID, Major and Minor value when beacon mode is working?Or Is there a way to use BLE to advertise custom data that I can change when I want? Thank you.Regards,Oh.
I read in this document about the concept of BLE slot allocation. I experimented with 5 STM32WB boards, one as master the four as slaves), and encountered an error I didn't understand.The master issued `aci_gap_create_connection` to each of the four slaves with the following parameters:Common parameters:LE_Scan_Interval: 96 (which means 96 * 0.625 = 60 ms)LE_Scan_Window: 96 (same as above)Conn_Interval_Min: 48 (48 * 1.25 = 60 ms)Conn_Interval_Max: 48 (same as above)Conn_Latency: 0Slave1:Minimum_CE_Length: 0Maximum_CE_Length: 0Slave2:Minimum_CE_Length: 14 (14 * 0.625 = 8.75 ms)Maximum_CE_Length: 14Slave3:Minimum_CE_Length: 28 (28 * 0.625 = 17.5 ms)Maximum_CE_Length: 28Slave4:Minimum_CE_Length: 43 (43 * 0.625 = 26.875 ms)Maximum_CE_Length: 43If I understand the document correctly, the first connection (to slave1) will make the anchor period 60 ms, and the subsequent connections won't change that as Conn_Interval_Min and Conn_Interval_Max are the same for all connections.All four connecti
Details in the SECoreBin/readme.txt file for the STM32WB code says that the MCU needs to be booted with PH3-BOOT0 pulled high in order to program the Authentication Key. I can't find any other documentation that indicates that this is true. Does the MCU only need to be booted into System Memory to do this? We haven't gotten far enough with our bootloader design to test the key, but we need to finalize our HW design.
Hi,is there any option to set different tx power level (aci_hal_set_tx_power_level) when device is connected and is still advertising in background? My goal is to set minimum tx power level for advertising and maximum for connection, when both states are working simultaneously.Best,Mateusz
I expirence very strange behavior on STM32WB. After 6 connect/disconnect sequences, CPU2 stops working. I'm not receiving any IPPC interrupts. Last event I get, before CPU2 stuck, is ACI_ATT_EXCHANGE_MTU_RESP_VSEVT_CODE. I tried to call hci_reset function and then reinit BLE stack, but it didn't help. Anyone has any idea what can cause that problem?
On the website I can only download the latest version (2.1.0 in this case)We are working on a project that uses version 1.3.0 + our custom changes and we want to get version 1.3.0 to differentiate the original from our changes
I've been doing some current draw analysis of our product and I am trying to get the best idle current that I can get. We have a mode where there is no BLE connection and no advertising. Essentially no BLE communication at all. In this mode I would like to stay in STOP2 mode for as long as possible. I am using the STM32 Power monitor to observe the current draw behavior and I am seeing what looks like CPU2 waking from sleep every 2 seconds, even though there is no connection and no advertising. Is there a way to stop this? I am using v1.13.3 of the BLE stack.
Hello,I used a GFSK configuration with 433MHz and it is work very well,I try now to migrate to Lora modulation. i used a basic config, but the receiver on the other side receive less then 1% of sent frames ! (even transmitter and receiver are very close)is anybody has advice to improve communication ?
I am trying use the stm32wb15cc to run an application on CPU1, but with no application in CPU. I don't need the RF side at all and want to hold CPU2 in reset and allow CPU1 to access all the Flash and Ram.However this does not seem possible as Option Bytes are set to reserve parts of the flash and RAM 2a and 2b, so I have limited access. Apparently these bits can only be reset by CPU2. I tried using the Cube Programmer, but it was not able to change these bytes.Is it possible to clear these bytes in some manner? Or can ST provide a binary for CPU2 that removes the security or just reduces the RAM lock to just the last 1KB of each region?
I attended the Tuesday Sept 7th session of the lorawan-with-stm32wl-soc-workshop-ame-2021 I was unable to complete the workshop during the allotted time. I would like to complete the training. Are the videos available?
Hello,we are developing an application with LoRaWAN and FreeRTOS, based on STM32CubeWL, for a custom board.While we got this to send data properly with the LoRaWAN "End Node skeleton", we are facing issues with the "User defined skeleton".With "User defined skeleton", join and sending works the first time, but further calls to `LmHandlerSend(…)` error with `LORAMAC_HANDLER_BUSY_ERROR`, because in LoRaMac.c `MacCtx.MacState` is `LORAMAC_TX_RUNNING`.While this might be similar to question 0D53W00001aJT8eSAG in this forum, we already tried increasing the stack sizes with no success.Instead, repeated sending works properly if we set `DISABLE_LORAWAN_RX_WINDOW` in lorawan_conf.h to 1. That is with "NVIC/SUBGHZ Radio Interrupt" enabled in the IOC. But we want to use RX functionality as well.Any help is greatly appreciated.
Hi all,I have recently started working on B-L072Z-LRWAN1 for understanding the LoRaWAN protocol.I am using icube lrwan software for example code.I was able to build the code successfully.But when tried to flash the code using openocd,i am continuously getting following error.Please see the attached image for reference to check if all required jumpers are connected or not.Thanks."Open On-Chip Debugger 0.11.0+dev-00449-g53fa0f7 (2022-06-09-09:40) [https://github.com/STMicroelectronics/OpenOCD]Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlInfo : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connectionsInfo : STLINK V2J40M27 (API v2) VID:PID 0483:374BInfo : Target voltage: 3.254104Error: init mode failed (unable to connect to the target)0"
I'm working with STM32CubeWL, version 1.1.0. Starting a new project from .ioc file seems that the firmware will be upgraded to the version 1.2.0. Is this correct? Can I find, somewhere in the source code, the firmware version?Can I avoid this behavior? The built project compile with error (fatal error: stm32wlxx_nucleo_radio.h: No such file or directory and similar).Starting a new project from .project file (C:\Users\fabrizio\Downloads\STM32Cube_FW_WL_V1.1.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN\LoRaWAN_End_Node\STM32CubeIDE). On this case, the project can be built without error. F.
HiI am trying to install STM32CubeWB from STM32CubeMX by following YouTube "STM32WB Getting Started Series: Part 3, Tools Install". After clicking "INSTALL/REMOVER" button, I got message "The Updater is already in use and checking the server. Please retry launching the Update after a few seconds."I use my home internet. There isn't any proxy server on the way. Any tip to solve the issue?Thanks in advance!Nancy
I am trying to build an embedded provisioner for the stm32wb5m, but i am not able to find an unprovisioned device.I am using the example "BLE_MeshLightingProvisioner" for the WB55 nucleo Board as reference.The Initialization of the STM32WB and the communication between the cores is done.The init of the library:void MESH_Init(void) { BLEMesh_BleHardwareInitCallBack(&user_ble_cb); BLEMesh_Init(&BLEMeshlib_Init_params); Appli_CheckForUnprovision(); Appli_StartProvisionerMode(1); } The function "BLEMesh_Process();" is called every 1ms like in the example.The function "BLEMesh_GetNeighborState(NeighborTable,&NoOfNeighborPresent);" does not get any unprovisioned devices.If im trying to provision the device it works and it will show the device in the ST app, so the library works, but what am i missing?For the unprovisioned device im using the "BLE_Mesh_ThermometerSensor" for the STM32WB5MM-DK.library version 1.13.005
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.