Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
All examples of the github repo are at least a few 10 of thousands lines of code big.I just want to share a few bytes of information over ble. Is there a really simple example without timeserver, freertos and that kind of stuff?Just like:start CPU2init hardwareadd servicesstart bleand how to get and send data?I can't find a complete documentation on how to use your ble libraries. Where can i find "opus.h", what are the possibile defines for ble_conf.h, why is the ble using files from ble_thread per default?Maybe there are some geeks who can work with that, but I'm just struggling.
Hi,I'm trying to make SRAM2a retention in standby mode work on my STM32WB55 device.As far as I can tell, the device enters and gets out of Standby as expected (the C1SBF and C2SBF flags are appropriately set when the MCU get sout of the low power state).I've reasonably certain of my variable being in the right SRAM bank (the debugger shows its address is 0x200300000, which is the start of SRAM2a as expected).However, even after making sure the RRS bit in PWR_CR3 is set, and checking that the varible is appropriately initialized before entering Standby, I still get its value back to zero after the device wakes up...My device is powered with all its power supply pins (even VBAT) to 3.3V, no SMPS.Linker script and startup code are directly from STM32CubeMX generation with the latest firmware package (STM32Cube_FW_WB_V1.12.1)Any ideas ? Obvious errors ? Thanks in advance./** * @brief Function to configure and enter in Standby Mode. * @param None * @retval None */ void EnterStandbyMode(
We accidentally bought a few Nucleo-WL55JC2 modules whereas we really wanted Nucleo-WL55JC1 modules. My understanding is that the JC2s are intended for AS433 applications. I would have expected the join to be unseccessful, though. However, we successfully got the JC2s to join our US915 configured gateways. Is this expected behavior?
I am trying to use the pushbutton of NUCLEO-WB55RG and I tried coding it in both external interrupts and also as a gpio input. The pin configuration is correct. The same code is running on other Nucleo boards such as L496 and L432. But the code does not work on wb55rg. I am using cubemx to generate the code and development is done with keil. Please do help me on this
I have configured the stm32wb with 247 data transmission but in the receiver side the buffer seems like it transferred only 20 bytes in the notification. For note: The values are updated in the 255 sized cmd_buffer in the aci_gatt_update_char_value() function. But it notified only 20 bytes of data in the mobile application.Can anyone help me according to the proper configuration of the stm32wb for transmit 249 data at a time. Thanks! in advance.
I am developing a bootloader where it must install a new stack using the FUS (STM32WBxx). When I am debugging and I call into CPU2 to start the FUS, the JTAG loses connection and will not reconnect until I reset everything. Is there a way to handle this so that I can debug my bootloader?
Hi All,I'm creating a TTN application using a STM32WLE5JC. After configuring the LoRaWAN application in STM32CubeIDE I have been able to send an OTAA join request to a gateway using the credentials provided by the TTN application. I can see the join request being accepted in the TTN console and I can also see the radio activity in SDRsharp. My problem is the following: Even though the TTN application accepts my OTAA request, my LoRa application on the STM32 always end up with a "MAC txTimeOut" message over the debug trace output. I can see that this message always appears 4 seconds after the OTAA Tx. Looking at the TTN console and the local radio activity, I can see that the gateway does in fact respond, but it takes about 5 seconds.My assumption is that the gateway takes longer to reply to the join request, and that the STM32 thus ignores this late reply. Some more information:I am using the 868 MHz EU band.The TTN application uses MAC V1.0.3The 4 second trace message corresponds to 4
I don't understand if a function that you have set in the sequencer goes out of the sequencer once it has been executed or you have to do it with code. I have read AN5289 and I didn't find out the answer. Thanks in advance.
I am using STM32WB55 HeartRate FREERTOS Example. But when I do something in the Task, it runs only once though it has a while 1 Loop. Can anyone guide me with that?Thanks in Advance.
Using the STM32WB55CG (USB dongle) with the P-NUCLEO kit.STM32CubeMonitor-RF on my win10 will not detect the COM I am using. I updated the FUS, BLE_stack, FW as described using STM32CubeProgrammer 2.8.0.UM228 says something about VCOM drivers, how do I get those?Anything else that might be causing it?All programing went well using STM32CubeProgrammer.Full Details:FUS: 1.2.0.0 Path:STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_FUS_fw_for_fus_0_5_3Address: 0x080EC000Stack: 1.12.0Path: STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_BLE_Stack_full_fwAddress:0x080CA000FW:P-NUCLEO-WB55.USBDongle\Applications\BLE\BLE_TransparentModeVCP\Binary\BLE_TransparentModeVCP_reference
Because the dongle is a USB and I am not sure how to move the data to computer. Do I need another main board and transmit data from dongle to the main board again? Or is there a simple way that I can directly access the data in dongle?Looking forward to reply. Thanks!
Hello!I'm trying to build an Android app to connect to my STM32WB device using a custom BLE profile.I'm able to connect and interact with my device via the ST BLE Toolbox app, but when I try to create a Bluetooth socket within Android studio and connect to my service's UUID, it's timing out.Is there any documentation out there on how to connect to a custom profile, or how to create a peripheral profile so I can connect within the Android system itself (like headphones)?Thank you! :)
Hi,I'm trying to send 32 bit data with DMA over SPI to a slave device with the STM32WB55 which can only be configured to use hardware NSS with 16 bit transfers at most. I understand that I will likely have to pull the chip select down manually, send 16 bits twice consecutively, and then pull the chip select up and repeat. I would have liked to be able to do this automatically without wasting any time as I will be sending a continuous stream of data. However, if I understand correctly, this cannot be done by hardware for the 32 bit case. I am wondering if there is a fast way to do this without constantly polling a flag or something like that as I also want to send the data received back over bluetooth. Any advice/ thoughts would be much appreciated.Thanks,SS
is it possible to use 'STM32CubeMonitor-RF' by stm32fxxx series with a Bluetooth module to analyze data?tanx
Hi,I am trying to activate LSE in a project with STM32WLE5CCU6, the pins PC14 and PC15 are activated, but in the window with clock tree, the RTC clock mux does not alow me to select LSE (it is locked on LSI). This happens even if all other pins are unused. I am using CubeMX version 6.3.0.Does anybody encounter this problem? I am doing something wrong? Can anyone check?Thank you
Hello guys, I'm currently working on a STM32WB55VGY and I have some problem setting up the Zigbee network.Using the example I found in the repository I was able to create a simple Zigbee network using the preconfiguredLinkKey.Now I would like to go further and trying using the network key to protect the communication but I found some problem setting the network with the network key.From the source code, I read that " /**< Configures the Network Key with key type set to ZB_SEC_KEYTYPE_STANDARD_NWK.* Only applicable if startupControl is ZbStartTypePreconfigured. */"So I configured zigbee_app_info.startupControl = ZbStartTypePreconfigured;Then I Setup the Extended Pan ID to a Random value (From the Source code " *If startupControl is ZbStartTypePreconfigured a non-zero extendedPanId must be provided.") ZbNwkSet(zigbee_app_info.zb, ZB_NWK_NIB_ID_ExtendedPanId, &PanId , 8);And then I start up the ZigBee with the command status = ZbStartupWait(zigbee_app_info.zb,
Hello ST friends!I'm implementing a dimmable light profile on a STM32WB55, so I need to implement the Scenes cluster. However, when allocating the ScenesServer, I cannot register any callbacks.How do I receive the Scenes Server commands on my application?For example, the OnOffServer allocation looks like this (includes a pointer to callbacks):struct ZbZclClusterT * ZbZclOnOffServerAlloc(struct ZigBeeT *zb, uint8_t endpoint, struct ZbZclOnOffServerCallbacksT *callbacks, void *arg);On the other hand, the ScenesServer allocation looks like this (no callback pointer...)struct ZbZclClusterT * ZbZclScenesServerAlloc(struct ZigBeeT *zb, uint8_t endpoint, uint8_t maxScenes);Is it all handled by the ZigBee stack itself and I will receive the callbacks to the OnOff cluster? I will try to test this next, but for this, I will need to implement the ScenesClient first...Any clues are appreciated.
Dear ST/forum members,I am trying to configure the BLE slave side. Using latest CubeMx (BLE_Custom.ioc ) and BLE_DataThroughput configuration as reference. My questions:1. CFG_BLE_MAX_ATT_MTU is restricted to 300 in CubeMx? Why is that? Can I make it 512 or more in code?2."Value Length" of the characteristic is restricted to max of 247 in CubeMx, while in Data_Throughput example it is 255? Which one is it than? Can I make it 512? In AN5289 7.6.5 says something about getting data fragmentation? Will that cause through put loss?3.Anything I can set in the advertisement data to, in order to improve connection speed? was wondering if increasing usSlave_Conn_Interval_Min, usSlave_Conn_Interval_Max will allow faster connection? or something else that will it improve the Min_CE_Length and Max_CE_Length the master chooses.4.How can I read (as the slave) the final value of connection CE_Length ? Min_CE_Length < ??? < Max_CE_Length. Thanks!
As per the UM2435 NUCLEO-WB55RG board has only one I2C- I2C1 and SPI-SPI1But in STM32CubeMX configuration for the same board it has two I2C: I2C1 and I2C32 SPI: SPI1 and SPI2.Can you please provide more information on this?Thanks!
Hello to everyone. I am trying to develop an application on Lora on the NUCLEO WL5 series development board. But I could not debug the board via CubeMx. I am trying to use external debugger but I still have mcu not found problem. Can anyone tell me how to make ST_LINK debugger connections with WL5?
Hi,As I said in the question I need antenna reference or any data about it to know about its specifications.Thanks for all!
Hi everyone,I have a pnucleo lrwan3 kit and I'm trying to setup the end node using the LRWAN NS1 AT Master example from I-NUCLEO-LRWAN package.Everything is working fine until the program gets to the AT+DR command. There a Hard Fault occurs and it gets stuck in a forever loop (default handler). I tried to isolate the problem using the debugger. When the program reaches the switch(DEVICE_STATE) statement, the hard fault occurs. The problem is that I can't get the debugger to enter this switch statement, but it does enter, as various AT commands are being printed after the switch, and before the hard fault. I tried to get infos on this hard fault, but the analyzer does not provide me any clue. I can only get the SP register value and I have not enough knowledge to get any useful info out of it. I suspect a problem with the AT+DR command. In fact, the program load and works like a charm using Keil uVision. The hard fault only occurs with STM32CubeIDE. You may think that I playe
The question is how do I connect the output of the pdm and how do I connect the input of the clock to the sensorThis is the sensorsThis is the mcu chip (stm32wb55cgu) Thank you for your supportefiehrman@gmail.com
Hello,I am working with a custom board with the STM32WB5MMG SoC and I am receiving a hardware error timer overrun 0x02 after some time. After that the BLE interface stops working.There is any way to prevent this error? Is related to the hardware design?I would also know if it is possible to restart the ble stack after receiving the error to make ble work again.Thank you in advance!Ferran
Hi,I am working with the STM32WB55 Nucleo board to create a Zigbee device being able to connect to a Philips Hue Bridge v2.1. Using a 2.4GHz sniffer with wireshark I am able to follow the communication which goes through the following steps with no problems:BeaconAssociation request + responseTransport key exchange Node descriptor request + responseEndpoint descriptor request + responseSimple descriptor + responseWhere it fails is the coordinator (hue bridge) sends a Read attributes on the Basic cluster (0x0000) to the STM32. It responds with a ZCL Default response where status says "unsupported cluster (0xc3)".And the trace output from the STM32WB55 reports that it sends this default response, but I would expect it to be responding with the Basic attributes configured.The code is based on the Zigbee_OnOff_Client_Router example modified to be a ZCL_DEVICE_COLOR_DIMMABLE_LIGHT server.static void APP_ZIGBEE_StackLayersInit(void) { APP_DBG("APP_ZIGBEE_StackLayersInit"); zigbee_ap
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.