Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, I created a new project follow SubGHz_Phy_PingPong project example. Without TCXO configuration, my project work correctly. If I configure TCXO my project can't send and receive "PING" or "PONG". With TCXO configuration the Radio.Random = 0.What wrong in my project? please recommend for me some solutions. Thank you.
Hi all,I am designing a system of microcontrollers for a research project that take RSSI measurements from each other and send the collected data to a connected android device. All of the microcontrollers in the system are flashed with the same or similar program since some of the microcontrollers are Nucleo-64 and others are USB Dongle. All of the microcontrollers in the system are connected to the android device through a BLE connection that is initiated by the android device. I developed the code for the microcontrollers by altering code generated by CubeMX. Currently, I am using the RSSI received from advertising packets as the RSSI data to be sent to the android device. When I tried to run a scan while advertising I got the error 0x82 (No valid slot). When I tried to advertise during a scan I got the error 0x0C (Command disallowed). I am able to simultaneously scan and advertise when the microcontrollers are not connected to the android device, so I am assuming this issue rel
Hello,I want to upgrade my code using BLE OTA in STM32WB55. I followed all the steps that are mention in the reference manual of BLE OTA. but it is not working in FW version 1.13.3. I have also tried the pre build binaries of example code of BLE_p2pServer_ota, so this binary is working fine with OTA but the when I build this code and again burn the binary of this code then it is not working fine and same thing is happen with my code.For the BLE OTA firmware upgrade I have used the ST BLE sensor Application. Please provide me the suitable helpRegardsSarthak Malik
Hello, We are facing issue of missing downlinks, say missing 5 out of 30 downlinks, there is only 1 device and 1 gateway on TTN, gateway shows data that it sends downlink, but device unable to get it.If there is fast External Interrupts (use to count external reed switch pulse), this ratio increases, and we miss 16 out of 30. Please help us to solve this issue.Thank You
I'm using FreeRTOS in an STM32WL55 based application that needs to be active only few time per day (3-6).The system need to be in stop mode for most of the time and I have an external line that is connected to the LPTIM and based on this line status the system needs to wake up do some activities.All the FreeRTOS & STM32 discussion I read refer to FreeRTOS Tickless mode where the system needs to wake up periodically on a relatively fast rate (this is based on the system clock mainly) to keep its internal tick. This is indeed needed if you are using OS timers or some task are waiting on a service that is time based (e.g. wait for a message or osDelay)But if the system does not use any OS timebase services while in stop mode one would wants the system to stay in stop mode as long as possible.How can this be achieve?Is there any examples for that?Thanks
Hi everyone, I have the STM32WB55 MCU. The Bluetooth stack is V1.13.0. I know it has its own BLE_Ota application for this version but I wonder if it's possible to use the BLE_Ota application which is written for V1.8 on stack V1.13. So, Is the BLE_OTA application which is written for stack V1.8 compatible with stack 1.13.0?
Hi,I'm using a STM32WB55REV, and there is a typo in the option byte "IWGDSTDBY" instead of "IWDGSTDBY".STM32CubeProgrammer v2.10.0Best regards,Nicolas
Hi all,I have to port a working LoRa project from STM32WL55JC (3.3V) to STM32WLE5CC. First besides the JC (BGA) has more pins thatn the E5CC (QFN), anything else should be the same (expect maiy EXTI which te project does not use).Now my the issue: The SUBGHZ / LoRa stack is being initialized, no errors no locks, interrupts occur and indicate that any Tx is complete. The internal SPI communcation between STM32 core and the SUBGHZ block is fine. I can read and write any register with no issues.2But there is no RF signal at all comming out, neider on low nor on high power output. (checked with a decent spectrum analyzer). I must admit that there is some more difference between the two boards:+ The WL55JC board gets 3.3V voltage on all VDDxx inputs+ The WL5ECC board gets 1.8V and some 3.3V from a clean LDOThe wiring on the WL5ECC:VDD: 1.8VVDDSMPS: 1.8VVDDRF1V55: is 1.55V from internal buck (verified OK)VDDRF: 1.8VVDDPA: 3.3V (to get max. power)VDDA: 3.3V (to be able to use VREFBUF)HSE/SUBG
I'm trying to find a proper documentation for the ACI commands of the bluetooth stack included in the STM32CubeWB MCU Firmware Package. We're running the stm32wb5x_BLE_Stack_full_fw on one CPU of a WB55 and our application on the other. Our application uses the STM32_WPAN middleware (e.g. functions from ble_gap_aci) to control the stack. I miss a proper documentation of these functions. What values can `aci_gap_remove_bonded_device` possibly return? So far I had a look at The BlueNRG-MS Bluetooth® LE stack application command interface (ACI), the STM32WB Bluetooth® Low Energy (BLE) wireless interface and of course the Building wireless applications with STM32WB Series microcontrollers. None of these documents contained a description of the individual return values.
Hi,I need a way to control external power amplifier enable to turn it on only when transmitting.I read that PB0 has alternate function intended for this (RF_TX_MOD_EXT_PA).Can I use this function to control the external amplifier SKY66118-11? This is the tested external PA according to "STM32WB55 External PA integration and performances" document released by ST i 2019.However SKY66118-11 has 2 control pin (CSD and CTX), while only PB0 is intended to control external PA.Can I have the electrical connection for the testing? As it does not displayed in the document.And also the FW scheme for the GPIO to control the external PA?Thank You,Muhammad ABDILLAH
Hello,I have found a new bug in CubeMX generated code.My setup: STM32WubeIDE 1.9.0CubeMX 6.5.0Chip STM32WB55VGYxFirmware pack V1.13.2If you configure your project to enable RCC interrupts, CubeMX will generate twice the lines /* RCC_IRQn interrupt configuration */ HAL_NVIC_SetPriority(RCC_IRQn, 0, 0); /* RCC_IRQn interrupt configuration */ HAL_NVIC_EnableIRQ(RCC_IRQn);By searching through the template files in the CubeMX plugin sources for STM32CubeIDE, I was able to locate the source of the problem.The following code is from the file "STM32CubeIDE/plugins/com.st.stm32cube.common.mx_6.5.0.202202251913/db/templates/stm32xx_hal_c.ftl"The code is generated once in the section located in lines 161-183 and then generated a second time in section located in lines 184-207.The second section especially targets the initialization of the RCC module, however it does contain exactly the same code as the previous section (including some conditions that will never be true because they targets in
Hello,I am using STM32WLE5CC MCU with STM32Cube IDE, and used Lorawan as End Node.I am trying to read battery Voltage from STM32WLE5CC internal ADC Battery Channel, I got fluctuating voltage level from it.I see 254, 201,220 like values, which is not usable to justify battery actual level.Please help me to find solution of this issue?Thank You
Hi,I'm using a custom board with STM32WB55CG. When I uploaded my custom BLE program with STM32IDE, the program could not work. Then I found the chip had an error with FUS and wireless stack. When I read the FUS info, the fus version was v1.1.1.0 and the stack version was v0.0.0.0. When I push the Start Wireless Stack button, the error with FUS_STATE_IMG_NOT_FOUND was occurred.Then I tried to upgrade FUS with stm32wb5x_BLE_Stack_full_extended_fw.bin(Release v1.13.3) and encountered with the problems. I tried the upgrade with cubeProgrammer v2.10.0, v2.9.0, and v2.8.0, and it returned the same results. 09:07:04 : Old Firmware delete ... 09:07:04 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified. 09:07:04 : Warning: Option Byte: nboot0, value: 0x1, was not modified. 09:07:04 : Warning: Option Byte: nboot1, value: 0x1, was not modified. 09:07:04 : Warning: Option Bytes are unchanged, Data won't be downloaded 09:07:04 : Time elapsed during opti
Hi community.I try to learn about Bluetooth communication with STM32WB15 but it doesn't have AT server firmware so I try to design my own firmware base on STM32L412 UART communication and STM32WB15 with transparent mode firmware.The problem is to learn about HCI, GAP, GATT commands because I don't know what is the process to bonder a slave, how to send information by them (commands) among others.Is there any diagram about the sequence of communication?or any information related to that can help me because I base on AN5270.
### Flashing Target ###Open On-Chip Debugger 0.11.0+dev-00748-ga70bab9e5 (2022-06-28-14:36)Licensed under GNU GPL v2For bug reports, readhla_swdInfo : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWDInfo : DEPRECATED target event trace-config; use TPIU events {pre,post}-{enable,disable}/home/thomas/myRIOT/boards/common/stm32/dist/stm32wl.cfg:4: Error: can't read "_TARGETNAME": no such variablein procedure 'script' at file "embedded:startup.tcl", line 26at file "/home/thomas/myRIOT/boards/common/stm32/dist/stm32wl.cfg", line 4make: *** [/home/thomas/myRIOT/examples/hello-world-wl/../../Makefile.include:837: flash] Error 1if i try to flash the .bin with the stlink-flash i receive the following message:st-flash write hello-world.bin 0x8000000st-flash 1.6.02022-06-28T15:42:25 WARN usb.c: Couldn't find any ST-Link/V2 devicesAs far as I know the Nucleo-WL55 uses a STLink-V3 is this the cause of my problem?How to fix this?lsusb res
I'm trying to upgrade the FUS and wireless stack version on my STM32WB55 Nucleo board via ST-LINK using STM32CUBE Programmer GUI tool and seeing this error message FUS_STATE_IMG_NOT_AUTHENTIC. I'm using "STM32WB5x\stm32wb5x_FUS_fw.bin" to upgrade the FUS version. Any suggestions to resolve this issue?
I am using the STM32WB55 microcontroller where I use BLE and integrate my main program with code that I am implementing.On the other hand, I need to use LoRaWAN and for this I use the HOPERF RFM95 module in which only the radio part is integrated but in which I could integrate the MAC layer in the STM32WB55 to be able to use LoRaWAN. Is it possible to integrate the MAC layer code inside my STM32WB55 or is it better to use a LoRaWAN module like the CMWX1ZZABZ and control it by AT commands?Regards,
Hello,Our application is to count fast external interrupt with denouncing in EXTI_callback().only When this interrupt is ongoing and try to write flash ,then STM32WLE5CC hangs, and reboot using Independent watchdog.Write to flash code:void emulated_eeprom_write_buf(uint8_t * buf, uint16_t length){ if((length)>2047) return; uint32_t base_addr=0; base_addr=getHexAddressPage(DATA_PAGE); memoryPageErase(DATA_PAGE); HAL_FLASH_Unlock(); for (uint32_t i = 0; i < length; i += 8) { uint64_t data64 = u8touint64(buf+i); if (HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, i + base_addr, data64) != HAL_OK) { HAL_FLASH_Lock(); return ; } } HAL_FLASH_Lock(); }In HAL_GPIO_EXTI_Callback() there is 50ms debounce check.If there is no interrupt, then this issue doesn't arise.please help us to solve this issue.Thank You
Hi,I'm using stm32wb55 for ble application.I want to check the connection state of BLE for conditioning case.Is there any global instance or register which contain the state of BLE?Thanks.
The datasheet indicates the value of 470nF for the SMPS mode on the VFBSMPS pin. But for the LDO mode, I didn't find the required value.Thanks
Hello guys,I want connect to a bluetooth device from STM32WB.I've used this function inspiered to setup the connection with the device found when scanning but it won't connect to it it always print out Connection To Slave Failed with reason 0x46 which means connection, not allowed, am i missing something here?for info : the connection works fine when using p2p_client examplestatic void vConnectionRequest(eAppBleConnectionStatus __e_NewStatus) { uint8_t __au8_MacAddressP2PSrv[6U]={0xE5,0xD7,0x25,0xE1,0x80,0x00}; tBleStatus result; if (_t_BleApplicationContext.e_DeviceConnectionStatus != APP_BLE_CONNECTED_CLIENT) { result = aci_gap_create_connection ( 0x320, 0x320, 0x00, __au8_MacAddressP2PSrv, 0x00, 40U, 80U, 0U, 0x1F4, 16U, 16U ); if (result == BLE_STATUS_SUCCESS) { _t_BleApplicationContext.e_DeviceConnectionStatus = APP_BLE_LP_CONNEC
Under what circumstances will the BLE controller return Command Disallowed (0x0C)? I am calling aci_gap_set_discoverable() followed by aci_gap_update_adv_data() periodically. I see aci_gap_set_discoverable() return successful the first time that it's called upon startup and also upon receiving HCI_LE_CONNECTION_COMPLETE. It appears to fail at all other times and the advertising packets are not transmitted.
I basically have this code:while (...) { // A while (BLE_STATUS_INSUFFICIENT_RESOURCES == aci_gatt_update_char_value(...)) { // B osDelay(10); } } while (BLE_STATUS_INSUFFICIENT_RESOURCES == aci_gatt_update_char_value(...)) { // C osDelay(10); }The upper loop (A) is sending sequential notifications to a characteristic (B).The lower part is sending a final indication to a different characteristic (C).On the device that has subscribed to the notifications from B and indications from C, the indication from C seems to arrive earlier than the last notifications from B.In the end, all notifications are received, but the order is off compared to the code. I was expecting the BLE stack to have an internal message queue, meaning the indication would not be processed until the last notification was sent. But this does not seem to be the case.If B sends 96 notifications, the order I receive may be:B1, ..., B40, C, B41, ..., B96Is there any way to ensure C can only be received after B96
Could anyone please help me with this problem? Thanks in advance. I am using the low power manager (lpm) interface generated by MX for the STM32WB55 Nucleo board. I am using HSE as system clock source, so I did not make changes to the two functions PWR_EnterStopMode and PWR_ExitStopMode, as suggested by several posts. I found that when I did not turn on the low power manager, everything works fine. But when I turned on the lpm, the interrupts don't work anymore. It feels like I missed something in the function for exiting stop mode. But I tried many different things: turned on PLL, re-init DMA, SAI, I2C, but with no differences. I have struggled for almost a week without any progress. Could anyone please give me some pointers? I uploaded the three related functions (with comments removed). void DMA2_Channel3_IRQHandler(void){ HAL_DMA_IRQHandler(&hdma_sai1_a);}void PWR_EnterStopMode( void ){ HAL_SuspendTick(); EnterLowPower(); LL_PWR_SetPowerMode( LL_PWR_MODE_STO
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.