Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi,can someone help me with how to write a value to the server from the client? which API to useThank you,
Hi,I am using STM32WB55CG6 custom board and configured as cliend and trying to connect with server(ESP32 configures as server).When a button is pressed i am connecting to server =============================================================void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ if(GPIO_Pin == 1) { APP_BLE_Key_Button1_Action(); }}void APP_BLE_Key_Button1_Action(){ UTIL_SEQ_SetTask(1 << CFG_TASK_START_SCAN_ID, CFG_SCH_PRIO_0);}==============================================================As soon as client makes connection with server, client device go to HardFault_Handler.I tried debugging problem is some where in function UTIL_SEQ_Run local_taskset = TaskSet; local_evtset = EvtSet; local_taskmask = TaskMask; local_evtwaited = EvtWaited;I have not modified anything other than the Button press->start scanning-> find my device -> connect.I am stuck at this point can some one please help me with this!!!Thank you,
When uploading a wireless stack image via the ble ota application, how is it communicated to the FUS where the image is located in flash ? At the end of the data transfer, in otas_app.c there is the part where it says in the comments "Request CPU2 to reboot on FUS by sending two FUS command" but as far as I can see image location and size are never communicated to the FUS. In AN5185 it is mentioned when using the programmer you should put it at DownloadAddress = 0x08000000 + (SFSA x SectorSize) - ImageSize - 1xSectorSize so I am guessing this is also the case then when using the ota update, but even then the FUS does not know the image size so it would not know the start address (unless there is a 'footer' section in the image at a fixed location in the end). And on a sidenote, what is the deal with the 2 FUS get status commands after another trigger a reboot ?? Do I understand that correctly ? What are the timing requirements thre, if the processor is preempted by some interrupt betwe
..
I bought the P-NUCLEO-LRWAN3 STM32 Nucleo starter pack for LoRa and it says that if the NUCLEO-LO73RZ board's serial number is within a certain range, which it is, the board must be updated with a new firmware before use. However, the link provided only takes me to the LoRaWAN software expansion for STMCube. So, where can I get the new firmware that I must update the board with?
We made a custom PCB board using STM32WB5MMG. We tried connecting with ADS1299 using SPI, but we are new to this controller. So we didn't know how to enable SPI and transfer and receive data from it.Thanks,
I have a board P-Nucleo55WB and I have to receive data from usart syncronized with external clock. Is it possible?I tried to configure with CubeMX as Syncronized Slave and I see USART1_CK enabled, but this pin is not used for receive the external clock, is it correct?In the generated code I see this /*-------------------------- USART BRR Configuration -----------------------*/ /* BRR is filled-up according to OVER8 bit setting which is forced to 1 */ USART_GETCLOCKSOURCE(husart, clocksource); switch (clocksource) { case USART_CLOCKSOURCE_PCLK2: pclk = HAL_RCC_GetPCLK2Freq(); usartdiv = (uint32_t)(USART_DIV_SAMPLING8(pclk, husart->Init.BaudRate, husart->Init.ClockPrescaler)); break; case USART_CLOCKSOURCE_HSI: usartdiv = (uint32_t)(USART_DIV_SAMPLING8(HSI_VALUE, husart->Init.BaudRate, husart->Init.ClockPrescaler)); break; case USART_CLOCKSOURCE_SYSCLK: pclk = HAL_RCC_GetSysClockFreq(); usartdiv = (uint32_t)(USART_DIV_SAMPLING8(pclk, husart->Init.BaudR
Dear Everyone, I created a custom STM32WB55 board taking hardware consideration from the RF hardware guide. Instead of a discrete matching network that was used on the Nucleo, we used IPD (integrated passive device), which was pretty much the equivalent. Based on pg.32 of AN5165. The schematic and the actual PCB design are shown below. The custom MCU of the custom board was ok, I could load firmware, debug and code just fine, but when I tried the BLE, I could not even detect the device on the BLE toolbox. I tried the Beacon sample firmware still nothing can be seen. Can someone help me with this issue, or has somebody encountered the same problem?I’ve exhausted the net, scouring for a possible solution, but it is hard. That is why I’m asking for somebody’s expertise regarding this.
We made a custom PCB board using STM32WB5MMG. We tried connecting BLE and USB (DFU mode) together using STMCubeIDE, but if we enable BLE USB is not working. But without both are working well independently. We are new to this controller. So we didn't know how to enable both.
I have a WIO-5 mini from Seeed. I bought STM-LINK V2 to program it. But I can't attach it to STM32 Cube Programmer; I read this page Wio-E5 mini - Seeed Wiki (seeedstudio.com), but I found it completely unusable. I tried to connect STM8 wires to that chip, but the cables on the photo are entirely different from those in my ST-LINK device. They have different colors, and the authors of this page don't explain which pin should be attached to WIO-5 pins. I tried to do it in many ways, but STM32 Cube Programmer doesn't;t react to Connect button (without success or fail message)So I have a question, how to program a WIO-5 device using ST-LINK?
Hey Everyone. Happy new year. I hope everyone is okay.I am developing a BLE device using STM32WB55RG.The test board I am using is as follows.P-NUCLEO-WB55MB1355D-01It's my first interaction with STM32WB MCUs so I followed the Getting Started Series video and particular : "STM32WB Getting Started Series: Part 12b, Lab. Receiving data from the phone".I followed all the steps mentioned in the video. However, when it was a time to test the firmware. I couldn't see the device in the ST BLE Toolbox app. Can you guys please help me out, what should I try next? Thanks.
Hello!I am using STM32WB5MMG processor to start working with mass storage class using the internal FLASH memory. However, I have a problem with using the internal FLASH to declare the capacity of the built file system, because the device is detected by the computer, but without obtaining information about its capacity or the size of the allocation unit.I tried to use the advice from this post ("STM32F4 mass storage class with internal flash"), but unfortunately it didn't work.Best regards.
I am trying to setup a ble server on a stm32 board that does not have a lse crystal. I have followed the normal steps and the steps that use the hse crystal instead (https://community.st.com/s/article/configuring-stm32wb-for-bluetooth-le-without-an-lse-crystal). I managed to get this setup to work on a WB55RG board but I am unable to get it to work on the custom board. The generated code gets to initializing the time server inside the generated HW_TS_Init function in the hy_timeserver.c file but it then errors saying “No source available for "<signal handler called>() at 0xfffffff9�?�?. The error occurs in this part of the function./*** Initialize the timer server*/for(loop = 0; loop < CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER; loop++){ aTimerContext[loop].TimerIDStatus = TimerID_Free;}If I stop pause it before the loop I can step through the loop and make it a few lines down before the error happens.When paused I am unable to step any further into the code because the debugger
I have a BLE server derived from the STM provided BLE examples. The server ID that it generates is 00012002FF77. How is this generated? I can't find it anywhere in the code. Should each of my devices use the same ID or should they each generate unique server IDs? If so, how do I do that?Sorry for my BLE ignorance!
The code in question is below. You can see that each of the characteristic handles have an integer added to them prior to the comparison (i.e., + 2, + 5, +1). Why? case EVT_BLUE_GATT_ATTRIBUTE_MODIFIED: { attribute_modified = (aci_gatt_attribute_modified_event_rp0*) blue_evt->data; if (attribute_modified->Attr_Handle == (aDataTransferContext.DataTransferTxCharHdle + 2)) { /** * Notify to application to start measurement */ if (attribute_modified->Attr_Data[0] & DTS_STM_NOTIFICATION_MASK) { APP_DBG_MSG("notification enabled\n"); Notification.Evt_Opcode = DTS_STM__NOTIFICATION_ENABLED; DTS_Notification(&Notification); } else { APP_DBG_MSG("notification disabled\n"); Notification.Evt_Opcode = DTS_STM_NOTIFICATION_DISABLED; DTS_Notification(&Notification); } } //if (attribute_modified->Attr_Handle == (aDataTransferContext.DataTransferTxChar3Hdle + 2)) if (attribute_modified->Attr_Handle == (aDataTransferContext.DataTransferTxChar3Hdle + 5))
Hi,I'm looking for help configuring STM32WB55 as a heart Rate Collector. I'm currently using the Nucleo-WB55RG and the Heart Rate example project only sets the nucleo up as a heart rate device.I'm looking to set the nucleo up as the central device that will connect and collect heart rate info from another off the shelf BLE heart rate sensor.Any help is greatly apprieciated Chris
Hello,I need to if it´s possible to perform an OOK modulation with the STM32WL55JC (433 MHz or 868 MHz). If so, how can I do it, and does somebody has an example for this?Thanks!
Hi team,I am using LoRa-E5 dev board that uses STM32WLE5JC MCU.I have been trying to implement ADC peripheral.How do I configure the +Vref of the ADC? Is there any configuration parameter or API?Thanks.
Hi, I would like to use OpenBootloader on my STM32WB35 but I do not find any exemple about it. There is a repository on the official STM github but it is empty : Maybe somebody from STM can correct this :) I already checked the STM32Wb package and there is nothing about openBootloader inside. Thank you.
I know there is no simple answer to the above question. It depends on how many packets my network is sending. Maybe there is a formula predicting the number of nodes in the network where I know what data is sent and how often. I want to know if my network can work with 10, 100 or 1000 nodes. Any suggestions on how to calculate this?
Hello everyone,I'm migrating a code base from the STM32L475 to the STM32WB55. The WB55 was selected due to availability and it's not expected to use the connectivity features (BLE, ZigBee, etc.) it has.Looking at the OTA firmware upgrade examples for BLE/ZigBee it's not clear to me if I can use that in a project when not using the connectivity stacks.I am still looking at AN5185 to implement something without using a wireless stack but using the firmware upgrade services.The previous hardware (L475) had dual banks so the upgrade was implemented using one bank at a time. In the WB55 there is only one bank available, one idea is to partition this bank and allocate an amount of space to store the new image.As a side note, the image is received using an LTE connection.Do you have any suggestions (examples, projects, input) on implementing the firmware upgrades on the WB55?Regards,Carlos
Hi,I'm working on transmitting audio over BLE. I have successfully connected SPH0645 mic using I2S and also I have connected speakers for the output. The thing is I don't know how to transmit audio over BLE. I tried creating custom template to notify the audio value buffer. Can anyone help me with this. Thanks in advance.
Hello, In the product specification STM32WLE5xx/STM32WLE4xx, december, 2022 DS13105 Rev 12, we can find on page 137 a recommended footprint in Figure 32 for the UFQFPN48 casing.But, we can also download the footprint of this casing in the CAD Ressources, for example link: STM32WLE5CC - Sub-GHz Wireless Microcontrollers. Arm Cortex-M4 @48 MHz with 256 Kbytes of Flash memory, 64 Kbytes of SRAM. LoRa, (G)FSK, (G)MSK, BPSK modulations. AES 256-bit. Multiprotocol System-on-Chip. - STMicroelectronicsThe both footprints are not identical (pad dimensions etc...).Why do we have 2 footprints for the UFQFPN48 casing ? Could you tell me the best footprint to use? Thanks in advance, regards, Daniel.
Hello, I can't get a current lower than 108µA in stop1 mode. It's expected 3µA in the datasheet.I set all pin in analog input mode, disable the debug in low power mode.I try with the NUCLEO Board as explain in the article number n°2190.I also removed all JP2 jumpers to decrease the current consumption of the shift level.Has anyone always succed to get 3µA in stop1 mode with this MCU.Thanks,
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.