Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
HiI am new here using STM32WB55. I am writing drivers and API for GPIO and interrupt. But I'm facing some difficulty to find the pin for SYCFG to enable clock in APB2ENR. SYCFG is connected to the APB2 bus and when I use APB2ENR to enable SYCFG clock but in reference manual there is no pin declared for to enable SYCFG clock . Can you help me how to enable clock for system configuration. Thank
..
i need transfer data from node to gateway where data is taken from peer to peer from another node what i should do for that ?
I just change from gpio_raising_it to gpio falling_it(PC11). When I use raising edge interruption, all is well. When I use falling edge interruption, my led still can toggle, just can't find ble device. So I think my board can work, it's just a bluetooth problem.
Hi,My problem is that I have "no stm32 traget found" message when I try to connect to a board by SWD through a ST-Link/v2 (no board identified). On oscilloscope, when we look on SWDIO pin, a little event happens when initializing connection on stm32cubeprogrammer but then nothing. Can it be a problem with the deisgn itself ? Just by the schematics, would you see a problem ? It's a stm32wb30ce I have a custom board with this connections for SWD programming :These pins are connected like this on the MCU : Do you see a problem on the schematic to program this MCU by SWD ?Here are the VDD parts in case the problem is there : Thanks
I used STM32WB55RGV6 to make a board (BLE server), the USB dongle is used as (BLE client), and then the USB dongle is output to the computer through the serial port. I need to further organize and categorize this data, and then display it as a real-time ecg waveform. Originally wanted to use stm32cubeMonitor to do it, but there is no good example, is there any good way to achieve it?
I'm currently working on stm32WLE5(RAK3172) for that module, and I'm using SDK 1.0.0V 1) In that LoRaWAN stack for battery reading implementation, we are noticing that the ADC initialization & de-initialization happening every time.My question is, why do we need to De-initialize every time? Instead, the initialization can happen only one time before the while loop. So that we don't need to de-initialize & initialize every time.We are observing that the battery value is constant if we implement it like the previous scenario.Kindly support this. Thanks in advance!
Hello, I'm trying to make a Zigbee application for a battery powered device (currently using the ZHA integration on Home Assistant) and I am having trouble to set the attribute for a battery power source, (it seems to be stuck on the default of Mains), however setting the manufacturer and model strings are working.static const struct ZbZclAttrT optional_attr_list[] = { { ZCL_POWER_CONFIG_ATTR_BATTERY_VOLTAGE, ZCL_DATATYPE_UNSIGNED_8BIT, ZCL_ATTR_FLAG_REPORTABLE | ZCL_ATTR_FLAG_PERSISTABLE, 0, NULL, {0, 100}, {10, 300} }, { ZCL_POWER_CONFIG_ATTR_BATTERY_PCT, ZCL_DATATYPE_UNSIGNED_8BIT, ZCL_ATTR_FLAG_REPORTABLE | ZCL_ATTR_FLAG_PERSISTABLE, 0, NULL, {0, 100}, {10, 300} } }; static void APP_ZIGBEE_ConfigEndpoints(void) { struct ZbApsmeAddEndpointReqT req; struct ZbApsmeAddEndpointConfT conf; memset(&req, 0, sizeof(req)); /* Endpoint: SW1_ENDPOINT */ req.profileId = ZCL_PROFILE_HOME_AUTOMATION; req.deviceId = ZCL_DEVICE_SIMPLE_SE
Hi everyone,I use STM32WB55 with the BLE stack 13.0 (full version) and want to test the RF. In the an5270 document, I noticed the ACI_HAL_TONE_START command and it is allowed to change the rf channel from 2.402 to 2.480 GHz with 2 MHz resolution. However, I want to change the channel to a 1 MHz resolution. For example, I want to set the channel to 2.403 GHz. Is it possible to do? If yes, how?Thank you.Have a nice day.Serhat.
I have a STM32WB that serves as the master and four other as the slaves.As the slaves may sometimes go offline, the master will periodically tries to connect with them (say, every 10 seconds). Between two connection attempts, the master allows the connected slaves to transmit data. At the 10-second mark, the master asks the connected slaves to pause transmission while it tries to connect with disconnected ones.However, it seems that the master cannot connect to other devices once some slaves begin data transmission as the call to `aci_gap_create_connection()` returns error code 0x3a. I also discovered that `aci_gap_create_connection()` would be successful only when all slaves were disconnected.Does it have anything to do with the BLE link layer state? My guess is that the master cannot connect to other slaves if it is in the connected state, but I don't know how to verify it. And if it is true, how can I ask the master to switch to the standby state so as to connect with other slaves?
Dear all,I am looking for a reference document listing the resources (timers, RAM, GPIOs, bus clocks etc) that are used by the Bluetooth stack provided byST (stm32wb5x_BLE_Stack_full_fw.bin).Any idea where I can find a complete documentation?Thanks a lot. Edo
Hello,On a STM32WB55REV, I'm having problems with going to standby.These problems are intermittent (1 in 30 cycles maybe, sometimes 3 in a row, sometimes none for a hundred of cycles...).I only started seeing them after I enabled BLE in my application (so before that I did not see them for the last year of development).I'm using the stack BLE light v1.14.0, FUS is 1.2.0.STM32_WPAN code is from FW 1.14.0, and started its life as the HRS_FreeRTOS example. The details of my target (no LSE, pin allocation) make running the vanilla example code a chore so I don't really have a "bare minimum" application I can refer to that would run on my target.I tested my services on the Nucleo extensively though without any problem, and the BLE functionality of my device does not show any problems nor unexpected behavior.The problem, from a brid's eye view, is that the device sometimes does not enter Standby properly after the BLE stack has run.No link with what has happened during runtime that I can see
Hi,I'm running into an issue with the provided OTA bootloader getting the device "bricked" after a firmware update.Details about my setupMCU: STM32WB55CGWB package: STM32Cube_FW_WBV1.14.1BLE Stack: stm32wb5x_BLE_Stack_full_fwBootloader example: STM32Cube_FW_WB_V1.14.1\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_Ota Documentation: AN5247What have I tried?I used the above mentioned ST bootloader example as a base for my project with minor modifications. Next to that modified my projects firmware to make some OTA test applications (by adding the reboot charasteristics etc). When I update the firmware via the ST BLE Sensor app, everything works perfect, but when I use another resource (Linux based IoT device) to update the firmware over OTA I'm able to brick the firmware:Transferring the raw data packages (200 bytes each) with an interval of 150ms everything works fine and I'm able to successfully transfer all data and boot to the dedicated firmware version. Trying to speed things u
hi,is ther a way to run Utility_timer and calendar simultaneously.if i set rtc on mixt mode or BCD mode, i do not receive alarm interruption ti manage Utility_timer
Hi,i am working on a Project right now where i need to send some data via LoRa. I'm using a STM32WL55 and i had some trouble with the radio setup, so to check the basic functionality of my radioi rebuilt the SUBGHZ_Tx_Mode example for my board and compared the actual example running on a Nucleo-WL55JC1 with my rebuild running on my board. The MXsetup is identical for both. I noticed that even before i start the code, i can see in the debugger, that on the nucleo the RFBUSYS Bit is set and on my board it isn't.Reading the documentation, i found out that if the radio resets, the RFBUSYS flag goes high, so it makes sense that at the very start the RFBUSYS flag is set on the Nucleo, as the whole board does a power on reset.But why doesn't the radio on my board perform a reset (or at least set the RFBUSYS bit)?How can there be a difference if no line of code has been executed yet and the Mx setup is the same?I'm completely lost on this issue, so any help is greatly apprechiated.
Determine whether the data is ready by judging the edge of the DRDY pin of ads1299, but there is no signal. When I use the virtual timer to repeat the notification, there is data, but because it is not synchronized with the ADS1299, the data is not correct, and then my project does not know how to proceed.
Hi,I just updated the CubeMonitor/CubeIDE/CubeProgrammer to the latest versions.After doing this my old version of Transparrent Mode (for STM32WB10) does not compile anymore.After creating a new project, and getting it to compile and run. I can now connect to my device through CubeMonitor-RF... sort of.It reads the version information and reports "Command Complet" but it says Unknown device CM4 version: No information CM0 version: No informationand when I try to read the HCI_READ_RSSI, the program freezes completely.The following screenshot is just after connecting.I can debug the code and pause the execution, but it is not in any fault handler.What can be wrong??? It was working under the last version CubeMonitor-RF V2.8.1last version of CubeIDE (before 1.9.0)
Hello,Setup:STM32WB,Wireless Firmware version 1.14.1Wireless Firmware build 1FUS version 1.1.0Working on a custom boardPhone Xiaomi MI A2 Android 10My issue is that my custom device (server) don't accept connection with a phone (client) that is already saved in the whitelist.I followed the tutorial below to configure my device: https://community.st.com/s/article/how-to-configure-the-stm32wb-le-central-client-or-peripheral-server-for-whitelist-operation-part-1?t=1663338701632Steps:1- On my device I start by initializing the BLE, then I clear the whitelist2- On the phone I clear the bond of my device.3- Device: start advertising (aci_gap_set_discoverable(ADV_IND, Min_Inter, Max_Inter, PUBLIC_ADDR, WHITE_LIST_FOR_ONLY_CONN, sizeof(local_name), (uint8_t*) &local_name, BleApplicationContext.BleApplicationContext_legacy.advtServUUIDlen, BleApplicationContext.BleApplicationContext_legacy.advtServUUID, 0, 0);4- With my phone I connect then bond to the device (using ST toolbox last version)
I have a program that builds upon the p2p example.The scanner starts when I press a button withaci_gap_start_general_connection_establish_proc(HCI_SCAN_TYPE_ACTIVE, LE_Scan_Interval, LE_Scan_Window, PUBLIC_ADDR,0x00, 0);If the button is held for 5 seconds after that I want to stop scanningaci_gap_terminate_gap_proc(GAP_GENERAL_CONNECTION_ESTABLISHMENT_PROC)But I will never get out of this function. It stops in hci_cmd_resp_wait(HCI_TL_DEFAULT_TIMEOUT);the termination will work when it is called from a HCI_LE_ADVERTISING_REPORT_SUBEVT_CODE callback.Anyone has any clue of why this is?
Has anyone got a simple example of the steps needed to get THREAD working? I have followed the application notes and cant get things working :( I have got the STM32WB55 nucleo board running with OpenThread FTD CLI example code nicely, but would like to make the same functionality without the examples. From Stm32CubeIDE, I select New Project -> select the same chip that is on the nucleo board. I set SEM/IPCC/Clocks/OpenThread.The first issue is errno is not defined and adding in the C files allows it to compile. extern int errnoThe code just hangs in the main loop. One observation on the UARTS for OpenThread, even when you pick that you dont want a CLI, it still wants a UART to be set in the GUI. Any help would be greatly appreciatedRichard
STM32Cube_FW_WL_V1.2.0, lorawan_end_node project:file: lora_app.h has the following line:#define APP_TX_DUTYCYCLE 10000 << meaning 10 secIncreasing the 10000 (=10 sec) does not work; the stm32wl55jc board will not join any longer.What variable can be changed to increase it from 10 sec to a larger interval?Everything I read indicates that the most frequent upload to TTN should be an interval of hours.10 sec is good for testing, but now I am deploying.
Dear all,I develop a LoRa device that is built around STM32WLE5CCU6. In order to certify the product with CE marking from a notified body, I need to have the test reports and the declaration of conformity for STM32WLE5CCU6.Does anyone know where I can find these documents?Thanks in advance.
Hi, im currently working on a project (STM32WL55) where i need to send data via LoRa. I plan to use the SubGHz HAL driver as it seems pretty low level and provides easy usage of the internal subghz spi.While researching, i found AN5406 where it says in page 6 that i need to implement the HAL_SUBGHZ_MspInit function, but not how. In stmwlxx_hal_subghz.c there is a weak function that doesn't do anything, and is meant to be overwritten:/** * @brief Initialize the SUBGHZ MSP. * @param hsubghz pointer to a SUBGHZ_HandleTypeDef structure that contains * the handle information for SUBGHZ module. * @retval None */ __weak void HAL_SUBGHZ_MspInit(SUBGHZ_HandleTypeDef *hsubghz) { /* NOTE : This function should not be modified, when the callback is needed, the HAL_SUBGHZ_MspInit should be implemented in the user file */ /* Prevent unused argument(s) compilation warning */ UNUSED(hsubghz); }In HAL_SUBGHZ_Init it says that the function is meant to Init the low level hardware : GPIO,
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.