Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I am trying to transmit a single int using LoRa and the SUBGHZ_PHY middleware. However, I am unsure as to why UART has to be configured under 'Platform Settings', and how I can setup the STM project for this purpose. I am using STM32CubeIDE, and a Nucleo-WL55JC development board. Any help would be appreciated. Other info:Protocol: LoRaFrequency: EU 868MHz
..
I am using ble advertising example beacon project. I have initiated util scheduler/sequencer. I have registered inside scheduler exti buttom task that is used to standby whole device but it does not stop, device wakup imediately after standby. I am trying to stop all software timers, pause all tasks, deinit rtc wakup counter, deinit gpios, suspend hal systick etc. I have suspecion that scheduler is wakingup device. Is there any clear way do deinit scheduler. I found deinit function of it but it is empty when generating using cubeide 1.7.
In Table 150 ("STM32WLE5xx/55xx configuration in system memory boot mode") on page 380.In the section "USART2 bootloader", "USART1" must be replaced by " USART2".Thank you.JL
Hi,I have a custom PCB using the STM32WB55 running at 32MHZ. For some reason my board is drawing high current ~40mA. I’m trying to rule out anything I may have missed connection wise on the WB. Would anyone have any ideas if this high current draw is related to anything with the WB setup? My program is working properly so it isn’t a fatal problem, but the current draw is not going to work.thanks for any tips
I have a new design based on STM32WB55CGU6 Microcontroller. I wanted to use the MLPF-WB55-1E03 IPD Device for Maching Network. However, the device seems to be out of stock world wide.Can I replace it with MLPF-WB55-02E3?
I'm new at STM32. I have a STM3255WBRGV which i want to aquire data from sensors with, then send the data with BLE. Kinda like the p2pexamle project. I have seen almost all youtube videos and googled a lot about setting up BLE, without using an example project. Where do i go from here?
My questions are as follows, based on the use of the SUBGHZ_Tx_Mode Example project for the NUCLEO-WL55JC board. (1) Can I use it to transmit LoRa radio on 868MHz? It doesn't specify in the readme file. (2) When editing the .ioc file in STM32CubeIDE, I am unable to change the HSE clock frequency to 32MHz from 8MHz (even though it says that the range allows for it) in the clock configuration panel. (3) The interrupt handler is not called for some reason. I have tried configuring the pushbuttons to trigger interrupts, and enabling it in the NVIC tab, but it doesn't call the handler. I've done exactly the same for other projects and it worked perfectly each time, so I suspect that it's a project-specific issue. Thanks for the help. :)
Hi...I am using STM32WB5MMG MCU..to optimize the power consumption I am using HAL_PWREx_EnterSTOP2Mode() to put the controller in sleep mode.. But after power cycling the board multiple times the power consumption increases and not stable always...What can be done to achieve the lowest power and it should not have any fluctuation in power once the device is reset for multiple time....
i am using STM32 Nucleo Pack LoRa HF band sensor and gateways. The Gateway has STM32L073RZT6 low power MCU with ST LoRaWAN_GS. I am trying to connect the LoRaWAN gateway with LORIOT network server and after following all the procedures, i.e configuring the region and selecting the channel plans, I tried refreshing the page to see if my gateway was connected or not. But it wasn't: it was still showing disconnected.Also i am attaching a screenshot of what configurations i have done. Please help me.
Hi there,We purchased STM32WB5M-DK for our project. In STM32WB5M, We have only one SAI Interface. We connected PDM Microphone (MP34DT01-M) on SAI1 A. I want to play the audio signal with speaker through speaker amplifier. I'm using TAS2770 speaker amplifier having I2S interface. Can I configure SAI1B for transmit the sound to amplifier(TAS2770) ? Is it possible & correct way?Thanks & Regards,Sneha.KEmbedded Hardware Engineer Trainee.
Hi,I am using the STM32WB55 Nucleo Board and am trying to characterize the current consumption of the board using the BLE HeartRate example. For this, I want to send 20 bytes in the advertisement data packet. How do I set the length of the advertisement data? Or how should I go about changing the advertisement data length? Any insights would be appreciated.Thanks,Josh
Hi,Bluetooth 5.0 introduced a feature - LE Advertising Extensions - by which Channels 0 - 36 can also be used for advertisements i.e. secondary advertising channels.How can this feature be enabled in STM32 WPAN. We are running WPAN v1.10 on STM32WB55.BR,Irfan
Hi,I want to set a publish address in node-1 in BLE mesh without using the mobile app. This address can be either unicast address of other node or group address. Node-2 should be able to receive messages from this node without setting its subscribe address.In the node-1, I have tried using :AppliConfigClient_SelfPublicationSet -> ConfigClient_PublicationSet -> ConfigModel_SelfPublishConfigHere, publish address (unicast address of node-2) is successfully set (checked the return value of the APIs) but publication error occurs on the sw1 press and the node-2 does not receive any message.I don't want any mobile app intervention after provisioning the nodes.Which API can be used for my use case ? What am I doing wrong ?Can I get 'configuration server' code files ? If yes, then how ?Kindly help me out.
Hello,I am trying to understand the datasheet regarding current draw of the STM32WB55 during BLE transmission. I see TX maximum output power consumption (SMPS Bypass) 12.7mA but what I don't understand is... does this include the Cortex M4 processing along with the M0? Could I assume in this configuration a program transmitting a BLE stream (running at 64MHz) I would read ~12.7mA (MAX) from the power supply?Thanks
/*SPI Initialization*/ static void MX_SPI1_Init(void) { /* SPI1 parameter configuration*/ hspi1.Instance = SPI1; hspi1.Init.Mode = SPI_MODE_MASTER; hspi1.Init.Direction = SPI_DIRECTION_2LINES;//SPI_DIRECTION_2LINES; hspi1.Init.DataSize = SPI_DATASIZE_8BIT; hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;//SPI_POLARITY_LOW; hspi1.Init.CLKPhase = SPI_PHASE_1EDGE; hspi1.Init.NSS = SPI_NSS_SOFT; hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_128; hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;//SPI_FIRSTBIT_MSB; hspi1.Init.TIMode = SPI_TIMODE_DISABLE; hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; hspi1.Init.CRCPolynomial = 7; hspi1.Init.CRCLength = SPI_CRC_LENGTH_DATASIZE; hspi1.Init.NSSPMode = SPI_NSS_PULSE_ENABLE; if (HAL_SPI_Init(&hspi1) != HAL_OK) { Error_Handler(); } } /*RGB LED CONTROL*/ HAL_GPIO_WritePin(GPIOH, GPIO_PIN_1, GPIO_PIN_SET); HAL_Delay(100); HAL_SPI_Transmit(&hspi1, "0x3A", 1, 100); HAL_SPI_Transmit(&hspi1, "0x7F"
Hello!I am trying to use the lptim1 to wake up my STM32wl55 from stop2 mode so I first check out the LPTIM_Timeout example. Unfortunately, it doesn't seem to work properly. The device does enter sleep mode, but it never wakes up.I did some digging and found this similar post: https://community.st.com/s/question/0D53W00000q2p1WSAQ/does-st-confirm-the-lptimer-issue-with-stop-modeI've tried adding __HAL_RCC_LPTIM1_CLK_SLEEP_ENABLE() ; to the example and I also checked that it uses LSI and not LSE, but the device still doesn't exit stop2 mode. Has anyone had a similar problem with the LPTIM_Timeout example? Thanks!
I i am trying to follow the AN5604 (STM32WB Series BLE interoperability report) but im unnable of enabling the debug UART. Nothing shows up the Nucleo's stlink's COM port, but the programm is running, im able to conenct to the BLE device from my phone. (on the PC side im using putty and realterm, and COM8 its the only COM port available)CubeMX file attachedSteps i followed:USART1 Mode Anynchronous with pins PB7 and PB6, hardware flow control set to CTS onlyCFG_HW_USART1_ENABLED set to Enabled.CFG_HW_USART1_ENABLED CFG_HW_USART1_ENABLED Parameter Description: Enable or Disable traces USART1 (USART1 Mode must be set to Asynchronous with Hardware Flow Control set to CTS only) Please ensure that in ProjectManager Advanced Settings panel MX_USART1_UART_Init Not Generate Function call is ticked and that Vibility is untickedGeneric parameters: CFG_DEBUG_BLE_TRACE Enabled CFG_DEBUG_APP_TRACE Enabled CFG_DEBUG_TRACE_LIGHT Enabled CFG_DEBUG_TRACE_FULL Enabled DBG_TRACE_USE_CIRCULAR_QUEUE E
Hi! I want to set up transmission between two boards P-Nucleo_wb55. When I firmware blink using cubeIDE example (\STM32Cube\Repository\STM32Cube_FW_WB_V1.12.1\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_CableReplacement)But after opening serial terminals on system, COM ports appears but they don’t give feedback.Kindly help me out. Thanks
Our application has two touch sensors surrounded by a shield and an additional independent sensor surrounded by a separate shield. The first pair of sensors are connected to TSC groups 1 and 3. The other sensor uses groups 4 and 6. Groups 1 and 4 connect to the active shields. Unfortunately, CubeMX 6.3.0-RC5 does not allow more than one active shield to be selected. Is this due to a HW constraint (we're using the STM32WB5MMG) or a CubeMX error? If this configuration is supported by the TSC, what source code changes are required to work around CubeMX?
I found some info in AN5457 appl.note, but it is not clear, in case of one RF out, what should be done with another. Beforehand thanks for answer
I can't read more then 8 bytes long attribute value from BLE characteristics with P-NUCLEO-WB55.USBDongle from STM32WB55. It might be a bug?Details:I have 4 characteristics in my service. I can read the first 3 characteristics with ACI_GATT_READ_USING_CHAR_UUID command (see AN5270 reference manual) in STM32CubeMonitorRF. For the 4th I got timeout and after that I can't read anything anymore. The difference is that first 3 characteristics attr values are 1,2 and 3 bytes long, while 4th is 8 bytes long. Looks like it freezes the dongle because if I implement these commands in Python (using instead of STM32CubeMonitorRF) it behaves the same way, however, with a third party Android BLE sniffer app I can read even the 4th characteristics attr value without any problem.Is it possible that there is a setting which needed to be set in the dongle? (E.g. maximum bytes per attribute value or similar...). Or any useful advice?Thanks,David
I am using an STM32WLE5 in a design, in the user manual section 3.3.8 it specifically says:Programming in a previously programmed double-word is only allowed when programming an all 0 value. It is not allowed to program any other value in a previously programmed double-word. Any attempt sets PROGERR flag in FLASH_SR, except when programming an already programmed double-word with an all 0 value.In practice this is not working, I noticed the MCU differentiates between "virgin" all FF double word which is the erase state and a programmed all FF double word. I believe this is related to ECC but I would like to get more information about this if possible.Below is a small code snippet that illustrates the test I am running: uint8_t *addr = (uint8_t *) 0x08000800; uint8_t zeroes[8] = {0}; uint8_t effs[8] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,}; hal_flash_page_erase(addr); //Page erase to all FFs as expected flash_write_dw(addr, effs); //Manually programming 1st dw as ef
Hello, How to set RF SW CTRL pins? How to make them appear in platform settings of SUBGHZ_PHY configuration?
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.