TODAY | STM32 Summit 2026
Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Everything seems to work fine in putty except the join, but the signal is not received by TTN, while it is received when i use v1.1.2 (https://github.com/drakkar-lig/st-lrwan). I changed the devEUI, appEUI and appKey.
Hello, I am reading ADC data with b-l072z-lrwan1 and send another kit. I need to add this datas to timestamp for compare different sensor datas. So I am trying to read RTC time value. I have called this function from "hw_rtc.c" ;uint32_t CalendarValue1 = HW_RTC_GetTimerValue();code to my main loop and read RTC timer in ticks. I am reading numbers like;[17:31:44:155] 1732371278 �?� [17:31:44:155] 1732371279 �?� [17:31:44:155] 1732371281 �?� [17:31:44:155] 1732371282 �?� [17:31:44:155] 1732371284 �?� [17:31:44:155] 1732371285 �?� [17:31:44:161] 1732371286 �?� [17:31:44:161] 1732371288 �?� [17:31:44:161] 1732371289 �?� [17:31:44:161] 1732371291 �?� [17:31:44:163] 1732371292 �?� [17:31:44:163] 1732371294 �?� [17:31:44:166] 1732371295 �?� [17:31:44:170] 1732371296 �?� [17:31:44:170] 1732371298 �?� [17:31:44:170] 1732371299 �?� [17:31:44:172] 1732371301 �?� [17:31:44:172] 1732371302 �?� [17:31:44:173] 1732371303 �?� [17:31:44:175] 1732371305 �?� [17:31:44:177] 1732371306 �?� [17:31:44:177] 1
"Contains the word aligned CPU2 boot reset start address offset within the selected memoryarea by C2OPT"SBRV sets CPU2 boot address, but I use STM32cubeProgrammer to get NUCLEO board data as follows:The starting address of CPU2 is 0x08032C00, but SFSA is 0xcb and the address is 0x080cb000. My understanding is that SFSA should be aligned with the starting address of CPU2. As the picture says:SFSA--0x080FFFFF is a dedicated area belonging to M0+,So what does it mean to set SBRV to 32C00 !
I'm attempting to run the LoRa Expansion pack for the End Node project inside of STM32CubeIDE, but am running into issues. I'm running this on a STM32L051K8U6 MCU with SX1272 radio.Here's what I've done:1.) Imported the project. Had to choose import as Atollic project.2.) Started stepping through lines of code via the debugger.3.) Had trouble with my debugger going crazy when running the DBG_Init() function. Added DEBUG #define symbol. That got me past the DBG_Init() function.4.) Getting stuck deep inside the HW_RTC_Init() function waiting for "LSE is ready". Best I can tell is that the SysTick isn't incrementing. Is the example project broke? Or, am I missing some additional #defines?Can someone please provide some guidance here? I was hoping this example would work right out the gate.
Hi, I have a project where I need to read protect my application code. The problem with RDP is that it would erase the entire flash (including OTA). I assume this problem is to be solved by using PCROP on the OTA code. I have attempted to protect the memory from 0x0800 0000 to 0x0800 6FFF using the following commands in STM32Cube Programmer CLI. This results in the OTA code not running at all and not being read/write protected at all. What am I missing?SET PROG="C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin" SET BIN=STM32WB55_OTA.bin SET ADDRESS=0x08000000 SET LOC="%cd%" cd %PROG% STM32_Programmer_CLI.exe -c port=SWD -w ""%LOC%\%BIN%"" 0x08000000 -ob pcrop1a_end=0x0D pcrop1a_strt=0x00 pcrop_rdp=0 pauseThanks,Daniel
While connecting the B-L072Z-LRWAN1 to TTN with lora i-cube_irwan endnote and changing the AppEui and Appkey gives a never seen status at TTN. Putty perfectely shows the Version, OTAA, devEui, AppEui and AppKey but does not show the join. How can i solve this?
Hi,I have generated the code for PWM generation using STM32 CubeMX and it is working fine on B-l072Z-lrwan1.But when I was trying to integrate same code with the existing Ping Pong example, I was not getting any PWM signal on respective pin. I have also configure the pin according to timer and channel with the help of datasheet and also check the alternate function for the pin.I have tried different Timers but I am not getting any PWM signal at output.Can anyone tell me, why this is happening?
I am using BL072Z board and the datasheet says:8.6 Reset sourcesThe reset signal of the B-L072Z-LRWAN1 Discovery kit is active low and the reset sources is one of the following:• Reset button B2• Arduino Uno V3 shield board from CN4• LoRa®/Sigfox™ module internal reset coming either from STSAFE security IC orSTM32L072CZ (selectable by jumper JP10)• Embedded ST-LINK/V2-1But I don't what are the cons if I reset the microcontroller using one of its GPIOs
Hi,I am working on CMWX1ZZABZ-078 module and I use the "X-CUBE-SFOX Expansion Package" stack for Sigfox. My Queries are as below:-1) How can I get MAC ID of the Radio Device using Sigfox stack? Is there any API available?2) It is mentioned in the datasheet that each STM32 MCU has its own 96 Bit Unique_ID. How can I get this Unique_ID of STM32L082 MCU present inside CMWX1ZZABZ-078 Module?Thanks,Shall be awaiting for Response / Suggestion if any.
I need to develop an STM32WB55-based BLE system that consists of 2 parts. Each part will have a button on it as well as a sensor. When a button is pressed on one device, it needs to inform the other device, as well as communicate its sensor value. Both devices are identical. I need to communicate information between the devices upon a button press as quickly as possible, and I also need to preserve battery life. Here are my thoughts on this so far - Both devices are configured as peripherals.Both devices advertise periodicallyWhen a button is pressed on Device 1, it switches its role to central (is this possible?)Device 1 scans for a peripheral, sees Device 2 and connects to it.Device 1 sends its button and sensor data to Device 2The devices disconnect and both devices go back to peripheral mode and advertising.Several questions -Is the scenario described above feasible?If so, should I use a standard profile or a proprietary profile? Is there a performance penalty using one of these co
..
Hi,I have added the following command to the post build steps.arm-none-eabi-objcopy -O binary "${BuildArtifactFileBaseName}.elf" "${BuildArtifactFileBaseName}.bin"The size of .bin file generated is 393411KB compared to 383KB hex file and does not upload with STM32 Cube Programmer.Has anyone been able to successfully generate a binary file (.bin) to program the STM32WB and how have you done so?Thanks,Daniel
I have observed, using a frequency counter, that the HSE clock on Nucleo board (after using the calibration value in the OTP memory) is off by around 20ppm. I have configured the SYSCLK to HSE_SYS. Now, HAL_GetTick counts the tick from the derived clock. So, it will go (in ms) off after certain time. right?. Could we correct such error.My application requires precise timekeeping. I see similar issue in the RTC source clock. it's deviated from the actual frequency of 32768Hz. Is there any procedure to correct the deviation.If someone could point to any literature on how to do precise timekeeping in embedded systems considering different latencies and physical errors.
Hi everybody, I already posted a question but maybe I was too specific.I need some help because I cannot understand how I have to incude STM32CubeExpansion_LRWAN_V1.2.2 expansion software in a existing blank project for b-l475e-iot01a2 in which it's stacked.What folders I have to copy, what I have to configure? I did a lot of try but compilator says that always miss some files.Is there somewhere a starting guide to use an expansion board without a specific board?Thanks in advance,Andrea
HiThe connection starts up in 1Mbps and when connected, I change it to 2Mbps. This all goes well, but I can't return to 1Mbps anymore if I do this. Any ideas ?thx in advance :D
I have a dongle/dev board kit that I'm experimenting with. I updated and flashed the dongle's M0 chip via the STM32 Programming tool. Since I've already switched the dev board to J-Link headers, and have been flashing the M4 chip, I'm wondering if I can use J-Link to flash the M0 chip? Or, is it limited to using the STM Programmer?
HiWhen I connect to the STM32WB55 nucleo(set up as peripheral) with my phone, I receive the EVT_LE_CONN_COMPLETE . Now I want to bond them with MITM, so I use aci_gap_slave_security_req() to let the phone know, I get a notification to pair, press pair, but then it keeps trying but doesn't work. In the documentation (STM32_BLEstack.pdf) they just say to use the command like that. Prior to the command(when not connected), I also set up the IO capability and authentication requirements like so:/** * Initialize IO capability */ BleApplicationContext.BleApplicationContext_legacy.bleSecurityParam.ioCapability = CFG_IO_CAPABILITY; aci_gap_set_io_capability(BleApplicationContext.BleApplicationContext_legacy.bleSecurityParam.ioCapability); /** * Initialize authentication */ BleApplicationContext.BleApplicationContext_legacy.bleSecurityParam.mitm_mode = CFG_MITM_PROTECTION; BleApplicationContext.BleApplicationContext_legacy.ble
/* USER CODE BEGIN PV */ RTC_TimeTypeDef RTC_Time={0,0,0,0,0,0,0,0}; /* USER CODE END PV */ 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 */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_RTC_Init(); /* USER CODE BEGIN 2 */ printf("A\n"); printf("System Started\n"); /* USER CODE END 2 */ /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { HAL_GPIO_TogglePin(LD1_GPIO_Port,LD1_Pin); HAL_Delay(1000); HAL_RTC_GetTime(&hrtc,&RTC_Time,RTC_FORMAT_BIN); printf("hh: %02d mm: %02d ss: %02d \n",RTC_T
I'm having some trouble importing and building the BLE_p2pServer project in STM32CubeIDE. The project doesn't seem to import correctly and I get a number of errors when I try to compile. I assume this is due to STM32CubeIDE is not being listed as one of the supported toolchains in the STM32CubeWBGettingStarted.pdf, which I find unusual given that it is the IDE provided by ST themselves. It seems that STM32CubeIDE cannot locate a number of the required include files such as "stm32wbxx_nucleo.h". I have the same issues for all the other example projects as well. Is there a simple workaround or will support for STM32CubeIDE be added in the near future?
Hi there, I have set up my STM32WB55 nucleo board up to work in the platform for my company. So far, the UART and GPIO are working. But I'm stuck on the BLE. I can set it up and find it with my phone, but when i connect to it, it doesnt get me an user event. I It's kinda strange because I get these IPCC_Rx interrupts in the APP_BLE_Init(), but when it starts advertising and I connect(which is working, i can read attributes on my phone) I don't get an interrupt. I also noticed that the timer that handles the connection state machine to restart the adversting when nobody connects to it, also doesn't work.I checked with the BLE_BloodPressure example from ST and when i connect to this, it generates an interrupt.Hope somebody can help me, I've been stuck for some days now on this problem
Hi everybody!It's just a few days that I use STM32CubeIDE, I was only able to run these examples on B-L475E-IOT01A2.I haven't found any example project on I-NUCLEO-LRWAN1 + B-L475E-IOT01A2 combo, so I'm trying to do it manually.So, I already downloaded UM2073 software expansion and copied "Components" and " I-NUCLEO-LRWAN1" folders, hoping to some include .h file using some components of this board only including that header.Unfortunately isn't so easy, I got a lot of errors like this in which I suppose that there is not indication for correct pinout: forgive my ignorance, can someone show me how to correctly include this expansion software in my existing example project?Thanks in advance,Andrea
I just received my B-L072Z-LRWAN1 board in the mail. I want to use it with Arduino, but when I plug it in to my Ubuntu computer it is not recognized at all. Nothing shows up through 'dmesg' command, nothing shows up through 'lsusb' command. If the OS can't see it, clearly the Arduino IDE can't see it. Any ideas what is going wrong? (I've also tried multiple USB cables, and Ubuntu computers)
I'm evaluating the STM32WB55 for use in a product which needs to read user input (button press and associated sensor data), and communicate it to another device over BLE. I'm using a pair of STM32WB55 Nucleo boards to communicate with each other over BLE. I'm using the BLE_p2pClient and BLE_p2pServer example programs as a starting point. I would like to reduce the latency as much as possible for sending notifications between the 2 boards. Currently, I'm able to start both boards and establish a connection between them. The example code is designed such that when you press a button on one board, an LED on the other board changes state. Using a logic analyzer to measure the delay between the button press and the LED changing, I'm seeing times that range from ~70ms to 150 ms. I'm trying to understand what parameters can be changed within the code to affect this time. I see that BLE has a connection interval spec that can range from 7.5ms to 4s. I b
Hi,STM32G0 series is quite impressive in term of cost and features, Thanks to STmicroelectronics!I have develop LoRa based product on STM32L0 and STM32L1 now I'm looking for LoRa base application on STM32G0 series to develop new products. Is there any firmware of LoRa which supports toSTM32G0 series
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.