Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hello,I want to change the mode of iBeacon (M0+) to server or client through button switch while Cortex-M4 is runningHardware initialization or rtc initialization should not be performed when the corresponding function is operating.Thanks
HelloI request more antenna specification for STM32WB5MMG.As datasheet, already provided, there is an antenna radiation patterns and efficiency but no more information about peak gain etc.If there is an antenna performance report, that shuld be the best.sincerely
Hi!I need to have the ability to program an external SPI flash (W25Q32) via External Loader.I've implemented the loader as described here and it worked successfully for smaller binary file, yet I've got some issues uploading a bigger binary.Once I decided to upgrade CubeProgrammer to the newer version (from v2.4.0 I used) External Loader stopped working and don't even start.The behaviour I see now is same as the one described here.The MCU is STM32WL55. Please specify what might be wrong, because CubeProgrammer is some kind of "black box" here.BTW, debugging with CubeIDE works and Init method works as well.
I am using a SAI device on a SMT32WB55. Using it as a wavetable synth that produces a triangle wave. I am able to play my triangle wave for x amount of time with HAL_SAI_Transmit_DMA(&hsai_BlockA1, (uint8_t*)data, size);And later stop it with a timer using : HAL_StatusTypeDef status = HAL_SAI_DMAStop(&hsai_BlockA1);Whichever frequency I use for my triangle wave, the sound is fine. However, if I play another note after the first one, I can ear so pop/clicks/tearing that gets worst after each note. If I play diferent notes, I can still hear a trail of the previous note before the right frequency kicks in. Everything is reset in the triangle wave generator after each note and the array assigned to the dma circular buffer in the transmit function is memset to 0 just in case.After inspecting the HAL code for the HAL_SAI_DMAStop function, I can see that the dma requests are stopped and the fifo is cleared. So there should be no residual data when DMAStop is called.Is there something
..
I am using the STM32WB55CCU6 low energy Bluetooth microcontroller. As I am not using the USART interface and don't need to support a Real Time Calendar clock, I didn't attach an external low frequency crystal resonator. However, I am wondering whether this was a mistake as the BLE Bluetooth interface requires a low frequency clock [ RTC ] and it doesn't seem possible to use the internal low frequency clock [ LSI ] - disabling RTC also disables the RF section in the .ioc file.Is there some form of work-around that allows for the use of the internal low frequency oscillator ?@JBlac.1
Hello,I want to know difference between SYSCLK and SystemCoreClok.When ı try to configure clock of different peripherals I saw terms SYSCLK and SystemCoreClock. I use MSI for SYSCLK which is configured to 32MHZ and for cpu1 ı divided sysclk by 4 and get 8 MHz . So my HCLK freq is 8 MHZ.On the code I saw something like LL_SetSystemCoreClock(8000000);and for SYSCLK ı saw something likeLL_RCC_SetSysClkSource(LL_RCC_SYS_CLKSOURCE_MSI);What ı want to understand is that if I set core clock 8MHz is it mean that the SYSCLK is also 8 MHZ or not.
I'm generating code with STM32CubeIde 1.11.0 for a STM32WB55, in my test project there is an USB CDC and BLE is enabled.When I enable BLE also IPCC must be enabled, but after HW_IPCC_Init is called usb clock is wrong so my usb device doesn't work anymore.The specific function which corrupt the clock is HAL_NVIC_EnableIRQ(IPCC_C1_RX_IRQn)I have error on my linux: usb 1-2: Device not responding to setup address.Is there a solution?
The enable boxed are there, but only for EXTI line 2, it's greyed out.
Hello, I have a stm32wb55 nucleo board,I want to know that whats is the logic behind that , In reference manual it says After a system reset, the MSI oscillator, at 4 MHz, is selected .Lets say I want to use HSI or HSE for specific application and I want to set SYSCLK, HCLKs and other clocks .How can I implement a code that configure HSI,HSE selection and SYSCLK etc. I want to do that using LL(low layer libraries). Thanks for your helps
Hello,I am using BLE_OTA project for STM32WB55. I upload a bin file which is 350 kb using ST BLE Sensor. However, the upload speed is so lower for some phones. For example, it takes up to 450 seconds on some android phones while the others take 25 seconds. Is there any way to speed up?Thank you.Have a nice day.Serhat.
Hello everyone, I'm using BLE_Ota application for STM32WB55 (https://github.com/STMicroelectronics/STM32CubeWB/tree/master/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_Ota) I can able to run the code successfully. In the OTA code, it erases the flash by Delete_Sectors function in App_BLE_Init. So, it means that the flash is erased when switching the OTA mode. However, I want to erase the flash only when the upload process is started and if the user doesn't start to upload new firmware in 2 mins, exit the OTA mode and switch back to the application.Could you please help me how to do?Best regards.Serhat.
i have fuse 1.1.2 version and full_ble stack in the m0. The option bytes are 0x1FFF8078=0x9E2BD000 and IPCCDBA = 0.when i start the m0 ( bit 15 of PWR_CR4) I have that in the SRAM2B 20030000 : 24 00 03 20 00 00 00 00 00 00 00 00 00 00 00 0020030010 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0020030020 : 00 00 00 00 B9 56 46 A9 01 00 00 00 00 00 01 0120030030 : 00 00 02 01 06 00 00 00 03 00 0F 01 26 00 00 0020030040 : 00 00 00 00 00 00 00 00 00 00 00 00 95 69 1B 0020030050 : 26 E1 80 00 96 04 00 00 00 00 00 00 00 00 00 00this is correct. But when i try to send any request (example FUS_GET_STATE 2 times to start wireless stack) with ipcc the m0 didnt answer. I tried to enable ipcc for each cpu and enable it rx and tx for each but it doesnt work. the bit 1 ( for channel 2 ) in IPCC_C1TOC2SR is stuck to 1 ( the cpu2 did not put that bit to 0)
Hi team, I have purchased a development kit (LoRa-E5) from Seeed website. I would like to know the method to flash the code into the controller without using STM programmer (ST-link). Is it possible to do this way?Thanks.
(1) We use our own custom board with the STM32WB55RGV6, we want to test the radio.Question:Is the CPU2 CM0+ already programmed with the "stm32wb5x_BLE_Stack_fw.bin" from the factory?I have tried to download the "stm32wb5x_BLE_Stack_fw.bin" using ST-Link Utility and with assistance of a STM32WB Nucleo board, with address: 0x080CB000. The firmware download process was successful, no error message shown.(2) We have tested the board, by downloading a blink LED firmware to the CPU1 CM4F, it works well. (3) We also have tried to download the example "BLE_HeartRate" firmware, but the BLE is not detected by the ST BLE Sensor Mobile Application and by the ST BLE Profile App.firmware source: C:\STM32WB\Projects\NUCLEO-WB55.Nucleo\Applications\BLE\BLE_HeartRateQuestions:Is there any document or instruction on how to do further tests, especially the radio portion?What kind of tools needed?Should we use STM32CubeMonitor-RF app?Any comment, question back, or feedback would be greatly appreciated.Bes
I need receive data on UART and this uart should use an external clock (6.78MHz) and not system clock.It's should be possible todo it, but I can't find a solution, is there an example?I need set also a divisor on input clock for uart, is it possible?I trying with STM32CubeMX but without success.Thank you
From the ST BLE Toolbox app, I see the OTA Reboot Characteristic on my connected BT device. I type in 01 and the following code is executed:void P2PS_STM_App_Notification(P2PS_STM_App_Notification_evt_t *pNotification){/* USER CODE BEGIN P2PS_STM_App_Notification_1 *//* USER CODE END P2PS_STM_App_Notification_1 */ switch(pNotification->P2P_Evt_Opcode) {/* USER CODE BEGIN P2PS_STM_App_Notification_P2P_Evt_Opcode */#if(BLE_CFG_OTA_REBOOT_CHAR != 0) case P2PS_STM_BOOT_REQUEST_EVT: APP_DBG_MSG("-- P2P APPLICATION SERVER : BOOT REQUESTED\n"); APP_DBG_MSG(" \n\r"); *(uint32_t*)SRAM1_BASE = *(uint32_t*)pNotification->DataTransfered.pPayload; NVIC_SystemReset(); break;#endifWhen the reset occurs, the program at address 0x08007000 and not the OTA program at 0x08000000 is executed. According to the app note AN5247, the Reboot request characteristics is:Field 0 - Boot mode 0x00 for appl
Hello,I am looking to implement BLE MESH onto the WB10, however there are not any tutorials. I usually import the NUCLEO-WB15 onto the WB10 as they are similar bar a few config values but there aren't any WB15 MESH examples either, just the WB55. Has anyone got a BLE MESH example for the WB15 or WB10?
Hi team, I have been asked to work on STM32WLE5JC development kit. So, I have purchased one kit online. Meanwhile, I would like to know which IDE (for coding) is best to work with the kit as well as the other necessary hardware and software tool chain suitable for my purpose.Thanks.
Hello!I'm developing a project on chip STM32WB55. I have referenced the demo aboutBLE-HID of ST's "STM32Cube_FW_WB_V1.14.0" folder. Base on it, I configured my board become a hid keyboard Bluetooth LE. It worked well on laptop Windows and smartphone Android, Windows and Android can received data from MCU and print them on excel, text file or notepad,... However, on IOS, it can't work as I hope. My MCU still can connect with my Iphone, but my Iphone can't receive data from MCU and after connected I can't forget MCU device on Iphone. Clearly, Bluetooth feature on IOS has somethings difference from Bluetooth feature on Windows and Android. I tried many ways to fix this issue but I still can't find the true way. I hope I can get answers or help from everyone. I will so happy if this happen! Please help me!This is ST's demo project that I base on it to make my project:
HI,I'm currently struggling to add new characteristics and characteristic descriptors to my BLE profile. Unfortunately it seems that CubeMX does not support adding more than five characteristics and has no support for adding descriptors.This is the main code where I am trying implement a new descriptor (all in custom_stm.c file generated by CubeMX): And here is the return value I get (72) from the aci_gatt_add_char_desc(): Unfortunately I can't find any definition for what this value means. I found the following in a document online for another ST board (I am using an STM32WB5MM): Unfortunately none of these fit the bill. There is also no definition for this particular return value in "ble_defs.h", this is where the other BLE return values are defined.Apologies for the messy code, I have been trying everything I can to get rid of this error but haven't been able to figure anything out.Greatly appreciate any input on this issue. Thanks very much!
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.