Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
In the SubGHz_Phy_PingPong example for the Nucleo-WL55JC2 there two register reads and writes to addresses that are not documented in reference manual.0x08890x0736The reference manual (RM0453 Rev 1) and erratum (ES0500 - Rev 1) for the STM32WL55 series both do not mention these registers.However, the semtech SX1268 datasheet (Rev 1.1 June 2019) does mention these registers as part of an erratum (modulation quality with 500 kHz LoRa bandwidth and Optimizing the inverted IQ operation).Question: Does the sub-GHz radio in the STM32WL55 have the same erratum as the SX1268 for these registers?
while (1) { HAL_GPIO_WritePin(LD2_GPIO_Port, LD2_Pin, GPIO_PIN_RESET); if (HAL_GPIO_ReadPin(B1_GPIO_Port, B1_Pin)) { HAL_GPIO_WritePin(LD2_GPIO_Port, LD2_Pin, SET); } }}I am using the STM32 WB55 Nucleoboard, I am wondering why when I press the button on the board it doesn't light up the LED. Is something wrong with my code?
I'm using the STM32CubeIDE (Version: 1.6.1) and I've installed the package for the family STM32WB (rel 1.11.1) but into the section 'Example Selector' I don't find any example for this board. I don't understand what's the issue. What I should do for import some example to start to work correctly with this board?Regards,Giampietro
Hello!I'm trying to put my project into Stop2 mode (so it can only be woken up by 1 of 5 wakeup pins) on an STM32WB55 Nucleo board. I have an external signal that starts low and goes high to generate an interrupt. I've tried various approaches to code and I can't seem to get my code to wake it up after entering sleep mode (which I assume is happening based solely on LED outputs). Based on all the variations I've tried, I assume it's because I'm not setting up the interrupt pin correctly. Here's my *.ioc file showing that I have wakeup pin 2 (PC13) setup for my interrupt: Below is the code I'm running in main:Enter_Sleep_Mode(); Exit_Sleep_Mode();Below is the code for the above functions (with various attempts commented out to show some of the things I've tried):void Enter_Sleep_Mode(void) { BSP_LED_On(LED_RED); //HAL_EnableDBGStopMode(); /* Disable WKUP pin */ HAL_PWR_DisableWakeUpPin( PWR_WAKEUP_PIN1 ); HAL_PWR_DisableWakeUpPin( PWR_WAKEUP_PIN2 ); HAL_PWR_DisableWake
TL;DR version:Is there a way to set/check the microcontroller software embedded pack you're using (ie stm32wb55 V1.11.1)?I was working on trying to get a Stop2 Low Power mode working and was running into some issues so I checked the forum. I came across as post by @Scott L�hr that it was easy as of version 1.8. Below is the thread it discussed this (if you're interested):He had mentioned it could be done in 4 lines:LL_PWR_SetPowerMode(LL_PWR_MODE_STOP2); LL_LPM_EnableDeepSleep(); __WFI(); sysClkCfg();I tried the code but it didn't recognize the EnableDeepSleep command. I started looking through the *.h files and, sure enough, it wasn't there. I have several different package versions so I created a new project from scratch to see if it was there and it wasn't there in a recent one either. So, the question I eventually came down to was, how do I know what version I'm actually running? Can I switch between versions? I currently don't even know what framework my projects are running
Hello,I've got a device which transmits with IEEE Manchester encoding, however on the S2-LPQTR, I seem to only be able to decode GE Thomas version of Manchester encoding (inverted to IEEE). Is there a way to enable IEEE encoding?Thanks Dave
I am beginner with STM32WB board and would like to know whether only the co-processor libraries from STM should be used for the Radio core or is it possible to use third party sources for radio programming. Further I wish to do 802.15.4 programming with Zephyr RTOS. Right now, Zephyr does not support 802.15.4 for stm32wb boards. Any leads on how to port to the existing driver to this board?
Hi There.I've successfully loaded the Sigfox_AT_Slave example to my device and the AT commands work 100%.I then followed the "Personalization and activation" section in document AN5480 to get and flash the Sigfox credentials from ST.When I try to load the Sigfox credentials to the device, it responds with success, but when I query the PAC afterwards it is still the default of 0000000000000000."...SIGFOX APPLICATION READYAT$PAC0000000000000000OK..."Is there anything else that I should do afterwards to get it updated in the registers?RegardsDamion
I am building LoRaWan code using STM32CubeWL Firmware Package, which is set up for the STM32WL55. My own hardware uses the Seeed LoRa-E5 module, which uses the STM32WLE5. Code built for the STM32WL55 runs on the STM32WLE5, but I thought I should migrate properly. So far I have:(a) Changed the compiler flag from STM32WL55xx to STM32WLE5xx in Properties > C/C++ General > Paths and Symbols(b) Deleted STM32WL55JCIX_FLASH.ld and replaced it with STM32WLE5XX_FLASH.ld(c) Deleted startup_stm32wl55jcix.s and replaced it with startup_stm32wle5xx.sThe compiler raised a problem in usart.c, which I fixed by adding conditional compilation macros:#if defined(DMA_CCR_SECM) && defined(DMA_CCR_PRIV)// CGP these are defined for the STM32WL55 but not the STM32WLE5 if (HAL_DMA_ConfigChannelAttributes(&hdma_usart2_tx, DMA_CHANNEL_NPRIV) != HAL_OK) { Error_Handler(); }#endif //
We are planning to make a custom debugger using STM32WB55RG. For communication with openOCD, we have customized the DAPLink firmware. Is it possible to use STM32Cube IDE with OpenOCD as debugger for our custom board, or do we require a custom tool?
I am working on a project based on the STM32WB55VG. I am trying to use SAI Block A as a PDM interface to receive data from two digital microphones. I would also like to use SAI Block B as an I2S interface to output audio data to an amplifier.In RM0434 Figure 376, the SAI functional diagram shows two separate kernel clocks for SAI Block A and SAI Block B: However, looking at the clock tree in Figure 15, it appears that there is just one single kernel clock connected to the SAI peripheral:I would like to use two separate kernel clocks so I can support two different audio frequencies for the input and output audio paths. How do I access the separate sai_a_ker_ck and sai_b_ker_ck?
It can be code or AT commands, doesn't matter.
I know that I-CUBE-LRWAN v2.0.0 is now available, but there are still tutorials, etc, referring to the old version.The 'Debug' configuration builds OK, but the 'Release' fails with:make: *** No rule to make target '../STM32L072CZTx_FLASH.ld', needed by 'mlm32l07x01.elf'. Stop.The problem is that there is, indeed, no such file as STM32L072CZTx_FLASH.ld - only STM32L072CZYx_FLASH.ldThe 'Debug' build uses STM32L072CZYx_FLASH.ld - hence it succeeds.
Say, for example, can B-L475E-IOT01A2 Discovery kit (868 MHz) communicate (send and receive data) with multiple Grove - LoRa Radio 868MHz (https://www.seeedstudio.com/Grove-LoRa-Radio-868MHz.html).
..
If I click in the error it navigates me to #define RADIO_INIT MX_SUBGHZ_Init, but no function is created by CubeMX.
I'm testing this example code, and I'm having an issue with duty cycle.Duty cycle is set to ON, so it must be compliant with the regulated duty cycle limits of 1%.Actually I'm able to send messages everytime I receive the +EVT:SEND:CONFIRMED (every 5 seconds aprox.), so I think its not ok.30/04/2021 09:15:25.444 [RX] - TX on freq 867300000 Hz at DR 0<CR><LF> <CR><LF> OK<CR><LF> MAC txDone<CR><LF> RX_1 on freq 867300000 Hz at DR 0<CR><LF> MAC rxDone<CR><LF> +EVT:SEND_CONFIRMED<CR><LF> 30/04/2021 09:15:29.874 [TX] - AT+SEND=12:1:abcdef0123456789abcdef<CR><LF> 30/04/2021 09:15:29.923 [RX] - TX on freq 868500000 Hz at DR 0<CR><LF> <CR><LF> OK<CR><LF> MAC txDone<CR><LF> RX_1 on freq 868500000 Hz at DR 0<CR><LF> MAC rxDone<CR><LF> +EVT:SEND_CONFIRMED<CR><LF> 30/04/2021 09:15:34.383 [TX] - AT+SE
Hi , I was using LoRaWAN_AT_Slave example code for NUCLEO-WL55JC1 Board on STMCUBEIDE .AT command response was OK but , the configured values are not getting stored into flash (upon reset getting the default values)..CONTEXT_MANAGEMENT_ENABLED and MAX_PERSISTENT_CTX_MGMT_ENABLED are disabled by default . By enabling these flags i am getting "error: unknown type name 'NvmmDataBlock_t'" and few more errors.am i missing any configurations?Reference doc : https://www.st.com/resource/en/application_note/dm00699239-lorawan-at-commands-for-stm32cubewl-stmicroelectronics.pdfThanks.
Hi, I would like to store the data acquired from external sensor to my AWS cloud, is there any app that can help with this ? There is option of "Cloud Logging" in "ST BLE sensor" smartphone app , is this option meets my requirements ?Thank you in advance
I am using the Nucleo WB55 Development Board, how do I set up the (Programmable voltage detector) PVD and get it to work?
I would like to look at the register to see which values are stored inside that register. Then I would like to use that number to do operations.
When starting connectable undirected advertising mode by calling "aci_gap_set_discoverable(...)" it turns out that the advertiser sends AD with "Flags" type (0x01) and "TX power level" type (0x0A). As a restriction of the application, I need to remove the "TX power level" AD. From CSS v9 Table 1.1, this data type is optional. So, I've tried to delete this AD type calling "aci_gap_delete_ad_type(0x0A)" after "aci_gap_set_discoverable(...)".The problem is that sometimes, although the function to start advertising ends with success code, the function to delete AD type returns the error = BLE_STATUS_NOT_ALLOWED (0x46), and that prevents the BLE controller to start the advertising mode.Is there a way to start advertising only with AD type "Flags", without calling "aci_gap_delete_ad_type(0x0A)"?Currently I'm using STM32WB v1.11.1 package, but I already tried with v1.9.0 too.
Does stm32wb support homekit?
Please kindly help me . Any leads would be appreciated
Hi, the timers of my STM32WB55x aren't working exactly as I anticipated.Symptoms: By conventional wisdom that I accumulated when using other MCUs under different brands, if the CNT is modified to a different value, the counter should keep counting from that new, modified value.Except this is not the case. If I modify the CNT register to pretty much any value, the CNT value in Keil's watch window will immediately be reduced to a really tiny, close-to-zero value and an interrupt will immediately be triggered. But, if I modify the ARR register, the counter seem to be able to count a length that is slightly shorter than desired one, instead of a period that is precisely as expected, I came to this conclusion by measuring it with a stopwatch. It's not perfect but at least it works... somehow.In short, if I want to modify the timer cycle on the fly, I need to modify the ARR register instead of the CNT register. My questions are :Have I forgot to set/reset certain bit(s) which caused thi
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.