Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
working example Included/provided..So I have been working to get to the point where I can switch between between two modes.Mode 1 = BLE working with RTC calender and Low Power + my application, with <= 50uA current consumption.And Mode 2 = MCU is in standby 99% of the time + my application, RTC wake-up every one second. with few uA current consumption.So I have been trying to get the timeServer to get below 5uA with just an wakeup every second to set an IO pin for indication and nothing else. That failed. So I change to make an NVIC_SystemReset(); to change mode. Is this really the best way ??The how to and changes for this project that is provided. The project is target is the Nucleo WB55 board. I used the https://www.youtube.com/watch?v=i10X4Blr8ns as base of the projectMain.cint main(void) { HAL_Init(); MX_APPE_Config(); SystemClock_Config(); MX_RTC_Init(); MX_IPCC_Init(); MX_GPIO_Init(); MX_DMA_Init(); MX_USART1_UART_Init(); MX_USB_PCD
Hello,for the STM32WLExx and the softwarepacket STMCubeWL Example LoraWAN_End_Node i look for a solution to send a packet after an externel interrupt occurs (GPIO PA8)!I think the cpu is waked up ftom STOP2-mode periodically by timer!So i configure GPIO o EXTI8 and enabele Interrupt!But what is to do to send also a packet after interrupt at GPIO PA8?GreetingsE_T
Hello,for the STM32WLe5cc CPU with the STM32CUBEWL (LoRaWAN) i want also wakeup for sending a LORAWAN-package by GPIO (PA8).The example: https://www.st.com/en/embedded-software/stm32cubewl.htmlLORAWAN_END_NODEI can configure the GPIO PA8 as GPIO_EXTI8 (STM32CubeIDE) and enable interrupt!What must i change in the LORAWAN_END_NODE-example?Greetings E_T
In AN4879 FAQ it is stated to check "Table 3. USB implementation in STM32 devices" whether the USB_DP line has an embedded pull-up resistor.STM32WB55 is not in that list. Can you confirm if the STM32WB55 has embedded pull-up resistor on USB_DP or not?
Hello,I am following the STM32WB+Getting_Started_with_CubeMX_for_BLE_V07 ppt and was having an issue seeing "MyCST" on the ST BLE Sensor App.I am able to see MY_CUSTOM on the Light Blue App and seems to be able to connect and has my two characteristics showing (LED and Button).Why would this not be able to be seen in the ST BLE Sensor App? I followed the slides exactly up to Slide 60...Thanks for any information on this.
I have a GPIO callback (using HAL) and would like to identify which GPIO brought me into the callback and then clear that interrupt flag (the appropriate bit in the PR register), however after looking at the UG in EXTI PR1 I see no definitions of the bits?? Can someone tell me where to look to find what each bit represents? (STM32WB55)....Thanks
I am using NUCLEO-WB55RG for developing a lorawan project targeted to STM32WB55CG chip. I successfully downloaded the code using Keil IDE. When I was loading the code the windows machine was showing there is 3MB of space. I could run the code and debug. But when I tried to connect the Nucleo again I noticed that the disk size has reduced to 32KB. It has a fail.txt file in it and it says "The interface firmware FAILED to reset/halt the target MCU".When I tried to load the code from Keil again it says target not connected and The flash download failed and Target DLL has been canceled. I connected it to cube programmer and was getting a target not connected message. I tried another new board and this problem happened again. My two Nucleo boards are useless and is it possible to factory reset the NUCLEO-WB55RG. Why did this happen? Is there anything wrong with the downloaded project? Please do help me to fix the problem. I am attaching the screenshots too.
Hi, I would like to use StandbyMode + RTC + Sram2a (backup).From the STM32WB55RG datasheet, the Sram2a can be retained after reset from standby mode. "Standby mode with SRAM2a retention when bit RRS is set in the PWR controlregister 3 (PWR_CR3). In this case, SRAM2a is supplied by the low-power"Before low power mode, I have to do :/* Enable SRAM2a retention */ HAL_PWREx_EnableSRAMRetention(); /* Set the lowest low-power mode for CPU2: shutdown mode */ LL_C2_PWR_SetPowerMode(LL_PWR_MODE_SHUTDOWN); /* Enter the standbyMode mode for CPU1 */ HAL_PWR_EnterSTANDBYMode();and to place datas in sram2a :static tDataFormat _t_Data __attribute__((section("MB_MEM2")));But when device reseting from standyMode, SRAM2a (and _t_Data) is empty. Thank for your help.
So once again I have a problem with the STM32WB , I have spent alot of time with the L4 series, and always used the SRAM2 retention in standby function without any problem. And the WB series should be based on the L4, so I had hope for an easy migration. But no. So how do I enable the SRAM2 retention in standby ??All the datasheets tells the story that it it possible.SRAM2a: 32 Kbytes located at address 0x2003 0000 also mirrored at 0x1000 0000, with hardware parity check (this SRAM can be retained in Standby mode)And from the header of stm32wbxx_hal_pwr.c *** Standby mode *** ==================== [..] The Standby mode offers two options: (+) option a) all clocks off except LSI and LSE, RRS bit set (keeps voltage regulator in low power mode). SRAM and registers contents are lost except for the SRAM2 content, the RTC registers, RTC backup registers and Standby circuitry. (+) option b) all clocks off except LSI and LSE, RRS bit cleared (voltage regulator then disabled). SRAM and
Hi, I am trying to run NUCLEO-WL55JC in low power mode. I tried to measure the current consumption, even during Radio.Sleep() mode, it is consuming around 30mA. Is there any way to reduce the current consumption further??
Hello everyone! Could you, please, help me and explain how to use ADC in my p2p server application via DMA.What have I done to get an ADC multichannel conversions in stm32wb app: // in app_ble.c/* USER CODE BEGIN HCI_EVT_LE_CONN_COMPLETE */ HAL_GPIO_WritePin(LD3_GPIO_Port, LD3_Pin, GPIO_PIN_SET); // Program Startif(start_counter != 0){HAL_TIM_Base_Start_IT(&htim1); HAL_ADC_Start_DMA(&hadc1, (uint32_t *) &ADC_buffer, 2);start_counter--;}so after connection device starts a TIM1 and ADC in DMA mode. Then in app_entry.c I have defined two functions - ADC and TIM Callbacks. TIM1 callback works perfect and runs its task after each period overflow, but ADC Callback does not called./* USER CODE BEGIN FD_WRAP_FUNCTIONS */void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim){ if(htim -> Instance == TIM1) { UTIL_SEQ_SetTask(1 << TIM1_ID, CFG_SCH_PRIO_0); }} void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc){ if(hadc -> Instance == ADC1) { UTI
I am following the steps from a ppt document (https://community.st.com/s/global-search/stm32wb). I do the exact configuration in my CubeMX, but when i generate the code in Atollic or StmCubeIDE there aren`t some files like app_ble inside STM32_WPAN. Instead of that there are the files of the image. Do you Know how can I solve this problem?. I think it is probably due to a wrong location of the files, but i can not find the error.Thank you!
In the driver I see SUBGHZ_PKTCTL1A can be configured to enable PRBS9 test.static void RadioTxPrbs( void ) { SUBGRF_SetSwitch( SubgRf.AntSwitchPaSelect, RFSWITCH_TX ); Radio.Write( SUBGHZ_PKTCTL1A, 0x2d ); // sel mode prbs9 instead of preamble SUBGRF_SetTxInfinitePreamble( ); SUBGRF_SetTx( 0x0fffff ); }The RM describes the bits but it's not clear how they are used.Bits 7:6 Reserved, must be kept at reset value. Bit 5 SYNCDETEN: Generic packet synchronization word detection enable Bit 4 CONTTX: Generic packet continuous transmit enable Bits 3:2 INFSEQSEL[1:0]: Generic packet infinite sequence selection 00: preamble 0x5555 01: all zero 0x0000 10: all one 0xFFFF 11: PRBS9 Bit 1 INFSQEQEN: Generic packet infinite sequence enable Bit 0 WHITEINI[8]: Generic packet whitening initial value MSB bit [8]Can I use this register to do a CW test at minimal modulation by setting the INFSEQSEL to 01 (all zeros)? Would the command be SetTxInfinitePreamble() or SetTxContinuousWave()?Basic
Hi there,I came across several articles that mention that the number of packets sent in a connection interval is one of the major parameters limiting the maximum throughput achievable over a Bluetooth connection. I also learned that Bluetooth 4.2 and above allow the master to send multiple packets in a single connection interval, and that it is controllable by the master itself. However, I could not find any significant information about how to configure/increase the number of packets sent in a single connection interval in the STM32WB series.It would be really great if someone could guide me towards having a better understanding of the same.
I am trying to understand how to control power on the stm32wb55. I am running the PWR_STANDBY_RTC example from the latest stm32cube. When in standby I am reading 900 uA. This seems high. What should I expect?
I am trying to set some services as secondary.When the client sends the "Find Included services" I don't see any events on the STM32WB55 side.The logs from client indicate:[18:57:40:898] : 'Find Included Services' request sent[18:57:40:898] : Start Handle: 0x0001[18:57:40:898] : End Handle: 0xFFFF[18:57:40:899] : 'Command Status' event received[18:57:40:899] : Status: BLE_STATUS_OK[18:57:40:911] : 'GATT Error Notification' event received[18:57:40:911] : Error Code: BLE_GATT_ERR_ATTRIBUTE_NOT_FOUNDError: gpm.M1010: Find included services failed. Attribute not foundI checked and the STM32WB has a secondary service at handle : 0x0012and its 2 characteristics at handles: 0x0013, 0x0015
Hi,I have two NUCLEO-WL55JC1 boards with me. I want to make one board as a end device and one board as a gateway. I found end node example with in firmware package of STM32WL but not found any example for gateway.Is there any gateway example available for NUCLEO-WL55JC1?Is this board(NUCLEO-WL55JC1) capable to run gateway example on it?Please help me to resolve above questions.Thanks,Ankit
A tricky one here,Migrated the BLE_HearRateFreeRTOS to a keil FuSa project. Using uvision.During the Init process, the first BLE event that I receive after programming is an " unknown sys evt" .Trace :11/03 09:58:21.646 #1 unknown sys evt received: d811/03 09:58:21.646 Raw bytes size : 3, data: c8 d8 00After I press the reset button, and run the program again everything works fine. Using the STM32WB55.
Hello,I'm working on a STM32WBRGV6, with dual CPU's, CPU1 for main application and CPU2 for the BLE stack.I need to make the device ultra low power, and for that I launch the CPU2 in run mode only when I need it (on an external INT), with APPE_Init() function.I would like to know if there is a way to put it back to a reset state? I can only find commands to release it from reset (with C2BOOT in PWR_CR4 register), but nothing to put it back in reset.If I put CPU2 in shutdown/standby mode, it is still using too much power for my application.Thank you in advance,Rico
CubeProg 2.6.0 is very unstable! I use it to program (upgrade FUS, stack) my stm32WB55 on MB1293C board and sometimes when I push buttons CubeProg is closing.Windows 7.
I have followed the steps detailed in the release notes, but both using the GUI and the CLI I still get the error about the firmware being not authentic (despite having downloaded it from ST's website).Here's the log from the CLI:./STM32_Programmer_CLI -c port=usb1 -fwupgrade /home/rob/Downloads/stm32/STM32Cube_FW_WB_V1.12.0/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_FUS_fw_for_fus_0_5_3.bin 0x080EC000 firstinstall=0 ------------------------------------------------------------------- STM32CubeProgrammer v2.8.0 ------------------------------------------------------------------- USB speed : Full Speed (12MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in FS Mode SN : 206332A3544E FW version : 0x011a Device ID : 0x0495 Device name : STM32WB5x Flash size : 1 MBytes Device type : MCU Device CPU : Cortex-M4 Current FUS Version : 0x00050300==================] 100% Uploaded FUS Version : 0x01002000 FUS state is FUS
Hi,We want to start a devices production with these two MCU STM32WB50 and STM32WB55 MCU.For security control, does it exist a solution for identitfied a MCU before programming it?Thanks,
Hey, i found the pretty new User Manual 2804 for STM32WB Series. They mention HAL Drivers for STM32WB. But i cant find any source code related to this. Maybe u can help me with this.Best regardsDominik
HelloI'm configuring reception of packets with known preamble and sync word, in 2-FSK mode, but it seems like radio is doing what it wants but not what I want. Apparently although I change sync word to some different value, packets are still catched, together with proper ones. Statically it doesn't matter what do I put there, more or less both sync words give me 50% "good" packet reception. Received packet is loaded into buffer with part of preamble and sync word, which is also not good. Besides it is catched randomly, some more or less preamble and sync word part, more or less means also shifted by 4 bits (nibble) , payload is then also shifted accordingly. I don't use CRC since mechanism for that gives only one CRC in packet on last bytes, we need few of them. I don't use variable packet lenght, since it doesn't work either. First byte that contains packet length is encoded in our packets in NRZ (3out of 6), so it would have to be decoded in HW in place to make it useful for anything
Hello. I am trying to run an example of a P2P server on my own board built on the stm32wb55cc chip, I hang on the line Ble_Hci_Gap_Gatt_Init (); more specifically in the loop while((EvtSet & EvtWaited) == 0) { UTIL_SEQ_EvtIdle(current_task_id_bm, EvtWaited); }and I can’t get out of itwhy is this happening. Has anyone encountered such a problem?
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.