Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hello,I use a stm32WB15 MCU in shutdown mode with a wake up by the wake up pin PA0 (System wake-up 1).Everything works fine with the polarity "High". I use the HAL function "HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1_HIGH)".But with the polarity "Low" and the function "HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1_LOW)" the MCU wakes up regardless of the logic level on the input pin (as if both Edges were selected !).I checked the WP1 bit in PWR_CR4 and is setting is correct (0 for high level detection and 1 for low level).I set the level on the input pin wiht a generator and I verify with a oscilloscope for debugging so it is not a hardware problem...Thanks for your answer.Best regards,Joel
..
HelloI am developing a FW that alternately runs BLE and Mac using stm32wb5x_BLE_Mac_802_15_4_fw.bin 1.13.3.0(3) for protocol stack.For FW, BLE and Mac are alternately switched over time (every second).The initialization of BLE, the initialization and switching method of Mac are referred to the sample.Here is a problem.When there was no radio wave of the Mac protocol, it worked for one day, but it stopped in a few hours when the radio waves of the Mac protocol were out.The radio waves of the Mac protocol are at several 10ms intervals.When I looked it up, I had been waiting for a CPU2 response with UTIL_SEQ_WaitEvt() after execution of MAC_MLMESetReq(), MAC_MLMEStartReq(), MAC_MLMEResetReq() executed when initializing or stopping the Mac protocol.The time to stop the FW is not constant, so when some conditions are met, I think that something occurs in the protocol stack and this is the case.It is best not to have such a phenomenon, is there a way to receive the Mac protocol again?Is ther
Hi, I am trying to understand the startup process of stm32 mcu. So I have a good knowledge with STM32 and HAL but I want to learn a little deeper with the registers.So I created a blank project and included only the peripheral header file (stm32wb55xx.h), (system_stm32wbxx.c), the startup script (startup_stm32wb55xx_cm4.s) and main.c where I implemented a blinky and it is working. Where I set the RCC->AHB2ENR(enable clock) register, but I m not sure it's frequency and the frequency's from SYSCLK, HCLK,AHB,APB1...As far as i understand the startup script is calling the SystemInit() function from system_stm32wbxx.c where the clocks are set to default values and after that the main function is called, where the clock configuration can be changed?Please correct me if I m wrong! And if someone have some links or documentation for properly setting the clocks.Thanks
Hi,I have been trying to use the HSE_DIV32 clock as input for the RTC but without success.I cannot find any example where this is done even though it's available in the datasheet and the register map.I have been doing this after enabling the HSE clock to 32MHz:void RTC_Init(void) { RTC_TimeTypeDef sTime = {0}; RTC_DateTypeDef sDate = {0}; hrtc.Instance = RTC; hrtc.Init.HourFormat = RTC_HOURFORMAT_24; hrtc.Init.AsynchPrediv = 124; hrtc.Init.SynchPrediv = 7999; hrtc.Init.OutPut = RTC_OUTPUT_DISABLE; hrtc.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH; hrtc.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN; hrtc.Init.OutPutRemap = RTC_OUTPUT_REMAP_NONE; if (HAL_RTC_Init(&hrtc) != HAL_OK) { Error_Handler(); } if (HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR0) != 0x32F2) { sTime.Hours = 0x6; sTime.Minutes = 0xa; sTime.Seconds = 0x0; sTime.SubSeconds = 0x0; sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; sTime.StoreOperation = RTC_STOREOPERATION_RESET; if (HAL_RTC_SetTi
Hello, I'm using the the official example of CubeMX P2P_server and I want to enter stop2 mode during advertising to minimize the current consumption like this: void SCH_Idle(void) { LL_C2_PWR_SetPowerMode(LL_PWR_MODE_STOP2); HAL_PWREx_EnableBLEActivityIT(); HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI); return; }However, I have noticed that the processor doesn't enter the stop2 mode and current consumption for the processor only is about 1.25 mA which is High compared with the datasheet values!
Needs more support from Sequencer scheduler which is used in Stm32wb55xx Evaluation boards. How to use effectively and is there any online seminars or any other documentation , it will be helpful to us.
Hello,I am trying to use PWM using DMA in the P-NUCLEO WB55 dongle but the PWM signal was not behaving according to the setting which was done in STM32Cube MX.Can anyone help me to understand the role of Auto Reload Register, Repetition counter, and PWM Generation channel pulse? Basically, I want to generate 24 pulses with different pulse widths but when I am trying to generate 24 pulses I am always getting 3 extra pulses.Code -for (int i=23; i>=0; i--) { if (color&(1<<i)) { pwmData[i] = 66; } else pwmData[i] = 33; } HAL_TIM_PWM_Start_DMA(&htim1, TIM_CHANNEL_1, (uint32_t *)pwmData, 24);So my question is why I am always getting 3 extra pulses every time. The parameters that are defined in cube Mx are given below-System Clock - 64 MHzTImer counter Prescaler- 0Counter period- 100-1Repetition counter- 24Firmware version - STM32Cube FW_WB V1.14.0I have also tried to find some documents on the PWM but I am not able to find any relevant document, Please he
I want to use a STM32WB55CG with a 12-bit ACD to collect sensor data from ADS1292R (24-bit ECG sensor) and MAX86150 (19-bit PPG sensor). Short question: Is this possible? If so: Any suggestions on how to do so? Do need some external component?
The readme.txt in the STM32WB Middleware WPAN folder mentions that it is possible to get the clusters library sources. How can this be managed?
I have an application taht works fine when I power the board from USB ST-Link, but it does not work when powered by battery. LD7 lights up, but no other LEDs. My app turns some on immediately.When powerded by USB I get LD5 Red, LD7 Red and two user lightsLD3, LD4 on after a second or two (my app).The batteries are new Duracell AAA and give 4.6V to the boardIs there a jumper setting to switch to pure battery power? I have tried this on 3 boards MB1296 D-03 series 210800*** and 211200***It looks like part of the board may not be getting power.It also does not appear to try to join LoRa.My jumpers are factory default JP9 1-2 JP10 2-3 JP5 off
We have project that requests the distance range up to 200 meter between a wireless device and a wireless router. We wonder if STM32WB could meet the need?ThanksDavid
In 5.5.3 FSK modemBR = 32 x HSE32_freq / BitRate where HSE32_freq = 32 MHzFdev = Fdev[Hz] / FreqStep where FreqStep = HSE32_freq / 2^25The document then states that to ensure correct modulation the following limit applies: (Fdev + BR/2) < BWIn the Semtech document the limit is given as: (2*Fdev + BR) < BWWhat is the correct limit?Does BW above actually refer to the values in the BW[DSB] column of Table 28 (also Semtech SX126x DS Table 6-4)?The bandwidth must be chose so that:BW[DSB] >= BR + 2 x frequency deviation + frequency errorShould the BR here be BitRate , and not the BR parameter which is referenced to the HSE32 frequency?
Question1) is there a way to input the needed "commisioning" data (that the STAssetTracking app would do via BLE) into the ASTRA and start the OTAA for lorawan?Question2) is there an application note for the above question? or some other doc (already re-read UM3019)?
STM32WB55 as a central (client)Sending ACI_GAP_SEND_PAIRING_REQ and getting ACI_GAP_PAIRING_COMPLETE_EVENT with failed. reason: AUTH_REQ_CANNOT_BE_MET.As I matched all the other settings to the server(peripheral) device settings.Was curious if the OOB feature might be failing it? How can I disable OOB ?From your documentation AN5270:ACI_GAP_SET_AUTHENTICATION_REQUIREMENT Description Set the authentication requirements for the device. If the OOB_Enable is set to 0, the following 16 octets of OOB_Data are ignored on reception. This command has to be given only when the device is not in a connected state.but the command does not have OOB_Enable parameter.tBleStatus aci_gap_set_authentication_requirement( uint8_t Bonding_Mode, uint8_t MITM_Mode, uint8_t SC_Support, uint8_t KeyPress_Notification_Support, uint8_t Min_Encryption_Key_Size, uint8_t Max_Encryption_Key_Size, uint8_t Use_Fixed_Pin, uint32_t Fixed_Pin, uint8_t Identity_Address_Type );The device I am trying to connect:M
I am using the stm32wb55 as a Central.When pairing to my server, I encounter long pairing times.About 80 seconds from the moment I send the passkey to the time I get paired complete event..(I have no errors in the pairing complete event)I did not have this issue with my previous device. Pairing has always been done quickly.Please tell me if I might be doing something wrong. What might be prolonging the process?
Hello,I developed an application to automate the programming of the STM32B55xx, since I have a batch of more than 10000 parts. I used the documents AN5185 and UM2237 as a basis. For this product, I am using FUS version v1.2.0 and the "stm32wb5x_BLE_Stack_full_fw.bin" stack version v1.14.0.However, the programming time takes more than 60 seconds when it is necessary to update the FUS, program the stack and the application firmware. I implemented a verification to detect the FUS version so that there is no need to update if the version is already the desired one, but it still takes more than 45 seconds to program the stack and the application firmware. The application uses less than 100kB of flash, and I noticed that what takes the most time are the various core resets that FUS performs during its update and stack programming. Therefore, I believe that migrating from a ST-LINK V2 to a ST-LINK V3 would not help in this case.In production, I perform two steps. The first is to program the F
I want 120bytes per notification, I want 120bytes per notification, but I can only reach 20bytes with stm32cubemonitor-rf monitoring.The following picture is what I mainly modified in the program:Am I going wrong somewhere?
15bytes per notificaiton, interval about 7.5ms120bytes per notification, interval about 30msI want to change 30ms to 10ms. How can I do?
Right now, I'm focusing on increasing ADC channel.I assembled the STM32WB55VG microcontroller and 8:1 mux.The mux is contolled by three GPIO pin for [2:0] encoding to select channel.The output of mux is connected to the ADC and I can see the ADC data using DMA.If I select one channel in the mux, I can collect data exactly.However, if I operate the mux with switching channel (I gave ~1 ms of interval for each channel), the most recent channel data is filled to the previous channel (last channel data only appears in all the channel data).I know that the microcontroller has single ADC and multiple channel itself and it works very well when I use scan conversion mode. It imply that there is a very quick reset state in the ADC to restart measurement for next channel.So, I wonder how can I force to reset ADC measurement for the next channel in the coding and whether it is possible.
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.