Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I'm busy debugging the RF conditions around my LoRaWAN installation.I get a lot of variance in both RSSI and SNR (+-10dB/+-6dB) and am trying to find it's source.In the absence of an SDR and other equipment, is it possible to read and report RSSI and SNR continuously. Ideally I'd like to distinguish Beacon and Data packets that come flying by.This would enable me to assess whether or not there are competing private networks that are impacting my QoS.I understand that the contents are encrypted, and have no interest in that data.I also understand that this data may never leave the transceiver chip, being first filtered out by the DEVEUI mask and possibly APP Key.Do I need to look at the other modulation modes as well (FSK, CW, Sigfox) since they may contribute to noise.
HiI just bought a B-L4S5I-IOT01A Discovery kit.Confession: I am completely new to ST, and I reckon I have a mountain of learning to do in a short time.However, I just read the blurb on the back of the kit and it essentially says: 1. Verify the jumpers are in the correct position 2. Connect to USB 3. Open terminal and enter Wi-Fi details 4. The loaded demo app will then connect to the Wi-Fi and the demo app will start an HTTP server.Well, I did steps 1, 2 and 3 and waited. But every time I try, I get the following:ERROR : es-wifi module NOT connectedThe complete output is output was as follows:Running HTML Server testeS-WiFi Initialized.eS-WiFi module MAC Address : **:**:**:**:**:**Already configured SSID: *** (WiFi) security: 2Press board User button (blue) within 5 seconds if you want to change the configuration.Connecting to ****** (WiFi)ERROR : es-wifi module NOT connected
The errata sheet ES0500 - Rev 4 mentions a workaround for 2.8.3 DMA stream locked when transferring data to/from USART where bit 20 of register DMA_SxCR shall be set. This register is not mentioned in the reference manual and not in the respective header files of STM32CubeWL.Q1: Is the mentioned errata relevant for the STM32WL5x family?If yes:Q2: How is the workaround implemented, e.g. where is register DMA_SxCR?Thanks!Carsten
Hi, I've got an STM32WB15CCU6 on a custom board and am currently trying to get it to boot from Flash memory after programming it with the STM Cube IDE.Debugging a program in the IDE works perfectly fine, but if I flash it to my microcontroller (using SWD) and remove the ST-Link from it and supply it from a different source, my LED blink demo doesn't run anymore. The BOOT0 pin is on GND via a 10kOhm resistor, this is my pinout from the IDE: I looked up the Option Bytes via the STM Programmer and they all seem to be set correct, as described in the boot process FAQ.In the PCC Tools, the configuration looks as follows: Does the Memory Fetch Type have anything to do with from where the MCU boots during a normal boot process and if so, do I have to set it to F_FLASH? It is currently set to SRAM1. If all of the above are correct that way, what else should I check to get the boot process to run correctly? Thanks a lot in advance!Best Regards, Nik
Hello I have two STM32WL55JC2 boards and I would like to run the PingPong DualCore example available in this WL package folder : I run the .project file on the STM32 IDE and I get this: After adding several missing .h files I manage to flash to the boards but I think I am missing a step.In the tutorial it says: " - Open your preferred toolchain - Rebuild all CM4 files and load your image into CM4 target memory - Rebuild all CM0PLUS files, set PWR_CR4_C2BOOT flag via CM4 and load your image into CM0PLUS target memory - Do the same for second board - Reset the two boards - Run the example on two boards - Open two Terminals, each connected to their respective PingPong Device - UART Config = 115200, 8b, 1 stopbit, no parity, no flow control"It's not working from now on and i think i've missed something but i can't find what."Rebuild all CM0PLUS files, set PWR_CR4_C2BOOT flag via CM4 and load your image into CM0PLUS target memory" i don
..
I want to send 2 kbyte data using BLE in WB55.Becasue the packet size is limited to 245 byte (it may be 509 byte if change ATT-MTU to 512 but still I couldn't make it.)So, I wonder whether there is good example for this.Could you suggest anything?
How can I check the ATT-MTU of the current connection (not setup)?What coding can I use to check? For example, I want to return ATT-MTU size through USART after measuring it in the microcontroller.
During several trial to use ACI_GATT_Write_Long_Char_Value,I found that the microcontroller dosen't start its BLE advertisement anymore.It only can indicate wireless firmware version.I think that some transmission cause an error.So, I tried to rewrite FUS and Wireless Stack firmware but it couldn't solve the problem.So, I wonder that there is any way to reset microcontroller completely.
HI everyone, I'm working on creating a sequence of files, that everytime the program starts to run, it creates a sequential file of the last one created. But I'm having troubles trying to create a logic that compares the name of the last file and create a sequence of it, and also I want to put constant data at it, so can i put the f_puts function at the main only, or I need to put it in the while? Also, to create a .csv file, It's just name it that way?I'm using a NUCLEO stm32WLThanks in advance!
Hi.I can see that CFGBSY bit is set and reset in some MX peripheral init functions, but the main problem is that it stays set after MX_TIM1_Init and it locks my flash for any operation.Did anybody saw this kind of problem?Any help will be appreciated.Thanks.
Hi, I would like to use USART1 insted of LPUART1 on LoRaWAN_AT_Slave exmaple. But when I try to do this, I can't choose USART1 on Middleware->LORAWAN->VCOM parameter in STMCubeMX (see screenshot).I don't understand why, thus in LoRaWAN_End_Node, it is possible to do that. Maybe this a bug in STMCubeMX?
Hi.I tried to use TAG_OTA_END and TAG_OTA_START from BLE_HeartRate_ota ST project the same it is used in this project to verify the FOTA operation was finished successfully.I added both, PLACE_IN_SECTION in my ble file and also I added this tags in the scatter file.From ble file:PLACE_IN_SECTION("TAG_OTA_END") const uint32_t MagicKeywordValue = 0x94448A29 ; PLACE_IN_SECTION("TAG_OTA_START") const uint32_t MagicKeywordAddress = (uint32_t)&MagicKeywordValue;From scatter file: *.o (RESET, +First) *.o (TAG_OTA_START) *(InRoot$$Sections) .ANY (+RO) *.o (TAG_OTA_END) My problem is that I get warning L6314W: No section matches pattern, and the tags doesn't exist in map file. I am using ARM compiler v6.16.2 (FuSa).Does anyone tried this kind of operation, adding tags to memory mapping?Thanks.
Hi, I have a problem with USB CDC on STM32WB55CE,My Project version is v1.13.& ble stack(stm32wb5x_BLE_Stack_basic_fw V1.15.0)it's all good on WB55CG(1M)but when I use WB55CE(512K)my CDC can work with no ble stack,and it will failure with stack, My computer cant recognize CDC.
I get the following error when I attempt to Build or Clean any project.21:36:49 **** Build of configuration Debug for project BLE_HeartRate **** make -j12 all "make -j12 all" terminated with exit code -1073741515. Build might be incomplete. 21:36:50 Build Finished. 0 errors, 0 warnings. (took 235ms)This is now occurring on multiple projects that previously built. It initially occurred in STM32CubeIDE 1.10. I upgraded to 1.11 and also did a complete uninstall & reinstall. I then generated BLE_HeartRate for the STM32WB-DK board in a new workspace.Are there any configuration files in hidden directories or in the Windows 11 Registry that could be corrupted?
Hy, I'm currently working on a project that requires CAN and that information needs to be sent via wireless, for that reason, I chose the NUCLEO stm32WL board. To make the CAN work I have to use the MCP2515 module, that converts CAN to SPI so that the uC can read it. The problem I'm facing is that there's not much content about this board and much less about the matter. The only library I found is this one: https://github.com/eziya/STM32_SPI_MCP2515).For the project, I need mainly to receive CAN data from another circuit board, and the baudrate of the bus is 500Kbps, which I set on the SPI configuration. However, I'm having troubles receiving such messages, since I can't read any data that is sent. I'm currently using that library, and altered the "stm32f1xx_hal." library for the "stm32wlxx_hal.h" one and with that it should be working. I could use some help to know if I'm configuring something wrong, or if I need to make some changes on the library, or if there's something about the b
Steps I am following:Scan for the server and get the MAC of the serverWhen the button is pressed call aci_gap_create_connection to start the connectionThen write the attribute and disconnect from the server.Hear the problem I am facing is it takes 3sec to establish a connection and then write an attribute all this process is taking upto 4sec.I want to reduce connection time to 500ms at least. Since I will be knowing server details already, with this can I reduce this time?I am trying but I am unable to achieve this.Can someone help me with this?Thank you.
Hello everyone, I am trying to secure data exchange between my STM32WB55 and an external android app ( with BLE) using the Chachapoly algorithm encryption and decryption example found here: https://www.st.com/en/embedded-software/x-cube-cryptolib.html, and for this as I understand there must be a shared secret key that both me and the app use in our Chachapoly algorithm. I added the ECDH_SharedSecretGeneration code example from the same source which uses the private_key and the external public_key to generate the shared secret key which should be identical for both me and the app. my question is, is there an example that can help me generate my own public_key from my private_key so that I can send it to the app for it to also generate the shared secret key or is there another way ? because I couldn't find an ECDH example to generate my own public key.thanks.
I developed a prototype using a UART to Bluetooth dongle, the HC-05. This worked like a charm. I could pair my smartphone to it and continuously send data between the MCU Board and my smartphone. Now I want to optimize size and cost, therefore I choose the WB15 to do the same task. However, I'm struggling really hard, as I'm not sure which protocol GATT, GAP, L2CC, etc. I have to choose. For example, I could manage to advertise, however when I want to pair my smartphone tells me I need a particular app to pair the WB15. Hence, the WB is only recognized as BLE Sensor and not as a bidirectional server/client.In short, I need something like the transparent mode, but the data transfer must be between the two cores and not over the UART. I'm struggling so much with the WB that I'm thinking to change to an ESP32 or rolling back to a System on a Chip like the BlueNRG which manages all the data transfer.
Hi,I am using B-L072Z-LRWAN1 discovery kit. I want to implement USB-CDC functionality for my project. I created the project using STM32CubeMX with the settings of USB-CDC after following this STM USB training link https://www.youtube.com/watch?v=h9T0RTu9Muc&list=PLnMKNibPkDnFFRBVD206EfnnHhQZI4Hxa&index=9After that i connected one USB to CN7 connector and run the code in debugging mode. Then i connected another USB to CN11 connector which is USER USB. As per the video, USB connected to CN7 should show one COM port with name "STMicroelectronics STLink VCP"USB connected to CN11 should show another COM port with name "STMicroelectronics VCP".But after connecting i am not detecting 2nd com port on my PC side in short no virtual port is showing after connecting to USER USB connector.Please guide me regarding this with any example related to the same controller or any hardware settings need to be done for its working.Thanks Shubham
As the title says, I want to create a wireless mouse and was wondering if it was possible to make a low latency mouse using two STM32WBs (one for the mouse and one for the computer). Is this possible with this MCU series or is it better to use a dedicated MCU and separate transceiver chip?
Our application connects ADS1299 with STM32WB5MMG through SPI and sends at least 250sps for data through Bluetooth. But we got a lot of examples using STM applications, but we couldn't get clear and straightforward code/examples for sending and receiving the data. Please share any examples, codes, or tutorials for our conditions.
this is what I see:###### AppSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C###### NwkSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3CAT+APPSKEY=?2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3CAT+APPSKEY=2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3CAT_ERROR
In the User Manual UM2435 for Nucleo STM32 provided the next schematic But in PCB we see the next I think that the next schematic is actual, is it correct?
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.