Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Between Board 1 and Board 2 data exchange should be done through LoRa and data exchange between Board 1 and PC should be through USB. It would be very helpful if someone help with this.
I'm using LoRa E5 mini board that has STM32WLE5 MCU on it.I use STM32CubeProgrammer and the STlink of a Nucleo64 board to send the firmware to it.For some boards, I cannot succeed to flash them and get this error : When I try to use STM32CubeIDE I've got this error : I already checked that OB RDP is AA.By following the article of ST (https://community.st.com/s/article/Custom-external-loader-failed-to-download-segment-0) I try to use the 2.6 version of STM32CubeProgrammer but without any success...When I increase verbose level on STM32CubeProgrammer I've got those logs : 14:25:34:818 : Memory Programming ... 14:25:34:818 : Opening and parsing file: Seeed-LoRa-E5_VT7-71.bin 14:25:34:818 : File : Seeed-LoRa-E5_VT7-71.bin 14:25:34:818 : Size : 89324 Bytes 14:25:34:818 : Address : 0x08000000 14:25:34:818 : Erasing Segment <0> Addr
Have an application for STM32WB55 which is likely to be occasionally exposed to 125C (max) ambient, but with very low power consumption. What is the behavior at the allowed limit? Do leakage currents increase dramatically (leading to thermal runaway). Is latch-up more likely (not recoverable by watchdog)? Datasheet only provides behavior up to 105C.
I have a board Nucleo WB55 and I'm configuring PWM on channel 1 of TIM2.I know is possible configure PWM Mode 1 also on channels configured as Output Compare, but CubeIDE not allow set this configuration, I think is an issue.I changed the init code with TIM_OC_MODE_PWM1 and works.
..
I find that STMCUBE is missing the middleware PDMtoPCM lib for STM32WB55, see attached. How do I get the PDNtoPCM lib and install it in CUBE ?Thanks Brian
Hello.I'm trying to run this LoRaWAN FUOTA code: github.com/ SylvainMontagny/STM32WL/tree/main/STM32WL_FUOTA (that's the Single-core project on the Application Note AN5554), but i get the following error:c:\st\stm32cubeide_1.9.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot use executable file as input to a link 'C:/Users/USER/Downloads/STM32WL-main/STM32WL_FUOTA/Projects/NUCLEO-WL55JC/Applications/LoRaWAN_FUOTA/1_Image_BFU/STM32CubeIDE/Debug/se_interface_app.o' as input to a linkI've linked the "se_interface_app.o" file in Properties > C/C++ build > Tool Settings > MCU GCC Linker > Miscellaneous > Additional Object Files, but it didn't help.How can i solve it? Any suggestions?Thanks in advance :grinning_face:
I am a hobbyist that only has basic oscilloscope and function generator that is (according to AN5042) not accurate enough to tune the HSE crystal. Is the HSE crystal in the NUCLEO-WB55RG pre-tuned?
I have tried running the BLE_HeartRate application as generated by STM32CubeIDE v1.11.0 which used WB FV 1.15.0. I am running on a custom board (DK board is not available right now) that has a STM32WB5MMG module, the recommended capacitors, and a header for connecting an STLINK-V3MINI, and nothing else. By default CFG_LPM_SUPPORTED was set to 0, CFG_DEBUGGER_SUPPORTED and CFG_DEBUG_APP_TRACE were set to 1, This setup draws about 13mA.When I change CFG_LPM_SUPPORTED to 1, CFG_DEBUGGER_SUPPORTED and CFG_DEBUG_APP_TRACE to 0, I see a current draw of 8.7mA. This is far more than I would expect.In contrast, using the same tools I generated and ran the same application on a Nucleo-WB15CC board and I see a current draw around 400uA in low power mode.I understand that the BLE_HeartRate application is the recommended low-power demonstration. Is anyone running it on a STM32WB5MM-DK board? Are you seeing similar results?Can anyone suggest how to reduce the power consumption on this setup?
If I write to address 0, it prevents from entering shutdown mode.The vector table is relocated to code.As far as I understand, writing to address 0 in this case is not illegal. For sure it does not generates a fault.The following code enters shutdown mode successfully:#include "stm32wlxx_hal.h" int main(void) { HAL_Init(); HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1_HIGH); __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WUF1); HAL_PWREx_EnterSHUTDOWNMode(); while (1) { } }The following code fails entering shutdown mode:#include "stm32wlxx_hal.h" int main(void) { HAL_Init(); HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1_HIGH); __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WUF1); *(int *)0 = 0x20008000; // End of SRAM HAL_PWREx_EnterSHUTDOWNMode(); while (1) { } }I believe the second snippet should enter shutdown mode, or I missed something.Regards
Hi, I would like to try nucleo-WL55 in LoRa Node with Quatz and see temperature influence in RF signal.So I have unsolder R2, and solder R39/R40. But now LoRaWAN_AT_Slave does not work anymore, even if I change TCXO to Quartz in .ioc file. I can see AT menu, but ATTONE does not work anymore.What change did we do to be able to use Quartz insted of TCXO? In LoRaWAN_AT_Slave MSI RC is configure. Why when I try to use HSE PRES /4 X12 /2 (48Mhz) I can't be able to see UART ? (AT menu)
Hi everybody!Working on Martian Robot développed by VittaScience, I need to read values coming from 5 blackline sensors to the ADC of the wb55.I tried to analogRead() the pin but nothing...Some ideas? Thanks!
I am currently trying to read the value from a characteristic after detecting that the user has written to it. I am calling aci_gatt_read_char_value() which is returning 0 (BLE success). From here I am expecting an event which triggers the aci_att_read_resp_event() function but I am not seeing that get called.However, I am seeing that the Custom_STM_Event_Handler(void *Event) gets called directly after I call this function and the event code is: I'm not sure what the issue here exactly. Should I be setting a flag and then calling the read function elsewhere? Or is there some other issue with my setup?Thanks very muchMaks
Voice is heard through the codec chip, but the noise is severe.There is no noise when you listen to the voice from the PC through the USB output.I don't know if the SAI setting on the Central is wrong or the codec chip setting is wrong. If you playback the wave file on the codec chip, there is no noise.void Playback_Init(void){ /* Configure and enable PLLSAI1 clock to generate 11.294MHz */ RCC_PeriphCLKInitTypeDef RCC_PeriphCLKInitStruct; RCC_PeriphCLKInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SAI1; RCC_PeriphCLKInitStruct.PLLSAI1.PLLN = 24; RCC_PeriphCLKInitStruct.PLLSAI1.PLLP = 17; RCC_PeriphCLKInitStruct.Sai1ClockSelection = RCC_SAI1CLKSOURCE_PLLSAI1; if(HAL_RCCEx_PeriphCLKConfig(&RCC_PeriphCLKInitStruct) != HAL_OK) { Error_Handler(); } /* Initialize SAI */ __HAL_SAI_RESET_HANDLE_STATE(&SaiHandle); SaiHandle.Instance = AUDIO_SA
It looks as if the RNG is made unavailable to the M4 when the M0 has booted the BLE stack. This looks to be true because I can initialize and use the RNG before starting the BLE stack. Once I launch C2, the RNG registers read as zeros.Is this a requirement of the BLE stack? We don't use any of the security features in BLE and it would be much more useful to have access to the RNG from the M4 instead of using the HCI interface. Is there a way to we can retain control of the RNG from the M4?
Hi I have two stm32wb55rg nucleo which i will use to transfer data via bluetooth for each other.I would like to use an external antenna like the ant0060. However, I did not notice any change in the receiving range after changing the gain antenna from 3.3 dbi to 5 dbi. The code is used from the project:GitHub - stm32-hotspot/STM32WB-BLE-PER-Testbench: Example demonstrates how to enable BLE Direct Test Mode (DTM) in the STM32WB from a firmware user application using HCI testing commands directly to perform a Packet Errror Rate (PER) measurementIs it possible to change the transmit and receive power by the stm32wb55rg chip itself?
Hi Everybody!New with STM32, i'm currently working on a project in order to combine black line detection with an AlphaBot and IA embedded with a TOF sensor, all of that with a Nucleo-WB55.Actually I would like to add a Bluetooth function to be able to read informations about all the sensors.The matter is : When I enable my RTC (mandatory with BLE), my timers (used to generate a PWM for the wheels motors) doesn't work : The right one doesn't move but the other one is at 100%.Have you an idea of something to check?Thank you!
I am trying to connect to a Polar HRM with a STM32WB55 Nucleo board by modifying the BLE_p2pClient example. I tested the example and it worked in connecting to another ST board. Then I modified the code to connect to the UUID of the HRM I got from the scan, changing SERVER_REMOTE_BDADDR putting the UUID in reverse order. In the scan, I was able to find the exposed services to check if the scan was a success and got the UUID and RSSI from there. When I ran aci_gap_create_connection to connect, it returned a BLE_STATUS_SUCCESS, but I did not get a HCI_LE_CONNECTION_COMPLETE_EVENT like I did when I successfully connected to another ST board. I messed around with the connection interval, slave latency and supervision timeout, but still couldnt get the device to connect. I also am not seeing the complete name in the advertising data when I scan with the STM board, but I know its being advertised by checking with with a phone app and other device names are showing up as well. I tried the sam
Hi,I developed an application with the Nucleo card which embeds an STM32WL55JCI6 starting from the "Sigfox_PushButton" example.The program uses 60 kB of flash and 8 kB of RAM and therefore works under the STM32WL55JCI6 which embeds 256 kB of flash and 64 kB of RAM.I would like to pass the programme to a smaller and cheaper microcontroller, the STM32WLE5C8U6 (64kB flash, 20 kB RAM).So I imported the project from the new target under CubeMX, I only had to reassign the used pins.Unfortunately, the problem is that when I compile the program, I am no longer at 60 kB of flash but at 84 kB used and the program therefore does not pass on the microcontroller. When looking at the flash memory usage details, the STM32WLE5C8U6 seems to consume much more memory in each function.I don't understand why the program which is exactly the same has a different size from one target to another ? Also, does this mean that the STM32WLE5C8U6 is unusable with Sigfox ?I'm confused, thanks for your help,Steven
Hello.I have noticed that a new FW was released and I tried to update our devices version.First of all, I was working with previous 1.13 version that had BLE stack light, basic and full versions, in 1.15 version I noticed that there is light, full and full extended. What are the differences? From what I saw, documentation didn't changed from previous versions and there is no info about full extended version.Second, we update 2 devices with 1.15 full extended version and both devices stucked in hard fault handler after calling scatterload function. any ideas what could happen?Thanks.
The Bluetooth Mesh Library version 1.14.0 has the following Capabilities:[Library Capabilities]Net Keys = 3App Keys = 3Elements per Node = 5Models per Element = 11Subscription per Model = 10Is it possible to increase these value somehow? I want for example more than 10 subscriptions per Model.
I made a breakout board using the STM32WB5MMG with SWD debugging.I have confirmed that the SWD pins are working.I have also set up HSEM, IPCC, RCC, RTC, RF, STM32_WPAN required but I can't detect the BluetoothThe following are clock configuration.
Hi, I have new custom board on STM32WL55CCU7. I can't flash/program with STM32CubeIDE. And when i try to connect with STM32CubeProgrammer with "Normal'" mode I have this error :"Error: Cannot connect to access port 1! If you are trying to connect to a device with TrsutZone enabled please try to connect with HotPlug Mode" 14:23:09 : ST-LINK SN : 002900213431511631343632 14:23:09 : ST-LINK FW : V3J10M3 14:23:09 : Board : STLINK-V3MINIE 14:23:09 : Voltage : 1,78V 14:23:09 : Error: Cannot connect to access port 1! If you are trying to connect to a device with TrustZone enabled please try to connect with HotPlug mode.And if i try to connect with "Hot Plug" mode I have this : 14:19:28 : ST-LINK SN : 002900213431511631343632 14:19:28 : ST-LINK FW : V3J10M3 14:19:28 : Board : STLINK-V3MINIE 14:19:28 : Voltage
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.