Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
My configuration is shown below: gpioinitstruct.Pin = SD_CS_PIN; gpioinitstruct.Mode = GPIO_MODE_OUTPUT_PP; gpioinitstruct.Pull = GPIO_PULLUP; gpioinitstruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(SD_CS_GPIO_PORT, &gpioinitstruct);
..
Hello ST,Once the provisioning process over associate node will Save provisioning data in SubPage[%.8x]\r\n", PRVN_NVM_SUBPAGE_OFFSET(subPageIdx)); using AppliPrvnNvm_Process(); function. Is there any possibility we can we read this memory?I didn't get any function to know the availability of Low power active node in existing network?BLEMesh_NeighborRefreshedCallback(); function works only for unprovision node..Please enlighten me on this issue..Best RegardsDeepak Aagri
Hello ST,I am using BLE_MeshLightingProvisioner Project, PB 12 and PB 14 used for external interrupt purpose. Please find the following modification =============main.c================static void MX_GPIO_Init(void){ GPIO_InitTypeDef GPIO_InitStruct = {0}; /* GPIO Ports Clock Enable */ // __HAL_RCC_GPIOC_CLK_ENABLE(); __HAL_RCC_GPIOB_CLK_ENABLE(); // __HAL_RCC_GPIOA_CLK_ENABLE(); /*Configure GPIO pins : Key_Pin Door_Pin */ GPIO_InitStruct.Pin = Key_Pin|Door_Pin; GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING; GPIO_InitStruct.Pull = GPIO_PULLUP;//GPIO_NOPULL; HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); /* EXTI interrupt init*/ HAL_NVIC_SetPriority(EXTI15_10_IRQn, 0x0F, 0); HAL_NVIC_EnableIRQ(EXTI15_10_IRQn);}=================================================================stm32wbxx_it.c===========================void EXTI15_10_IRQHandler(void){ /* USER CODE BEGIN EXTI9_5_IRQn 0 */ /* USER COD
The documentation for the IHM15A1 dual DC brushed motor driver board (p.2) says it is only compatible with the following Nucleo boards: NUCLEO-F401RE, NUCLEO-F334R8 or NUCLEO-F030R8. I have a Nucelo-WB55RG. Can I use the IHM15A1 with it? Does the documentation UM2393 need to be updated, or is there some reason the Nucelo-WB55RG isn't compatible with the IHM15A1 expansion board? It seems that ST Motor control workbench software tool doesn't include support for the NUCLEO-WB55RG or the IHM15A1 - so I suppose I can not use it for profiling my motor? What is the best approach for using and configuring the IHM15A1 expansion board with the NUCLEO-WB55RG? Thanks! Dan.
Hello,I'm currently working with a STM32WB55 and I am here because I would like to set up the advertising data with the following ad types :AD_TYPE_SHORTENED_LOCAL_NAMEAD_TYPE_128_BIT_SERV_UUID_CMPLT_LISTBut it seems that I have not enough space. According to the doc, when we call the aci_gap_set_discoverable() function, 6 extra bytes are automatically added by the stack to the frame (ad flags, and TX_POWER).My question : Is there a way to remove the TX_POWER field inside the advertising frame ?I tried to use the aci_gap_delete_ad_type() function, but I got the following returned error : 0x1F (probably "AD_TYPE not found")Thank you in advance for your support
I am currently using the Seed E5 chip with LoRaWAN. I need to get data from a uart system through the uart2 (Pins PA2 and PA3). If I add in an APP_LOG displaying the data recieved from UART2 in the main while loop, then the uart2 works fine, but if I remove it the uart2 never runs. When I step through the program with the debugger, I find that it always fails at the huart reception type line. if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { __HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_IDLEF); ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); }My code for the UART2 is almost line for line from the uart example made by STM (found here https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Examples/UART/UART_ReceptionToIdle_CircularDMA)The only notable difference is that I am also using UART1 and I am running LoRaWAN along side the UART stuff.I am pretty new to UART and to the STM32WL and would appreciate any help on this issue.
I have created a BLE application using STM32WB5RG BLE stack. Everything works good, I am able to advertise, authenticate & connect to the device. However, my application needs to run with low power. When I put CPU1 & CPU2 in STOP2 mode, I am noticing that my BLE connection gets lost(disconnects from client). I have two questions regarding this:What exactly causes the BLE connection to cut off given that the RF subsystem runs independent of CPU1 & CPU2 ? Can I keep the BLE connection active while being in STOP2 (any one of the CPU or both) mode by setting some register configurations?To avoid ceasing of BLE activities, can the CPU1 (via interrupt) wake up CPU2 which is in STOP2 mode?Can I keep at least one of the CPUs in LPM and have the BLE alive?I could not find specific information from the product documents, more details on this would be appreciated. @Christophe Arnal @STM32WB Bluetooth Mesh Workshop & MOOCs @Bluetooth® LE Application Development’
Hello people,I am working on a Project with the stm32wb55 which includes Low Power Modes (Standby) and Bluetooth (BLE).When i turn off the Bluetooth part the controller can simply enter and exit Standbymode by my choice.However if i activate BLE on a Button, work with it and want to enter Standbymode again the controller wont wake up anymore.As i have heard the problem could be something with the cpu2 for example the RF.Is there a way to shut down the cpu2 completely so i can enter the Standbymode like in the first example ?
Hello , I am fairly new to microcontroller programming and sorry if this is a noob question. I have a STM32WB55RG board and I want to learn developing a BLE application. I did an example from STM Workshop (Hands On) and it worked very well. Then i tried configuring CubeMX myself, change the code a bit and still got a good result.But today, suddenly the BLE stop functioning. I cannot detect the device using any BLE scanner application. At first i thought maybe it got into some error handler eg. HardFault or MemManage. But it dindnt. I tried debugging using LED and I found out that the code didnt even land on the APP_BLE_Init() function. So I thought maybe I should re-flash the BLE stack binary. Followed the instructions and using CubeProgrammer CLI, but the device cant be found. Then I tried using CubeProgrammer UI, cant connect to device. I tried with no jumper on BOOT0 and VDD, also connected via ST-Link USB, successfully downloaded the BLE Stack binary on address 0x080CB000. But stil
Hello!I'm trying to use the base OTA firmware updater within the STM32WB github package.For some reason, when I try to use the notify characteristic in my app after an OTA update, the notifications aren't being sent out.Is there something that needs to be reset after an OTA update within the BLE stack to re-enable the notify characteristic?Thanks!
Hi,I am using STM32WB55 USB dongle board as a client and another STM32WB55 USB dongle board as server. I want to send data from server to client using notify characteristic. How to enable notification in the client to receive the data ?
I am trying to use X-Nucleo-BNRG2A1 as a BLE Central Device. My BLE peripheral is based on STM32WB15CC (Which is working fine). On the central code, I am using the central example from CubeIDE. I can scan and see my peripheral. I managed to connect to it. However, as soon as it connects, it disconnects giving me "GATT Procedure completed with error 0x41 0x0806". Here, 0x41 = error code (referring to Failed). And 0x0806 is the connection handle. I tried to modify the example by adding a primary service discovery inside the connection complete event callback. It fails to discover service. The debug message I get is "aci_gatt_disc_all_primary_services() failed: 0x46". No idea what 0x46 refers to. FYI, the connection code (in the central) is: aci_gap_create_connection(SCAN_P, SCAN_L, saved_devices.dev_info[dev_index].addr_type, &nbs
Hi,My board is NUCLEO-WB55RG, connected to host PC by USB(not ST-LINK),I'm trying to switch it between application and dfu,I set board to DFU by modifying option byte in application(nBOOT1=1, nBOOT0/nSWBOOT0 = 0),then use STM32_Programmer_CLI.exe to set nBOOT0 to 1 to switch back to applicaiton STM32_Programmer_CLI.exe -c port=usb1 -ob nboot0=1It's working, board does comeback to application,but CLI always shows "Unable to reconnect the target device: time out expired",it make sense because board reset and boot to application immediately after changing option byte,so CLI can't connect to board again and shows error massage,Do we have way to eliminate the CLI error message?or skip the reconnect and verify step?Thanks~
Hello,I have bought a devkit NUCLEO-WL55JC2. I'm looking for an IAR EWARM template project or examples. Someone knows where i can find it? I find only examples running under CUBEIDE.Thanks !:grinning_face:
Dear all,I need to design a custom board for LoRa 868MHz network. The AN5457 provides the design example considering the +22 dBm (when using RFO_HP) or +14 dBm (when using RFO_LP)) with UFQFPN48 package.Also, the output impedance is reported for different output power and optimal settings (Appendix A1.7).I'm interested in using the UFBGA package, which is the same used in the Altium reference design available here for the NUCLEO-WL55JC: https://www.st.com/resource/en/schematic_pack/mb1389-wl55jc-highband-e02_schematic.pdf In the above design, the matching network for the RFO_LP is different from the one provided within the application node AN5457 even if the +14dBm power is considered. See below: This is a bit confusing to me. Is the output impedance different for the UFBGA package?If yes, where those impedances can be found?It is difficult to follow the design steps you provided in the AN when, within the Altium design, the chosen component values are different from the ones
"Failed to start GDB server Error in initializing ST-LINK device. Reason: (4) No device found on target." Does anybody know? Thanks a lot!!
Hello everyone. I am working with nucleo-wl55jc1 (with stm32wl) and i have a problem. When i try to download a program in cortex m4 i can make it succesfully. But when i try to download a program in cortex m0+ , debugging is unsuccesful. "Failed to start GDB server Error in initializing ST-LINK device. Reason: (4) No device found on target." Does anybody know? Thanks a lot!!
For this , I am using STM32WLJC1 Nucleo as my end node device.I was able to generate the binaries as suggested in AN5554. I want to know how I can fragment this binary as required by LoRaWAN® Fragmented Data Block Transport Specification v1.0.0 and use the fragmented file to push using custom application server to network server(having multicast support, say things network ) so that end node receives the updates over air.Any example ,resources or help to establish me this chain for LoRaWAN FOTA will be greatly appreciated.Thanks in advance.
Hi,I'm trying to form a user defined network, but i always get the next error when I receive a response: [M0] [00000017.002][PLATFORM] aps_sec_build : Unable to encrypt (no security material for 0x0080e125001b6836 with key type = 0x00).The configuration parameters for the coordinator are the next ones: config.extendedPanId = 0x400; config.panId = 0x7171; config.shortAddress = 0x7171; config.networkManagerAddress = 0x7171; config.startupControl = ZbStartTypeForm;and the ones for the End devices: config.startupControl = ZbStartTypeRejoin; config.net
Good afternoon,Test1: I want to upgrade the FUS (at the moment it is FUS version 0.5.3.0) to upload next, the FTD thread stack. But when I upload the stm32wb5x_FUS_fw_for_fus_0_5_3.bin (from the last version of Patch-CubeWB: FUS version 1.2.0) with SMT32CubeProgrammer, I got the following eror: "Error: FUS_AUTH_TAG_CUST_NOTFOUND".Test2: I read on a forum that before uploading the FUS version 1.2.0, I have to upload an old version of the FUS. So I tried with stm32wb5x_FUS_fw_1_0_2.bin (from the version 1.10.1 of Patch-CubeWB: FUS version 1.0.2.0) and I got the following error: "Error: FUS_AUTH_TAG_CUST_NOTFOUND"I tried again the Test1 with STM32CubeWB version 1.13.0, I got the same issue and the Test2 with STM32CubeWB version 1.2.0, I got the same issue.For all the tests, I followed the Release_Notes.html but it never works. Can you give me some help please ?Have a nice day!Teddy TAILLEPIERRE.
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.