Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hello. I am trying to setup SPI1 on the STM32WB55 nucleo board. I have setup the nucleo board with the default peripheral configuration using STM32CUBEMX and I have enabled SPI1 Transmit Only Master mode: In my code, all I am trying to do is SPI1 transmit every 1 second and I use oscilosscope to probe SP1 clock pin ( supposed to be A2 pin on the header according to the stm32wb55 nucleo datasheet. My main.c and loop:```const uint8_t EEPROM_RDSR = 0b00000101;/* USER CODE END 0 *//** * @brief The application entry point. * @retval int */int main(void){ /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* USER CODE BEGIN SysInit */ /* U
..
Hello, I have a wearable design which consists of 2x STM32 MCUs (One STM32WB and a STM32L010K8). They are connected via I2C and I need to be able to reprogram the STM32L010K8 using the STM32WB via the I2C port. However, there's mixed information related to the capability of the ROM bootloader to communicate via I2C. The first page of the STM32L010K8 datasheet says that the pre-programmed bootloader supports SPI and UART. Then on page 18 (Boot modes) it states that I2C on pins PB6 and PB7 can be used to reprogram the flash memory.Which one is correct? Can anyone here confirm if the STM32L010K8 can be reprogrammed via I2C using the ROM bootloader?Cheers,Daniel
Hi. I've read several bits of info on the RF stack installation, but can't figure it out. Here's a previous thread on the topic:https://community.st.com/s/question/0D53W00000DKLKkSAP/how-do-i-flashburn-the-ble-stack-coprocessor-binary-for-my-stm32wb55ce-custom-boardI have STM32Cube programmer open, with the `Erasing and Progamming` tab selected. I have 3 binaries, downloaded from here: https://github.com/STMicroelectronics/STM32CubeWB/tree/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x. `FUS_fw.bin`, `FUS_fw_for_fus_0_5_3.bin`, and `BLE_Stack_full_fw.bin`. Presumably I install FUS for 0_5_3, then FUS, then BLE stack. How do I know what Start Address to use in Cube Programmer? The link above suggests it's in the Release Notes doc, but I don't see it there. There's also a reference to Table 5 in ANSI5185, but I don't see it there; that document is a changelog.Question #1: Is my procedure correct, of flashing those 3 binaries in sequence from `Erasing and Progamming` in STM32Cu
Hi,I'm using STM32CubeIDe (Version: 1.6.1) to develop application for STM32WB5M; I need to enable the Inter Processor Communication Controller (IPCC) but I don't find the relative section under the section 'System Core', please see the following attachment:How can I resolve this issue?Regards,Giampietro Pomponio
I’am working with the stm32wl55 device, now I’am looking how can I update my firmware. I’d like to use dfu bootloader but after reading AN2606 note only USART and SPI bootloader mode are available for stm32wl55, so dfu isn’t available ? And I’am also looking for ota update, the same I didn’t find any useful informations just FUOTA but for stm32wb.
I'm using NUCLEO_L073RZ with LRWAN NS1 which included in P-NUCLEO LRWAN 3.I tried to communicate two end devices with SubGhz_Phy project in STM32CubeExpansion_LRWAN_V2.0.0, but it doesn't work.It seems to using SPI, but MOSI(PA7) and MISO(PA6) is connected with LIS3MDL and NSS(PB6) and CLK(PA5) is not connected to anywhere.Am I using wrong project, or missed somthing?Sorry for my English.
I believe that CUBEMX does not automatically generate the hw_uart.c file when trying to use the STM32_WPAN peripheral. I was following along with this tutorial and wished to use debug trace however it elicited the error undefined reference to `HW_UART_Transmit_DMA' as no implementation for the function existed.In the example projects for the STM32WB available here, the hw_uart.c file is included.
I am trying to use the internal voltage reference on the STM32WL MCU. When I enable the VREBUFF, it always times out and the VREFBUF->VRR bit is not ready.On other STM32 MCU family, I read that it is required to enable the clock for SYSCFG and VREFBUFF. But I cannot find the relevant clock for either SYSCFG or VREFBUFF in the STM32WL registers. APB1ENR and APB2ENR do not have a clock enable pin for neither.Below is the ADC init function I am using.On the hardware level, VREF+ is connected to VCC in my design. Would that cause a problem ? I read in the user manual section 18.2 that when VREFBUF is enabled, VREF+ pin is connected to VREFBUF. Since in my design VREF+ is connected to VCC, would that cause the problem ? hadc.Instance = ADC; hadc.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4; hadc.Init.Resolution = ADC_RESOLUTION_12B; hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT; hadc.Init.ScanConvMode = ADC_SCAN_DISABLE; hadc.Init.EOCSelection = ADC_EOC_SINGLE_CONV; hadc.Init.LowPowe
i'am wondering to mesure current consumption of a house using B-LO72Z-LRWAN1 and then send this data via LORA. I'am not finding any information about this.could you please answer
Hi, i m working with P-NUCLEO LRWAN2 , the gateway is working good, but the L073RZ with the expansion do not work with tera term and don't send any data
Hi All,I have recently purchased the ST-LRWAN2 package.I have successfully setup the LoRaWAN Gateway.But I am not able to setup the Node device NUCLEO-L073RZ. I am using STMCubeIDE. The software package I am using is i-cube-lrwan.I am not able to see any output on the Serial monitorI have attached the images for more details.If anyone has successfully setup the device, please advice on this.Thanks and Regards,Rahul
STM32WB as BLE Client implementation. I have been going through different resources but not able to implement BLE Client. Can I get some simplified resource or a video link ?I have my own target board based on STM32WB50CGU5.
To start advertising connection, I runAPPE_Init();adv();To stop advertising the connection, I runaci_set_non_discoverable(connection_handle, reason);aci_gap_terminate();However the latter functions do not successfully cease advertising, I was wondering where I am going wrong.
Hello! I'm working on a custom STM32WB board (schematic attached -- I jumped VDDRF to 3.3V) I'm trying to create a basic project and pull PA5 (My LED pin) high to verify programs run.I'm using CUBE IDE and set pin PA5 to GPIO_Output with output level as high. Here is my GPIO_Init: GPIO_InitTypeDef GPIO_InitStruct = {0}; /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOA_CLK_ENABLE(); /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_SET); /*Configure GPIO pin : PA5 */ GPIO_InitStruct.Pin = GPIO_PIN_5; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);Then within the main loop I'm just continuously calling HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_SET);I'm using the MSI as my clock source and set it to 4MHz. All configurations are defaulted by CubeIDE for the STM32WB10CC (I'm using STM32WB10CC5).Here is
Can anyone either confirm or deny that the End_Node project from I-CUBE-LRWAN v2.0.0 works with the B-L072Z-LRWAN1 (with Murata Type-ABZ module) ?https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.htmlAnd any tutorials on getting it talking with The Things Network (TTN) ?(tutorials I've seen previously were for v1.3.1 - and v2.0.0 looks rather different).
I'm currently using I Nucleo lrwan1 shield and STM32L073 to create a Lora end node. I downloaded the latest I cube lrwan (v2.0.0) and there is no configuration to the I Nucleo lrwan1. So I can't make it work. So, is there anyone who has the same problem or can anyone guide me to make it work. I also posted the problem on the TTN forum and they recommended me to ask the st community about this problem here is the link : https://www.thethingsnetwork.org/forum/t/i-cube-lrwan-problem/48864/3
Hi! I'm working with the STM32WLE5JCC lora IC. Im using it to read sensor data through I2C and a voltage with the ADC. Program works fine in debug mode. When you unplug it from the pc it keeps working. Then, if you reset the board, ADC and I2C return an error.What changes between debuging and after the reset?This works using the MSI (48Mhz) and the RTC LSE.My external clocks are:TCXO 32MHz and a RTCif i change those settings to my TCXO and RTC it stops working.Thank you very much.
I'm new to STM32WB and using BLE_MeshLightingPRFNode example. With the function BLEMesh_CustomBeaconReceivedCallBack, I get the data and data is true but RSSI is wrong How can I fix it or other way to get RSSI from beacon? Sorry for my bad english Regard
I am tying to develop an application in Zephyr for a battery powered device that goes into STOP2 mode for low power consumption when advertising. I have successfully created a test app with STMCube based on the health thermometer example which does this successfully. When in STOP2 mode the current consumption between advertisements is <6uA, with current peaks of up to 20 mA at the advertisement frequency of around 1.5 seconds.I have copied verbatim the code that enters and exits STOP2 mode my Zephyr project which has the STMCube libraries as part of it's distribution, and am able to replicate the same current consumption, but the device does not seem to be advertising correctly and it disappears from the LightBLue client that I am using for testing once STOP2 is initiated..Are there any configuration issues that would cause the BLE stack running on CPU2 to exhibit this behavior? To summarize: advertising works correctly in my test app until I go into STOP2 on CPU1, the base current
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.