Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
..
Hi, following your DS, LoRa PER = 1%. While RF examination, for BW= 125KHz and SF=7, the sensitivity of the micro controller is around -125dBm for PER = 1%. When we change the value of SF to 12, the sensitivity should change to -138dBm but in reality we get sensitivity around -110dBm for PER = 1%. In -138dBm we have got Per of ~20%. Our PER calculation has taken from your lib : Subghz_Phy_Per.Our code is attached.I would like to get a feedback from you why it is not working.Thanks,Tamar
Hello,I am using I-NUCLEO-LRWAN1 development kit for LoRa setup. I have interfaced that setup with USB module and I am trying to communicate it using X-CTU. When I start the module the module sends #, but it's not responding to AT<CR>. I have attached the image of terminal output.What would be the reason for this?-Regards Hrishikesh
Hi,I need to write some config data to the flash and tried to start from the example FLASH_EraseProgram for NUCLEOWB15. But I got problems already when running the example without any modification. My setup:NUCLEO-WB15CC boardFLASH_EraseProgram without modificationsSTM32CubeIDE Version: 1.10.1 Build: 12716_20220707_0928 (UTC)Import STM32 Cube Example->Board NUCLEO-WB15CC->FLASH_EraseProgrambuild, and DEBUG FLASH_EraseProgramand the debugger ends in the Default Handler Infinite LoopWen I look at the registers, the program counter shows WWDG_IRQHandler, maybe a watchdog problem?Any help is appreciated!Regards VolkerContent of the registers:General Registers General Purpose and FPU Register Group r0 56 r1 536871108 r2 1476411392 &n
Hello, I am using a p-Nucleo-wb55. I would need to get data from vbat channel and the internal temperature channel. I used the example for internal temperature and it works but I am not able to add the reading of vbat value. Am I supposed to use one rank per channel? How do I add a rank using the .ioc file ? Thank you
I looked into the radio_driver.h library, Radiolorabandwidths enum there is enumeration of lora bandwidths but the value assigned seems to be random with respect to RM0453 document on Bandwidth on lora. Is the library is correct or need modification?
Hello everyone,I want to migrate my existing TCP-WLAN based MCU application which acts as a data server with a proprietary protocol. The application comes very close to standard Posix TCP handling. Each connection is handled by a separate thread that is created when the client connects.The message size varies between 100 and 200 bytes. File transfers, approx. 10kByte are rare but possible.I don't want to change the protocol, for example to identify the clients. For this reason a "simple" BLE UART is not possible.How to solve this problem with a Bluetooth device? Which BLE services, supported by ST, are suitable for this?Best regards and thank you very much for your help,R Jordan
Hi,I am using the Nucleo WB55 board that has a STM32WB55RGV6 MCU to develop an application. I see instabilities in bluetooth by default when I am using the LSE clock as RfWkUpClock of the BLE that are leading to the BLE core crashing.Those instabilities disappear when I disable the use of the LSE clock and replace it by the HSE clock. That is though not a long term solution for me as the difference of power consumption is quite consequent.I did probe the LSE clock on the LSCO pin of the MCU and got the attached measurement.Why is the LSE clock so unstable? Is there any way to make the BLE more robust while still using the LSE clock?Best regards,Antoine Poussart
Hello,in STM32CubeProg v2.11.0, in the Registers (BETA) tab, peripheral ADC, register SMPR1, the entry SMP0 is missing (it's the VREF INT channel).Best,Nicolas
I have nucleo-wl55jc board i want to transmit CW beacon.i am able to transmit continuous wave but not able to sleep the radio and continue next transmit.What would be the possible way to start and stop radio quickly?
Hi, I create my new project follow the SubGHz Phy Ping Pong example project.In the example project, the RTC configure in "Free running Binary mode". In my project, I configure the RTC in "Free running BCD calender mode" therefore no Radio Rx Timeout after the Radio.Rx() function called. Someone know how to fix this problem in RTC Free running BCD calender mode. My project below.Please support me.Thanks.
Hi,I use STM32WLE5CBU6. I created SubGHz Phy project. Device entered stop 2 mode, exit stop 2 mode when the alarm B interrupt issue then the Radio.Rx(3000) is called to receive data.my RTC Alarm interrupt function below,void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc) { UTIL_LPM_SetStopMode((1 << CFG_LPM_LoRa_Id), UTIL_LPM_DISABLE); DebugPuts("\rAlarm B."); /* Radio Receive */ DebugPuts("\rRadio Receive."); Radio.Rx(3000); }my SubGhz App Init() function below,void SubghzApp_Init(void) { /* USER CODE BEGIN SubghzApp_Init_1 */ DebugPuts("\rSMETER."); /* Get SubGhz-Phy APP version */ DebugPrint("\rAPPLICATION_VERSION: V%X.%X.%X", (uint8_t)(APP_VERSION_MAIN), (uint8_t)(APP_VERSION_SUB1), (uint8_t)(APP_VERSION_SUB2)); /* Get MW SubGhz-Phy info */ DebugPrint("\rMW_RADIO_VERSION: V%X.%X.%X", (uint8_t)(SUBGHZ_PHY_VERSION_MAIN), (uint8_t)(SUBGHZ_PHY_VERSION_SUB1), (uint8_t)(SUBGHZ_PHY_VERSION_SUB2)); /* USER CODE END SubghzApp_Init_1 */ /* Radio i
Exist some internal way to do this ? Itry this , but clock config for CPU2 must be 32MHz ...
I have generated ble middleware using cubemx with application type set to the server profile. I'd like the device to be able to advertise and scan for non-connectable ad's. Hence in the ble_conf.h I have set BLE_CFG_PERIPHERAL as well as BLE_CFG_CENTRAL to 1. However, in the Ble_Tl_Init( ), app_ble.c, I have overridden the ble central to use the observer role as shown below.#if (BLE_CFG_PERIPHERAL == 1) role |= GAP_PERIPHERAL_ROLE; #endif #if (BLE_CFG_CENTRAL == 1) role |= GAP_OBSERVER_ROLE;//GAP_CENTRAL_ROLE; #endifI did the above so I can configure the device to advertise as well as scan for non-connectable advertisements using the aci_gap_start_observation_proc( ) API. How do I prevent cubemx from overriding this change or is there a way I can achieve the same without having to manually make this change every time cubemx generates code?PS: I did try configuring calling aci_gap_init( ) separately, to override the role settings but for some reason, it ends up in a fault handl
Hi Sir,I'm developing project using STM32WB55 and start from STM32Cube_FW_WB_V1.14.0\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_p2pServer.everything setup fine with LightBlue Android APP. When I trace and debug code, I cannot hit break if I use "READ" from lightBlue APP. I can hit point if send notify/subscribe and write. Please kindly guide me where I can hit READ EVENT in code. thank you.btw, I also try STM32Cube_FW_WB_V1.13.0 and other Android BLE APP. The result is same.Best regards,Chang
I've made sure "force rejoins at reboot" is not not ticked in the configuration file, and then I set the task "LoRaStoreContextEvent" in the beginning of the user code section like thisstatic void OnNvmDataChange(LmHandlerNvmContextStates_t state) { /* USER CODE BEGIN OnNvmDataChange_1 */ UTIL_SEQ_SetTask((1 << CFG_SEQ_Task_LoRaStoreContextEvent), CFG_SEQ_Prio_0); ....Since it stills rejoins when power cycling I think I'm probably misunderstanding how things are supposed to be used.
I put a debug message at the beginning of my event handler but the only event value I see is 0xFF. hci_event_pckt *event_pckt;evt_blecore_aci *blecore_evt;event_pckt = (hci_event_pckt *)(((hci_uart_pckt*)Event)->data);BLE_DBG_EEG_MSG("EEG Event %d received\n", event_pckt->evt);Which app note explains/details this process on the STM32WB? The examples are ok but I would like to know how the process actually works. I have datasheets, user manual, RM0471 Reference manual, an5289 building wireless applications with the STM32WB, an5270 HCI/ACI commands and many more from the web site.Thanks!
Hi Sir,I use sample code in STM32Cube_FW_WB_V1.13.0\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_p2pServer and BLE_p2pClient. The BLE characteristic's property CHAR_PROP_WRITE_WITHOUT_RESP is used in the sample, I try to modified it as CHAR_PROP_WRITE, then client cannot control blue LED by pressing SW1 button. is there anywhere need to modify if I use CHAR_PROP_WRITE property? thank you.Best regards,C
Hello everyone,I have recently created a new project for my development board NUCLEO-WB15CC from STM32CubeIDE. There are some conflict in sizes of SRAM2 and FLASH. In the RM0473, SRAM2a is described as 32KB and SRAM2b is described as 4KB and these are mirrored (I think mirroring is to protect memory in case some fault occurs). To my understanding, SRAM2a and SRAM2b are defined as RAM_SHARED in linker script and its size is 10KB. In my opinion, something seems wrong here. Also, in the reference manual, FLASH size is mentioned as up to 320KB. However, in my linker script its size is 110KB. According to single bank organization there are 160 pages each being 2KB but there are also 28KB of System Memory, 1KB of OTP area and 128 bytes of option bytes. I think it should be more than 320KB but I am not sure. In addition to that, why SRAM1 is defined as 0x2FFC instead of 12KB or 0x3000? I am really confused and I would be very happy if someone could help me. Thanks.I am using STM32CubeIDE vers
So I want to make a custom client with mu own service UUID and characteristics which is 128 bits but in cubeMX I can only choose client mode: custom p2p client.Everytime I generate code from MX it will delete my changes in the wpan code and use the p2p example code instead.I have not found a way to remove the code generation or choose my own services. Any help is appreciated.// Wallentin
Can i use any stm32 mcu chip which used as lora repeater?Because i need in my project.Also give source code if available.
Hello! I was wondering if it's possible to access some more raw RF data from your STM32WBxx product. I would like to have access to some I/Q data before those be converted into digital BLE packets. I thought a good first step could be to have access to those ADC values (in the figure below). Is that possible?
We are using B-L072Z-LRWAN1 for developing our application. We are struggling to send more than 11 bytes of application payload. As long as the total payload is 11 bytes, the node joins the network with no issues. When we try to change the DR > 0 so we can push payload more than 11 bytes, then we need null data on fort 0 and the DR is reset back to DR 0 on the node after a join acceptance.How do we properly change the DR to send data of more than 11 bytes? We are using US 915. Any insights from this forum members will be appreciated.Sincerely,Sid
Hello,I'd like to know if it's possible to use RTC with a BCD Calendar mode with the end node example. Indeed, I've tried to, but it seems that the timer server doesn't work when i'm not using the binary mode.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.