Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I've modified basic HeartRate project to run an ADC inside of the task. However this results in adc always returning 0. Sometimes whole application hangs. However when CFG_LPM_SUPPORTED is set to 0. Everything works fine. I've already created github issiue and suposedly HAL is to blame. Any input would be helpfull.
Hello,I am working on a STM32WB55RG BLE Project and the problem is that about once in every 3 program that I upload, BLE doesn't work. After reupdating the BLE Stack firmware, it works correctly. I am using the BLE firmware v1.16.0.4. What could be the problem? Best Regards,Yusuf
Hi,I'm working on STM32WL55JC board and run "TIM_PWMOutput" example that run 4 PWM channels with diffrence pulse width.I'm trying to add deadtime between the channels (following this hands-on video https://www.youtube.com/watch?v=rDaC2N-33Oo Minute 5:34) But on my IDE I don't have deadtime option (adding picture)So I tried manually change deadtime during TIMInit() (via the line sBreakDeadTimeConfig.DeadTime = SomeDelay) but it doesn't work, the delta time between all channels remain the sameThanks!
I modified the LoRaWAN_End_Node sample program for measuring the external pulses input to the COMP1. I register a task in the sequencer and set up the timer in timer server. It is no problem to run a test task by just toggle the LED. When I initialize the lptim1 timer to count the external pulse, the program jump to the while(1) loop in Error_Handler. Checking by breakpoints, it is because the LPTIM_WaitForFlag function resulted HAL_TIMOUT. Below is the code of lptim1 initialization.void LPTIM1_Init(void){hlptim1.Instance = LPTIM1;hlptim1.Init.Clock.Source = LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC;hlptim1.Init.Clock.Prescaler = LPTIM_PRESCALER_DIV1;hlptim1.Init.UltraLowPowerClock.Polarity = LPTIM_CLOCKPOLARITY_RISING;hlptim1.Init.UltraLowPowerClock.SampleTime = LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION;hlptim1.Init.Trigger.Source = LPTIM_TRIGSOURCE_6;hlptim1.Init.Trigger.ActiveEdge = LPTIM_ACTIVEEDGE_RISING;hlptim1.Init.Trigger.SampleTime = LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION;hlptim1.Init.Outp
..
Hi Sirs, I've fiddled around Cable Replacement Example code (CRS for server). I successfully created a custom function to send a char string to the peripheral upon pushing SW1. Now my problem is when I made a new project, with an .oic file, created a custom service with read and write characteristics (write specifically my concern), then ported my custom function.When I debug my code, I was able to call the event by pressing the SW1, up to the code aci_gatt_update_char_value(), but nothing is showing on the terminal. Im sure this works on the Cable replacement code. I even copied the UUIDs of the service and characteristics of Cable replacement. but to no avail. Here is the initialization of my write service /** * CharW01 */ COPY_CHARW01_UUID(uuid.Char_UUID_128); ret = aci_gatt_add_char(CustomContext.CustomMysvcHdle, UUID_TYPE_128, &uuid, SizeCharw01, CHAR_PROP_READ | CHAR_PROP_WRITE_WITHOUT_RESP, ATTR_PERMISSION_NONE, GATT_NOTIFY_ATTRIBUTE_
Hello AllI have a cutom board. I am working on STM32WB55VGQ6(BGA129).2 crystals(32.768KHz, 38MHz) output waves are not coming.I checked waveform by using an oscilloscope and OSC-IN/OUT pins are ground level(0V)Voltage conditions all 3.3V : VDD, VDDUSB, VDDRF, VDDA, VDDSMPSCrystal part# : FW384WFIN1, AGS05-32.768KHZ-6TExpers please help me.
Hi,I'm working with stm32wb5mmgh to transmit data. The thing is BLE starts to advertise only in the debug mode if I upload it in the device its not showing. So what I did I turned on led when it starts to advertise as I mentioned in the below code. /* Update Advertising data */ ret = aci_gap_update_adv_data(sizeof(a_AdvData), (uint8_t*) a_AdvData); if (ret != BLE_STATUS_SUCCESS) { APP_DBG_MSG("==>> Start Fast Advertising Failed , result: %d \n\r", ret); } else { APP_DBG_MSG("==>> Success: Start Fast Advertising \n\r"); HAL_GPIO_WritePin(GPIOA, GPIO_PIN_9, GPIO_PIN_SET); } The LED turned on after I uploaded the code but the BLE is not showing. Used FUS Version : v1.2.0.0, STACK Version : v1.16.0.4, stm32wb5x_BLE_Stack_full_fw.bin. Also I change the linker Script as mentioned in this wiki link. I also share the linker script. /* ****************************************************************************** **
Hi Team, I am searching for STM32WBA52CGU6 circuit diagram unfortunately not able to found out because the file was not found in our ST website. Kindly help me to get the exact circuit for my project purpose.
Hi All,I'm using STM32WL55JC board which include Sub-GHz, ADC and DMA peripherals (and many more of course)I run "ping pong" example to create Sub-GHz communication sucssfully, also run "ADC_SingleConversion_TriggerTimer_DMA" and changed to circular mode (DMA) I saw buffer changing variables according to ADC result.I configured ADC and DMA at "ping pong" example exactly as they configured at ADC example, and start via HAL_ADC_Start_DMA() command the buffer result is written only once, then program start Sub_GHz routine of RX-TX and the buffer results stuck and doesn't change.what can be the reason?adding some pictures from ping-pong - ADC DMA configurationI'll appreciate your help!
My project need to synchronize the clock of our STM32WL device with TTN server. How can I use the function in LmhpClockSync.c to do the job ? I would be grateful if any expert can guide me to get it done.
Hello,I use B-L072Z-LRWAN1 and I would like to know how to use it in very low power consumption. By default on mbed OS 6 with one hand with only one ThisThread::sleep_for(3s) I have a consumption of 10.45mA. I take my measurements with an amperemeter in series with the battery box. According to this post (https://community.st.com/t5/wireless-mcu/excess-current-consumption-running-b-l072z-lrwan1-from-battery/td-p/322961/page/2) to reduce my consumption I removed SB18, R26, D2. For the code I tried this code (https://github.com/janjongboom/stm32-standby-rtc-wakeup/blob/master/stm32_standby.h) which puts me at a consumption of 4.00mA. I'm new to MCUs and I'd like to know how I can reach the uA in the code or by another hardwre modification.Thanks in advance for your reply :)
I'm using a STM32WLE5 processor in my design. I had an RF consultant tell me that I needed to add a SAW filter to the design to protect against potential interference with 800 MHz cell phone transmissions so I placed a B39921B3728U410 SAW filter at the RF input/output. Is this really necessary? I don't see any similar filter on the Semtech eval boards for the SX126x series. In addition, I lose 2.2-4 dB through the filter. Is it worth it or did my consultant give me bad advice?
Hi Team,Can I use this IPD Filter 0900FM15D0039E in the instead of the passives in the design fof STM32WLE5 MCU for RF (915 MHz).
Hellofriends, I am trying to make a dual core example on the Wio-E5 STM32WLE5JC Module. I made all the settings as in this video. However, only CM4 works when debugging. CM0PLUS is not working and I am getting this error Target unknown error 32Error in initializing ST-LINK device.Reason: Unknown. Please check power and cabling to target. I tried this on STM32Cube ide 1.7.0 and 1.8.0.
Hi,I have been trying to launch on a Nucleo WB55 board some default apps available in STM32CubeWB-1.14.0\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE with the latest version of the BLE_stack_full_extended. (e.g. BLE_HealthThermometer, BLE_Ota)But then the BLE seems to crash at startup and doesn't even advertise.If I just replace the co-proc image with the "_full" one instead of "_full_extended", then the example app is working fine.Any explanation on such a limitation?Thank you,Best regards.
Is there an example project of BLE Cable Replacement, similar of device STM32WB55 ?
Hi I am using STM32WB55 Nucleo board i have generated custom ble characteristics with maximum data size of 245 byte (value length = 245) and i am able to receive data from attribute_modified->Attr_Data buffer but i want to read the actual length of data received but currently i am not able to get that value and one more thing is before receiving new frame attribute_modified->Attr_Data buffer is not getting clear so if data length of current frame is less than previous in that case i am getting old frame data also. attribute_modified->Attr_Data buffer getting memory in SRAM2a section.so if anyone knows solution for this then please let me know. Thanks in advanceDinesh Bisen
I have a custom BLE app on a Nucleo-WB15CC board. The BLE application works as expected, but now I want to introduce low power modes (I want to be able to go into standby mode and wake up with edge detection on one of the wake up pins). After enabling CFG_LPM_SUPPORTED and CFG_LPM_STANDBY_SUPPORTED in app_conf.h, I no longer see my BLE advertising and the rest of my application seems to be at a halt. At a high level, my main loop looks like the below code, where "OtherCode_Loop()" calls into none BLE related things. After turning on those configurations, I no longer reach "OtherCode_Loop()". Only thing that has changed is enabling CFG_LPM_SUPPORTED and CFG_LPM_STANDBY_SUPPORTED. Is there more to this configuration? while (1) { MX_APPE_Process(); OtherCode_Loop() }
Hello, I have an OpenThread network with two devices : one end device (STM32WB5MMG) and one router (NUCLEO WB55) I acquire data with the end device and I try to send 180 000 samples (uint16) to the router When I try to send, it seems that the router does not handle the data received Here is the pseudo code sending data for the end device : typedef struct __attribute__((packed)) { FrameHeader header; uint16_t cdf_id; uint8_t measure_type; uint16_t sdf_id; uint16_t total_frame_id; int8_t data[MAXSDFDATA]; } FrameSDF; void Acquire(uint8_t ffreq_select, uint32_t samples_to_send) { //Init ... //declaration uint32_t samples_sent = 0; uint16_t sample_counter = 0; uint16_t frame_amount = 0; sampleRes_select = 60000; samples_to_send = sampleRes_select * 2 * 3; frame_amount = ceil((float32_t) samples_to_send / (float32_t) MAXSDFDATA); uint16_t adddressDBG = 0, trial_address = 0; int16_t acceleration[3]; do {
Hi,I’m using the STM32 SubGHz_Phy library on an STM32WLE5JC on a custom board. I’ve been using the library for proprietary LoRa communications for a while, and it’s all worked seamlessly.However, I’ve now got an application which requires using the SubGHz_Phy library in FSK mode, and have a really weird problem that I can make no headway on. I’ve simplified my test setup to about the simplest possible case, and the problem is as follows:I have a ‘remote’ board sending a packet of data every 1 second. A ‘master’ board receives this packet, and does so perfectly provided the master board has not transmitted anything. But from the first transmission by the master board, every subsequent reception by that board returns incorrect data. The RX Complete Callback routine ‘Size’ parameter contains the correct size for the expected incoming message, but the buffer pointer passed to the RX Complete Callback does not point to the correct data….. Instead, it appears to point to the packet that the
I am developing a BLE product using the stm32wb and have it working as a peripheral/server. I need to add the ability to work as a central also and am following the BLE_p2pRouteur example in STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pRouteur. The device I want to connect to as a central is another of our products in development and uses a different MCU/BLE stack. This device is also working as a peripheral and can connect and pair using Windows, macOS, iOS, and linux.After connecting to the peripheral, querying the services, and querying the characteristics of the services to get all the handles needed, I try to enable notifications on the characteristic normally used for commands using aci_gatt_write_char_desc() with a 2-byte attribute value set to 0x0001. The stm32wb BLE stack is returning ACI_GATT_ERROR_RESP_VSEVT_CODE with Req_Opcode set to 0x12 and Error_Code set to 0x0e (unlikely error). I am certain that
Hello all,We are trying to connect STM32WB with phone using BLE. We have based our code on the Hearth rate example given by ST. We have installed LightBlue on smartphone and now we try to connect with the device. On LightBlue, we can see that the device becomes connected and then disconnect immediately. The pairing status return Failed with reason AUTH_REQ_CANNOT_BE_MET. We have already tried to remove all bonding devices, and call aci_gap_clear_security_db() before connecting. The authentification requirement are as following :Bonding_Mode : 1MITM_Mode : 0SC_Support : 2KeyPress_Notification_Support : 0Min_Encryption_Key_Size : 1Max_Encryption_Key_Size : 16Use_Fixed_Pin : 0Fixed_Pin : 111111Identity_Address_Type : 0What about this authentification error ? What does it mean exactly ?Best regards,Audrey
I have a P-NUCLEO-WB55 board and i want to use it to communicate with my phone on ble. Fİrst of all, i decided to try an example to see if its works. I updated fus and then uploaded ble stack like the 11th video of STM32WB Getting Started Series After that i decided to try HeartRate example which is shown in 6th video STM32WB Getting Started Seriesand i put a breakpoint in APPE_SysUserEvtRx() function. When i debug the code ı observed, program never goes into APPE_SysUserEvtRx(), in fact it stucks after MX_RNG_Init(); function. I made comment this function and i saw this time code stucked on MX_RF_Init(); function. Therefore i believe MX_RTC_Init(); function here causes this stucks. If i make comment the __HAL_RTC_WAKEUPTIMER_ENABLE(hrtc); macro which is in HAL_RTCEx_SetWakeUpTimer_IT() function, it doesnt stuck at init functions but when it come to MX_APPE_Init(); function, it says "Target is not responding, retrying..." then shuts down. Could you please help me?Best regards..
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.