Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
STM32WB55 - dongleI’m trying to send I2C data over BLE. The dongle board only has I2C1 exposed but whenever I try to use I2C1 I get a BLE time out error. If I change to I2C3, which is not connected to anything, I get no time out error & get a whole load of 0’s as expected. Also when I send dummy data with no I2C at all the BLE works as expected.I looked at what I thought were similar problems on here but so far the proposed solutions haven’t had any effect in the behaviour.Additional info, this code worked fine on the P-NUCLEO-WB55 board. I2C_HandleTypeDef hi2c1; I2C_HandleTypeDef hi2c3; // Timeouts when I use hi2c1 as below but send expected 0's when using hi2c3 /* ADT7410 set up */ /* temp_0 at 0x48 * temp_1 at 0x49 */ temp_0.adti2c = &hi2c1; // I2C Handler ADT7410_Init(&temp_0, 0x48); // I2C address depends of A0 and A1 pins ADT7410_Reset(&temp_0); // Optional ADT7410_SetResolution(&temp_0, ADT7410_16BITS); // Put the device in 1
Hi all,I'm designing a LoRa node with STM32WL55JCU6 (UFBGA73), using RFO_LP only (+14 dBm, high band 868 MHz). My starting point is the MB1842 reference design, which uses a BGS12SN6 RF switch between the TX and RX paths.For UFQFPN48, ST provides direct-tie reference designs without a switch (MB1789). For UFBGA73, both MB1842 and MB1849 use an RF switch, and I couldn't find a direct-tie BGA73 reference.Questions:1. Is direct-tie recommended on UFBGA73 in LP mode?2. Has anyone implemented it on BGA73? If so, what matching network did you use, and how did TX power and RX sensitivity compare to the switched design?3. Are the TX/RX impedances for UFBGA73 available to design a direct-tie network per AN5457?Thanks!
From the manual for the P-NUCLEO-WB55 USB dongleBy default, the embedded STM32WB55RG microcontroller is supplied by 3V3, but the board offers another possibility to supply the device through the extension connector. The 3.3 V can first come from the USB and the LDO (5 to 3.3 V). Moreover, STM32WB55RG can be supplied by an external source, between 1.8 and 3.3 V. If the USB connector cannot supply the MCU, it is necessary to turn SB4 OFF and connect a power supply to the extension connector (pin 6 of the CN1 connector). So when I look at SB4 on the board it looks like it is unbridged, see pic below. Does this mean its off? If so how come I can still power it through the USB-LDO 3V3 route? I would like to power through the connector so I can gauge how much current its drawing without USB connection.
Hi ST,I have developed and manufactured a custom STM32WL55CCU6 target based board, based on the reference board STDES-WL5U4SBB you provided, and I noticed the following issue:when I uploaded my application that I have uploaded and tested before on the NUCLEO-WL55JC1 Board with region configuration LORAMAC_REGION_US915, I found that the gateway receives only on the uplink sub-channel Band 64 which has a bandwidth 500KHz, although the same application uploaded and executed successfully on the board NUCLEO-WL55JC1 and connected with all other sub-channel Bands with band width 125KHz.In the Board NUCLEO-WL55JC1 based on the target STM32WL55JC17 I Found in the schematic that it has 2 External Oscillators: (TCXO 32MHz and the default HSE 32MHz Oscillators) and the application running on the NUCLEO-WL55JC1 used the TCXO Oscillator, while the other board I developed based on the STDES-WL5U4SBB board has no TCXO (as the reference provided) So my questions are:Q1: What could be the reason of thi
Hello, I'm developing software for the STM32WBA2. Bonding is a required feature of this project, so I've set the bonding-related parameters as follows: CFG_BONDING_MODE: Bonding mode (0x01)CFG_ENCRYPTION_KEY_SIZE_MAX: 16CFG_ENCRYPTION_KEY_SIZE_MIN: 8CFG_IO_CAPABILITY: Display Yes No (0x01)CFG_MITM_PROTECTION: MITM protection required (0x01)CFG_SC_SUPPORT: Secure Connections Pairing supported but optional (0x01)CFG_KEYPRESS_NOTIFICATION_SUPPORT: Keypress notification not supported (0x00) I've also attached app_conf.h and ble_conf.h.However, when I connect using ST BLE Toolbox and press the Bond button, the Bluetooth connection is lost.What could be the cause?Is it possible to view communication logs using ST BLE Toolbox? Best regards, Gotoda
We are considering using a WB05KN as a BLE coprocessor in an STM32H573 design. I found the section in your wiki describing paths for Bluetooth certification. It says that no testing is required if a precertified module is used, or the recommendations and layout in AN5526 have been followed to the letter.Separately, all intentional radiators (in the US) must pass FCC testing, but if one uses a precertified wireless module and specified antenna, then the incorporating product can simply cite the certification of the wireless module.I want to clarify… are these two sets of testing (Bluetooth qualification as discussed in the ST Wiki, and FCC intentional radiator testing) two different sets of testing entirely? That is, if we do a chip-down WB05KN design according to AN5526, would we still have to do FCC intentional radiator testing, even though we would not need to perform Bluetooth certification testing?If I’m understanding that correctly, is it then true that the only way to avoid FC
Dear ST Community,I am on the STM32WL55CCUX and am facing an issue with both the SubGHz radio initialization and the external 32 MHz TCXO/HSE32 clock.I have a working STM32WL55JC1 board for comparison. The same/general SubGHz software flow works correctly on the JC1, whereas the custom CCUX board exhibits the following two problems:The SubGHz radio remains permanently/continuously in the RF BUSY state. The external 32 MHz, 3.3 V TCXO is not being powered through PB0/VDDTCXO, and HSERDY does not become active.I would like ST's assistance in determining whether these two symptoms are related to the RF power/reset/TCXO sequencing, a CCUX-specific requirement, or a hardware/configuration issue. This is the current analysis so far JC1 CCUXPB0/TCXO supply Active 0 VHSERDY 1 0ErrorCode 0 0x02RFBUSYS after init 0 1STDBY_RC PASS F
Hello,Full application code is based off of LoRaWAN_End_Node_LBM. I am using the below code to attempt to change the OTPR bits to boot from bootloader (system) for SPI connection. This code is executed after receiving a command via SPI communications by another microcontroller. The idea is for the other microcontroller to receive the update file and program the STM32WL55 via SPI.Pattern 13: nBoot0(bit) = 0, nBoot1(bit) = 1 and nSWBoot0(bit) = 0 FLASH->CR is 0x00000000I monitor the FLASH->OPTR register in debug and see that the OPTR does not change from 0x3FFFF0AA before reset.After reset, I lose connection with debug. I know it is still booting into Flash because it reconnects with our LoRaWAN Gateway.Am I missing something? Trying to piece things together with three different documents and trying to determine if BFU_1_Slot is relevant and how it can be modified for SPI. Are there any clear example code specifically for my device that already demonstrates what I am attempti
Hi,I'm working on a product based on the STM32WB5MMG module, running the BLE + Thread dynamic concurrent CPU2 binary (stm32wb5x_BLE_Thread_dynamic_fw.bin v1.24.0, FUS 2.2.0). Our boards are Thread routers.The 802.15.4 link margin is too low for us. Two boards 1 m apart see each other around -85 / -88 dBm, so I'd like to raise the Thread TX power. BLE is set to +6 dBm with aci_hal_set_tx_power_level(1, 0x1F) and works fine. For Thread we never set anything, so it runs at the stack default. The SMPS is not enabled in our code, so the chip is powered in bypass at 3.3 V.I tried otPlatRadioSetTransmitPower(NULL, x):called at Thread start on both boards with 6, -6, -20 and 0x1F: the boards don't attach to each other anymore. Remove the call, reflash, and everything works again. 6 on one board only, at the end of our Thread init (before BLE advertising starts): the board attaches and goes up to router, and it receives the multicast CoAP messages from the other board. But the other board never
I am trying to get to the lowest possible power consumption on a WB55 NUCLEO board while the BLE is advertising every three seconds and waking up on the RTC every second. I have the NUCLEO booting up on the HSE clock, and the stm32_lpm_if.c code switches from HSE to HSI and back as it enters and exits STOP2. Re-enabling HSE takes about 24 ms and consumes significant current, giving me an average of about 62 uA in this mode. I’ve found that if don’t enable the HSE, but stay on the HSI the current drops to about 10.5 uA. The BLE radio functions normally, and I can connect and disconnect and return to the 10.5 uA advertising mode. Is CPU2 somehow choosing the LSE clock to run on when it exits STOP2 and the HSE is not available? What is going on? The documentation is adamant about needing 32MHz for the system clock when running the radio.
I have used STM32CubeMX to change the prescalers in the STM32_WPAN section. However, the code itself never uses the new values. It appears that “something” has marked the RTC as already initialized and it won’t execute that code.How can I force my code to load the new values?Nite: The values that are being loaded came from when I enabled the BLE code, but it causes the RTC to run too slow.
Hello, I am trying to interface Audio codec with stm32wba65 (using reference: GitHub - stm32-hotspot/STM32WBA-Advanced-BLE-Broadcast-Speaker: The BLE Speaker is a prototype for a portable Bluetooth® Low Energy speaker supporting broadcast sink, scan delegator role and optionally unicast server role · GitHub ) , there is an additional MCU between STM32WB55 and Audio codec but i am thinking to use the audio codec directly over SAI1. as SAI1 has 2 blocks SAIA and SAI B. Is it possible to interface audio codec via one block (SAI A) and any other MIC (I2S or PDM) another block (SAIB) ? can someone please tell if it is possible .If yes can plz provide ioc settings.? what things to be take into care?Regards,D
Hello,I would like to report an issue encountered with the "STM32CubeWiSE - Bluetooth LE Explorer" tool, version 1.1.0.I am using a custom board equipped with an STM32WBA65, running firmware in "TransparentMode."To connect my board to the PC, I am using an FTDI USB-to-serial adapter.The problem occurs when the tool opens the COM port: the first command, "HCI_READ_LOCAL_VERSION_INFORMATION," fails because 4 unexpected characters (0xFF, 0x01, 0x00, 0x00) are sent by the PC.Even the retry attempt, which occurs one second later, fails because the HCI protocol is no longer synchronized.Consequently, the tool fails to recognise the chip and is not usable.This issue does not occur with the Nucleo board's USB-to-serial adapter.STM32CubeMonitor-RF 2.19.0 works fine.As a workaround, I modified the firmware to ignore the 3 next characters when its get an invalid packet indicator with value 0xFF.BRAnthony S
Hello,I want to implement HOGP (BLE HID) on an STM32WBA23KE so that it can connect to Windows 11.I implemented it using the BLE_HID_Mouse sample for STM32WBA55G-DK1 as a reference, but Windows 11 does not recognize it as an HID device (it seems to be failing in some procedure after the Bluetooth connection). I checked the GATT service configuration by connecting with a smartphone app, and there seem to be no particular problems (although I cannot read the Report Map or HID Information due to BLUETOOTH_PRIVILEGED).With the STM32WBA55G-DK1, I have confirmed that it can connect to Windows 11 as an HID device and behaves like a mouse.I have attached the main source files and .ioc file of the STM32WBA23KE project.Are there any possible causes?Best regards, Gotoda
Hellow everyone, i am facing this issue that when connect my nulceo-WL55JC1 with perfectly working cable to my PC it rapidly connects and disconnects again and again i tried to update its driver and mass erase but it connect and disconnects so fast i am not able to do it and i read its quick guide and all the jumpers are in its place once is tried to upload the code to it and in between it got connect the again disconnect some behavior every time. This is the log when is was able to upload the code on it :STMicroelectronics ST-LINK GDB server. Version 5.7.0Copyright (c) 2020, STMicroelectronics. All rights reserved.Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled InitWhile : EnabledWaiting for debugger connection...
void HAL_MRSubG_IRQ_Callback(void) { uint32_t irq = __HAL_MRSUBG_GET_RFSEQ_IRQ_STATUS(); if (irq & MR_SUBG_GLOB_STATUS_RFSEQ_IRQ_STATUS_RX_OK_F) { last_rx = HAL_GetTick(); HAL_GPIO_WritePin(LD1_GPIO_Port, LD1_Pin, GPIO_PIN_SET); if (HAL_MRSubG_GetBytesOfTransaction() <= ring_buffer_u8_free(&radio_ring_buffer) && radio_packet_fifo_free(&radio_packet_fifo) != 0) { for (uint8_t i = 0; i < HAL_MRSubG_GetBytesOfTransaction(); i++) { ring_buffer_u8_write(&radio_ring_buffer, radio_rx_buf[i]); } radio_packet_t radio_packet = { .len = HAL_MRSubG_GetBytesOfTransaction(), }; radio_packet_fifo_write(&radio_packet_fifo, radio_packet); } __HAL_MRSUBG_STROBE_CMD(CMD_RX); __HAL_MRSUBG_CLEAR_RFSEQ_IRQ_FLAG( MR_SUBG_GLOB_STATUS_RFSEQ_IRQ_STATUS_RX_OK_F); } if (irq & MR_SUBG_GLOB_STATUS_RFSEQ_IRQ_STATUS_RX_TIMEOUT_F) { __HAL_MRSUBG_STROBE_CMD(CMD_RX); __HAL_MRSUBG_CLEAR_RFSEQ_IRQ_FLAG( MR_SUBG_GLOB_STATUS_RFSEQ_IRQ_STATUS_RX_TIMEOUT_F); } if
Hello,I have a custom board with a 4.2V battery followed by a linear voltage regulator at 3.0V powering a STM32WL33.When battery is inserted sometimes the power up is not clean and the cpu freezes, no code is executed. (the code is just pulling down a GPIO, no other initialization)BOOT pin A10 has a 560 Ohm pull down.Pulling down NRST later doesn’t have any effect. Freeze happens when the VDDIO goes down to 500mV and then rise up again.As you can see in the following images in clean startup the core VCAP voltage rise up from 0 to 1.2V very fast, while in bad case the VCAP voltage follows the VDDIO ramp from 0.5V to 1.2V and the core freeze.BOR is not working!!! NRST is not pulled down.Schematic is as suggested.Any workaround?Thanks!Fabio Good power-up:Green: VDDIO; Yellow: SMPS output on VFBSD; Cyan: VCAP; Purple: NRST Bad power-up:Schematic:
Hello,I would like to report a documentation issue in RM0511 Rev6, section 15.9 (LCSC register map, Table 38).The introductory text states:> "The green cells indicate the register is in the VDD12o power domain. This implies those registers are not reset on Deepstop exit."However, in Rev6 the color highlighting is missing from the table — it is not possible to identify which LCSC registers are in the VDD12o power domain. This information is critical for correct Deepstop/low-power mode implementation, as registers in the VDD12o domain retain their values across Deepstop while others do not. **References:**- RM0511 Rev6, section 15.9, Table 38- RM0511 Rev5, section 15.9, Table 39Thank you.
Hi, could you please check the colored cell highlighting in RM0511 Rev 6 register map tables?For example, page 304 states "The green cells indicates the register is in the VDD12o power domain" but no green cells are visible.This affects at least Table 38 (LCSC register map, p. 304).RM0511 Rev 5 displays the colors correctly on the equivalent pages.Thanks
at stm32wl33 datasheet there is RX sensitivity topic but i think wrong– RX sensitivity @ 1% BER:◦ -132 dBm @300 bit/s 433 MHz OOK◦ -128 dBm @300 bit/s 868 MHz 2(G)FSK◦ -112 dBm @38.4 bit/s 868 MHz 2(G)FSKit should be kbit/s .
I trying to follow the UFQFPN48 reference design for a STM32WB55CGUx in KiCAD.The ref design has some pinouts that don’t exist in the associated KiCAD symbol for the chip.The ref design, The KiCAD symbol with as much as I have wired up so far, So the branch in the orange box for example, in the refence design this should have a branch just above C13 going to VFBSMPS yet in the KiCAD symbol this is missing. also there is no RF0.
I have an STM32WB05 board (approx 30mm x 30mm) with the following major components :STM32WB05KZV6TR, LTC4095EDC, LTC3531ES6-3.3, LSM6DSV80XTRI have followed the reference design for running on SMPS.When running directly from VDD (3.3V) it works great. Advertising, connecting reliably.When running through the BuckBoost it does not advertise (with either a LiPo feeding or a bench PSU at 4V or via the USB charging circuit) . No errors, no obvious issues.. just cant see or connect to it over BLE. I checked that TX_SEQUENCE was active and it is. Registers look the same for both modes. VDD does have some noise but it is within spec for the LTC3531 in burst mode. I purchased a TinySA Ultra+ and have taken traces. I can see the advertising (attached)Really need to help to diagnose.. is it a lost cause having the BuckBoost on a board this small?Let me know how to configure the TinySA also for more detailed traces as i am struggling (so is Claude!)
I tried to program my STM32WB09ke chip with my ST-LINK V3 MINIE. When pressing the Connect button on stm32cubeprogrammer, I got the DEV_TARGET_CMD_ERR. It says: unable to get core ID. When debugging with my J-Link, everything works completely fine. I can program, debug, ...When connecting my ST-Link to one of my other projects with other ST MCU but with exactly the same debug connector, It completely works fine. Here are my schematics: Does someone knows what the problem could be or am I missing something?I checked the SWDIO and SWCLK signals with my scope and everything looks fine.
Hello, I am working with X-NUCLEO-WB05KN1 together with NUCLEO-U083RC. I had previously tested U0 consumption in Stop mode and I got around 1.5uA (using 3.3V supply and LSI). From the datasheet it says that STM32WB05KZ should be an ultra low-power MCU, however I am using the Beacon app from the X-CUBE-WB05N software package and I am getting measurements of around 37mA. Is this related with the SPI firmware (DTM binary) flashed into the shield to run the example? I would like to achieve a consumption on the uA scale, do I need to make my own firmware to the chip? If so, is there any example and how to communicate with my U0?I am supplying 3.3V into the CN6 pin 4 and measuring with a multimeter so the ST-LINK is now being powered.BR
What is repopulating the security database on the stm32wb55 when it reboots and how do I stop it. I’m calling aci_gap_clear_security_db() and verifying that the bond list is empty with aci_gap_get_bonded_devices(). When the device reboots, the bond entry that was deleted is back when aci_gap_get_bonded_devices() is called. What’s going on?
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.