Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Follow Lecture : WB Bluetooth mesh - 7 Lab 1: Creating Bluetooth Low Energy project STM32WBMMG-DKHello, I am a student who recently started the low power Ble project.I bought a nucleo-wb15cc board and am working on the project. After reading this lecture, I followed all the courses of the lecture.The build was successful without a problem, but Bluetooth is not recognized by the phone.I think it's because the chip used in the lecture is different from the chip on my board.Is there anything I should be careful about when I follow the project with nucleo-wb15cc?
CubeIDE : 1.7.0CubeMX : 6.3BSP : 1.12.1chip : STM32WB55I'm using the internal RTC of the STM32WB55. When the MCU is running the RTC works normally : the calendar can be set and the time is running correctly. When i shut the MCU power down (but still have the VBAT up), and turn it up again, the calendar of the RTC is reset. I have cleaned the init generated by cubeMX and tried to use a light initialization (NVIC and clocks) when the backup register flag is set but nothing worked:static void MX_RTC_Init(void) { hrtc.Instance = RTC; hrtc.Init.HourFormat = RTC_HOURFORMAT_24; hrtc.Init.AsynchPrediv = CFG_RTC_ASYNCH_PRESCALER; hrtc.Init.SynchPrediv = CFG_RTC_SYNCH_PRESCALER; hrtc.Init.OutPut = RTC_OUTPUT_DISABLE; hrtc.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; hrtc.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; hrtc.Init.OutPutRemap = RTC_OUTPUT_REMAP_NONE; if (HAL_RTC_Init(&hrtc) != HAL_OK) { Error_Handler(); } )RTC config : What should I have in my MX_RTC_Init() ?Thanks,
Hello everybody, I am working with a stm32wb55 and in my application I need to send the microcontroller to sleep for 5 second, wake up, perform some actions and go back to sleep.I send the micro to sleeomode using the function HAL_PWR_EnterSLEEPMode and then I use the RTC wakeup to exit the sleep mode.However, I also need to trigger an external watchdog every 200ms, and to do this I set TIM2 to generate an interrupt every 200ms and send a pulse to the external watchdog. The problem is that, due to the interrupt generated by TIM2, the system exits sleepmode every 200ms and I want to avoid that. ideally, I would like to send the micro to sleep and keep the TIM2 active without waking the system up.Is there any way to do that?Thank you.
Hello,I am trying to develop an application with STM32WB55 that checks the sensor status every 500ms and goes into power saving mode set as STOP2. The datasheet mentions that the wake up time is only about 6us. So I expected the wake up time to be very optimized. But with the test and power measurement, I get a total wake-up time of about 250us (shown in chart 3), which is very long. I tried several clock configurations to get the most optimized power consumption possible.The measurements are made with the X-NUCLEO-LPM and the STM32Cube Monitor-Power Tool.Do you have any idea how to reduce it?
What parameters of 'aci_gap_set_authentication_requirement' are relevant for client side?What can I set the irrelevant parameters to?tBleStatus aci_gap_set_authentication_requirement( uint8_t Bonding_Mode, uint8_t MITM_Mode, uint8_t SC_Support, uint8_t KeyPress_Notification_Support, uint8_t Min_Encryption_Key_Size, uint8_t Max_Encryption_Key_Size, uint8_t Use_Fixed_Pin, uint32_t Fixed_Pin, uint8_t Identity_Address_Type )Thanks
Interrupts or functions that iBeacon-Server can check for every ad cycle
Hello,Working on a custom BLE server (peripheral role), I face a trouble exporting the working sources from a Nucleo project (STM32WB55) to a custom board (STM32WB55) project.Everything is working fine on the Nucleo: advertissing, connection, bidirectional communication etc...On the custom board, the BLE master sees the advertissing slave, but there is no way to connect to it. It fails connecting!2 softwares were used on the Master side: ST BLE Toolbox and nRF Connect. Both give same results.The nRF connect show an additional log error 133(0x85): GATT Error.The custom board does not implement LSE crystal. HSE is used instead. I follow this URL but cannot find CFG_BLE_LSE_SOURCE in BLE configuration.(community.st.com/s/article/configuring-stm32wb-for-bluetooth-le-without-an-lse-crystal). I was expecting a trouble from this point, and found several ticket on the knowledge base, but no one have solution:- community.st.com/s/question/0D50X0000C3BaK3SQK/migration-from-nucleo-to-my-own-board
Using:CubeMX 6.6.1FW package STM32Cube FW_WL V1.2.0Goal:From an IOC file, pressing generate in CubeMX generates 2 projects, each with their own main file. Each project can be compiled separately, and then joined during debugging (or linking externally), similar to how the hardware semaphore example is.Current behavior:Code is generated as a single project as seen in single-core MCUsThank you
Hello, I created a new project with STM32WB. I try to build a project but receive many errors for drivers. If I correctly understand I need to install drivers separately from - STM32Cube_FW_WB_V1.14.0?
IN STM32WB55 touch sensing features, at which range of capacitance value touch sensor can be used?It say few picofarad, do any exact capacitance range for proper working?if i use a dedicated touch sensor with 100pf nominal value do it will work?
Greetings,can you please tell me where can I find the version history for the STM32CubeWL Release v1.2.0?Latest version on GitHub is for v1.1.0.Specifically, changes in the "radio_ex.h" and the related files since your examples on the GitHub repo don't work with the v1.2.0 of this file.When will the repo be updated?Best regards,Domagoj
ADS_DRDY_Pin is PC11. When I change GPIO_MODE_IT_RISING to GPIO _MODE_IT_FALLING, my ble server can not work normally. Rising is ok, but I can't find my ble device(in falling). Thank in advance.
Hello guys, I am trying to make a P2P LoRa Communication with SubGHZ_Phy SDK. I have two boards, one is STM32WL dev. board and RAK3172 Custom Board.When I use SubGhz SDK STM32WL works but with RAK3172 problem appears for (TxTimeout). What is this? How can I solve it_?
A new version of STM32CubeMonitor-RF has been released to: Fix an issue with Bluetooth® Low Energy TX PHY menu in RF tests .Update 802.15.4 sniffer firmware software.Correct the detection of Bluetooth® Low Energy firmware version: Some versions not identified by the tools.https://www.st.com/en/development-tools/stm32cubemonrf.html
Hello. I try to use I2C bootloader of STM32WB and it can't connect. I use board NUCLEO-WB55.USBDongle, STLINK-V3SET and STM32CubeProgrammer. I2C: 100KHz Speed mode: standard, addres 0x50. NUCLEO-WB55 I2C pins PB6 PB7, SB6=close, SB2 = open, SW2: BOOT0 = 1.Every time I get: Error: ST-LINK error (BRG_I2C_ERR) . See Log file in attachment. I cheked I2C line and finde that there is only one addres byte without "ACK signal". The board doesn't recognise own slave address. Same result is with board NUCLEO-WB55.Nucleo.Do I use wrong I2C slave addres ?I tried USB and UART bootloader on NUCLEO-WB55 and it was successful.I olso tried I2C bootloader on the board STM32L476 Discovery MB1184, it was successful too.Pleas help me with I2C bootloader STM32WB.
Hi Team,By using STM32WB55RG , SPI1 is connected to LCD and is working fine and SPI2 is connected to external flash memory, It is not working.Note- Same flash memory is working on SPI1.Kindly let us know any configurations needed to work on SPI2 on the board.Also attached the schematics for the MCU SPI interface for your reference .Kindly advise to proceed furtherRegardsSudeendra S
Hello, I many years use STM32, but first time when I ran into a problem.I can not compile the code STM32CubeIDE (same and TrueStudio). I pushed the button and nothing happen, I don't have any error, so I can not understand why I have a problem.Initially, the project was created in CubeMX6.6.1 for STM32CubeIDE (same and TrueStudio).In the image, you can see, I added a variable and pushed the build, and nothing - Nothing to build for project
Hi,Can I use STM32WL_UFQFPN48_Reference_Design_+22dBm_490MHz.PDF reference schematic file (attached) in en.STM32WL_Reference_Board_MB1720-XO_IOs_Shield to design my project +22dBm - 433MHz ????
I would like to create a network where clients (router or end device) can send messages to coordinator Digi XBee3. I've been trying to connect router STM32WB with some examples inside of STM32WB CubeWB to communicate with an XBee coordinator but I can't. I'm not sure if because of an incorrect configuration in my XBee or if It is impossible between STM32WB to DIGI XBee.Any information about this will be helpful!!
I have created a project from one of the Example Applications in STM32 WB CUBE.I exported the whole of the code and renamed the project with the intention that it be independent of the original example. My development environment is STMCubeIDE.I made a few changes of variable names in main.cWhen I edit the project .ioc file from inside the IDE using MXCube, the variables I'd changed in main revert to their names in the original example.How is this happening? Is it possible to stop it happening?
Hi I need to send (and possbly receive) data via BLE and python to a Stm32wb55RG Nucleo board. THere are so many examples. Which one should I Take or which one is best suited for me as a starting point? I am trying not to watch 100s of videos. Or Do I need to watch them all? ;)
Calling "aci_gap_additional_beacon_start" first works successfully, but calling "aci_gap_set_discoverable" after that returns "0x0C Command disallowed".If I swap these instructions and set up the main advertisement first, I get the same 0x0C error trying to set up an additional beacon.Please find the code example here: https://github.com/flipperdevices/flipperzero-firmware/blob/zlo/additional_beacon_test/firmware/targets/f7/ble_glue/gap.cMain advertisement initialization is contained in the "gap_advertise_start" function. Beacon initialization is inside "beacon_start".Radiostack versions used: 1.13.3 Lite, 1.14.1 Lite
What are the Effects of LoRaWAN_init() on our task?For more- I am not register task again?Pls help i have already spend two days on that
I have configured my stm32wb as a BLE server and I would like to write large data. I handle prepare write request properly but how I manage the end of the transfer ?As show on the figure, the client send a execute write request but how can I catch this event in application firmware ?I found aci_att_exec_write_resp_event callback but it is never called.Trace of the transfer :
The beginning of my data is 0xc0 0x00 0x00. I notify every 15 bytes of data on the server side, and I also receive 15 bytes of data on the client side. Then I wrap and start from scratch. The beginning of each line of data I input through the USB dongle serial port should be 0xc0 0x00 0x00, not other data, and there will be some inexplicable line breaks and character printing, as shown in the figure. This is my problem.This problem has bothered me for a long time. Thank you in advance.
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.