Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I'm trying to get the idle power consumption of down to a few uA, but I cannot get it lower than around 920uA which is all being consumed by I_SYS.Has anyone been able to get it lower?I'm using the DCDC and TCXO (as far as I know).I don't think it would be the DCDC as that is powered by I_RF which idles ~0uA.I'm guessing the TCXO has something to do with it, but when I tried to use X3 instead (following the MB1389 instructions) the board didn't work, regardless of what SW changes I made.The board appears to be entering stop mode correctly.The power consumption is similar for the 1.1.0 firmware as well.The power consumption is roughly the same on my custom board as well.Any help would be greatly appreciated.
..
Hello guys,I am using STM32WB and also get stuck when I try to enable hci_le_advertising_report_event()I use examble BLE_MeshLightingRFL and in function Ble_Hci_Gap_Gatt_Init(), I command function aci_gap_create_connection() at the endIt return BLE_STATUS_SUCCESS but the function hci_le_advertising_report_event() don't run. Is there anyway I can fix it.Thank you.
Hello?Likes title, I want to ask for writing method using ST-Link(SWD, 4000 kHz).Problem is error at erasing stage. "Error : FUS_STATE_ERR_UNKNOWN"(Version of STM32CubeProgrammer is 2.5.0, result of this UI also same.)And, result of reading address '0x20030030' is 00000000.Source is modified from Remi QUINTIN's(ST Employee) batch file in below link.https://community.st.com/s/profile/0050X000007vjlkQAAI'm using STM32WB5xxE(512K), address of FUS_fw is 0x0807A000(ver 1.0.2) and address of Stack_fw is 0x08057000(ver 1.3.1).Apart from the above, CPU1(application code) seems to have no problem in operation.Please review command sources.Thank you.S. Y. Lee--------------------------------------------------------------------------------------------------@echo offSET PROG="C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe"SET BIN_PATH=C:\Users\PC\STM32Cube\Repository\STM32Cube_FW_WB_V1.3.0\Projects\STM32WB_Copro_Wireless_Binaries\SET A
I am using STM32L152RET6 running I-CUBE-LRWAN V1.2.1 CLASS A. I am pushing data to TTN and I can perfectly see the uplinks and downlinks from my LoRaWAN Gateway (RHF0M301):JSON up: {"rxpk":[{"tmst":56541636,"chan":2,"rfch":0,"freq":915.500000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":8.8,"rssi":-4,"size":24,"data":"gEQRBCaADwAC9YCH9Gb6EIRJKmpnRAAU"}]} INFO: [down] PULL_RESP received - token[119:61] :) JSON down: {"txpk":{"imme":false,"tmst":58541636,"freq":923.2,"rfch":0,"powe":14,"modu":"LORA","datr":"SF10BW125","codr":"4/5","ipol":true,"size":22,"ncrc":true,"data":"oEQRBCalKAADUP8AAQJDkWszrPMYxw=="}}The issue I'm facing is that I cannot receive this downlink on my device. This is what I can see from the VCOM terminal:TX on freq 915500000 Hz at DR 0 793s381: PHY txDone RX on freq 923200000 Hz at DR 10 797s363: PHY rxTimeOut 797s901: APP> McpsConfirm STATUS: Rx 1 timeout 797s901: #= U/L FRAME 20 =# Class A, Port 2, data size 11, pwr 0, Channel Mask
I'trying STN32WLcube firmware 1.1.0. The LoRaWAN End Node works as aspected and now I need to add my sensors, but when I debug it I have the error "Target is not responding, retrying..."DEBUGGER_ENABLED value is set to 1 ( I think is the same as DEBUGGER_ON on FW 1.0.0).Any suggestion on how to work around this behavior?GrazieF.
TLDR; The current tools for BLE in STM32CubeIDE and STM32CubeMX do not work properly for custom BLE profiles in the STM32WB55. When will the tools support it, and when will the documentation be updated with the current system?Firstly, I would prefer to raise the following with the ST **Issues** system (referred to README.md in the fw packs), but I can't find it!I am using the STM32CubeIDE to develop software for a small bluetooth project I am working on using the STM32WB55CGU (1M flash in UFQFPN48 package).I was running through the STM32WB workshop MOOC (https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/STM32WB_workshop_MOOC.html, youtube playlist: https://www.youtube.com/playlist?list=PLnMKNibPkDnGRfqUO1Q_-1nW-tOKfDQbc), which is really good and helpful, UNTIL you get to section 4, "How to modify BLE profile", at which point the whole thing falls apart if you are using any of ST's tools from the last 6 months.The issues I have observed (thus far) in the
Hi, I am new to STM32.I am trying to implement LoRa Receiver and Transmitter code in STM32WL. I have tried to modify the Rx and Tx code using the Ping-Pong application code (subghz_phy_app.c) . I have added my Transmitter code below, can you please review the code and suggest changes. Also, how can I change the time duration of messages sent by the transmitter end node?Rgds,Frank/* Includes ------------------------------------------------------------------*/ #include "platform.h" #include "stm32_timer.h" #include "sys_app.h" #include "subghz_phy_app.h" #include "radio.h" #include "stm32_seq.h" #include "utilities_def.h" #include "app_version.h" uint16_t BufferSize = BUFFER_SIZE; uint8_t Buffer[BUFFER_SIZE]; int8_t RssiValue = 0; int8_t SnrValue = 0; /* Led Timers objects*/ static UTIL_TIMER_Object_t timerLed; /* Radio events function pointer */ static RadioEvents_t RadioEvents; /* Private function prototypes -------------------------------------------
Hi everyone, I am trying to read ADC values from 4 different channels PC0 ------> ADC1_IN1 PC1 ------> ADC1_IN2 PC2 ------> ADC1_IN3 PC3 ------> ADC1_IN4I am able to get different values from different channel for the 1st iteration. but from the 2nd iteration i am getting same values from the last read channel in the 1st iteration.Please help me to figure out this issue.static void MX_ADC1_Init(void){ /* USER CODE BEGIN ADC1_Init 0 */ /* USER CODE END ADC1_Init 0 */ LL_ADC_CommonInitTypeDef ADC_CommonInitStruct = {0}; LL_ADC_InitTypeDef ADC_InitStruct = {0}; LL_ADC_REG_InitTypeDef ADC_REG_InitStruct = {0}; LL_GPIO_InitTypeDef GPIO_InitStruct = {0}; /* Peripheral clock enable */ LL_AHB2_GRP1_EnableClock(LL_AHB2_GRP1_PERIPH_ADC); LL_AHB2_GRP1_EnableClock(LL_AHB2_GRP1_PERIPH_GPIOC); /**ADC1 GPIO Configuration PC0 ------>
I need to connect in such a way that Arduino read sensors data and pass them to the Lorawan board that will transmit to the Gateway
According to the subject, I found I can't enter to the stop2 mode ,when i run the ble stack (APPE_Init() ) in p2p_server. I tried to use HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI); behind the aci_gap_set_non_discoverable(); but it wasn't worked . What program i need to add?Thank you very much.
When attempting to add an accelerometer to the LoRaWAN_End_Node program, on the SPI1 interface, I find that it works (in polled mode) until the board sleeps and is woken with an interrupt. Then the SPI1 Control Register 1 and Control Register 2 are changed (so the accelerometer can't be accessed).I have spent ages chasing this, as the exact nature of the corruption changes as my code changes. Because the corruption showed as soon as an interrupt happens (GPIO (button press), timer, subGHz radio) I assumed the problem was related to interrupts. Then I figured the corruption might be due to activity just before the interrupt, as the chip is put in a low power state. Sure enough, changing LOW_POWER_DISABLE from 0 to 1 in sys_conf.h makes the problem vanish.Note the corruption varies and sometimes there is no corruption: CR1 can change from 0x035f to 0x0040 or to 0x0000 and CR2 can change from 0x1700 to 0x0700. The values are the same for a given build. It is almost as though it is code-po
Hello,I have an inquiry about the capabilities of my STM32WB55CE microcontroller. Is it possible to have an ADC conversion rate >= one million samples per second while having the system clock low enough to put the system into low power sleep mode (<2Mhz)?I've been using DMA to store conversions in a circular buffer, and I've been using the HAL library with CubeMX to initialize the ADC.I've tried playing with sample and hold times as well as the ADC clock and the System Clock, however, it seems like if I want a 1Msps I need to keep the system clock over 16Mhz. If I try to set the System clock to be any lower, I get an ADC overrun error. This means that the DMA cannot keep up with the rate of conversions done by the ADC.Are there any workarounds to this error that don't involve sacrificing the sampling rate or increasing power consumption?
Hi,I'm taking an STM32wb55 based PCB through CE testing. The test house require the following information which I haven't got.Modulation schemeDuty cyclesChannel hoppingWorst case operational modesTransmit operational modesMedium UtilizationAny information would be helpful.Rhydian
I am not able to add opus firmware to my nucleo project. I am using Nucleo-WB55RG board and I am unable to configure the opus to my nucleo board, I am taking reference of Demo code available on website, the demo code is working the same opus I am unable to configure, I am getting the following error."#error "Opus requires one of VAR_ARRAYS, USE_ALLOCA, or NONTHREADSAFE_PSEUDOSTACK be defined to select the temporary allocation mode.""Please help me this.
I'm using two LRWAN NS1 with NUCLEO-L073RZ and I want to test PingPong with SubGHz_Phy_PingPong project.Project at Project-NUCLEO-L073RZ-Applications-SubGHz_Phy-SubGHz_Phy_PingPong-STM32CubeIDE-sx1276mb1mas is right project for the device?Do I have to connect cable with SWCLK and SWDIO pin on RHF0M003 to download the project?LoRaWan_End_Node project is right project for LRWAN NS1 if I want to communicate with gateway again after PingPong test?
Hello, I’m working with NUCLEO-WL55JC1. I’ve done some tests with STM32CubeIDE ver 1.6.1 firmware 1.0.0 (STM32Cube_FW_WL_V1.0.0) and, after some difficulty, it’s working as aspected. To fix ideas on the job done, I’ve made a Youtube video (https://youtu.be/40wuXKoA44Y).Then I’ve updated STM32CubeIDE to version 1.7.0 and loaded a new firmware version 1.1.0. Of course, something is changed. Now seems that the use of BSP Driver is mandatory (file platform.h row 32). I’ve imported in my project, from firmware 1.1.0, the BSP driver and added the path on the IDE setting. Then I was able to compile without errors. I’ve sent the new code on the Nucleo board. It starts and I’ve initial data on debugger console. The initial try to connect to the TTN application shows that the join seems accepted, but then no more data are sent. It looks like if the loop (with default 1000 mS) does not take place. At the moment I have no idea how to proceed (again, I'll have to spend a very long time e to fix the
I am using the newest version of the IDE (1.7.0) and related tools. I try to generate a BLE application (server) from scratch using CubeMx. One service with two characteristics. When I try this out, I can see the advertisment on a BLE client (nRF Connect running on iPad). When trying to connect, this does not come to an end. I tried out several with several ST BLE examples and it had the same effect.Then I updated the BLE core FW to the newest version V1.12.1.. This doesn´t have any positive effect.It seems to be something wrong with the acutal BLE CubeMx implementation, but as I am new on the BLE its difficult for me where to search for the reason.
I am trying to building Mesh network using P-NUCLEO-WB55 board. I want to interact with proxy node using windows application to assign the "AppKey". So I am looking for sample of mesh network windows application source code in C# to access and assign the "Appkey" and collect the data at windows 10 platform using P-NUCLEO-WB55 Dongle or without using P-NUCLEO-WB55 Dongle...
AN5185 provides a lot of good information on upgrading the FUS, but I don't see the files on the website. Or in any of the STM32Cube_FW_WB_ versions.
when we design a ble central device ,which is an stm32wb55mcu , we are confused how to terminate a BLE connection.the api "hci_disconnect()" "aci_gap_terminate()" seems likes for the peripheral device. And when i call it , it blocked and not return.looking forward to your reply, and thanks for the help!
Hello, I've got myself a few STM32WLE5CCU6 custom PCB's which I'm trying to develop a LoRa program for. Ive had a look around and cant seem to find any good example bits of code on how to actually set up the radio. STM32 CUBE IDE has an example project but its very cryptic and hard to use, anyone know how to get it working in some way? Any other help or examples would be much appreciated. Thank you.
Hello Everyone, I am working on project which requires BLE, using HSE and LSE both I am able to advertise and communicate to client Application. But the hardware don't has any external oscillator for LSE. The issue I am facing is my device is able to advertise but i am unable to connect with device for communication.
Hi,What is the general rule for computing the max attributes records parameter for:aci_gatt_add_serviceCan you supply a general formula for all characteristic types:#define CHAR_PROP_NONE 0x00U #define CHAR_PROP_BROADCAST 0x01U #define CHAR_PROP_READ 0x02U #define CHAR_PROP_WRITE_WITHOUT_RESP 0x04U #define CHAR_PROP_WRITE 0x08U #define CHAR_PROP_NOTIFY 0x10u #define CHAR_PROP_INDICATE 0x20U #define CHAR_PROP_SIGNED_WRITE 0x40U #define CHAR_PROP_EXT 0x80UThanks!
I'm working on STM32WB5MM Discovery Kit for Zigbee Application with STM32WPAN stack on STM32CubeIDE and CubeMX. I'm stuck at the step of stack initialization where inside "ZbInit", "ZIGBEE_CmdTransfer()" function is called.Here a command is transmitted fomr M4 to M0+ core and then the code waits for acknowledgement with function "Wait_Getting_Ack_From_M0". This is where the code is stuck, waiting for acknowledgement.I'm not understanding why the acknowledgement is not received. IPCC init/enable process was successful as System Ready Event was received after TL_Enable().Please help.
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.