Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
when i use the adc oversampling code then it work in debugg mode but when i use the heart rate sensor program then it will not work in live debugging ,it say target not found.what is wrong with this code ?
when i generate the adc based code then it show the error without doing anything in the main code
Hi,I am developing an application on the STM32WB10 where multiple smartphones can be connected at once (so far just two but that might change in the future). I can get the handles for each connection, but I also need to be able to send a notification to just one of the connected devices without that notification being received by the other device.How do I do that?I can send notifications, but they are always received by both smartphones which is rather unfortunate if the WB10 needs to send a secret or something similar :grimacing_face:
Hello,We are having an issue updating the BLE FW v1.13.3 to 1.17.2 using FUS 1.2.0.Everything is working as expected until (after SHCI_C2_FUS_FwUpgrade(0, 0)) we are polling for SHCI_C2_FUS_GetState()At first, its FUS_STATE_VALUE_FW_UPGRD_ONGOING as expected, which changes to FUS_STATE_ERROR_IMG_NOT_AUTHENTIC, then FUS_STATE_VALUE_IDLE.After the reset, we are still on v1.13.3 (as expected after the failure).Both stacks are stm32wb5x_BLE_Stack_full_extended_fw, load address calculated as per AN5185. We do erase one page before the load address.P.S. This exact flow used to work on older versions ~1.10.xPlease advise.Thanks in advance.
Is it possible or advisable to use the tcxo as the clock source in a lora end node application? The default configuration in the Lora end node example code uses the MSI as the clock source but surely the tcxo would be a better and more stable option? There is some mention of the tcxo in the radio drivers but it's unclear if selecting the HSE as the clock source in cube mx is enough or whether the code requires further modifications to support it.
HiWhether BlueST-SDK tool is compatible with bootloader STM_OTA dedicated to STM32WB55 ?I using Nucleo STM32WB55 and bootloader from STM (STM_OTA). For update firmware I using for now STM32CubeMonitor-RF and stm32WB USB DONGLE (which is part of nucleo kit). Now I would like to do this in other way - other tools, CLI, scripts...~/Downloads/BlueSTSDK_Python/blue_st_examples $ sudo python3 example_ble_6.py ################## # BlueST Example # ################## Scanning Bluetooth devices... Discovery started. New device discovered: STM_OTA. Discovery stopped. Connecting to STM_OTA... Device STM_OTA connected. Connection done. Features: No features found. 1) Firmware upgrade Select an action ('0' to quit): 1 1)node-stm32wb55 Select a firmware ('0' to cancel): 1 Upgrading firmware... 1 <bound method Node.get_debug of <blue_st_sdk.node.Node object at 0x7647b490>> none 2 Traceback (most recent call last): File "example_ble_6.py", line 327, in main upgrade_cons
Dear all,I would like to communicate regarding STM32WB OpenThread Border Router Application.Connectivity:STM32WB OpenThread Border Router Application - stm32mcu (stmicroelectronics.cn) May I ask would you be available to communicate regarding OTBR_CLI_RPi_1.0.img file availability regarding STM32WB OpenThread Border Router Application?Please let me know.Thank you.Best regards,Yang Junyoung
Hello ,I am trying to making a BLE application with triggering external interrupts that came from camera sensor. Normally my interrupt handlers worked just fine, however when I try to add BLE function, code getting hard fault. Following lines in the function cause this fault. HAL_DMA_Abort_IT(htim2.hdma[TIM_DMA_ID_UPDATE]);__HAL_TIM_DISABLE_DMA(&htim2, TIM_DMA_UPDATE);Is There a way to abort DMA another way or how can I fix the this error? void EXTI2_IRQHandler(void){ /* USER CODE BEGIN EXTI2_IRQn 2 */ if((__HAL_GPIO_EXTI_GET_FLAG(GPIO_PIN_2))&&(HAL_GPIO_ReadPin(GPIOC, GPIO_PIN_2)==GPIO_PIN_SET)) { __HAL_GPIO_EXTI_CLEAR_FLAG(GPIO_PIN_2); HAL_DMA_Start_IT(htim2.hdma[TIM_DMA_ID_UPDATE], (uint32_t)&GPIOA->IDR, (uint32_t)&sRAM_frame_buffer[hsyncCount][640],640); __HAL_TIM_ENABLE_DMA(&htim2, TIM_DMA_UPDATE); if(hsyncCount<240) { hsyncCount++; } else
The standard OTA application is taking up 28kBytes and even the light stack (v 1.16) starts at 0x08021000 on the 256kB models. This leaves 104kByte in between. Does that mean it is not possible to updatet the wireless stack via OTA on those models?
I'm currently working on a project based on transmitting RF.The objective of the project is to develop a system which is able to communicate with another device based on RF transmission.The system has to be able to provide RF communication at a frequency in all the sub-1 GHz range.Now I am trying to use the STEVAL-IKR002V2D that covers the 315MHz, developed by STMicroelectronics, unfortunately I can't find any archive or project examples that use this module.I would be very grateful if you could suggest me a module (transceiver) developed by ST that can cover all the frequencies needed (315MHz.433MHz.869MHz).It would also be helpful if you could advise me how to use the STEVAL-IKR002V2D.Many thanks in advance!
Hello, I'm new at developing Wireless applications with the STM32WB and can not find why old data from old commands stays somewhere in my code and affects my new commands sent. Im writing the command strings into Myble_Characteristic_Command with the ST BLE Toolbox. Everything works fine as long as the Command has the termination character ("!"), but if the command does not have this and a longer command was sent before, the new command is now joined with the following old characters until the old termination character. I can not find where is this old data being stored. For example if I send first the command: "C:Hello!", the received command is "C:Hello!" but if then I send a shorter command without the termination character ("!") like: "C:Hi", the received command is "C:Hillo!" which of course is not correct. I found the old data is comming from attribute_modified->Attr_Data but can not find the way of setting it to empty characters before the write event occu
Board: STM32WB55Software: STM32CubeIDE, STM32_WPAN BLE as Custom p2p serverBackground: Have a test bench set up to check entering Standby Mode with additional features we want to use on our project before implementing it. Have been adding in our features and Standby Mode has been entered fine with good power consumption measured. I left the STM32_WPAN BLE package to last to add into the test project. This is my (edited) function WIP so far that is called when a button is pressed, using a flag system so not within the interrupt: static void Enter_Standby_Mode() { /* Flash Green LEDs to signal Shut Down and ensure all are off */ /* Specific procedure on STM32WB, in case of initial power-up and RF stack no started */ if((LL_PWR_IsActiveFlag_C1SB() == 0) || (LL_PWR_IsActiveFlag_C2SB() == 0)) { /* Set the lowest low-power mode for CPU2: shutdown mode */ LL_C2_PWR_SetPowerMode(LL_PWR_MODE_STANDBY); } /* Clear the RTC Wake UP (WU) flag */ __HAL_RTC_WAKEUPTIMER_CLE
Hi Team, Any Transceiver IC support up to 3GHz range in STMicroelectronics? And how to interface with controller.! Thanks and Reguad,Aravind
Hi there. We are planning to develop a product that includes 5-7 server nodes based on STM32WB15, and one client node based on STM32WB55 which should receive notifications from the server nodes parse them, and send data to the PC through USB CDC. Each server node should send a packet of data which includes 28 bytes of payload 60 times/sec. Before diving very deep into BLE documentation, as a hardware engineer, I want to know if such a realization is possible and isn't going to be a big headache from the point of view of software engineering. Am I right that the STM32WB client can support simultaneous connection with 8 devices? From a quick look in the WB examples repository I found client realization which shows the realization of the client node but only for one connection to the server node, so I am not absolutely sure about configuration.
How do I change the BLE Access Address?(default 0x8e89bed6)LLD can be changed through a function called HAL_BLE_LLD_Configure, but there are no functions to change the channel and access address other than that.Is it possible to change the access address without LLD? Sorry for using a translator.
Hi,I'm using the Nucleo-WB15CC board to develop a LowLevel and Lowpower BLE application. The application will sleep 1 seccond, wakeup and send some custom data and then sleep again. Is it possible to have OTA support in this kind of application? Are there any examples with Lowlevel and Lowpower application and OTA support?Best regards;Mats
Greetings,I am using Murata Module and LoRaWAN_End_Node project for my project application which I got from STM website . My code is working fine and transmitting data packet successfully with a specific interval of time.Now I want to send another data packet after transmitting previous data packet. Means I want to send two data packets at same interval time.The problem I am facing is that I am getting ACK from first data but not getting ACK for 2nd data packet. Hence I am not able see 2nd data at cloud server.I requesting you to please tell me how to send two data packets at same frequency and get ACK for both data packets.It is an urgency and looking forward to hear soon.Thanks and RegardsDevesh Sehgal
Is it possible to boot at 1.8V, have processor configure external PMIC to go to a 3.3V setting and then run the processor at that setting? Any gotchas/things to worry about on the STM32 side and does the processor even care if its supply ramps up like that?
저는 cubeMX와 IDE를 사용하여 PWM 신호를 생성하려고 합니다.32MHz 내부 클럭 소스(MSI)를 사용했을 때 PWM 신호 생성에 성공했습니다.블루투스 모듈을 사용해야 하기 때문에 클록 소스를 외부 수정으로 변경했는데 PWM이 더 이상 작동하지 않습니다.누구든지 이것에 대한 해결책을 알고 있습니까?
Hello everyone, I am using 3 STM32WL55JC1. One for base station and the other two's for sensor node. Everything was fine but then I started UART communication between base station and ESP32. I started coding ESP32 so I unplug the usb cables of stm32wl55jc1 (base station) but GND-GND, RX-TX , TX-RX is still plugged between base station and esp32. After a while, I realize my STM32WL55JC1's lora is not working. I can't send anything and I can't receive anything but microcontroller still working. I don't know why it is happening. Any idea ?
Hi,I have been using STM32WB5MMGH for transmitting PCM Data. I used BLE data throughput method from the example code for transmitting data. Audio sample rate is 8000 Hz, that 8000 data is transmitted in a buffer size of 244. The sample is of 16-bit in 244 size buffer we have only 122 data. When I started transmitting and converted the PCM data to .wav in the computer there are some clipping noise means some portions of audio is not there. Then I started transmitting none values from 1 to 100. Now I confirmed data is not properly transmitted there is some kind of data loss. Then I found that BLE status is BLE_STATUS_INSUFFICIENT_RESOURCES. Because of these that data loss is happened. How can I able to correct this.
I just got my P-NUCLEO-LRWAN2. I'm able to get the gateway running, but I'm facing troubles with the sensor board.The NUCLEO-L073RZ should already be flashed with firmware that reads EUI parameters from the I-NUCLEO-LRWAN1, and I was able to read the correct DevEUI key from memory 0x08080000. However, the AppEUI key at memory 0x08080008 shows zeros only.I tried flashing the NUCLEO-board, with the AT_Master project including code-snippet: /* Set AppEUI */uint8_t AppID[8] = {n7, n6, n5, n4, n3, n2, n1, n0}; // nx=bytexuint8_t *PtrAppID = &AppID;LoRa_SetAppID(PtrAppID);but still no luck. Also, I've tried enrolling a device with all-zeros JoinEUI in the Loriot sample application but that did not work either. Am I required to use the AppEUI from the sticker of the package ? Should the LoRa_SetAppID() function call be sufficient to update the AppEUI at memory 0x08080008 ?
I just bought a LRWAN2 pack, I was able to connect the gateway to the TTN network and application server. But the APPEUI i the join request was wrong (only zeroes). So I plugged an oscilloscope on the RX and TX pins an it shows that:Does this mean the LRWAN1 board is dead?
Hello all,We are using BLE to send packet of 23 bytes every 5 ms. Since we have noticed that some packets are lost, we are trying to investigate to understand what's happened. In addition to lost packets, for almost every packet, we get the error BLE_STATUS_INSUFFICIENT_RESOURCES from function aci_gatt_update_char_value. Some packet retry several times before being received. We have this issue when BLE is connected to a computer or a smartphone, same behavior.What are we doing wrong ? Is the time of 5 ms too short between sent packet ? In the documentation it is written that we could go up to 2 Mbit/s and currently we are only around 36 kbit/s.Should we send more data in one packet but using a longer time between sent packets ?Best regards,Audrey
I have been trying to implement a HCI only interface (LL only set) and pass commands to my board (STM32WB55 Nucleo board - BTStack is the bluetooth stack). Everything works except for the following sequence-> Connect, pair and bond with Just works (LE Secure Connections)-> Communicate->Disconnect-> Reconnect, skip pairing and use LTK from the first session-> The stack sends the LE_START_ENCRYPTION command with the LTK from the first pairing (fine) but the target immediately shuts down the connection and reports a MIC (Message Integrity Code) failure (0x3D). Ive tried different stacks and different versions, and it always ends the same way. This all works perfectly with an off-the-shelf dongle. When I use the LL only flag, do I need to store pairings somehow? Is there security information I need to manage?
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.