Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
every time i have to type the command on uart terminal. atep scanDevice-0 -> F81D4FAE7DE3A154FD5326E180C0Test command executed successfullyatep prvn-0 2Test command executed successfullyOur application doesn't have display. only LED indication and button available. i want to eliminate terminal command 'atep prvn-0 2' using switch button. long press SW2 scan and once the device found "Device-0 -> F81D4FAE7DE3A154FD5326E180C0" via green led indication.SW3 for "atep prvn-0 2" command execution. UART received message 'Test command executed successfully' indicated through red.I tried many times but i didn't able to figure it out from where it is executed in debug mode. Please help me & thanks in advanced...regardsDeepak Aagri
In a project with STM32WB55RG + FreeRTOS, calling TL_Enable() often results in a Hardfault with the keyword @SRAM2A_BASE: 0x1170FD0F (picture).Hardfault is repeated regularly until you make a small change in the code in any part of the program. After making a random change, with some probability, the stack starts working normally every time it is started. Even one line of code in any part of the program can have an impact on startup. Tried all possible options.Code generated with CubeMx. Interrupt handlers have been added. Any thoughts on diagnosing the problem?
Hi everyone. I am trying to use WB55 dongle as ZigBee sniffer. I am program necessary binaries to dongle, install python, pyserial and wireshark. Now I can launch wireshark from cube monitor and connects to the dongle. At first try software asked me about desired ZigBee channel. And I choose one. But now I want to change channel and cant find where I can do this. If I starts capturing in wireshark it don't ask me about channel anymore.
I have been trying to do a bunch of research on the various Bluetooth documents around the forums and STM's site. I seem to see that the ACI api's are a higher abstraction level than the BLE stack but I do not know how to use them. If anyone has documentation that would be amazing.
Hi,I need more 4kB of flash memory. Can I achieve this easily and safely by removing some not used functionality in the I-CUBE-LRWAN project?I suppose Lorawan Class B and C featues will not be needed. Can I just exclude this files from the project and remove the corresponding function calls?Thank in advance,Martin.
Hello! I'm working with a custom STM32WB10CCU board and can't seem to get BLE working.Here are the details:I have no LSE on the board.. just HSE. I'm configuring RFWKP to HSE/1024 and RTC to HSE/32 (I know that LSE is strongly recommended -.. but from what I've read it's not a hard req unless you want to go into certain sleep modes)I'm using STM32WB v1.2 core and have IPCC enabled with the added RTC_WKUP_IRQHandler call that's supposed to be implemented as per every BLE workshop video/slide deckI have a ST-Link V2 and I'm stepping through the code. It's going to my Error handler directly after running the SHCI_C2_BLE_Init because it fails.. Not sure why.I used STM32CubeProgrammer to upload the latest Wireless Stack via FUS and ensured it was abled. When reading FUS info with wireless stack enabled I'm getting version: 4.0.0.cSince I'm running RTC off of HSE, I had to add HAL_PWR_EnableBkUpAccess(); to my HAL_RTC_MspInit call or else RTC init times out and fails. I think this could poss
We design a new product where we use STM32WL microcontroller and in the datasheet ST is recommended to use NT2016SF-32M-END5875A, it was not in stock everywhere. We planned to use the ECS-TXO-20CSMV-320-EY-TR TCXO in our design. Please share your recommendation regarding this part number. if you have any alternate part, please share.
GreetingsI have been trying to set the BOR option byte via software in a STM32WLE5CC (as part of a RAK3172 evaluation board), but even following various guides i have not been successful in this endeavor, often resulting in the MCU being bricked and requiring intervention via CubeProgrammer to reset the corrupted option bytes followed by reflashing of the firware via CubeIDE.The code is as follows:int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); /* USER CODE BEGIN SysInit */ MX_GPIO_Init(); /* USER CODE END SysInit */ /* Initialize all configured peripherals */ SystemApp_Init(); /* USER CODE BEGIN 2 */  
I have a problem with SUBGHZ_PHY on STM32WLE5CC.I have 4 devices as follow:Device1: STM32L0XX device using B-L072Z-LRWAN1(SX1261)Device2: same as Device1Device3: STM32WLE5CCDevice4: same as Device3Device1 and Device2 can communicate with each other. It works fine.Device3 and Device4 also can communicate with each other. But there is a problem between STM32L0XX and STM32WLE5CC:The receiver always gets IRQ_HEADER_ERROR in the following case:1. Device3 or Device4 Tx something to Device1 or Device22. Device1 or Device2 Tx something to Device3 or Device4Those device is using the same Radio Config.Does anyone know what am I missing or I did something wrong?Here is my Radio Config:#define RADIO_FREQUENCY 923300000#define RADIO_MODEM MODEM_LORA#define RADIO_POWER 14#define RADIO_FDEV 0#define RADIO_BANDWIDTH 0#define RADIO_DATARATE &nb
Hi I have the Lora E5 development kit from seed, and able to send data to the server using the built in AT commands. I cant seem to find any guides, and basic examples on how to use the built in STM32 and Lora. Can anyone point me to the right pages?Many thanksScott
Hello,I have ran and modified few examples of applications for Zigbee on Nucleo STM32WB.I have registered my STM32WB as a node of my existing Zigbee network and it works fine.My coordinator indicates me that the Zigbee model of the node is "STM32WB". I guess it is the node that somehow annonced his model. Is it possible to change this model name to put a custom name instead? Thank you for your answer,Best regards,LéoPS: is there a complete documentation of the API/stack available where I can find that kind of information?
The operating temperature range for the above MCU is -40 to 85 deg C (105 deg C junction). Does it mean that the maximum temperature for soldering is 105 deg C, or does it just mean that the MCU will shut down at 105 deg C? I would appreciate it if you refer to any official application note.
The case described occurs when multiple timers are used and one repetitive timer is tiggered right after another repetitive timer. The first code snippet below shows the current implementation and the second shows the fixed code.static void RestartWakeupCounter(uint16_t Value) { /** * The wakeuptimer has been disabled in the calling function to reduce the time to poll the WUTWF * FLAG when the new value will have to be written * __HAL_RTC_WAKEUPTIMER_DISABLE(phrtc); */ if(Value == 0) { SSRValueOnLastSetup = ReadRtcSsrValue(); /** * Simulate that the Timer expired */ HAL_NVIC_SetPendingIRQ(CFG_HW_TS_RTC_WAKEUP_HANDLER_ID); } elseThe line containing "__HAL_RTC_WAKEUPTIMER_ENABLE(phrtc);" must be added to the above code to fix the bug as shown in the code below.static void RestartWakeupCounter(uint16_t Value) { /** * The wakeuptimer has been disabled in the calling function to reduce the time to poll the WUTWF * FLAG when the new value will have to be writte
Hi, I have found a few bugs in the Mailbox communication code of the STM32WB (which is responsible for letting CPU1 and CPU2 communicate). But other Dual-Core MCUs potentially could have the same bugs.The bugs are not security-critical, but they cause that the code does not adhere to the specification given in AN5185. The bugs cancel each other out as long as both CPUs have the same bugs. But, if one wants to write custom communication code for the application CPU, the communication just does not work because the other side does not behave as specified.A short introduction into the Mailbox system: Communication between both CPUs gets handled via the Mailbox and the IPCC peripheral. For this, commands and responses get written into a shared RAM in a defined table structure (the Mailbox). Usually, CPU1 (the application core) writes commands into the Mailbox, and CPU2 (the secure co-processor) reacts with responses. To notify the other CPU that data has been written into the Mailbox, noti
Hello,We're looking for example for BLE connection oriented channel.The SDK does provide the interface aci_l2cap_coc_* , however we were not able to find a single example for its usage not in the SDK nor Googling.Can anyone point me in the right direction?Thanks
Hi Everybody!I'm trying to prototype a force measure application with SD-card on a P-NUCLEO-WB55 Board and I-NUCLEO-CN0216. I'm using the latest CubeIDE.The SD Card work perfectly both on SPI 1 and SPI 2(In my project i'm using SPI 2 for the different Speed).I'm trying to use the SPI 1 for I-NUCLEO-CN0216 adapter board. After Hardware setup with CubeIDE and adding a code for testing with HAL librarys, that just read out the ADC Mode register, the HAL_SPI_Receive() function returns with HAL_ERROR status and 0x00 for the Register data.I trying all the SPI mode's etup.I trying all the 3 different SPI CS pin on the adapterboard.All the boards power up from Vin pin with 12V.I attach picture from the SPI 1 Setup and from the added code.Someone already had similar problem?Can somebody help me?
Hello, I use STM32CubeProgrammer v2.9.0 on MacOS Monterey. I try to programming the MCU STM32WLE5jc trough UART bootloader but the STM32CubeProgrammer does not upload my code correctly. It was chcecked by feature "Campare Memmory with file". What problem is there ?
..
I created a new project from BLE_HeartRate.ioc (v1.13.1) using STM32CubeIDE (v6.4.0). The code executes on the P-NUCLEO-WB55 as well as on my target HW. I then added peripherals from my application: ADC1, I2C3, SAI1 etc. I was unable to communicate via i2C3 with my LED driver. Write timeouts occur. I have an older version of the application code generated using v6.3.0 that works over i2c. It appears that the peripheral clocks are not getting enabled in the code generated by v6.4.0.// v.6.3.0 Code /** * @brief Peripherals Common Clock Configuration * @retval None */ void PeriphCommonClock_Config(void) { RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; /** Initializes the peripherals clock */ PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SMPS|RCC_PERIPHCLK_RFWAKEUP |RCC_PERIPHCLK_RTC|RCC_PERIPHCLK_USART1 |RCC_PERIPHCLK_SAI1|RCC_PERIPHCLK_I2C3 |RCC_PERIPHCLK_RNG|RCC_PERIPHCLK_ADC; PeriphClkInitStruct.PLLSAI1.PLLN = 24; PeriphClk
Hii try to figure out, if my main stack pointer is correct. When debug my program, after execute startup.s file the value of msp is 0x20008000, but like this i used only half sram, right? This micro have 64KB of sram. I believe that the value of msp would be 0x20010000, on top of the sram. This mcu have sram1 start 0x20000000 end 0x20007FFF, and sram2 start 0x20008000 end 0x2000FFFF.Follow my linker script:/* Highest address of the user mode stack */ _estack = ORIGIN(RAM1) + LENGTH(RAM1); /* end of "SRAM1" Ram type memory */ _Min_Heap_Size = 0x200; /* required amount of heap */ _Min_Stack_Size = 0x800; /* required amount of stack */ /* Memories definition */ MEMORY { ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256K RAM1 (xrw) : ORIGIN = 0x20000000, LENGTH = 32K /* Non-backup SRAM1 */ RAM2 (xrw) : ORIGIN = 0x20008000, LENGTH = 32K &nb
In the news today:"Sigfox, the French IoT startup that had raised more than $300M, files for bankruptcy protection as it seeks a buyer"https://techcrunch.com/2022/01/27/sigfox-the-french-iot-startup-that-had-raised-more-than-300m-files-for-bankruptcy-protection-as-it-seeks-a-buyer/
#define RADIO_TCXO_VCC_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()#define RADIO_ANT_SWITCH_CLK_ENABLE_RX() __HAL_RCC_GPIOA_CLK_ENABLE()#define RADIO_ANT_SWITCH_CLK_ENABLE_TX_BOOST() __HAL_RCC_GPIOC_CLK_ENABLE()#define RADIO_ANT_SWITCH_CLK_ENABLE_TX_RFO() __HAL_RCC_GPIOC_CLK_ENABLE()FIRST: TXCO ENABLE/DISABLE, RIGHT ?SECOND: TRANSMIT/RECEIVE ANTENNA DIRECTIONTHIRD: ?FOURTH: ?Thank you!
I'm not able to pair our application running STM32WB55 via STM32CubeMonitor-RF. Pairing with iOS sniffer apps are working. What are the settings and commands I shall apply in STM32CubeMonitor-RF?Our device is using a 6 digit pin, bondle mode, MITM protection. Any other setting which might needed for P-NUCLEO-WB55 dongle? BR,David
Hi all,Currently i'm reading and writing to external flash using the QSPI peripheral. All data i write is received correctly but there seems to be a "unnecessary" delay in both writing and reading QSPI.Sequence start with command 0x34 (page program)Followed by 32bits of addressSo far so good. Then it starts transmitting data using 4 lines. Here a delay is introduced between every set of 2 clock cycles (see attached picture). Does anyone know where this delay comes from or how i can solve it?Kind regards,TaxaraQSPI_CommandTypeDef command; command.InstructionMode = QSPI_INSTRUCTION_1_LINE; command.Instruction = 0x34; command.AddressSize = QSPI_ADDRESS_32_BITS; command.AddressMode = QSPI_ADDRESS_1_LINE; command.Address = address; command.AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE; command.AlternateBytes = QSPI_ALTERNATE_BYTES_NONE; command.AlternateBytesSize = QSPI_ALTERNATE_BYTES_NONE; command.DummyCycles = 0; command.DataMode = QSPI_DATA_4_LINES; command.N
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.