Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
The problem can be simplyfied to this code:int startFlag = 0;void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ startFlag = 1;}int main(){ if(startFlag== 1){ //crashes at first iteration (Hard_Fault_Handler) int *test = malloc(sizeof(int)); }}But this works like a intened:int main(){ int *test = malloc(sizeof(int));}I really dont see the obvious issue here. I made sure that the Callback function is completly finished and also tried it with " volatile int startFlag = 0;" but it didn't help.Can someone help me?
How can I change the interval of ble notification (in C/S frame)?
I have an STM32WB that is configured in central, it connects to 8 devices in peripherals mode at the same time. This configuration works well, but from time to time the BLE stack does not respond, I see 8 peripherals disconnected and I do not receive any event from the central stack. When I try to reconnect on the central side, the stack does not respond.Have you ever had feedback on this kind of problem?Sincerely,
Hi community,I have devices with own firmware in which I use also the BLE_OTA app with slight modifications to upload updates to my own firmware. Initially I used the app from ST to update the firmware. Then I created a tool in Python for Windows, Linux and macOS to update the firmware. This worked relatively up to a certain point. Before a month, I started creating an application in Bluetooth Web API to do firmware updates. In my first tests, I noticed that it was quite common for the BLE_OTA application to crash for unknown reasons when uploading firmware. In my case, FUS and BLE Stack were version 1.2.0. I did tests on the original version (without my modifications) of BLE_OTA and the same thing. Further on in the BLE_OTA code I ran Watchdog (IWDG) which saves the situation a bit, because at least now I don't have to disconnect power and reconnect as the problem occurs. I'm also doing tests with the tracer running via USB, but I can't catch where the problem lies because t
..
Is the ble server notification interval at least 7.5ms?Can I reduce it?If the throughput is not enough and the notification interval can only be as low as 7.5ms?Am I the only way to increase the amount of data per notification (for example, from 15bytes to 150bytes).
Hello, I recently bought an STM32WL55JC2 board (nucleo). I have downloaded the STM32 IDE.When I connect the card in USB directly to my pc there are three LEDS that blink successively (red green blue).I can build my project (empty) on STM32IDE on both cores.Except that I have the error NO ST LINK DETECTED.I tried to change debugger but nothing to do.I also tried to install STLINK via the ST site but it does not change.In the USB device manager I see that "ADB interface".In the ST folder I tried to install the STLINK driver but it does not change my error.Should I buy a debugger in addition to the card? Thanks
I want to use an external multiplexer to increase the number of ADC but switching speed is one of concern.Fortunately, some multiplexer has a 13 ns switching speed (~100 MHz) and I'm planning to switch it using a GPIO signal.However, it arises concerned on the switching speed of the GPIO pin also.What is the switching speed of a GPIO pin for STM32WB55 microcontroller?
I would like to know if I can use X-NUCLEO-CCA02M2 to input speech audio and X-NUCLEO-CCA01M1 for speech audio output?
I use my own board (as ble server) to notify the client, each notification is 120 bytes, I found that I can only transmit 30 per second. Actually my requirement is 100 transfers per second.Do I need to modify anything?
I had thought about the 5G that is present in my city but I don't know if it is a good idea. I would also need to receive the audio and video signal. is it possible to make?
I am getting this event upon sending : ACI_GATT_EXCHANGE_CONFIGI can't understand why I am getting it. What procedure is complete?According to AN5270 I should not get it for that command.
Hello, I just received my WL55JC2 card and I would like to blink one of the leds on the card with a very simple line of code but I don't understand why it doesn't work. I noticed that the led was pinned on the GPIOB which was not enabled in the generation of my code.Here are some screenshots to help me. Thanks
Hello,The datasheet for STM32WLE5xx states, that this series is capable of OTA firmware update, however I am not able to find any resources on how do perform it. The only document that shows up is the AN5554 application note on firmware update over the air (FUOTA), but it's only applicable to dual-core STM32WL55xx series, and not single-core STM32WLE5xx.Is there an error in the datasheet? If not, I would greatly appreciate any pointers/resources on how to perform OTA for STM32WLE5xx series.
In my application, I need to put the MCU in a low-power mode and wake it up periodically (ashttps://community.st.com/s/article/how-to-configure-the-rtc-to-wake-up-the-stm32-periodically-from-low-power-modes). The MCU is connected to a sensor. While the sensor is collecting data, the MCU is in a low-power mode. The modes I tested my code with are SLEEP, LPSLEEP, and STOP2. The wakeup source is RTC.LSI1 is said to be less power-hungry compared to LSE, which is why I would prefer to use it. When I select LSI1 as a source for RTC, I cannot reset the MCU using an external button connected to the NRST pin (only turning the power on and off restarts it). When LSE is used, the MCU operates as expected. In RM0434, it is said that LSI is available in all the above modes.I was not able to find the root of the problem. I would appreciate it if you could provide me with any suggestions on how to better explore this issue (which registers' content to check, I assume; probably, RCC_CSR and RCC_BDCR).
I am getting a pairing complete failed event.how to configure the authentication configuration for the central/ client?
Hi.. Geeks Hope all are doing well I'm using STM32WB Cube FW version 1.13.2 with FreeRTOS I'm facing a very weird issue for a few days Actually, I have allocated one GPIO as a sensor trigger with the Load switch Initially, GPIO is working well before the BLE starts But, after the BLE advertising and pairing with the host, I'm unable to trigger the same GPIO!If I'm not wrong then I guess, in the ideal case after the BLE advertising starts, the CPU2 will get activated At the same time, it's turning off some of the peripheral's clockAny suggestions on that ?Thanks Mahendra Sondagar
Zigbee test using 1xZC and 1xZR.For ZR to join network, the distance to ZC was limit to arround 2m. After join network, the distance ZR message to ZC can be extended to about 20m.Not understand why the join distance so short. Here's my test setup: Hardware platform STM32WB5MMG development Kit (MB1292C)Stack/Version: stm32wb5x_Zigbee_FFD_fw / v1.14.1Application: Zigbee_OnOff_Server_Coord & RouterThanks.
Hello,I am currently using STM32WLE5CC MCU, which has a great feature of RTC with 32-bit sub-second wakeup counter, But I need a low cost MCU for my other non lorawan project, which also need this "RTC with 32-bit sub-second wakeup counter" feature.Please suggest MCU in Ultra low Power with RTC with 32-bit sub-second wakeup counter, and if this sub-second counter underflows, then it generates interrupt.Thank You
Hi! I'm working on STM32WLE5JC micro-controller. Is there any way to write the firmware in such a way that I don't have to send the join request every time the controller wakes up or restarts?I mean when I first time join the network, what are the specific parameters that I get in return and by saving them into the flash, retrieving them after a restart and get connected to network without sending the join request.Any help if you can, I shall be very grateful.Thank you.Regards.
I'm trying to make my custom STM32WB55 board.Recently, I succeed to start programming the STM32WB55VGY6TR but the advertisement of custom Bluetooth low energy does not start. I tested programming the Nucleo-WB55 board with the same coding and it was successfully coded and advertised custom Bluetooth. So, I can conclude that there is no problem with the code.I checked what is happening in the microcontroller using USART communication, but there is no wireless firmware version (It was 1.0.0 in the Nucleo-WB55 board) and no message regarding starting advertisements like below. Is there any possible reason it does not work?My RF structure in the custom board looks like below.
Greetings,what is the recommended frequency deviation parameter for the FSK modulation with 250 kbps bitrate?Or rather what is the dependency of RX sensitivity in relation to the FSK_FDEV parameter?I can see that the limitation is to have the modulation index > 0.5, so in this case that would mean that FSK_FDEV > 62.5 kHz and also the limitation is on BW, so FSK_FDEV < 125 kHz.In that range, what FSK_FDEV will give me the best RX sensitivity?Best regards,Domagoj
Hello everyone,I am now working with LoRaWAN_End_Node on Nucleo-WL55JC1 and I found no place to change configuration such as BW, TX power, Spreading Factor, etc. in this example (Probably, I found at wrong places).Is it possible to change those factors in this example and if not, is there other example from MX I can do that?Kind regards,Huy Nguyen.
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.