Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi! We have a working project on the STM32WB55 nucleo board that we are ready to port to our target hardware which uses the STM32WB5MMG. However, the BLE portion of the project is not behaving the same. Specifically, it will advertise, but will not connect. We don't have this problem with the nucleo board. Worth noting: cubeMX is not generating the IPCC peripheral files needed for the STM32wb5MMG. We have a work-around copying the IPCC files from the nucleo project to the MMG version of the project. We've also gone line-by-line through the entire project comparing the working project to the non-working project and added IPCC related lines such asvoid IPCC_C1_RX_IRQHandler(void);void IPCC_C1_TX_IRQHandler(void);to the appropriate spots. Is there another way to port the project? Does anyone know why the project works fine on the nucleo, but not on the target module?
My device is the slave, that is being connected (not always in the same order) by 2 masters.I would like to create two different connection ways/points to distinguish between the masters.MASTER1 will always connect through "way1."MASTER 2 will always connect through "way2."And I could map the connection handles according to the way they connected.What could "way1" and "way2" be?I was thinking about changing the MAC address/Name I am advertising periodically, by that creating 2 connection points. First master will always connect through MAC1/NAME1. Second master will always connect via MAC2/NAME2.Is it possible? Could I know upon connection through what MAC#/NAME# they've connected?Is there another way?Thanks.
So im trying to follow the 1:20h tutorial about how to setup BLE,narrated by ringo start's voice and i reach the part in which he refers to an inexisting .pdf file containing the links for info about HSE calibration.As cant find that .pdf he is referring to....I am trying the manual configuration described in app note AN5042. I tie boot0 pin to 3v3vreset the mcuprobe the D6 pin with an oscilloscope.... no signal
Looking for a list of all possible commands/scenarios where CPU2 sends commands to CPU1(APP). I saw one specific case in AN5289 command during INIT, what are all the other cases?Any examples/ Further documentation will be great.
Hi,I try to set FUOTA with FREERTOS on NUCLEO-WB55 demo board.I start with the BLE_HeartRateFreeRTOS, I built it, flash it and all is ok.Then I flash OTA bootloader (I know it's working also cause I try to update with BLE_p2pServer_ota project and it's ok too)Finally in BLE_CFG_OTA_REBOOT_CHAR project, I change stm32wb55xx_flash_cm4.ld file with the one with OTA section and I modified ble_conf.h to enable BLE_CFG_OTA_REBOOT_CHAR. But after having being flashed on the STM32WB, nothing work anymore. I check memory and bin have been correcly written at the right address 80007000.Could somebody help me with this please?
Would like to have a better understanding on the IPCC memory manager channel.(Have read the AN5289 notes)Appreciate If you can shed more light on it.What is it purpose?Why do we have to clear it after some events?What are its memory parts purpose ? a. BleSpareEvtBufferb. SystemSpareEvtBufferc. EvtPoold. POOL_SIZEIn what situation it is used?Thanks
Hi All, I'm currently working on a project that uses the STM32WB5MMG module.I did a porting of one of the examples of the repository (BLE_Zigbee_Dyn) for RTOS and everything is working fine.Now I'm trying to put the MCU in STOPMODE2; a GPIO Interrupt will trigger the enter on STOPMODE.To manage the stop mode I did this operation 1) I redefined the portSUPPRESS_TICKS_AND_SLEEP function like this extern void vPortSuppressTicksAndSleep( TickType_t xExpectedIdleTime ); #define portSUPPRESS_TICKS_AND_SLEEP( xExpectedIdleTime ) if ( getLPModeEnable() == pdTRUE ) { vPortSuppressTicksAndSleep( xExpectedIdleTime );}in order to be able to avoid entering in sleep mode during normal condition 2) I create a task to manage the interrupt from the GPIO that trigger the STOP MODE/*TO MANAGE THE SLEEP */ while ((xTaskNotifyWait(0x00,0x00,(uint32_t *)&standby_irq,portMAX_DELAY) != 0) && standby_irq != GO_STANDBY)); prepareStandByMode(); /*TO MANAGE THE WAKEUP*/ while ((xTaskNotif
Is there a document describing all the shared memory between CPU1 and CPU2?Looked at AN5289 , but did not find any memory table map.How does CPU2 know where to put the answers for IPCC CPU1 requests?I see a lot of "PLACE_IN_SECTION" in the code not knowing is it shared or not.
If there is a release plan after version 1.0.0, what are the major changes?
If I invoke "hci_le_set_advertise_enable(0)" after advertising via "hci_le_set_advertise_enable(1)", I can no longer communicate with CPU2 and the C2DS bit inside PWR_EXTSCR is no longer set which indicates it didn't go into a low power state (and that CPU2 likely stuck somewhere).Has anyone else seen this bug, or can reproduce it? I'm running custom firmware on a custom product and haven't tried to modify any of the examples to do exhibit this on a stock product, but have successfully been scanning for advertising packets (and enabling/disabling scanning) without issue.This is against v1.11.1 on a STM32WB5x and I can reproduce with:stm32wb5x_BLE_HCILayer_fw.binstm32wb5x_BLE_Stack_full_fw.binstm32wb5x_BLE_Stack_light_fw.bin
HelloI just received my STEVAL-IDB008V1M evaluation kit. I have been trying to upload my code to the board for several hours after a successful compilation. But I always have this error message" no ST-LINK detected". I also installed the STLINK USB Driver but I still have the same error message. Can someone help me fix the problem ? Thank you
I'm working on getting an STM32WL to work with a RAK gateway. The RAK gateway is configured to use US frequency plan 2, however the lora end node does not appear to be transmitting within that range (it's using 910mhz instead of 903.9-905.3). Is there a way to configure which sub-band the STM32WL uses during transmission?
I'm working on getting the STM32WL on a Nucleo-WL55JC1 devboard to reliably communicate with my gateway (a RAK7243), however I'm running into a few issues. When transmitting from the devboard on the US915 band, I can see the transmission appear on an oscilloscope, so I know the board is transmitting. However, unless the 32WL transmits at nearly the exact frequency I configured the gateway to receive on the transmission never gets forwarded to my backend (chirpstack). I contacted RAK and they said this gateway was capable of receiving on all 8 channels for the US simultaneously, and that I needed to configure my channel plans on the end node. When I searched the Lora AT example project for channel plan configuration, I only found options for the Australian band, and nothing in the US.So my question really is: what am I missing here? I see the end node transmitting on varied frequencies, but my gateway only picks up one frequency even though it should pick up the entire US TX spectrum. A
I am trying to configure Bluetooth on STM32WB5MMG Module, but iam not able to find IPCC option in CubeMX.Please help me out.
Hi,We designed a custom PCB containing a STM32wb55cc and needed it to be connected by bluetooth with an application made by ourselves. Unfortunately, even if ou board is functionning pretty well with STM apps, with our own app we didn't manage to establish a connection between our board and a cellphone. We went through a lot of topics in this forum and didn't seem to see the same problem somewhere else. We also went through some workshops provided by STM over the BLE function but we didn't find any solution.If you need more details about our project feel free to ask.We hope we were clear enough about our issue.Best regards
I'm working with a STM32WB50. To save energy i have to turn off BLE when i don't need it and turn on when i need it.
I try upload FUS and BLE stack to STM32WB55. From listing from my console it look likes everything success but when I check version is different from 0:0x20030030 : 01000200C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1 ------------------------------------------------------------------- STM32CubeProgrammer v2.6.0 ------------------------------------------------------------------- USB speed : Full Speed (12MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in FS Mode SN : 206F3187544E FW version : 0x011a Device ID : 0x0495 Device name : STM32WBxx Flash size : 1 MBytes Device type : MCU Device CPU : Cortex-M4 Reading 32-bit memory content Size : 4 Bytes Address: : 0x20030030 0x20030030 : 00050300 C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw.bi
I am using a STM32WB55xx controller for my project. I am trying to implement the capacitive touch behavior to detect button press on rising edge and button release on falling edge (please see document attached for details)Q1. Will the Touch Sensing Controller (TSC) peripheral support this behavior ?Q2. Can I use TSC in interrupt mode for this? If yes, which callback ID should I be using from the following:typedef enum { HAL_TSC_CONV_COMPLETE_CB_ID = 0x00UL, /*!< TSC Conversion completed callback ID */ HAL_TSC_ERROR_CB_ID = 0x01UL, /*!< TSC Error callback ID */ HAL_TSC_MSPINIT_CB_ID = 0x02UL, /*!< TSC Msp Init callback ID */ HAL_TSC_MSPDEINIT_CB_ID = 0x03UL /*!< TSC Msp DeInit callback ID */ } HAL_TSC_CallbackIDTypeDef;Thank you,Arshiya Tabassum
Hi allMaybe you can help me understand something about the IPCC.From my understanding: In case CPU2(BlackBox) sends the CPU1 an command:CPU2(BLE) -----RX occupied ISR -----> CPU1(APP), look in Queue to get the user event.: CPU1(APP) --------TX free ISR---------> CPU2(BLE) , where is the data??When CPU1 (APP) gets a user event from CPU2, It sends a response to CPU2 in a form of TX free ISR is sent. Where is the data of that event?Thanks.P.s. I see that in the opposite direction the data is stored in pCmdBuffer
..
Hi, I am doing a project based on beacon tracking. For that, I have to detect the beacon and find the RSSI of received beacon using STM32WB board. Is there any possibilities to find out the RSSI value? and how can approximate the distance between both using RSSI?
Hi, into the SMT32CubeIDE is it possible to migrate code from STM32F1xx to ST32WB families?I mean, using the same basic code of the F103 and adding the BLE of the WB family?Thanks for any replyMaurizioPS: in case, is there any migration app note?
Hi,Now using Zigbee on STM32WB, and try to send a command to multiple nodes on broadcast or group addressing.Is there any way to check whether packets are received via-router or directly? Thank you.
I have 3 Nucleo-WL55JC1 boards and tried to activate the bootloader as AN2606.As an AN2606, it should activate the bootloader if there is pattern 13. When I have set the BOOT1 and nSWBOOT0 to 1(Checked on STM32CubeProgrammer GUI), and connected BOOT0 pin to VCC, then reset the board, but it still runs the user flash.Also set BOOT1 to 1, nSWBOOT0 to 0 and BOOT0 to GND, then reset, but same.It's very weird and couldn't find the same issue on the forum.Is there any typo on the reference or am I confusing?Any reply would be appreciated.Thank you.
Hello,I have a question concerning STM32WB55 MCU. We are using it, and use SWD as debug, without advanced debug features (traces).We are now facing complex bugs, and I would like to activate traces on that MCU for the M4 Core.We do not have TRACE pins routed, so ETM use is not possible. I have seen that ETB/MTB (Embedded Trace Buffer/Micro Trace Buffer) can be activated. If I understand well, this allows core to trace little amount of instructions execution, in a RAM area, which is dumped by the debugger.I did not managed to get it work, but it seems that this ETB/MTB is not available for that MCU. Can someone confirm ?Is there other mean of advanced debugging, to better know execution history before a crash ? Other than classic SWO printf.Thanks a lotCamille
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.