Get ready for the STM32 Summit 2026 | Online, November 3
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Hello,I am using STM32CubeIDE Version 2.1.1 and I am experiencing a debugging issue.After flashing new code and starting the debugger, the variable values displayed in the IDE are sometimes completely incorrect. However, I am also transmitting these values via CAN, and the values received there are correct. Because of this, I suspect that the issue might be related to the IDE or the debugger rather than the firmware itself.This behavior only occurs when the board has just been connected to power or has been without power for some time. After the first debug session, if I flash the firmware again and start another debugging session, all values are displayed correctly.In other words, the problem consistently appears during the first debugging session after a power-up, while subsequent debug sessions work as expected.I have attached a screenshot showing the incorrect values displayed in the IDE.Has anyone experienced a similar issue or knows what might be causing this behavior?Thank you i
I have started a project in stm32g484. I have understood the concept of the HRTIM.i have reviewd the example projects also.I have a question regarding the Configuration of the HRTIM.I am not able to understand on what basis the Compare Unit1,Compare Unit 2,Compare Unit 3,Compare Unit 4 is being filled up.Can anyone please tell me.How to configure and on what basis we should fill the values? Is there any pdf related to the HRTIM configuration.
It seems odd that this semaphore doesn’t apply across the entire STM32WB family. Is this really the case, and if so, why?
In the STEVAL-MKI183V1’s data brief sheet it’s saying that it uses LPS33HW product family barometer sensors. But when you click on the linked web site of the LPS33HW product it takes you to LPS28DFW’s ST web site. So is the board got update and it now uses LPS28DFW or is it a mistake? If it’s a mistake; where is the LPS33HW’s web site? Because i can’t find it on web. There is no website for LPS33HW on ST that i can find datasheet of it.If there is someone knows that answer please let me know.
Hello,I have two issues with the octospi controllers of the STM32L4P5.First issue.I can’t get both controller to work simultaneously.My target was to use one controller with a QSPI flash (W25Q512JVEIQ) and the second one with an APMemory QSPI PSRAM (APS6404L).I started the project by getting the code to work (it was a port from an STM32L496 project) for the flash.After some adjustments, the code works properly in quad spi mode.Then I added the second controller and doing that brokes the project.The second controller works, but the first one stopped working.I run some checks with a logic analyzer and found that ther is no signals on the I/O lines.CS# is HIGH and never goes low and there is no clock.CS# and clock are properly generated for the second controller.Second issueI can’t get the memory mapped mode to work.The mode is p^roperly enabled, I can read data from 0x90000000 without throwing a hard fault, but data is always 0.I’m wondering if this could be related to the flash model.It
I want to design my own UART and JTAG programming interface for the STM32C562RE controller, as well as for an external programming setup. However, I have not been able to find any relevant application notes or reference designs. Could you please help me with the required documentation or guidance?
I have an older v1.0.0 installation that works fine, but the newer v1.1.1 freezes up on launch and does not respond to mouse or keyboard input. 2026-08-14T09:04:40.380Z [Error] Could not initialize contribution TypeError: Cannot read properties of undefined (reading 'onChanged') at g.initializeEventWatchers (file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js:92134:94886) at g.initialize (file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js:92134:94735) at file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js:92524:49789 at r.startAsync (file:///home/user/.local/share/STMicroelectronics/STM32CubeMX2_1.1.1/resources/stm32cubemx-application/1.1.1/dist/resources/app/lib/frontend/bundle.js
I am using Azure RTOS NetX Secure / NetX Duo on an STM32U585 for TLS client communication and would like clarification regarding certificate chain verification.I have the following scenario:The TLS server sends a valid server certificate. The server also sends an expired intermediate CA certificate as part of the certificate chain. The client has a valid copy of the same intermediate CA certificate stored locally and added using nx_secure_tls_local_certificate_add(). The trusted root CA is also configured in the TLS trusted certificate store.During debugging, I observed the following:_nx_secure_tls_process_remote_certificate() correctly parses the certificates received from the server. Wireshark also confirms that the server is sending the expired intermediate certificate. _nx_secure_x509_remote_endpoint_certificate_get() correctly identifies the remote endpoint certificate. During _nx_secure_x509_certificate_chain_verify(), NetX calls:_nx_secure_x509_store_certificate_find() to locate
Hey,I have some questions. First, why does the installer install the app below ~/Library/Application Support?This location is for the support files of an app, not the app itself. The installer, however, puts everything there, including the .app BundleImprovement: Please move the .app Bundle install location to /Applications or ~/Applications. Supporting files then belong in the aforementioned path. Second, why can the .app Bundle not be started on it’s own? When I open it, it loads a splash screen with a progress bar, but when the app windows comes up all it shows is a loading circle. To really start CubeMX2 you HAVE TO use the startup binary which the installer also provides, but there is currently no way to just start the app from the launcher.This is very bad as it goes completely against the way 99% of how Mac users launch apps. CubeMX1 does this correctly, why is that such a step backwards with CubeMX2 ? Because currently, after installing the app there is no way to start it from
Hello everyone,I am currently working on a project on STM32F756 with SAI1A as asynchronous master and SAI2B as synchronous slave.Config :TDM Mode frame length 256, data size 32, slots 8 Freq 96k Fifo threshold full Master ext sync out enable Slave sync with SAI1Then in my code I call HAL_SAI_Transmit_DMA for Slave then for Master but the Slave sends its data 5 us before the master because BCLK and FS clocks are always active.So the Slave does not wait for the master to have its buffer ready. They should be synchro with this config right ? Is there a way to have perfect sync between both SAIs ? Thanks
Hi everyone,I am working on a project using the STM32WB55RG and would appreciate some guidance on integrating the STM32WB BLE stack into an existing FreeRTOS-based application.Current SetupMy project currently uses:MCU: STM32WB55RG RTOS: FreeRTOS with the CMSIS-RTOS2 API Configuration/code generation: STM32CubeMX An existing firmware application that is already functional and uses multiple FreeRTOS tasks, semaphores, flags, etc.At this stage of the project, changing to another RTOS or converting the application to bare-metal is unfortunately not an option, so I need to integrate BLE into the existing FreeRTOS/CMSIS-RTOS2 architecture.BLE RequirementsI would like the STM32WB55 to support:BLE advertising Another BLE device should be able to connect to the STM32WB55 and retrieve data from it, most likely through a custom GATT service/characteristic.ProblemI enabled BLE using STM32CubeMX and generated the required BLE code.However, I am having problems when initializing the BLE application
Hi,I’m trying to run a simple FSBL application from NOR flash on a custom STM32N657L0 board. The application runs without any issues in Dev-Mode from RAM. However, when I sign and flash the same application, it does not run.I’m using a custom external flash loader for the W25Q64JV NOR flash, based on the template provided in the STM32Cube repository. I’ve attached it for your reference.I also have a question regarding VDDCORE. It is currently set to 0.89 V, while we are operating in normal-speed mode. Should we reduce the voltage to 0.8 V? Could the current VDDCORE setting be a potential cause of the problem?General info:Board is working with 3v3 domain XSPI2 is used. HSE with no PLL is used (48MHz).I have used the following the guides provided by ST for the tests:
Greetings for the day,I am working on STMC5 microcontroller and with that since we need to use the STMCubeMX2 for code generation, I end up generating a code that doesn’t have all the peripherals initialised in mx_system.c and not included in mx_hal_def.h. Any idea why that is happening ? Am I missing some configuration in the tool ? It can be seen that mx_hal_def.h doesn’t contain all the peripheral headers. This is the issue.
I have been chasing a very intermitant issue with some STM32L100 based products.The problem shows itself with the MCU being reset by the WDT part way through the initialisation sequence.This issue only displays itself when the MCU has reset itself using NVIC_SystemReset();E.G. the program flow is as followsRunning programNVIC_SystemReset(); is calledMCU resets and goes through the init section in main.cpart way through the init section, it locks up and the wdt resets the mcu. Once it has started to do this, it can stay in this reboot loop until you re-power the MCU OR it can recover after only one reboot. There is no pattern to how it recovers without a power cycleThis does not happen when you power up the mcu, it only happens when the mcu has been reset using NVIC_SystemReset();Plugging in a USB cable into the board and a pc stops the reboot cycle. (no app on the pc needs to be using the usb com port) We have several thousand products in the field and we come across this issue once e
Are there any more resources to understand how to use STEVAL-HARVEST1, how does the energy flow from super capacitors to the MCU and also the back up capacitors. I feel few things are missing the schematic and the user guide. I want to first implement a small UART program with energy harvesting. Can anyone guide through steps in achieving it. How to connect this to board, does it mean I need to add any external wire from harvester solar panel and short it here?I have read https://www.st.com/resource/en/user_manual/um3539-getting-started-with-stevalharvest1-energy-harvesting-board-for-nucleowl55-stmicroelectronics.pdfhttps://www.st.com/resource/en/schematic_pack/steval-harvest1-schematic.pdfhttps://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=11369460Thanks in advance.
Hello,I am currently working on a drone project based on the STEVAL-FCU001V2 board. My hardware setup consists of:Motors: 4x 8520 Coreless DC motors (3.7V).Battery: 1S LiPo 600mAh (30C).Frame: Custom micro-drone frame (~60g AUW).I am looking for a reliable and fully functional firmware (source code or .bin) that is compatible with the latest mobile application for flight control of STM.I’ve noticed that the original ST Drone (or ST BLE Drone) application sometimes has connectivity or stability issues with recent Android/iOS versions.My questions are:Is there a specific version of the STSW-FCU001 firmware that you recommend for best stability in 2026?Is the "ST Drone" app still the official way to fly this board via BLE, or is there a community fork or a newer ST app recommended for this specific FCU?Are there any known patches for the PID values or PWM frequency (specifically for 8520 motors) to improve the hover stability?Any advice, GitHub links, or updated STSW packages would be gre
Hi, I have a custom product/board that has an embedded STM32L433. The STM32 is powered with an external battery. It is also connect through USB to a COM board that runs Windows. The COM controls the boot0 and reset pins of the STM32 which allows me to update the chip using CubeProgrammer API. I created a custom application in C# that worked fine until I tried to activate RDP level 1. Since I cannot do a POR, I implemented the activation of RDP in the STM32 software using the enter standby mode method. When I try to update with the RDP already active, I use the connectDfuBootloader2 method with rdu = true. This properly downgrade RDP from level 1 to level 0 and I am able to update the STM32 using the downloadFile method afterward. The issue is that after downloading the new software, the STM32 gets stuck in bootloader. The only way to get it unstuck is to call another time the connectDfuBootloader2 with rdu = true. This does not downgrade the RDP level, it only restarts the STM32 which
Hello everyone , I was reading in the power controller section 5 in RM0368 , I had some difficulties understanding some terms and distinctions and I would like your support please . The main goal ifor me is to categorize each group of functionalities by their power source as as being Digital VDD , Analog VDDA , VBAT powered . According to figure 7 page 71 : The analog domain is ADC , RCs and PLLs and .. etc , I would like to know a complete list of the rest of functionalities associated with the analog Domain , Even in DS9716 Page 18 section 3.13 third Bullet it specify a partial list of blocks but it includes “Reset Blocks” , what does reset block refer to exactly can i conclude safely its the POR , PDR , BOR , PVD blocks exactly or that is not correct or partial .Regarding digital domain the word “digital” does it mean “Digital peripherals” ? Why “IO Logic” different from “GPIO peripheral” being a part of digital peripherals ?For VBAT , what is the functionality of “wakeup logic
Title: Hello,I am investigating BootROM behavior on an STM32N6570-DK.My expectation is based on the STM32N6 BootROM documentation and errata:- PG10 is used as BootFailedn in blocking failure conditions.<sup class="chatgpt-doc-sup"><span title="ES0620-STM32N6_Rev4.pdf, page 7" /></sup>- There is a known erratum: “PG10 (BootFailedn) signal not maintained at 1 during blocking failure”, with no workaround listed.<sup class="chatgpt-doc-sup"><span title="ES0620-STM32N6_Rev4.pdf, page 7" /></sup>Observed behavior on my board:- If the content of the OctaFlash is erased, I do not receive the expected serial BootFail-related output on PG10 / USART5_TX.- Measuring PG10 with an oscilloscope, I see a ~4.3 MHz square wave instead.- I observe the same square wave again after setting BOOT1=1 and BOOT0=0 and then resetting the board.Additional context:- I found guidance that Development Boot mode can be relevant for programming/erasing external flash on STM32N6570-D
Hi,I have custom PCB with STM32WB5MMG, which has STM32WB55VGY. I want to update FUS and software stuck and I would like to confirm which start address is the correct one. Should it be the one from the column STM32WB5xxG(1M) (as the chip is STM32WB5MMG) or the one from column STM32WB5xxY(640k) (as the MCU is STM32WB55VGY)?
Hello everyone,I am trying to use TLS 1.3 with Mbed TLS on an STM32H573 through the Secure Manager’s Global PSA API.At the moment, I am seeing the following errors: psa_sign_hash() / psa_sign_message()→ PSA_ERROR_NOT_PERMITTEDpsa_generate_key() / psa_import_key()→ PSA_ERROR_GENERIC_ERRORThe persistent ECC keys are provisioned with the required signing permissions, and both the Secure Manager and the non-secure application start correctly.Some TLS 1.3 HKDF operations had to be implemented locally because the PSA Crypto API version in use is 1.0 and does not provide separate HKDF-Extract and HKDF-Expand algorithms.My questions are:Are persistent ECC keys supported with psa_sign_hash() through the Global PSA API? Does the Secure Manager support volatile keys with psa_generate_key() and psa_import_key()? Are additional permissions or a Secure Module required? Is there a support matrix or an official TLS 1.3 example for this setup? Does anyone have experience with Secure Manager and MbedTLS
Hi,I recently erased the external flash of my STM32N6570-DK board while experimenting with STM32CubeProgrammer, and I'd like to restore the original out-of-the-box demo (the multi-application menu demo with image classification / pose estimation / face detection etc.).I found the "n6-ai-demos" entry under Tools & Software on the product page, but clicking "Get latest" leads to a 404 page not found error.Could someone please:Confirm whether this link is currently broken on ST's side, or Share a direct working link / attach the "STM32N6570-DK Out-of-the-box demo binary" fileBoard info:Board: STM32N6570-DK, Revision ID Rev Z Device ID: 0x486Thanks in advance!
Hi,We are currently using the STM32H563ZIT6 microcontroller in our project. We would like to obtain the FIT (Failure In Time) / reliability data for this device for our reliability and FMECA analysis.Please share the latest available reliability data or the relevant ST document/reference.Thank you for your support.Best regards,Geetha Thota.
Does ST still produce the IMU LSM6DSVDTR and what is the different between LSM6DSVTR and LSM6DSVDTR?
Hello everyone.My fight with STM32H7R7 continues.I'm trying to get the simplest example of triggering the EXTI interrupt on an STM32H7R7I8T6. I've run this thousands of times on other H7 series MCUs and never had any problems. I have a button and an LED connected to the MCU as shown in the diagram.Pin PC11 configured as below:/*Configure GPIO pin : PC11 */GPIO_InitStruct.Pin = GPIO_PIN_11;GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;GPIO_InitStruct.Pull = GPIO_NOPULL;HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);/* EXTI interrupt init*/HAL_NVIC_SetPriority(EXTI11_IRQn, 0, 0);HAL_NVIC_EnableIRQ(EXTI11_IRQn); I added to the Callback code as always:/* USER CODE BEGIN 4 */void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ if(GPIO_Pin == GPIO_PIN_11) { HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_12); }}/* USER CODE END 4 */ Optionally, I also added lines in the Callback itself:/* USER CODE BEGIN 4 */void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ if(GPIO_Pin == GPIO_PIN_11) { HAL_GPIO_Togg
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.