Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
It's very hard to add it without instructions to not break existing infrastructure with LoRa.When I run simple example generated from classic .IOC file I got the I2C running without a problem.The board I'm using: Murata Type 1SJ
CFG_DEBUG_TRACE are gray and I can not enable it. All options are the same as in example project for WB55. I can not use example project because I have different MCU. As I understand, bug exists for years, but nobody cares.
..
I was testing the STM32WB5MMG on the new U585 IOTA discovery kit and I'm facing some issues.I generated a project using STM32CubeIde with the MXEditor. After enabling all the default peripherals and changing the example config of BLE, some points are noted:The RTC Backup domain registers are protected, you have to call HAL_PWR_EnableBkUpAccess(); prior to executing HAL_RTC_Init, otherwise it will fail with a timeout.IPCC interrupts are not enabled automatically when enabling the RF + STM32_WPAN, so you will manually have to go to the NVIC controller and enable them.Now after fixing this, atleast I could get the code running and the advertisers showing in.In whireshark I can see that:STM32WB5MMG is sending ADV_INDMobile phone is sending SCAN_REQSTM32WB5MMG is responding with SCAN_RESMobile phone sends CONNECT_INDThe STM32WB5MMG is not establishing the connection.Is this a know behaviour? Am I missing something? Like and API call to process the connection request? I'm using a custom
Running a program on the stm32wl nucleo board works fine, but if I enable debugging it alwaus crashes. This does the same thing on my custom board. It's always the same signal handler
How can I find the source code of ST BLE Toolbox?Is there any experience with Flutter or React and which Libraries are useful. Is there someone who has already implemented this successfully or should it be better to use other development environments? What can I look for what are the key points. Thanks very much Best Regards Hainer
Hi,I am currently working on a bluetooth application developing it on Nucleo STM32WB55 (FW version V1.13.1, BLE Stack Full).If the system is in a low power state, STOP2, can it be woken up via bluetooth?If so, is this awakening established by any kind of bluetooth activity that wakes up CPU2 and then the whole system?Is it possible to reach the STOP2 mode also once the connection with an external device has been made, so that it is woken up by a message, or it happens only during advertising in the interval between two requests, waking up the device by making the connection?Thank you very much
Hello everybody,I'm using the AT code modified in order to join my own server with an OTAA configuration in a solar application, so every morning the system goes up, and late afternoon the system shuts down.I want to store session keys, counters and all stuff necesary for not rejoining server each time a power down/up is done.CONTEXT_MANAGEMENT_ENABLED is defined to 1, and I needed to add some libraries related to nvm (NvmDataMgmt.c/.h and nvmm.c/.h).When firmware enters in LmHandlerConfigure(), I receive a "Restored", showing that we are here: // Restore data if required nbNvmData = NvmDataMgmtRestore( ); // Try to restore from NVM and query the mac if possible. if( nbNvmData > 0 ) { MW_LOG(TS_OFF, VLEVEL_M, "###### RESTORED\r\n"); CtxRestoreDone = true; } else { MW_LOG(TS_OFF, VLEVEL_M, "###### NOT RESTORED\r\n"); CtxRestoreDone = false; }However, I try to send a message without doing a AT_JOIN and always returns AT_BUSY.Need to send some special AT command be
I am currently using 2 STM32WB55RG MCUs (one as a server and one as a client) with a Si7021-A20 temperature sensor that is completely functional on the "client" MCU and have no idea how to trigger a signal to be sent to the server from the client to turn on an LED when the temperature sensor exceeds a certain threshold.I based my project on the ZigbeeOnOff server/client example code and have been having no luck finding any of the actual code for functions like ZbZclOnOffClientToggleReq which the example uses to send a message from client to server that toggles an LED on the server MCU when the 1st push-button is pressed.Here is the datasheet for the temperature sensor, and attached (mirror) is the main.c file for our client MCU.Can anyone point me in the right direction? also, does anyone know where I can find the actual code for functions that send Zigbee messages between boards?
Hi,I am currently working on a bluetooth application developing it on STM32WB55 Nucleo (FW version V1.13.1, BLE Stack Full)Since the device will have to be connected to a battery, I was researching the use of Low Power modes.Unfortunately, I'm not clear on the correct procedure to send in STOP2 mode the whole system, keeping the bluetooth active, I've already read questions on the forum and examples provided by ST but I'm not very clear on the whole procedure.Reading on the forum, I understood that the second core is self-managing with regard to low power, and the first core can not control it otherwise it would break the power management.Hence, there would be my questions:- The correct procedure to follow on the first core, to send it into STOP 2, what would it be?- Would there be any initialization or procedure to take into account to do also for the second core at the beginning?- Since the system will go in that mode only when both cores are in the same state, how can I control the
Hey, I am relatively new to developing with the STM32WB55RGV6. Do I always have to start with CubeMX when developing? Do you work only with the CubeIDE? how is your workflow?thanks in advanceEddy
Hello, I am working on STM32WB55cg project. the current fus version is v1.2.0.0. For this version of fus I have to update ble stack full version with starting address 0x080C7000 which is the 199 th sector of flash. I have done this. I tried to upload the ble_ota_reference.hex file from the stm32cube firmware package version v1.13.1 and the Bluetooth is advertising. But when I connect Bluetooth from the st ble sensor app it is cutting out. To get the advertisement again I have to reset the board. Because of this, I am not able to perform ble over the air update. In addition, I have user application where the 199 th sector is used. so it is not desirable for me to use the latest version of ble. I would like to make the fus version 1.1.0 so that I can update the ble stack with version v1.8.0 and it's starting address is 0x080CB000 and this is a sector 203. So, how to make it FUS version 1.1.0. I tried it from stm32cubeprogrammer. Since my fus version is latest and 1.2.0 I am not able to d
I'm sampling 8-bit audio at 8 kHZ, with a mic output biased at around 1.6 volts. The issue is that we need to end up with a signed 8-bit representation of the signal (in the range of -127 to 128), but the raw data in the ADC's data register will be represented as an unsigned 8 bit type (with values ranging from 0 to 255). The only way I know to deal with this issue is to subtract the DC offset (that I'd determine through a moving average calibration phase) from each sample right before it's written to memory. I can't subtract the offset after the sample is written to memory because the data type of the memory buffer needs to remain SIGNED, not unsigned, and signed information will not be preserved and will be corrupted if I just load the values from the ADC data register straight to memory. However, this is not ideal either because I am trying to utilize DMA to bus my samples to memory and avoid 8 kHZ interrupts (where I would need to take care of the offset). So is there a way to use
The reason I'm looking for it is because I was able to run SubGHz_Phy successfully but I'm unable to enable the I2C or GPIOs at all. The board I'm using: Murata Type 1SJBest Regards.Milan
Hello everyone. I want to make a lorawan application with nucleo-wl55jc1 and connect it to server TTN via gateway. I have problem when i try to run the application with stm32wl. Can somebody help me do it? I can download and debug cortex m4 but i cant find and download m0+. Thanks regardless!!
Hi.Using STM32Cubeprogrammer API v.2.7.0 with STM32WB55 and USB interface, I find an error when to call initOptionBytesInterface()....peripheral_C* options_bytes;options_bytes = initOptionBytesInterface();...As we know, "peripheral_C" structure have a fields:typedef struct peripheral_C{ char name[32]; /**< Peripheral name. */ char description[200]; /**< Peripheral description. */ unsigned int banksNbr; /**< Number of existed banks. */ bank_C** banks; /**< Get banks descriptions #Bank_C. */}peripheral_C;And after call I see that the banksNbr = very big value.Its a same for 32 or 64 platforms.This is 32 platform:As you see, options_bytes address = 0x02fa6e90.If we add to this address lenghts of fields name[32] and description[200]our result will be 0x02fa6f78 as we can se
I'm working with the STM32wb55ceu MCU which states that it has 512K of flash memory starting from address 0x08000000.However, I realized that if I compile and run the follow program, it will hard fault when attempting to read the value from flash (line 3)void main () { uint8_t i = *(uint8_t *)0x0806f18c; (void)i; while (1); } To my understanding, the flash should end at 0x08080000. and I have confirmed that my flash memory size is 512K by using the st-info utility.Is there some sort of memory protection I need to disable?
Trying to port code written for WB55 or WB50 onto a WB15. Obviously there's less memory available, but apparently zero documentation on what this means in the Real World. I've managed to squeeze a version of my basic application into the WB15 by making the following changes in app_conf.h:CFG_BLE_NUM_GATT_ATTRIBUTES 68 -> 48CFG_BLE_ATT_VALUE_ARRAY_SIZE (1344) -> (500)Why does this work? Is there something I can do elsewhere to give CPU2 more memory to play with? Using IAR EWARM, looking at the link map there's plenty of spare space in SRAM2, though I have had to allocate CSTACK and HEAP in SRAM2.Any help appreciated...
Good Day, I got myself a pair of LoRa-E5 mini which has STM32WLE5JC single-core. I would like to program them in a way in which they would communicate by using a channel and address id to each other. kindly give me a refernce to how to program them in cube ide. I have referred to other example materials on LoRa-WAN, sigfox & sub-GHz ping-pong. but i would like a simple way as I mentioned above.
We designed a customized board based on STM32WLE5JB SoC without the 32k LSE crystal to save cost. However the Sub-GHz radio doesn't work - LL_RCC_HSE_IsReady() always returns 0 and no radio interrupts generated. Is it because the LSE not being soldered? I didn't see the LSE is required for sub-GHz radio in the documents.
Hello everyone,We are currently trying to experiment with the STM32WB5M for it to be integrated in our project as a radio co-processor module.We have ported nimble stack (https://github.com/apache/mynewt-nimble) on our application MCU to act as an host stack using HCI over UART. The port has been validated with a nrf53 has a controller.We are now trying to experiment using the STM32WB5M in "Transparent Mode" with HCI over UART (we are using the STM32WB5M development kit with LPUART1 as transport).We end up in a situation where we are able to correctly advertise, connect to the radio (the CONNECTION_COMPLETE event is send by the STM32WB and received by the host stack and applicative layer). But the connection drops after ~3seconds, and the STM32WB doesn't send any event to notify the host stack).The issue can be replicated using the unmodified "BLE_TransparentMode" project from cubeMX on the STM32WB5M development kit. And connect it to the STM32CubeMonitor-RF application.The following "
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.