Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
I would like to create a script by arduino IDE that allows me to communicate in Sigfox. I own an STM32WL55. I haven't found any library on the internet that allows me to do this communication. Is there any documentation explaining how to program this communication through arduino IDE or any library?
Hello, I am trying to create a simple openthread project on my NUCLEO-WB55RG. There is no custom code in this project; just the code generated from the CubeMX ioc file attached.By all means, I think that I have all the necessary settings for this project selected in the IOC file (attached), but "SHCI_USER_EVT_PROC" task never finishes, and instead hangs on SHCI_C2_Thread_Init(). Am I doing something wrong?
I can make the RTC wakeup work in Standby mode, but not STOP2 mode.
i am working with lsm303agr accelerometer and magnetometer sensor module with controller STM32WB , am using the library from the ST for the implementation of software. I can able to fetch data using the I2C protocol. But when I try to use the SPI 3 wire method I always getting some garbage values' tried 2 different method for the implementation of half duplex SPI1) using the half duplex configuration available on CUBEMX (only used MOSI of controller).2) making 4 wire SPI in configuration and shorting miso and MOSI together and controlling the pin direction using SPI_1LINE_TX(&hspi2); and SPI_1LINE_RX(&hspi2);3) connected miso directly to data pin of LSM303AGR and MOSI connected to data pin using a 1 k ohm resistor .(providing impedance while receiving ).in the first 2 cases I didn't got any correct data sometimes its reading 0 and sometimes its reading garbage values.in the 3rd method I am able to get some data but its not consistent(device id is reading fine sometimes).CAN ANY
Hi fellas,We are planning for LoRa based FUOTA updates using STM32 MCUs. The LoRa Transceiver we are planning to use is SX1302. In I-CUBE-LRWAN blog, they told its meant for STM32L0/1/4 series alone. Can we use some other series like STM32G0 series, for cost reasons? If not, what is the actual reason for it? As STM32G0 also has SPI interface, which can be interfaced to our Transceiver. Also, as another hiccup, SX1302 has only HAL support, which works in Linux based Processor and no implementation idea has been given in terms of Controller? Any suggestions regarding that?
Hello togetherI am currently doing the tutorial from ST (STM32WB Getting Started Series: Part 12b, Lab. Receiving data from the phone) to send and receive Information with BLE. I am stuck in the video at 15:00 when the device should show up on the ST BLE Toolbox App. (Some clock settings were not right from the beginning, I adjusted them to the ones in the video) I already tried:repeating the tutorial in case I made any mistakesreplacing the services, attributes and array size (was already correct due to latest update), see picture in attachementresetting the nucleo after flashingreplacing my app_ble.c and custom_app.c from the google drive (not the ble_conf.h as this has the settings for the WB55)the heart rate example. It works and shows up. replacing the settings from me with the ones from this example (BD_ADDRESS and Power didnt help.I found another post that was solved with the adjustment of the settings. Since this doesnt work for me, I am asking a new question now.My computer ru
Say I want the Projects/B-L072Z-LRWAN1/Applications/LoRaWAN/LoRaWAN_AT_Slave project loaded up.What exactly am I supposed to do in the IDE?I've loaded that project up, but can only build the debug configuration - it doesn't seem right.I did change the code to use AS923 and also added an extra message to the startup and those changes seem to be present on my board but I can't believe I have the project imported properly.I'm also wondering how I use the LoRaWAN code for my own project. Am I supposed to import either the AT or End_Node project and start adding my code to them?
..
There are two inductors, L1 10uH and L5 10nH, in series for SMPS circuit in P-NUCLEO-WB55 design. Why is that? is the sequence affective (smaller L5 coming out of VLXSMPS pin)? Thanks. -wq
I've used BLE for a month now on the wb5mmg with the 1.14.1 firmware with the steval-proteus board. The setup in the .ioc for new projects was always the same:HSEM, IPCC, RCC, RTC, RF, (USART)Activating BLEUsing Default P2P Settings or Custom TemplateThen I used the ST BLE Toolbox App to look at the services. It was never any trouble and worked already without much user configEarlier this week I updated the Cube IDE to 1.11 and with it updated the firmware for the wb5 to 1.15.0.After the update new projects created on the 1.15 firmware would not advertise. APP_BLE_Init(void) (app_ble.c) was never called because the function where it was called in was registered as a Task but never set.Function calls were as follows: app_entry.c: appe_Tl_Init(void) was calledIn this function shci_user_evt_proc is registered as task for the sequencerAlso APPE_SysUserEvtRx is passed as a function pointerThis function is important because: APPE_SysUserEvtRx (app_entry.c) -> APPE_SysEvtReadyProcessing (a
My configuration is when button is pressed start advertising and stop advertising after 100ms. When the button is pressed a few times device gets hung and continuously advertises.When I tried debugging following is the traces I didn't understand this problem, can someone please explain this? and how to solve this.Thank you.
Hello,we’re doing some research on LoRa tecnology to evaluate if it’s suitable for our products. We’re interested in STM32WLxx MCU, so we downloaded STM32CubeWL Firmware package from GitHub.We are trying to understand the principle of working of some FW examples you provided in the package.1. Projects\NUCLEO-WL55JC\Applications\LoRaWAN\LoRaWAN_End_NodeAN5406 suggests that the example “measures battery level and CPU temperarature and send values periodically to the LoRa Network using LoRa radio class A�?. Looking at the readme.txt file in the example, this setup is shown:So, the questions are:· Once the firmware is flashed into the NUCLEO-WL55JC board, what is the best way to implement the LoRa network present in the example? Is it something already provided by ST or is it a third-party device?· Does LoRa network device in the example represent LoRaWAN gateway? Is in general possible to impleme
We tried the simplest and the most basic LL driver based App, LED blinking, on Nucleo boards:int main(void) { LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_SYSCFG); LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR); NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4); SystemClock_Config(); MX_GPIO_Init(); MX_USART2_UART_Init(); while (1) { LL_GPIO_TogglePin(LD3_GPIO_Port, LD3_Pin); LL_mDelay(1000); } }Comments and empty lines are removed. We just added two lines of code in the while loop. Everything else is from MX. (LED pin changes with different Nucleo boards).Well, it doesn't work. It failed on Nucleo-L432KC and Nucleo-L452RE. Both are L4 MCU so they use the same FW and library. It can't pass through the system clock configuration. The MCO output of the internal PLL has no life at all.However, it works on Nucleo-WB55RG. The LED is blinking! Is there anything I missed in LL based programming? or is there anything to fix for L4 firmware and library?Thanks. -wq
I have one product with inside the module Murata CMW. The product will be present on a public Lora network. The product is a sensor, so it will trasmit dataI need to go in mass production and I need to create the devEUI for each deviceHow I can create it?I see there is method to create the devEUI from a MAC address (that I have avaiable), but it's deprecatedThe method is use one MAC adding FF and FE on the 4th and 5th byte and turning to 1 the 7th bit of first byte. Is there other valid method to create the devEUI witout problem?
Hello, I want only to send some test values from my STM32WB to the computer, I didn't find any good examples (snd also and bad examples) on how to do it.My PC can detect Bluetooth networks from STM32WB
Hi, I'd like to understand how I can setup the semtech transceiver to work with 4-FSK modulation. I configured a project in cube mx but I have doubts on the bandwidth and datarate parameters.I know that my datarate is 9600 bps, then bandwidth and coderate are not cleear for me. Also, I'd like to use as middleware as possibile in this moment to have a clear understanding of what I am doing. Also, in our project we have a system relying on some other configurations, like the usage of whiteneing algorythms with pseud-random generators and I suspect the Semtech chip is able to handle it, but it is no clear how. Any hint or example to inspect? K.R.Luca.
First of all, I was doing basic HAL_UART communication with lora modules. Now I have a new project which requires really really low power so I decided to go with stm32wl.I will have 50 end node device (sensor device) and 1 base station. Sensor device will send data to base station every 20 minute. I don't want to use loraWan network like (TTN,LORIOT, etc.). Base station will internet connection and base station send these 50 sensor datas to http client.I watched this video MOOC - STM32WL workshop - 4 Point to point. Can I achieve to do my project if I refer this video?Can I do point to multipoint communication with stm32wl's libraries ?
I am experimenting with the STM32WLE5 and the embedded SX126 LoRa-radio. (aka SubGHz)I simply reset the SubGHz, then read its status, and this always returns a 'Failure To Execute Command' (according to section 13.5.1 GetStatus from SX126 datasheet) or when referring to the RM0461 reference manual, the GetStatus can be found in section 4.8.5 'Communication status information commands'Here is the code :SET_BIT(RCC->CSR, RCC_CSR_RFRST); // Activate Reset HAL_Delay(10U); CLEAR_BIT(RCC->CSR, RCC_CSR_RFRST); // Release Reset HAL_Delay(250U); uint8_t commandData[64] { 0 }; // contains parameters when sending a command to the SX126x uint8_t responseData[64] { 0 }; // contains results when reading from SX126x HAL_SUBGHZ_ExecGetCmd(&hsubghz, RADIO_GET_STATUS, responseData, 1); uint8_t chipMode = (responseData[0] & 0x70) >> 4; uint8_t commandStatus = (responseData[0] & 0x0E) >> 1; theLog.snprintf("chipMode = [%02X], commandStatus = [%
Hello,Currently I am working on STM32WL55JC single core where I initialized PB3, PB4, PB5 and PA15 for SPI1 line with a FLASH Memory MT25QL.I tried basic with reading Flash memory ID.It worked when i used the SPI_FullDuplex_ComPolling_Master example as shown in first picture but when i tried to create my own project file it didn't worked {0xf as shown in 2nd Picture). I even tried generating code using Ioc file of SPI_FullDuplex_ComPolling_Master example.What could be the reason? Am I missing something here?I am using STM32Cube FW_WL V1.3.0.Thank you
Hello everybody .I am using openthread in a project. I am creating an openthread network using the stm32wb processor. I install the MTD stack software on the slaves I choose from my cards because I always want them to be child. Everything works fine, but the child device joins the openthrad network late (2 seconds). How can I lower this value?
I used STM32WLE5JC control for playing the song via I2S. I have used SPI2 (alternat function of I2S) in the STM32WLE5JC. I can read the song in SD card and transmit the signal to the I2S in the I2S module (MAX98357A). The signal is transmitted to the I2S module and speaker ready to play. But I set the I2S exact hearable frequency(44.1khz) in the I2S initialization, that time noise is produced by the speaker. When I set the 8khz,11.025khz the song played slowly in the speaker. I am using MAX98357A mentioned frequency in the STM32WLE5JC, but no result.I have attached the system clock & I2S configuration:
Hello, I need to send data from STM32WB Nucleo to the computer (any symbol), I spend many days, but didn't find any simple example for that in Google. I was surprised usually I never had a problem like that... Please, can you share a simple example of how to send data/symbol/something from STM32 WB to the computer via BLERegards,
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.