Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
STM32WB controllers are dual-core processers where Arm® Cortex®�?M4 core running at 64 MHz for application and Arm Cortex�?M0+ core at 32 MHz for network or BLE. To transmit data through BLE aci_gatt_update_char_value() Function used which blocks Arm® Cortex®�?M4 core.Why does the BLE Transmission function block Arm® Cortex®�?M4?Is there an approach or method to transmit data via BLE without blocking the Arm® Cortex® M4?
We are trying build a LoRa based vibration sensor node. We are using Murata's 1SJ open MCU based LoRa model, having inbuilt STM32L072 controller. We wanted to ensure the suitability of the inbuilt MCU for vibration measurement and analysis. We wanted to do FFT transformation of the vibration data with help of the DSP library provided with CMSIS. We also intend to use X-CUBE-DSPDEMO cube expansion package for the same. Does STM32L0 series controllers are capable of taking such workloads or should I go for an external MCU (say with Cortex-M4 core)?
Hi I am testing STM32WL55I am trying to communicate through UART1 and UART2 using DMA.I set up DMA as below. USART1_TX => DMA2_Channel 7 : Normal USART1_RX => DMA2_Channel 6 : Circular USART2_TX => DMA2_Channel 2 : Normal USART2_RX => DMA2_Channel 1 : CircularI set up RX DMA as below HAL_UART_Receive_DMA(&huart1, &rxBuffer1, 1); HAL_UART_Receive_DMA(&huart2, &rxBuffer2, 1);and I coded rx callback function as belowvoid HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { if (huart->Instance == USART1) { loadReceiveConsoleData(rxBuffer1); } else if(huart->Instance == USART2) { loadReceiveModemData(rxBuffer2); } }When sending data to UART1, the loadReceiveConsoleData function handles it well and there is no problem. But when sending data to UART2, the callback function is called only once, and the loadReceiveModemData function is not executed since it is not called after that. I don't know why.Can you tell me what is the problem ?and Can you le
I want to use USB_Device with CDC class and BLE together. USB_Device is used as virtual COM port. The BLE stack is initialized as server. Without initializing the BLE-Stack, USB device runs as expected. I can connect with a terminal, running on PC, with the serial port.The BLE stack is running anyway, I can connect with STM32 Sensor App. But at the moment the BLE stack is initialized, the USB_Device stops working. A connection via terminal is not possible anymore.Debugging the problem shows, that no USB interrupts are generated anymore. The problem seems to occure, when the sequencer runs the task with ID CFG_TASK_SYSTEM_HCI_ASYNCH_EVT_ID (BLE stack initialisation). This tasks is called each time the shci_notify_asynch_evt notification is received. By the way, heap is set to 0x2000 and stack to 0x800.I have generated the code with STM32CubeIDE Version: 1.5.1, using STM32Cube FW_WB V1.10.1. Additionally, I have followed and changed code according to Chapter 3 of STM presentation "How to
I saw the BLE security with STM32WB course at youtube by ST microelectronics. On this tutorial they show how to configure a characteristic pairing only. which means the pairing request could not occur during connection establishments. The connection established successfully without any pairing process. The pairing process starts only when i try to read a data from peripheral. I want to establish this paring process during connection b/w two devices. I would be glad if anyone has some advice for me.
Hi all,As you know, Nucleo -WL55JC1 activates both Hi and Lo Power modes for Tx. I reviewed the matching network for both Hi and Lo Power P.A outputs and filtering and matching elements values(capacitors & inductors) are not associated with calculating formulas given in AN5457. Therefore, I do not know what is the approximate P.A output impedance determining the specific matching network.What is the maximum attenuation that would be inserted from the filtering/matching network between P.A output and antenna socket when this circuit resonates at 868MHz?For my business case, I want to provide an average optimal TX power output of 17 dBm before the antenna. So, if we attach a helical antenna(50Ohms) with its gain of 3dBi, the accumulative total radiated power will be 20 dBi(EiRP). Because of range of P.A TX power in Hi mode varies from 15dBm up to 22 dBm, I will centralize(maximum resonance) the TX power at 17dBm@868MHz and manage low losses mismatching as much as possible for down si
I'm using the same network style as the NUCLEO-WL55JC which is tuned to a different frequency. This includes the use of the BGS13S4N9 RF switch that selects Tx (HP), Tx (LP) or Rx to connect with the antenna.The matching network design guide (AN5457) covers everything up to the switch but there's a network for matching to a connector or PCB antenna which comes after the switch.I want to use the Johanson 0915AT43A0026 chip antenna. In the datasheet they state that a pi-type L-L-C network (4.7nH, 10nH, 0.5pF) is required for this chip with a 50Ω feed. Some similar cases can be found on the web where a combination of both matching networks was the solution but these did not involve a switch so the "MCU" matching circuit was equivalent to what we have before the RF switch (which needs to be kept as-is).How can the chip antenna be used with the antenna-side terminal of the 3-way RF switch?Note: I get the impression that the existing (pcb/connector) matching is intended for a naked trace/wir
I'm looking at Appending A.1.10 of AN5457 where the PA matching impedance measurements for the UFQFPN48 package @14dBm and 915Mhz are shown. I cannot match up the points 1 through 5 in figure 80 with the rows 1 through 5 in table 14 below the figure.For example, point 5 in the chart is between the 22mA and 23mA lines but the table lists 27.38. There are 3 points above the 25mA contour in the chart but only 2 in the table. Etc.
Hello. I am programming a stm32wb55rg Nucleo and the debug was working as expected. A few days ago I decided to add the trace functionallity that the BLE packet has in these microcontrollers. Since then when I want to run the code I have to push for four times the button of "start running code" until it works. I have delete all breakpoints on the project and I have check all the files (.c and .h) and I am not able to see the yellow arrow that indicates where the code is being executed. Do you know what could be happening?. Thanks a lot for your time. (Keil version: 5.28.0 CubeMX version 6.3.0)
if i can use it what are DBCC1 and DBCC2 ??
Hi everyone, I work on WB55Nucleos code works in one but not in the other. I use the example P2PSERV code. Working one led blinking but other one led don't blinking. I upgrade fus and other drivers in not working one. What will be the problem? Code is the same. Working one Fus version is 0.5.3.
I detected a problem : If the MX GPIO_Init(); is called before the MX_APPE_Init(); the HAL_GPIO_Togglepin not work.To solve it, I call MX_GPIO_Init(); after the MX_APPE_Init();
So this is my third day working on this problem.I have created an P2P server project based after the example and the MOOC videos.It works just fine, no problem during the first 60 seconds. The current consumption is around 200uA during advertising.But when the advertising stops the current goes up to 2.0 - 2.5mA I have compared the p2p server project example file by file, and there is nothing that i can find that could cause this. The board is custom designed by me, and all the IO ports are electrical disconnected to any other parts of the board. the oscillators and components are taken from a WB55 dev board from ST. The MCU is the STM32WB35CEU7A with the latest FUS V1.2.0 and BLE_Stack_full V1.12.1Project is based on cube V1.12.0I have made two identical PCB boards, result is the same on both. I have added a Task that blinks an led each 5 seconds, and additional led that shows when the M4 core is running. And both blinks the same time both before and after advertising stops. So m
I have been using the WB since it was alpha release 0.x.y and so I have a long-established proprietary app running on the STM32WB55RG Nucleo board. Using the BLE full stack, configuring the GAP role as (GapRolePeripheral | GapRoleCentral) and subsequently advertising and scanning (both separately and simultaneously/synchronized intervals, obviously). After all advertising/scanning and connecting (as a master and/or slave) are finished, the proscribed protocol is followed to enter STOP2. But starting with v1.12 (and repeatable in v1.12.1) the current draw is higher in STOP2 after advertising.To be sure, current draw is lower than during advertising, and for sure over-the-air advertising does stop when it is requested, but STOP2 current draw is never as low as expected.This observation is made only after starting and stopping advertising after powerup and initialization. So scanning can be turned on and off and STOP2 is as expected. Advertising can be turned on, a connection as a slave r
I am using P-NUCLEO-WB55.I set 3 buttons (SW1 / SW2 / SW3) to GPIO_EXTI. I confirmed that an interrupt is generated when the button is pressed.After that, if the middleware STM32_WPAN (BLE) is enabled, no interrupt will occur even if the button is pressed.How can I use GPIO interrupts with STM32_WPAN enabled?
I am using the L462E try to connect an IoT platform. But I am not sure which communication protocol it is using? Is it using HTTP, MQTT, or CoAP??
Hi, Thanks to a previous question and the very clear answer of an ST employee. I understood the idea of the example LoRaWAN_End_Node and that it was not necessary to re-write the falling asleep but to use the one already present. (here Custom sleep and wakeup system on the lora end node STM32WL · Issue #10 · STMicroelectronics/STM32CubeWL (github.com) ). But, I would like to use STANDBY mode instead of STOP2 mode. My goal is to send only one message a day.Why is standby mode disabled?Thank you by advance
Not able to start project in STM32CubeMX after board selection of P-NUCLEO-WB55 RF kit.Do we require any license for this?Please provide information for the same.Thanks!
Hello, I am very interested in using the STM32WL for a wireless application. Is the matching circuit already included in the chip (so I just have to add an antenna) ? I don't find any information about this.Thanks.
Hi I'm designing a LoRaWAN end node based on RAK3172 and LoRaWAN_End_Node example. The frequency band is 868 MHz but i want to transmit on single frequency for example 868500000 Hz. I read the example but I don't know how to send packets only on single frequency. How can I do that?Thanks.
I am currently trying to create a wireless sensor network using STM hardware and ZigBee.I'm new to this type of development and I'm struggling to figure out what hardware I need.I currently have a STM32F746G-DISCO MCU, I would like to use this board to communicate to various sensors using ZigBee.Would the P-NUCLEO-WB55 product be appropriate for this? Is the necessary ZigBee hardware already on the board, and if not, what specific ZigBee hardware products do I need to make this project work?Any help is appreciated.
I am running the LoRwWAN_End_Node example on the NUCLEO-WL55JC1 I've followed the steps set out in the following video:https://www.youtube.com/watch?v=8KNfrWoa1fwI am connecting to an existing local gateway on the TTN, and not using my own gateway as they are in the video.I have configured the device on TTN console and have achieved and confirmed the following:join-request sent from NUCLEO-WL55JC1join-request received by local gatewayjoin-request sent to things network server and acceptedjoin-accept message scheduled on gateway and forwarder to Application serverHowever the NUCLEO-WL55JC1 fails to join and cycles through join attempts returning "JOIN FAILED" each time due to "MAC rxTimeOut"I've attached screenshots of TTN console and the serial output from the Nucleo boardCan you advise how I can get the Nucleo to succesfully join TTN?
Hi,I use STM32Cube_FW_WB_V1.12.1 on a STM32WB55, with generated init code and HAL functions.I have setup a circular DMA for RX of UART1 and use HAL_UART_Transmit() when I need to send data.I'm communicating with a device (GPS module) that can be configured at two different baud rates, so I have written code to try to talk to it alternatively at both baud rates until it responds something that the UART understands.The problem is that upon raising a Frame Error on RX, HAL_UART_IRQHandler calls HAL_DMA_Abort_IT which in turn calls UART_DMAAbortOnError, which is implemented as below :/** * @brief DMA UART communication abort callback, when initiated by HAL services on Error * (To be called at end of DMA Abort procedure following error occurrence). * @param hdma DMA handle. * @retval None */ static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma) { UART_HandleTypeDef *huart = (UART_HandleTypeDef *)(hdma->Parent); huart->RxXferCount = 0U; huart->TxXferCount = 0U; #i
We are using an STM32WB55CG and trying to send 207 bytes of data every 40ms. I can see that data length extension has been enabled and the packets are not fragmented. We are getting the error returned BLE_STATUS_INSUFFICIENT_RESOURCES on average about once a second. Is there anything that can be done to increase the amount of resources available?Any tips on what I can do to eliminate this error?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.