Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, I am using a STM32WB15 board for BLE applications. I understand I need to download the correct FUS before I can ask the board for running any programme. However, I find when using UART to connect the board I cannot running the FUS as well as wireless stack after they are downloaded. I tried set boot0 from 1 to 0 it seems not work. Do anyone know how could I make sure the FUS running when UART connection is used (unfortunately my board is not reserve other links e.g. J-Tag or SWD).
In STM32cubemonitor-rf, when i click 'connect' buttion,pop-up massege 'Device under test not responding COM port closed'. How can I use the program. please help me.
Hello,I want to read which stack is updated in my controller. For example stm32wb5x_BLE_Stack_full_extended_fw / stm32wb5x_BLE_Stack_light_fw / stm32wb5x_BLE_Zigbee_RFD_static_fw. So can I read back the stack name using code? Is there any way to read the stack name? For reading the Stack version I am using this "SHCI_GetWirelessFwInfo" function. is there any function available to read the stack name? Thanks and Regards Sarthak Malik
Hi all,My application is showing belowDevice(NUCLEO-WL55JC1 EVM) send data to Gateway --> wait 100msec --> enter receive to wait data from gateway. In my test, If data from gateway more then device. The device report CRC Error to application layer.I reproduce similar problem with (sample code)1. Import SubGHz_Phy_Per and build it as TX side2. Use attachment as RX side3. IF data data length less then 64. I will get IRQ_CRC_Error and OnRxDone at the same time
Hello everyone, I want to measure the current consumption in low power modes on a STM32WB5MMDK discovery board, I would have two questions :)1) I have clock issues when I want to use MSI clock to have a 2MHz SysClk to put my STM32 board in Low run power Mode, I don't know how to do it then 2) I also wanted to know how to enable and disable the flash memory, because in the datasheet the current consumption in Sleep mode and Low power sleep mode is given when it is On and when it is Off, so I wanted to compare it with the datasheet but I don't know how ? Thank you for any help you can provide! Best regards
My STM32WL55JC2 is programmed with the example code for Lora End Node given in the SDK v1.3.0.Class_A is enabled by default and working properly i.e. receive window of the MCU opens only after the periodic uplink.When the class is set to Class_C in the LmHandlerConfigure(&LmHandlerParams) function, it still functions like a Class_A device.I also tried to change the class later in the join request, but that was also unsuccessful.Any suggestions?
Setup STM32WL55JC1 embedded on a custom PCB with other peripherals STM32CubeIDE Lora gateway - Multitech MTCDT3AC model with a built-in network server, join server, packet forwarder and gateway. STM32CubeWL f/w version 1.3.0 Application hangs because MBMUXIF_LoraSendCmd() command stuck on Sem_MbLoRaRespRcv sometimes I have an application built around LoRaWAN_End_Node_DualCoreFreeRTOS example provided in the firmware. My application on CM4 sends telemetry roughly every 4-5 minutes. It will run well for a few days and suddenly the MBMUXIF_LoraSendCmd() gets stuck waiting on Sem_MbLoRaRespRcv. Reading more on how dual-core system works I figured that if a response is not received through the IPCC channels, the semaphore is never released. This is a potential pitfall for me because my application requires telemetry to be sent continuously at the 4/5 minute rate. I cannot think of reasons why a Resp might not have been received by the CM4 core for any telemetry send Cmd. How to reproduce
Hello everyone, I want to measure the current consumption on a STM32WB5MMDK discovery board. I've found that I had to put an ammetre on the jumper JP1, and I programmed the RGB LED to be working. However, when I put the ammetre and I power my board, I found that the current is null, and I can't find why, even if I checked the schematics and the datasheets. I was supposed to have something around 100 mA normally.Does anyone know the reason of my problem ? Thank you Nour
I am trying to set the maximum number of times I send out an advertisement, I managed to do it with the extended advertisement quite easily. I did this using the "adv_set_param[i].adv_set.Max_Extended_Advertising_Events = 8;"However now I want to do the same using the non-extended feature. Does anyone know how I can do this? /* Functions Definition ------------------------------------------------------*/uint8_t ADV_EXT_Config(void){uint16_t data_cpt;uint8_t i; /* Extended NO SCANNABLE-NO CONNECTABLE */data_cpt = 0;memcpy(&a_extended_buff[data_cpt], &serial_number[0], sizeof(serial_number));data_cpt += sizeof(serial_number); memcpy(&a_extended_buff[data_cpt], &payload_data[0], sizeof(payload_data));data_cpt += sizeof(payload_data); i = 0;adv_set_param[i].enable = 1;adv_set_param[i].data = &a_extended_buff[0];adv_set_param[i].data_len = data_cpt;strcpy(adv_set_param[i].username, "MHE");adv_set_param[i].sid = i;adv_set_param[i].interval_min = 1000;a
Hello everyone,For my application, I need to record a time counter in flash memory, with a resolution of 1/10 of hour (eg. 6 minutes).Here is what I do :As I know there is a limitation for flash lifetime (10000 erase cycles), I built an algorithm which only write zeros in one flash sector (I'm using the 18th sector for that and tried with others). The idea was to write zeros because this normally don't needs to erase before writting (the number of 0s is equal to the number of 1/10 hour elapsed). I saw that there is an other constraint which is to write only dwords (64 bits) from FF to 00, and built my algorythm thaking that into account (using full dword table values set from FFFFFFFFFFFFFFFF to 0000000000000000).The problem encountered :My algorithm is Ok as I coded, and I could test the general principle, but I encounter a HAL_ERROR status returned by the HAL write function "HAL_FLASH_Program". I have investigate much deeper and could see the "FLASH_WaitForLastOperation" function fou
Hello,I am using the STM32WL55 with the BLUENRG-2N.i need to add the Firmware update OTA capability using the Bluetooth (BLUENRG-2N)the examples of FUOTA for STM32WL are based on LoraWAN protocol ... so it is not what i looking for.Do you have any examples or documentation (application note or ...) that can help me to make my application ?Thank you,Sincerely.
Never gets past this checkvoid MBMUXIF_WaitCm0MbmuxIsInitialized(void) { while (pMb_RefTable->SynchronizeCpusAtBoot != CPUS_BOOT_SYNC_CPU2_INIT_COMPLETED) { } /* USER CODE BEGIN MBMUXIF_WaitCm0MbmuxIsInitialized */ /* USER CODE END MBMUXIF_WaitCm0MbmuxIsInitialized */ }
i am using LoRa E5 dev board for programming my code , i am using STM32 stlink debugger with stm32 cube programmer , the board is not connecting my stm32 cube programmer , the serial number is showing 1 but when i am trying to connect it is not connecting and showing UR connection mode is defined with the HWrst reset mode , it is mentioned in the manual like Erase Factory AT Firmware section first, as if we need to erase the Factory AT Firmware before we program with SDK. After erasing the Factory AT Firmware it CANNOT be recovered.i dont know how to erase and code for the controller .the stm32 page photo is attached below. i need support , please help me.
I want to configure a stm32wb as BLE central and other as BLE peripheral such that they can exchange data. The combination of all this data also needs to be sent to a mobile phone. Can anyone suggest me a MOOC or may be a document that can be used as a manual to perform this task.
Im running ble heart of stm32wb55 , I would like use adc input channel with the ADC_SingleConversion_TriggerTimer_DMA_ but the tim2 that i instantiate seem not run; the variable ubDmaTransferStatus that indicate the end of dma tranfert(value = 1) is right to insert in callback in the main or in hrs_app.c????
Hi everyone,I'm using a Nucleo WL55JC1 trying to run the Lorawan AT_slave application. When trying to run the project in STM32CubeIDE, I get the error "no device found on target". Did the process of the solution on this post : https://community.st.com/t5/stm32cubeide-mcus/error-in-stm32-cube-ide-on-nucleo-f746zg-target-no-device-found/td-p/54578The Cube Programmer is able to connect correctly to the device, and to write the programm successfully, but when trying to run, I get "Error : Unable to get Core ID", and the device disconnects.The Nucleo board is connected through USB to my Windows computer. I didn't modify anything in the LoRawan_AT_slave project code.Does anyone have an idea about how to solve the problem ?Thanks in advance!
Hi,I'm using Nucleo-STM32WL55JC1. I used a coin cell to give power to Vbat and remove the sb21 link.Now I tried the LSE as an RTC source and time works as expected even after I remove power from Vdd, I have used HAL_PWR_EnableBkUpAccess();But when I tried to USE LSI crystal time is resuming from the last power removed but not the actual time.for example, if I removed the power at 15:51:21 and resumed power after 5 minutes it shows 15:51:22 instead of 15:56:21.I want to use LSI only because I don't want to have an external RTC with my board when I'm designing the customer board.my doubt is if LSE works, even LSI also should work. as we can see in the diagram both LSE and LSI are in the same Backup domain. Please let me know if anything missing. Thank you in advance!!!
hi all I testing lora tow nucleo-073 pingpong test.(STM32CubeExpansion_LRWAN_V2.1.0\Projects\NUCLEO-L073RZ\Applications\SubGHz_Phy\SubGHz_Phy_PingPong)But it happen rxtimeout txtimeout . Let me know why... Thanks
Hi all,When I wake up from Standby mode and reinitialize the pins and peripherals, they still don't work. Below is my STBY_SysHwRestore() routine, where I reinitialize clocks, pins and peripherals, but the rest of the code does nothing when they accessing the pins and peripherals. I have looked into the BLE_HeartRate example and copied the CPUcontextSave and CPUcontextRestore from the start up file. What confuses me on the BLE_HeartRate example is that it doesn't need to reinitialize clocks when leaving the standby mode, while on my application it needs, otherwise it get weird behaviour. QUESTION 1: What is the correct way to reinitialize pins and peripherals when waking up from standby mode?QUESTION 2: After waking up from standby mode due to a wake-up timer (registered on the hw_timerserver.c module), if I start a task on the sequencer directly from the wake-up timer callback, the CPU hangs for some reason. This stuff is really h
Hello,From readme.txt:On the Nucleo board side:- Power on the Nucleo board with the BLE_Hid application--- connected to usbOn the PC side:- open a terminal window with the following settings:baud rate of 115200Byte size of 8Parity NoneStop bits 1Data Flow Control None***** Mode Com3: Baud=115200 Parity=N Data=8 Stop=1"On the PC/Smartphone:- enable the Bluetooth communication (PC: or install any Bluetooth 4.0 USB adapter dongle)- Connect to the STM32WB55xx device with PIN code 111111.***** connected with PIN code 111111.On the Nucleo board side:Each action on the SW1 button display a menu in the terminal window, a kind of a mouthwith 3 button and a wheel emulation.*** pressing switch SW1 - nothing happens!Why something should happens on a terminal window connected to COM3 STLink ?
I would like for my services and characteristics to have a user readable string name.(when someone discovers them)How do I set that name in the descriptor of the attribute?Is there a convention on how the descriptor need to be set so devices will show that name?In your data sheet, it seems like only characteristics' descriptors can be set, is it the same command for a service?If you have an example that sets some string names to attributes would be great to have as well.Thanks
Hello,I am currently working with the STM32WB55CGU6TR MCU and using an RTOS. I've created two threads:PWM Thread: This thread generates PWM signals using the GPIO toggle method at frequencies of 60Hz and 600Hz.Read FIFO Thread: This thread reads data from the IMU FIFO. The IMU triggers an interrupt when data is ready, and the MCU waits for this interrupt via the EXTI_CALLBACK function to read the data.Issue:The PWM thread is producing signals at 50Hz and 500Hz instead of the intended 60Hz and 600Hz. Additionally, the duty cycle is not constant. Here are the steps I have tried:Case 1: Both threads have the same priority, resulting in the PWM thread giving 50Hz and 500Hz.Case 2: Increasing the PWM thread priority by 1 causes the Read FIFO thread to stop working entirely.I would appreciate any insights or suggestions on how to resolve these issues.Thank you! /* USER CODE BEGIN Header_Startpwm_imuTask */ /** * @brief Function implementing the pwm_imuTask thread. * @PAram
This is regarding these two posts: https://community.st.com/t5/stm32-mcus-wireless/ble-how-can-i-know-upon-getting-connection-event-if-device-was/m-p/681086#M19378 Answered by @Alan PORTE https://community.st.com/t5/stm32-mcus-wireless/different-event-upon-connection/m-p/223224 ( not answered) Big confusion here regarding the term 'random' used in all documentation.Upon connection , it gives either random(?) or public.Not clear here, Is it random-static? or random-private? A client connecting to me, that is : private resolvable, and uses public address : will get me a type (1) random(?) ., on connection.Later, on bonding , the type will change to 0 ( public), for the resolved address. The issue with types comes to mind when using the _BOND_ commands that require a type.When supplying the command with a resolved address, I have no way to know what type it has. It seems from this small example , that the random during connection is rando
Hi, I am using STM32WB55RG board. When I started working on the board, I did not upgrade the FUS and the wireless BLE stack. I just simply flashed my firmware hex file through cube programmer and it was working as expected(basic ble write and notify characteristics using ST BLE Toolbox app). Later I checked the FUS and the stack version through the cube programmer. It was showing like this:FUS Version: v5.3Stack Version: v16.12.0.27Then I upgraded the FUS and stack versions. I used stm32wb5x_FUS_fw_for_fus_0_5_3.bin for FUS and stm32wb5x_BLE_Stack_full_fw.bin(v1.20.0) for wirless BLE.Start address for stm32wb5x_BLE_Stack_full_fw.bin : 0x080CE000Start address for stm32wb5x_FUS_fw_for_fus_0_5_3.bin : 0x080EC000Now the versions of the stack and FUS when read through the STM32Cube programmer are:FUS Version: v1.2.0.0Stack version: v1.20.0.2Then I clicked on the Start wireless BLE Stack. Now I have performed chip erase and loaded my firmware hex file. At that time it not behaving as expecte
I'm working on generating two different trigger signals: one at 60Hz and another at 600Hz, using three PWM signals on three GPIO or timer channels. I attempted to use slave trigger mode for synchronization, but I'm encountering a phase shift in the PWM signals after two or three pulses.Can you please guide me on the best possible way to achieve this task?
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.