Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, Unable to import projects from Example selector, I have installed latest CubeIDE It shows FW_WBA_1.4.0, But I can see only FW_WBA_1.3.1 in github or st.com Thanks KarthiG
Hi there,i am currently working on a BLE Customboard using a STM32WB55.The current setup allows for a 1 second long BLE Advertising, to transmit sensor data.After this second the device is going into STANDBY MODE using the tiny_lpm class: // from app_ble.c -> Callback when the HW_TIM has timedout after 1 second. static void Adv_Mgr(void) { aci_gap_set_non_discoverable(); UTIL_LPM_EnterLowPower(); } In the stm32_lpm_if.c i am doing the following to actually stretch the wakeup time to be several minutes / hours: void PWR_EnterOffMode(void) { /* USER CODE BEGIN PWR_EnterOffMode_1 */ HAL_RTCEx_DeactivateWakeUpTimer(&hrtc); if (HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, RTC_WAKEUP_COUNTER, RTC_WAKEUPCLOCK_CK_SPRE_16BITS) != HAL_OK) { Error_Handler(); } ..... The rest of the function as it is. Overall this seems to work quite nice since i am ending up with a power consumption of 0.6-0.7 uA which is matching with the datasheet.I wanted to clarify if the spikes
Can you give me an example where to acquire data from an ADC channel via DMA with triggered timer and send it via BLE Thanks
HelloI have CubeMx v6.11.1.Am trying to start a BLE_HeartRate project targeting P-Nucleo-WB55-Nucleo, and CubeMx is needing STM32Cube_FW_WB_V1.20.0This is not available at the ST website. Can you send me this or tell me how to create this project using V1.19?Thanks.Giri
https://github.com/leechwort/u8g2-stm32-example/tree/masterAny advises on opening this? I brought the needed Hardware Nucleo F401RE. However the latest IDE and MX are not able to read the project.What is the general advises and procedure to port between different STM32 MCU under HAL or LL? Is HAL easier than LL for porting between different 'relatively modern' MCU? If the project will be successfully open, what need to be done to port it from Nucleo F401RE to STM32WLE5JCI6? These two MCU are same ARM M4 series, right?Many thanks
The datasheet of STM32WL33KB states that the frequency bands 159-185 MHz, 413-479 MHz, 826-958 MHz are supported.However, the website mentions that "For greater flexibility, it supports wide frequency bands from 100 MHz – 2.4 GHz". Can I get some clarification as to whether 2.4 GHz is supported or not?
Hi All!We have a requirement to disable OTA updates either via hardware or by settings a fuse, this is due to the need for a low-maintaince, low-complexity, high-security method to prevent updates to those without physical access to the device.Is there a fuse or fuses that can be used for this purpose? Or maybe a PIN that can be used for this?We're looking to disable the OTA (aka FUOTA) for the STM32WLE5CBU6 which is listed as OTA capable in the datasheet.Thanks all! :D
Can anyone tell me how to do it without wasting days to simply compile a project from the repo:https://github.com/STMicroelectronics/STM32CubeWBalthough if I import any ìxample from stm32cubeide when I compile it tells me that there are missing libraries, the same thing if I import the IOC, in short it is impossible to work like this!!!!!!!!!!!I lose a lot of days!Can you give me a screenshot of the steps to follow!!
Hello. I am developing a BLE HID device using the STM32CubeWB MCU Firmware Package, but when I try pairing => disconnect => pairing, pairing fails. I have an implementation like this, is there a problem?We have the following data in adv_data, which should not exceed 31 bytes (we have confirmed Success) Appearance(3byte),Human Interface Device(3byte),swift pair(6byte), Local Name(9byte) Also, if I put a breakpoint before aci_gap_update_adv_data, I can re-pair successfully. (I guess that means the timing of aci_gap_update_adv_data is NG?) I would be grateful if you could give me an answer. Thank you.
Hello, where I can find info about STM32WB55CG (USB dongle) usage description and what Blue Tooth USB dongle can be used with STM32WB5MMG module ?
Hi I am testing with STM32WL55CCU6.When I use only uart1, uart1 works well.but when I use uart1 and RF(LoRa) send, MCU does not work.I coded that MCU transmit some message using uart to terminal per second.MCU continues to work fine.but I added some code that MCU transmit some data using LoRa to remote device per second.A message is output to the terminal a few times, then no more output,and the mcu does not work.I think there are some problem between uart and RF.Does your library 1.1.0 have some problem?Below are some part of my code.1. init MX_GPIO_Init(); MX_I2C2_Init(); MX_SUBGHZ_Init(); MX_USART1_UART_Init(); MX_USART2_UART_Init(); MX_I2C3_Init(); MX_RTC_Init(); MX_TIM16_Init(); /* USER CODE BEGIN 2 */ HAL_TIM_Base_Start_IT(&htim16); MX_SubGHz_Phy_Init();2. uart callbackvoid HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { if (huart->Instance == USART1) { loadReceiveConsoleData(uart1_data); HAL_UART_Receive
hi ALL I bought three stm32 Lora HF band sensor and gateway pack. I would like to communicate by connecting one gateway (nucleo-F746) and three end nodes (nucleo-L073) directly (no server, no site). Is it possible? And please tell me the example code. thanks.
Hello,I work on a simple config with stm32CubeMX with 2 endpoints on stm32wba54kgu6,Endpoint 1 with cluster on/off receiving command clientEndpoint 2 running as cluster temperature server.I use ZigbeetoMqtt coordinator.When i use router mode, i can discuss with stm32wba54 and it's run well.When i use end device mode, no answer. (tried with FFD and RFD)in 2 case, the join and interview is ok.Strange ??It's ok with thisAnd no respond at all with this (include basic cluster)
Good morning,I am trying to follow the RTC_LSI calibration example project for the P-NUCLEO-WB55.https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Examples/RTC/RTC_LSI/Src/main.cThe GetLSIFrequency function has a lineHAL_TIMEx_RemapConfig(&htim16, TIM_TIM16_TI1_LSI);However, TIM_TIM16_TI1_LSI is not defined in any of the source header files therefore it does not compileAny help much appreciated
Hello, I have a question about the internal antenna of the STM32WB55CGU6.First of all, does it have the internal antenna? And if so, what is the range of it? Thanks
Hey,I working on a project with the following goal: setup one central coordinator and let multiple sleepy end devices send sensor data periodically. For development I am trying to alter the code of the Zigbee_TempMeas_Client_Router/Zigbee_TempMeas_Server_Coord example projects, such that sending long strings is possible.The setup is the following:custom cluster with one reportable long string attributestatic const struct ZbZclAttrT ZclTemp_AttrList[] = {{MY_ZCL_DEV_LS, ZCL_DATATYPE_STRING_LONG_CHARACTER,ZCL_ATTR_FLAG_REPORTABLE|ZCL_ATTR_FLAG_WRITABLE,512, // custom sizeNULL, // callback{0, 0}, //no value range{1, 10}}};sleepy end devices run the servercoordinator runs the client and sends APP_ZIGBEE_Read_Temp_Attribute() request to the sleepy end devicesThe custom attribute is changed between each call of APP_ZIGBEE_Temp_Meas_Read_cb(). APP_ZIGBEE_Temp_Meas_Read_cb() is unchanged with exeption of the attribute and readReq.dst.nwkAddr = 0xFFFF;I configure the reporting similarily to the
Hi there,if i try to set my stm32wb55cg into standby, it seems to only work if the RFWakeupCLK is HSE-DIV1024void PeriphCommonClock_Config(void) { RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SMPS|RCC_PERIPHCLK_RFWAKEUP; PeriphClkInitStruct.RFWakeUpClockSelection = RCC_RFWKPCLKSOURCE_HSE_DIV1024; PeriphClkInitStruct.SmpsClockSelection = RCC_SMPSCLKSOURCE_HSE; PeriphClkInitStruct.SmpsDivSelection = RCC_SMPSCLKDIV_RANGE1; if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) { Error_Handler(); } }If i set the RF-WakeupClock to LSE it gives me:void PeriphCommonClock_Config(void) { RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SMPS|RCC_PERIPHCLK_RFWAKEUP; PeriphClkInitStruct.RFWakeUpClockSelection = RCC_RFWKPCLKSOURCE_LSE; PeriphClkInitStruct.SmpsClockSelection = RCC_SMPSCLKSOURCE_HSE; PeriphClkInitStruct.SmpsDivSelection = RCC_SMPSCLKDIV
Hi Team,Am designing a BLE module using STM32WB55CEU6 for an IoT audio streaming project. Can somebody please help me in verifying the RF portion of schematics and layout. We are using an IPEX connector on board for BLE antenna and the signal is connected as below from MCU to antenna connector. Is it fine?Also, I have referred layout design for dev board using the STM32WBB55 MCU and I found that for RF section there is no reference given in immediate layer ie: layer 2 for signal routed in layer 1. Whereas GND plane if given under RF section in layer 3 & 4. Even we are using a 4-Layer stack up so is it mandatory to follow same.?Best Regards,Vyshnav Krishnan
Hello, I need your kindly support for this application.I would like to do a code for the STM32WB5MM-DK where the Bluetooth have a service with the following characteristics:ServiceCharacteristic 1: Read and Notify a random number from 0 to 100 (later will be a resistive sensor, so an adc will be later implemented)Characteristic 2: Write from the phone a value that the board will later requiredWith the value from Characteristic 2, control a GPIO. In this case, I have made several project but I do not end to comprehend yet the whole STM32CubeMx program. So far, I know the following aci_gatt_update_char_value() /* Updates the value */But where is the code that I need to put the user function? Thanks in advance for the support
While attempting to identify an issue with reading and writing to emulated EEPROM, I have identified a bug in V7.0.0 of the X-CUBE-EEPROM source code.This was identified in the STM32WB version of `flash_interface.c` with `DUALCORE_FLASH_SHARING` defined. In the function `FI_WriteDoubleWord` on lines 97-104, the value of `ee_status` is correctly set to `EE_WRITE_ERROR` when a program failure occurs, however this is overwritten on line 104 with `EE_OK`.As a fix for this, I changed these lines to the following: Could this be addressed in the next release of this tool?
Hi,In my product, I use the STM32WB5MMG module as Bluetooth link with the rest of the product.The STM32WB5MMG module is configure as Client.But during the discovery procedure, I always go to :- SVCCTL_App_Notification -> case HCI_VENDOR_SPECIFIC_DEBUG_EVT_CODE -> case ACI_GAP_PROC_COMPLETE_VSEVT_CODE with BleApplicationContext.DeviceServerFound = 0. But I don't find any informations about the event code HCI_VENDOR_SPECIFIC_DEBUG_EVT_CODE (0xFF). Do you have some informations this ?
The following are the steps i am following to access ram2 (my Microcontroller documents - https://www.st.com/en/microcontrollers-microprocessors/stm32wle5cc.html) See the linker script ,how they have defined ram2 in my linker script they have defines as .RAM2_region . Now will go the code then find the function which i have to shift to ram2 will add before or after the function - __attribute__((section(".RAM2_region"))) . I am able to see the movement of the function from ram1 to ram2 but when i flash the code into my device its not working i mean the that particular function is not working .Can anyone let me know what mistake i am doing to access ram2 , if you can provide with example code it would be really helpful . Thank you
Hello. If I write the protocol stack to an address different from the original address, will the protocol stack work properly? The firmware I wrote is stm32wb5x_Ble_Mac_802_15_4_fw.bin, and I wrote it to 0x080B1000 when it should have been written to 0x080B9000. I don't have the actual firmware so I can't see how it works. I think the protocol stack isn't working properly. Is that correct? Or will it work properly even if I write it to the wrong address?
When I was debugging, I found that the program got stuck in SHCI_C2_BLE_Init, and it neither returned success nor failure.What is the reason for this? I correctly burned FUS and protocol stack when I confirmed, and the version also corresponds.
Any idea to open the MX and see how clock is setup?This project was created on TrueSTUDIO as reported in the error message (old_MX_IDE.jpg). Hit CONTINUE or MIGRATE give same error message (continue.jpg).Seem it says needing MX 5.3.0 and FW_F1 V1.8.0Many thanks
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.