Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, in custom_app.c file, my event WRITE_NO_RESP_EVT is not call in the function Custom_STM_App_Notification. Where are the BLE notification in custom app ?
Hello, I am having a P-NUCELO-WB55 board and the Bluetooth does not work. I have verified the jumper cables and all the jumper connection are exactly as in the image on the embed website. I tried firmware update using Cube programmer. I loaded the ble_ota example and checked whether there is an advertisement. But it doesn't show any. I tried other examples but there is no sign of Bluetooth working. Please help me to get this sorted. Thanks
I have the following code:while (1) { HAL_SuspendTick(); HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, PWR_SLEEPENTRY_WFI);After this and within the while loop are a bunch of if statements that check flags that are set in IRQ Handlers. These handlers exist OUTSIDE the while loop. My CPU1 is running at 16MHz and CPU2 (radio) is running at 32MHz (both using HSE). I see indications that for the above to work I must move the clock to < 2MHz. Can someone tell me how / where to do this? Is there a good app note for this? ....finally only thru watching videos on youtube would I have known to suspend ticks do I need to then restart these?Thanks
..
HelloAnalyzing the source code of some BLE LLD examples for nucleo stm32wb55 I could see that broadcast is used in Proximity example and unicast in Chat example, for instance. However, I could not understand how to choose between unicast or broadcast. Only calling an LLD function without ack will do this or there are some special addresses for broadcast ? Is there any additional documentation about BLE LLD besides UM2804 document ?Thanks a lot.
HelloI would like to dynamically concurrent for BLE and Mac protocols with STM32WB?The protocol stack uses stm32wb5x_BLE_Mac_802_15_4_fw.bin.If you call SHCI_C2_BLE_Init() / SHCI_C2_MAC_802_15_4_Init(), there is no response of the previously called protocol.SHCI_C2_CONCURRENT_SetMode(BLE_ENABLE)SHCI_C2_CONCURRENT_SetMode(MAC_ENABLE)SHCI_C2_BLE_Init() / SHCI_C2_MAC_802_15_4_Init() has been called before and after the situation.Is shci_c2_concurrent_setmode () not a function to set simultaneous mode?And SHCI_SUB_EVT_CODE_CONCURRENT_802154_EVT is defined by shci_sub_evt_code_t.What is this SHCI_SUB_EVT_CODE_CONCURRENT_802154_EVT?
Hi,I have a program running on the M4 core of the STM32WB55 and would like to pass a data buffer to the M0 for transmission over BLE (notification). I'm having a really hard time understanding how to pass the data between the cores and was hoping for a simple example that would outline the best way to do this. Any help is very much appreciated.Thanks in advance.
Hi, I want to application with STM32WB55 mcus. One mcu will be a server with the hrstm application, and the other mcu will be a client and listen to the data and print listening data with uart to the screen. But I couldn't find any sample code as client. Can anyone help me? I can't run the APP_DBG_MSG command at the same time. You can find the screenshot attached my confuguration.
Hi, I'm trying to adapt ST LORA poing pong example to my own need. To do thaht I'd like to update the code to use specific address for master and slave. For example I'd like to set in source code the address 12000 to master and addresse 13000 to slave is it possible ? I want to have only one master and one slave each one with a specific address.Like RFM95 module andsendtoWait(uint8_t* buf, uint8_t len, uint16_t address)method
I want to change the tx-duty cycle when my application is running (from a scheduled downlink for example), I guess i just could replace the define with my own variable, but that would be overwritten as it is outside the user code sections. What is the recommended way of doing this?
HelloI'm using the NUCLEO-L073RZ board and the I-NUCLEO-LRWAN1 shield. I am trying to register with ChirpStack, but there is a problem.After connecting power, I can check JoinRequest and JoinAccept messages from ChirpStack Application Server.However, the uplink message sent by the End device was not received, and the End device was not activated.Can't this board connect to ChirpStack?
Hi everyone,I am trying to create a windows pc app to talk to the STM32WB board using the dongle.I want to run some scripts, e.g., write to characteristic, connect, read an etc.I saw that STM32CubeMonitor-RF can already run scripts via some text files. I wonder if it is possible to run the script text file from the CLI, or better talk to the dongle via some sort of .dll interface. The second would the preferable way .Thanks
Re-post as bug report of my previous topic at https://community.st.com/s/question/0D53W00001JBypZSAT/stm32wb55-ble-full-stack-1130-breaks-reftable-after-pin-entryWe are experiencing difficulties with the BLE Full Stack 1.13.0 on our STM32WB55.Switching from 1.12.1 where the following scenario works flawlessly, 1.13.0 manages to corrupt part of the RefTable that is located in SRAM2 after doing the following:- Try pairing with invalid PIN "0000" (pairing is rejected, connection is terminated)- Pair again with valid PINNow the ref table is corrupt (see the attached screenshots) and leads to an access in the address space of the CPU where no RAM is mapped to. That crashes in TL_BLE_SendCmd(uint8_t*, uint16_t) when setting the packet type:((TL_CmdPacket_t*)(TL_RefTable.p_ble_table->pcmd_buffer))->cmdserial.type = TL_BLECMD_PKT_TYPE;We tried to find out when/where exactly this happens by checking the integrity of the reftable:(*(uint32_t*)0x20030000 != 0x20030028U || *(uint32_t*)0x2003
We are experiencing difficulties with the BLE Full Stack 1.13.0 on our STM32WB55.Switching from 1.12.1 where the following scenario works flawlessly, 1.13.0 manages to corrupt part of the RefTable that is located in SRAM2 after doing the following:- Try pairing with invalid PIN "0000" (pairing is rejected, connection is terminated)- Pair again with valid PINNow the ref table is corrupt (see the attached screenshots) and leads to an access in the address space of the CPU where no RAM is mapped to. That crashes in TL_BLE_SendCmd(uint8_t*, uint16_t) when setting the packet type:((TL_CmdPacket_t*)(TL_RefTable.p_ble_table->pcmd_buffer))->cmdserial.type = TL_BLECMD_PKT_TYPE;We tried to find out when/where exactly this happens by checking the integrity of the reftable:(*(uint32_t*)0x20030000 != 0x20030028U || *(uint32_t*)0x20030004 != 0x20030048U)at the beginning and end of every IRQ handler, and several consecutive checks when the ACI_GAP_PAIRING_COMPLETE event is handled, since we wer
I'm using nucleo l073rz and I'm trying to connect to Chirpstack.But it doesn't have an uplink. When I checked the JoinRequestMessage, all contents of App_eui were zero. I set it to the original App_eui using the serial port, but it returned to zero in a day.Why is this happening repeatedly?
On STM32WL55, i have made a skeleton for an app including subghz in fsk, with mx config tool. When building i get an error on one core and warning on the other about MX_IPCC_Init(),wich is declared static in main.c and used in main so i can thing the init is done.from ipcc_if.c :void IPCC_IF_Init(void (*IPCC_IF_CommandRcv_cb)(uint32_t channelIdx), void (*IPCC_IF_AcknowledgeRcv_cb)(uint32_t channelIdx)){ /* USER CODE BEGIN IPCC_IF_Init_1 */ /* USER CODE END IPCC_IF_Init_1 */ /*Initialise the ipcc, initialises MSP*/ MX_IPCC_Init(); <- ERROR undeclared /* Enable C2AHB3 peripherals clock. */ LL_C2_AHB3_GRP1_EnableClock(LL_C2_AHB3_GRP1_PERIPH_IPCC); /* IPCC EXTI (AIEC) line foRegardsJP Lathuile
The readme.txt file for BLE_HeartRate_ota contains the following:@note This application is not supported by CubeMx but has been copied from the project BLE_HeartRate generated by CubeMx with some modifications in order to be able to download it with the BLE_Ota application. The steps to be done to move from the BLE_HeartRate application to the BLE_HeartRate_ota application are : - Copy the full folder BLE_HeartRate - Replace the linker file stm32wb55xx_flash_cm4.icf by stm32wb55xx_flash_cm4_ota.icf ( this adds the placement of the two sections TAG_OTA_START and TAG_OTA_END ). - Remove the update of SCB->VTOR in the file system_stm32wbxx.c ( The VTOR is already set by the BLE_Ota application and shall not be changed to a different value) - set BLE_CFG_OTA_REBOOT_CHAR to 1 in ble_conf.hHowever, comparing the two source directories I see many more differences and find it difficult to identify and merge all of the required modifications. BLE_HeartRate_ota does not appear t
While debugging an application on the M0+ core of a STM32WL55JC device, the debugger showed what appears the incorrect execution of an ARM machine instruction.The codesnippet at the beginning of the execution is shown in Image #1:(the original C code compiled is a trivial "switch" section, but this is irrelevant)Everything proceeds as expected until the instruction shown in Image #2. The execution of the "ldr r3, [pc, #396] " instruction @0803845c, however, seems to yield an incorrect result (as shown in image #3):expected -> r3 = 0x80385ec (as also reported in the comment placed by the compiler)obtained -> r3 = 0x803a868From the memory dump (image #4), the opcode of the instruction appears to be correct according to ARMv6-M Architecture Reference Manual (DDI0419D_ARMv6-M_arm.pdf), section A6.7.27, p. A6-127:0x803845c -> 63 4B (= 4B63) 01001 LDR <Rt>, [PC, #<imm>]011 <Rt> = R301100011 = 99; <imm> = 99*4 = 396(The followi
Good day,On a brand new SMT32WB5MMG MCU, I have found that the One-Time Programmable area is not empty. See the image. The OTP area starts at 0x1FFF7000. There is also some data right before the OTP area - what is that doing there as well?For context, I'm using the STM32WB5MMG in a custom application (i.e. not a NUCLEO board). I have seen the same issue (and the exact same data) on two different boards.I did not encounter this issue when using an STM32WB55RGV6 previously.Has anyone else encountered this?
I am using STM32WB55, and try to implement power saving functionality.I am using FreeRTOS and have a task that checks for the sleep conditions, and if they are met, it shall put the device in the lowest power mode possible. Wake-up is then triggered by an interrupt on PA0 (falling edge). After wake-up, the code will do a NVIC_SystemReset, so there's not a lot to worry about regarding SRAM data retention, restarting RTOS etc.I have been able to utilize the STOP2 mode like so:vTaskSuspendAll(); uint32_t dbgMcuCr = DBGMCU->CR; DBGMCU->CR = 0; PWR_EnterStopMode(); DBGMCU->CR = dbgMcuCr; NVIC_SystemReset();If I place breakpoints on lines 4 and 6 and run the code in debug mode, it hits the breakpoint on line 4 just before the MCU enters STOP2 mode. During STOP2, STM32CubeIDE keeps printing "Target is not responding, retrying..." which is understandable. When I trigger the IRQ on PA0 fast enough before it stops retrying, the debugger just reconnects and the breakpoint on line 6 is hi
Im' following this tutorial of STM32WB55: https://www.youtube.com/watch?v=CKYWy7LKL68&list=PLnMKNibPkDnG9JRe2fbOOpVpWY7E4WbJ-&index=19&ab_channel=STMicroelectronicsAll is fine until I try to generate code. It gets stuck at the moment of "Copying libraries files...". What I have tried is not to generate code Under Root. But the problem after doing this is that I can't compile the project. And returns to me 9 errors, all of them sayng that one of the files has "Invalid arguments".Is this a problem of CubeMX? I have tried it with the same versions that the tutorial use:-Cubeide 1.7-CubeMx 6.3-STM32Cube_FW_WB_V1.12.0And I also tried it with all the latest versions-Cubeide 1.9-CubeMx 6.5-STM32Cube_FW_WB_V1.13.2And I always have the same results.
Hi, from the micropython repository there is a note on a problem regarding address resolution, it is reported at this link.Are there any details about it? is this a known and solved problem? or still open?Thanks and regards
The quartz used for HSE on the nulceo-wl55jc and on the reference design for stm32wl is NX2016SA 32MHz EXS00A-CS06465, which has a 10pF load capacitance (the BOM for reference design even mentions 8pF, but the quartz reference is actually 10pF).The minimal value for SUBGHZ_HSEINTRIMR is 11.3pF, so higher than the load capacitance of recommended quartz.Does it works thanks to the fact that parasitic capacitance is lower with internal bank capacitance? Still, in such a case, it seems that trimming is only possible in one direction?Is 10pF really the recommended value or is it better to go for a quartz with a 12, 16 or 20pF load capacitance?Thank you
Hi everyone,I modified the project https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node so that my MCU - STM32wle5c8 can communicate with lora but I get the error ("IRQ_CRC_ERROR") as shown below and the MCU can't communicate with lora. Can someone give me a solution to this problem?Or is there any way i can check if my MCU can communicate with lora?Thank you so much my friends
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.