TODAY | STM32 Summit 2026
Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I'm trying to flash the FUS and BLE_stack to the co-processor, but the CubeProgrammer drops me the error below. I could not even delete the previous FUS as the release note said. Same error message. The flash was erased by changing the protection byte to 0xBB and then back to 0xAA. Could that be my problem? The MCU is on a custom PCB, and the important parts are the same as on the WB55-Nucleo and I'm using a nucleo with s-link to program through SWD. The application runs perfectly on the M4 (except the bluetooth part).So the error message is: "Error: Could not execute fwupgrade command, Security extension not instantiated".Any help is appreciated.Thanks in advance!
Hi,My problem is the following, I cannot connect to bootloader mode of nucleo board and my custom pcb with wb55rgv6.For Nucleo wb55 board, I do exactly as precised in the documentation, I connect CN7.5 and CN7.7 to put BOOT0 to VDD. I connect JP1 to USB MCU and finally, I connect USB cable to USB_USER. I run STM32CubeProgrammer, I switch to USB connection and there I do not see any device in DFU mode. If I do it in command line, I execute the following command "STM32_Programmer_CLI.exe -l" to list all peripherals that I can connect to but it sys me that there is nothing. I precise that I can do both ways with USB dongle in Bootloader/DFU mode and that driver is up to date, it is the 2018 version delivered with last version of STM32CubeProgrammer.Because of those problems, my development is stuck, I cannot know FUS and Wireless Firmware states and I can not update it.On my custom board, coprocessor never sends me the signal that it is ready to handle commands coming from Cortex M4 ("p_s
Are there any application notes or references about a border router used with a Thread network because I hadn't found any.
Hi!I'm trying to enable the PDM interface on a STM32WB55RGV with one microphone. Basically i followed the AN5027 application note, but I'm not able to start the clock on the proper GPIO. The configuration from CUBE-MX seems ok, and I checked the registers value, so maybe I'm setting up the wrong API to start the streaming.Any advice? MX_SAI1_Init(); osDelay(10); //HAL_SAI_Receive_DMA(&hsai_BlockA1, (uint8_t *)mic_buff, MIC_BUFF_LEN); HAL_SAI_Receive(&hsai_BlockA1, (uint8_t *)mic_buff, MIC_BUFF_LEN, 100); /* start application */ while (1){ osDelay(1000); }
HiI use 'PRINTF' and 'AT command' using vcom.c from the I-CUBE-LRWAN source. And develop in the following situations.1. UART communication uses RS-232. 2. I use STM32L082 low-power chip.3.I use LPUART and NVIC interrupts.and then, I made the following changes and tested them.1.change uart port. (usart2 - > usart1)2.in usart1 port i uses RS-485.Then PRINTF and AT-command do not work. Do you have to add other parts to the following sources when using rs-485? Or can you use usart1 as the uart port of lpuart? (See terminal configuration)void vcom_Init(void) { LL_LPUART_InitTypeDef LPUART_InitStruct; /*## Configure the UART peripheral ######################################*/ /* Put the UART peripheral in the Asynchronous mode (UART Mode) */ /* UART1 configured as follow: - Word Length = 8 Bits - Stop Bit = One Stop bit - Parity = ODD parity - BaudRate = 921600 baud - Hardware flow control disabled (RTS and CTS signals) */ /* * Clock initial
Hi all,I'm trying to determine how much FLASH memory will be available for my user application. I'm using an STM32WB55RG. I don't do this quite often so I could use some helpI got clues from different sources but i'm not sure which one is correct :Given from the "stm32wb5x_FUS_fw.bin" + "stm32wb5x_BLE_Stack_fw.bin" files size, 186kB should be occupied. So I deduc that 838kB are available for user app.In the MOOC for the STM32WB workshop, it's said that the size allocated for the upper block of flash depends on the technology and the addons used (they say 80kB for BLE stack, and 160-170 for BLE+OTA). This seems weird as the size for the BLE stack file is 162kB.Inside AN5185, the Table 5. Device information table tells us that both the FUS and the wireless stack can use up to 65535 sectors of 4K -> For me, this means that they could take 256kB each, leaving us with 512kB for the user application. If this is true, I guess there is not many cases in which this will happen.If someone is
Has anyone had this problem and how did you fix it? I am having this problem on the nucleo board.
How can I add multpile services or characteristics on STM32WB. Should I only change the name or templates and regenerate code or do something more/else?
Hello everyone, I am a newbie for stm32. Now I have a project to useSTM32+Lora module to make a wireless network for data sampling. I have boughttwo pairs of stm32L073 nucleo+ sx1272 radio shield board for testing. I canmake "ping-pong" communication between the two boards. But how can Imigrant the code to my project. I have a individual ADC to sample the data. Myoriginal code is simply a loop structure and I see the I-CUBE-LRWAN has astate-machine or a embedded system to realize the function. How can I put mycode into I-CUBE-LRWAN. Thanks.Another question is that whetherthe "End-node" code for the Lorawan which made of a gateway andseveral sx1272 end-nodes? How can I choose the gateway? It is right to get aSX1301+respberry Pi? Is there any tutorial or article can tell me how toconfigure the network and how to program to make communcate between the nodesand the gateway. I can't find them in ST website. Any help will be very appreciated.Best regards,Ming
Hi,In previous project, I used the ST BLE 4.1 solution (based on BlueNRG-MS), and the peripheral Advertising procedure also included a call to hci_le_set_scan_resp_data(18 , ServiceUUID_Scan);What is the alternative for a similar API in ST BLE 5 solution based on STM32WB platform?P.S I couldn't find it in AN5270Thanks In Advance,Micha
while( 1 ) { if (AppProcessRequest==LORA_SET) { /*reset notification flag*/ AppProcessRequest=LORA_RESET; /*Send*/ Send( NULL ); } if (LoraMacProcessRequest==LORA_SET) { /*reset notification flag*/ LoraMacProcessRequest=LORA_RESET; LoRaMacProcess( ); } /*If a flag is set at this point, mcu must not enter low power and must loop*/ DISABLE_IRQ( ); /* if an interrupt has occurred after DISABLE_IRQ, it is kept pending * and cortex will not enter low power anyway */ if ((LoraMacProcessRequest!=LORA_SET) && (AppProcessRequest!=LORA_SET)) { #ifndef LOW_POWER_DISABLE LPM_EnterLowPower( ); #endif } ENABLE_IRQ(); }Hi, I don't understand why I need to disable the IRQ before enter stop mode and enable it when the board wakes up, if I comment those functions (DISABLE_IRQ and ENABLE_IRQ) the node does not send o
I have a custom STM32WB55CE-based board on which I wish to run some BLE software. I have attempted to flash them according to the instructions in the release notes in the coprocessor binary folder, but it throws an "RSS_IMAGE_NOT_FOUND" error and retries twice before giving up. Since the CE has 512KB of flash, I use the addresses given for that size. Since the BLE stack address is outside of the actual range of the 512 KB flash, I have also tried to flash it at an appropriate address by calculating the offset from the 1MB flash FUS address and applying it to the 512 KB address. This doesn't really change anything. The stack I'm trying to flash is the "stm32wb5x_BLE_Stack_fw.bin".Reading the FUS version gives 0x01000200 which is correct for the binary I have tried to install, but as it doesn't actually work I'm assuming that something is wrong. My understanding is that the FUS should be flashed at the absolute end of the flash (address end of flash - size of FUS) and that the BLE stack
Hi !I want to update FUS by OTA.In AN5185, #3.1 FUS Upgrade/Operation instructions is writed:"Write the FUS image in the user Flash memory at the address indicated in the FUS image directory readme.txt file." But this address is 0x080EC000, and it is in an inaccessible place for user. Question: what is a right address where to write FUS image for upgrade ?Or can it be subtracted from the value of SFSA the number of pages of firmware fus (0xCC - 0x6) ?
Hi all,I've got my hands on the STM32WB55 Nucleo pack. I've been trying to test the pre-loaded application first but i wasn't able to make the board and the dongle communicate. So I tried loading an other example project on the board and then I lost the LCD display, it is not showing anything anymore, even after loading the default .hex. How can I fix that ?After this, i wanted to mke sure that I would be able to flash the RF stack in case of a problem so I followed the steps of the Release notes to flash the Wireless Coprocessor Binary, making sure that I got every step right and that I was writing to the right addresses (0x080ec000 for fus and 0x080cb000 for the ble_stack) . But I always end-up with an FUS_IMAGE_NOT_AUTHENTIC error. I tried different FUS and stack files version but nothing changes. I've tried to perform a full chip erase with CubeProgrammer before upgrade and also I wrote 0xBB, then 0xAA to RDP. But I still got this issue.Any help will be welcome
step 1: initialize clockstep 2: set pins to outputstep 3: set corresponding 'set' bits to 1 in BSRR registerint main(){ //enable clock for necessary ports//clock for leds: port port B, pins 0, 1, 5RCC->AHB2ENR |= RCC_AHB2ENR_GPIOBEN;//RCC->AHB2ENR |= RCC_AHB2ENR_GPIOCEN;//decide which pin in input or outputGPIOB->MODER |= GPIO_MODER_MODE0_0;GPIOB->MODER |= GPIO_MODER_MODE1_0;GPIOB->MODER |= GPIO_MODER_MODE5_0;GPIOB->BSRR |= GPIO_BSRR_BS0;GPIOB->BSRR |= GPIO_BSRR_BS1;GPIOB->BSRR |= GPIO_BSRR_BS5;};
https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/stm32-nucleo-expansion-boards/p-nucleo-lrwan2.html
I feel uncomfortable with this: on page 26 AN5165 there are shown layers purposes. In particular, written, that INNER1 used as "grounding under the RF zones", but on images below (Figure 33) under RF this layer is deleted and as reference used another layer INNER2 (Figure 34). To check this I've downloaded Altium-project P-NUCLEO-WB55 and there actually INNER2 was as reference. Furthermore I find discrepancy of layers in Figure 24 and layer stack in projects. I've made some calculations: actually sizes of conductors and gaps correspond to the stack in the project, the p-NUCLEO-WB55 Board is executed correctly.
..
In Application note AN5165 exist example of 2-layer PCB (MB1427). What the project it is? I can't find it on STMicroelectronics website.
Hi,I am using STM32WB55 to develop a 802.15.4 application. I browse the two 802.15.4 examples, but there is no documentations like 802.14.5 Application Programming Interface. Can you provide those 802.14.5 documentations?Thanks,
Here is the log of the error:13:22:22 : Memory Programming ...13:22:22 : Opening and parsing file: P-NUCLEO-WB55.Nucleo_Thread_Coap_DataTransfer.elf13:22:22 : File : P-NUCLEO-WB55.Nucleo_Thread_Coap_DataTransfer.elf13:22:22 : Size : 114550 Bytes13:22:22 : Address : 0x08000000 13:22:22 : Erasing memory corresponding to segment 0:13:22:22 : Erasing internal memory sectors [0 27]13:22:22 : erasing sector 0000 @: 0x08000000 failed13:22:22 : erasing sector 0001 @: 0x08001000 failed13:22:22 : erasing sector 0002 @: 0x08002000 failed13:22:22 : erasing sector 0003 @: 0x08003000 failed13:22:22 : erasing sector 0004 @: 0x08004000 failed13:22:22 : erasing sector 0005 @: 0x08005000 failed13:22:22 : erasing sector 0006 @: 0x08006000 failed13:22:22 : erasing sector 0007 @: 0x08007000 failed13:22:22 : erasing sector 0008 @: 0x08008000 failed13:22:22 : erasing sector 0009 @: 0x08009000 failed13:22:22 : erasing sector 0010 @: 0x0800a000 failed13:22:22 : erasing sector 0011 @: 0x0800b000 failed13:2
My graduation project is about design a lora node and communicate with user using with lora gateway. I will take antenna sx1276 gps and stm32l0 or stm32wb.
Hello,I have STM32WB set from workshops that I borrowed from my work.The problem is both pcbs are not recognised in DFU mode. I connected stm32f4-discovery and it's recognised correctly.I'm Linux Mint 19 user and I have followed CubeProgrammer's installation manual. I did the same on Windows 10 with the same effect.On nucleo board I connected pins 5-7 and USB MCU SOURCE.On dongle board I set switch position to BOOT.What is the problem? It's look like both of pcbs don't have bootloaders. Do I need to buy a new stm32wb development kit or can I program a new bootloader file?Can I flash the Wireless Coprocessor Binary without DFU? I want to turn on BLE examples, but they didn't work.--- stm32f4-discovery --- marek@marek-desktop:~/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ ./STM32_Programmer_CLI -l ------------------------------------------------------------------- STM32CubeProgrammer v2.1.0 ------------------------------------------------------------------- ===== DFU Interfa
HiI tried using the P2P_SERVER profile of the STM32WB55XX example (with atollic).When pushing on CONNECT on my mobile, I expect seeing the LED and BUTTON services as written in the example documents, but I see the 2 PRIMARY SERVICES (Generic Attribute and Generic Access as can be seen in the attached file) only, should I modify the code to make it work ?Thanks
Error 14:24:08 : Time elapsed during download operation: 00:00:00.82614:24:08 : Verifying ...14:24:08 : Read progress:14:24:08 : Error: Data mismatch found at address 0x08000000 (byte = 0xE0 instead of 0x00)14:24:08 : Error: Download verification failed14:24:09 : RUNNING Program ... 14:24:09 : Address: : 0x080FF10014:24:09 : Error: Start operation failed
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.