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
General The stm32-vscode-extension extension for Visual Studio Code is designed to enhance the development experience for STM32 microcontrollers by providing a comprehensive and updatable set of tools. The extension pack allow users to install one single pack bringing a full STM32 IDE experience into VS Code. Breaking Changes Complete architecture redesign: The tool architecture has been split into three major building blocks with the purpose of creating a flexible, maintainable and updatable platform consisting of the following blocks: GUI, CLI tools and STM32 device support. GUI: The platform's single extension has been transformed into an extension pack, offering a more modular, updatable and flexible setup. CLI tools: A new bundle manager is enabling VS Code to download required CLI tools. This replaces the all-in-one STM32CubeCLT package. The bundle manager will provide developers flexibility, updatability and
Dear Team, We kindly request you to provide the compliance status for the below mentioned parts for REACH,ROHS,POP,PFAS,CALIFORINA PROP 65,TSCA and presence of 3TG minerals. STM32F051K8T6 (SEC014800000)STM32F051K8T6 (SEC014800000) (QIS230405SEC015300000/ STM32F030CCT6(SEC015300000/ STM32F030CCT6)(QIS230405JSEC015600000/ STM32F091CCT6STM32F030C8 (SEC015000000)LM219DTUC3843BD1
I am creating a commercial educational course for the STM32F103C8T6 microcontroller.My planned usage:Taking static screenshots of specific datasheet pages (register tables, timing diagrams, memory maps)NOT showing the entire datasheet — only essential pages (30-40 pages out of ~100)Narrating and explaining the content in my own wordsKeeping all STMicroelectronics logos and copyright notices visibleAdding my own annotations (arrows, circles, highlights)Providing links to ST's website for the full datasheetNOT redistributing the PDF fileMy questions:Is this allowed under ST's copyright policy for commercial educational content?Has ST ever taken action against any instructors for this type of usage?Do I need written permission from ST, or is this considered fair use?Example of similar usage (for reference):Hayducate learning website Thank you for your guidance.
Hi, is anybody able to confirm if the STM32H563ZIT3Q has an ethernet peripheral? Thanks, regards.
Hi everyone, I’m building an open-source desktop IDE for microcontroller learning and prototyping, mainly focused on Arduino and STM32. The goal is not to replace professional tools like STM32CubeIDE, PlatformIO, Keil or IAR, but to provide a simpler learning-oriented workflow for students, technicians and training centers. Current / planned features: Arduino and STM32 project creation Build / upload workflow Serial monitor and serial plotter STM32 debug with GDB/OpenOCD Register / memory / stack views Basic SVD peripheral view Static analysis with cppcheck / MISRA-light Coverage reports Crash / HardFault reporting Power profiling demo via UART/SWO-style events QEMU/Renode simulation experiments I’m looking for honest feedback: Would such a tool be useful for education or training? Which feature would be most valuable? What would make you trust or not trust this kind of tool? Would it be better as a VS Code extension, standalone IDE, or educational toolkit? What pain points do you h
So I have a series of PIN configured as Application and/or Boot only but, for some reason, the CubeMX generates the code on both main.h in Appli and Booti.e.I have PC0 set as Application only context but I found it in the Boot as well
I've been struggling with a strange ADC problem for a while, and have now made some interesting observations.The scenarioI'm using an STM32G474, where HRTIM directly controls a peltier driver for temperature regulation. Temperatures are measured by ADC4 (12 bit resolution), running in DMA circular mode, triggered by TIM7, at 1 kHz. This works. Temperatures are coming in, and are being used for PID regulation.The problemQuite often – perhaps always – some of the temperature readings are being disturbed, but only at certain temperatures. At first, I thought that it was random noise, but in a graph the noise looks strange. Not random at all.After monitoring the raw ADC values that the DMA has thrown into memory, I discovered something that might be a clue – or it might just be a source of confusion. Every time a noisy sequence occurs, the ADC readout jumps to a lower nearby value where the five least significant bits are all 1, i.e. xxxx xxx1 1111. This is not random noise. It is if as th
Hello! I am encountering some issues when trying to run 2-Lane DSI with an STM32H747.Current Hardware Configuration:MCU: STM32H747 (using the Cortex-M7 core)Display Driver: Chipone CO5300 OLED Display DriverDisplay Panel: Round TOH143XRT-01CG2 1.43" 466×466 AMOLEDInterface: MIPI DSI (adapted command mode) Issue I am experiencing:I have successfully implemented 1-lane DSI communication between the STM32H747 and CO5300 display driver. However, when I configure both the STM32 DSI host and CO5300 for 2-lane operation, the display is not responsive (black screen / nothing being displayed) The display pipeline works as follows:DMA2D → Performs 2D graphics operations and copies framebuffer data to SRAMLTDC → Reads framebuffer from memory, performs layer blending, generates parallel RGB pixel stream (HSYNC, VSYNC, DE, pixel clock, RGB data)DSI Wrapper → Converts LTDC parallel RGB stream into a format suitable for DSI hostDSI Host → Packetizes pixel data into MIPI DSI packets, seriali
Hello.I installed a new version of the IDE, exactly this:st-stm32cubeide_2.1.1_28236_20260312_0043_x86_64The problem is that the menu option "Manage embedded packages" is missing:I checked this on two computers with Windows 10.During the installation, there were no error messages.What can be done about this?
EVLSpin32G0B1 bord Program &Tools.
Hi,I am going to use PSSI interface to communicate with FPGA (unidirectional interface from FPGA to MPU). Is there some kernel driver example for PSSI available? Thanks!Alexey.
As in attached image, the build hammer icon is greyed out after importing project made in STM32CubeMX version -- 6.17.0 to CubeIDE version -- 2.1.1.I have selected tool chain as STM32CubeIDE in the Project Manager in CubeMX and after generating the code, i tried by opening the project from CubeMX as well as importing project to CubeIDE.MCU : STM32G474 series. Thanks for the help in advance.
Hi,I have a DMA2D issue with a STM32N6 Nucleo-144 board. I can use the DMA2D to blend two framebuffers if the inputs are in the AXISRAM1. However, when one of the framebuffers is in AXISRAM3 (NPU RAM), the DMA2D doesn't copy from the relevant framebuffer. There is no error, but the output is invalid.I can copy to the AXISRAM3 using HPDMA without any issue. I have configured the RISAF4/5/6; otherwise, I am unable to copy to AXISRAM3. This is the code to configure RISAF4/5/6 (NPU RAMs): __HAL_RCC_RISAF_CLK_ENABLE(); RISAF4->REG[0].CFGR = 0x00000000; RISAF4->REG[1].CFGR = 0x00000000; RISAF4->REG[0].CIDCFGR = 0x000F000F; /* RW for everyone */ RISAF4->REG[0].ENDR = 0xFFFFFFFF; /* all-encompassing */ RISAF4->REG[0].CFGR = 0x00000101; /* enabled, secure, unprivileged for everyone */ RISAF4->REG[1].CIDCFGR = 0x00FF00FF; /* RW for everyone */ RISAF4->REG[1].ENDR = 0xFFFFFFFF; /* all-encompassing */ RISAF4->REG[1].CFGR = 0x00000001; /* enabled, non-secu
Hello, I am using a B-G431-ESC1 board to power some BLDC motors. I have alrady used it succesfully to spin some 2 pole pairs BLDC using Hall sensors for speed control. I even managed to implement some code to stop the motor at every half rotation of the shaft. It worked flawlessly with this type of motor. Now, I tried connecting a different type of BLDC, still 2 pole pairs but thats all I know since I don't have the datasheet. The motor profiling part went as expected and it managed to calculate all the relevant properties of the motor. I saved it and implemented the Hall sensors as aux speed control for Hall profiling. The difference from the other type of motor is that this one has a 6-wire Hall connection. Using an oscilloscope, I found that the extra cable was likely for temperature, so I left it unconnected. However, I keep getting Pin not connected on the pin wher the same cable is plugged (the blue cable). Whether I put the blue cable on H1, H2 or H3, the board doesnt recognize
Hi, On STM32F746G-DISCO board I have a problem with USART1 (ST-Link VCP): - TX (PA9) works fine – I can send messages- RX (PB7) doesn't receive any characters and I think the board is not waiting for commands Tested both polling (HAL_UART_Receive) and interrupt mode (HAL_UART_Receive_IT). Pins are configured correctly. Did anyone have similar issue on this board? Any ideas what can block RX? Thanks! /* USER CODE BEGIN 2 */ HAL_UART_Transmit(&huart1, (uint8_t*)"Connected\r\n", 11, 100); HAL_Delay(100); HAL_UART_Receive_IT(&huart1, &rxByte, 1); /* USER CODE END 2 *//* USER CODE BEGIN 4 */ void ProcessCommand(char *cmd); void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { if (huart->Instance == USART1) { if (rxByte == '\n' || rxByte == '\r') { if (rxIndex > 0) { rxBuffer[rxIndex] = '\0'; // zakończenie stringa ProcessCommand((char*)rxBuffer); rxIndex = 0; } } else { if (rxIndex < 15) // zabezpieczenie przed przepełnieniem { rxBuffer[rxI
I have been working on porting a custom board using the STM32MP255F-AK.I performed the following tasks:- Used STMCubeMX to configure pins and other settings- Manually added the custom board-specific sections to the DeviceTree- Added the DeviceTree to the Distribution Package's meta-st/meta-stm32mp-addons/mx directory- Created a custom board configuration file and performed the build- Wrote the resulting TF-A and FIP images to an SD card and booted the system- Before performing this work, I verified the operation of STOpenLinux, which was created by modifying the STM32MP257F-DK Device TreeThe TF-A boots, but just before U-Boot starts, a register dump occurs repeatedly and the system stops progressingJudging by the error details, it appears to be a security-related error.Based on the address where the error occurred and the error ID,I tried making various changes to the .ioc and DT files, but the issue persisted.I suspect it’s a simple configuration mistake...What specific areas should I
Hi all,What is the recommended way to not crush our repository and dynamically pull/generate the project's Drivers and Middleware folders? For instance, our repository has both Bootloader + Application code projects in a repo (and other MCU projects/layouts for the same board).Is there something similar to Platform.IO (or C#'s NuGet packages) where the platform maintains those 3rd-party files in a volatile location and pulls them if they don't exist on your machine? Especially for the sake of not checking into the repo duplication of +15 MB worth of files for each project.Please excuse me if this was already asked. I didn't quite find a solid answer.I'm ok with making a command line script that auto-pulls them too, if that's a possibility.
We have a custom `STM32WL33CCV6` (`VFQFPN32`) board that should reach about `4 µA` in Deepstop, similar to the NUCLEO-WL33, but instead it drops only to roughly `450–500 µA` and appears to restart on Deepstop entry. `NRST` does not glitch low, and the behavior is unchanged with only `3.3V` and `GND` connected. We also tested direct `HAL_PWR_EnterDEEPSTOPMode()` with wake sources disabled, and it still appears to reboot rather than stay in Deepstop. We reviewed ST errata `ES0612` and applied the documented `VFQFPN32` workaround from section `2.2.9` for nonbonded GPIOs causing increased Run-mode current by forcing the listed nonbonded pins to pulldown at startup. That workaround had no effect on the Deepstop issue. The custom board’s `VFBSD / VLXSD / VDDSD / VDDRF` schematic and BOM appear close to the ST reference, so we are asking whether there are known WL33 low-power / SMPS / Deepstop pitfalls beyond errata `2.2.9` that could explain a persistent `~500 µA` floor or an apparent reset/
Hi all,I am trying to develop a bootloader software for STM32F765.I requires two features in it.1) jumping from Bootloader to Application2) jumping from Application to BootloaderI could make jump from Bootloader to Application very easily.But I am suffering with jumping from Application to Bootloader for 4-5 days now.The final code I tried is given below:void Bootloader_JumpToBootloader_Program(void) { void (*app_reset_handler)(void); __disable_irq(); SysTick->CTRL = 0 ; SysTick->LOAD = 0; SysTick->VAL = 0; HAL_RCC_DeInit(); HAL_DeInit(); /* 2) disable all enabled interrupts */ NVIC->ICER[ 0 ] = 0xFFFFFFFF ; NVIC->ICER[ 1 ] = 0xFFFFFFFF ; NVIC->ICER[ 2 ] = 0xFFFFFFFF ; NVIC->ICER[ 3 ] = 0xFFFFFFFF ; NVIC->ICER[ 4 ] = 0xFFFFFFFF ; NVIC->ICER[ 5 ] = 0xFFFFFFFF ; NVIC->ICER[ 6 ] = 0xFFFFFFFF ; NVIC->ICER[ 7 ] = 0xFFFFFFFF ; NVIC->ICPR[ 0 ] = 0xFFFFFFFF ; NVIC->ICPR[ 1 ] = 0xFFFFFFFF ; NVIC->ICPR[ 2 ] = 0xFFFFFFFF ; NVIC->ICPR[ 3 ]
Hello everyone,I'm using STM32CubeIDE 1.17.0 on Ubuntu 24.04.4 LTS.Sometimes when I build or open a project, the IDE crashes and I get the following error message:JVM terminated. Exit code=143 /opt/st/stm32cubeide_1.17.0//plugins/com.st.stm32cube.ide.jre.linux64_3.4.0.202409160955/jre/bin/java -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/STM32CubeIDE/workspace_1.17.0 -Declipse.buildId=Version 1.17.0 -DproductMaturityGrade=mm -Djdk.http.auth.tunneling.disabledSchemes= -XX:+UseG1GC -XX:+UseStringDeduplication -Xms256m -Xmx1024m -jar /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher_1.6.600.v20231106-1826.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /opt/st/stm32cubeide_1.17.0/stm32cubeide -name Stm32cubeide --launcher.library /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.800.v20231003-1442/eclipse_11802.so -startup /opt/st/stm32cubeide_1.17.0//plugins/org.eclipse.equinox.launcher_1.6.600.v20231
Hello, I'm updating an ST25R3916B project to use the ST25R300 due to the obsolescence of the Murata variable capacitor. This project is read/write of ISO15693 tags only, no card emulation or anything fancy. It uses one IC which is then multiplexed with relays to 20 different antennae, each about 2cm square. The tag that we're reading is about 2cm by 1cm, and has been working reliably. So for this update I start by finding all the reference designs, and I saw this little gem, the STEVAL-ALOCKCB. It looks like it has an antenna the same size - how do I get more information about it? Can you please post the dimensions, or even better just send me the Altium files and I can get it out of there cleanly. Reference designator on there is ANT700.Also one question on that design - on PDF page 8 of the schematic it has the filter and antenna match but it looks like it's duplicated on both sides of the connector - why? Is that in case someone wants to use a different antenna at t
Hello,I am using STM32CubeAI Studio with the NUCLEO-N657X0-Q board.Board:STM32N657X0H3QNUCLEO-N657X0-QTools:STM32CubeIDE 2.1.1STM32CubeMX 6.17.0STM32CubeProgrammer 2.22.0STM32CubeAI StudioI generated a project from STM32CubeAI Studio and tried to run/debug it, but flashing always fails.Main error:Error finishing flash operation failed to erase memory Load failedDetailed log:Erasing external memory sectors [16 19] Error: failed to erase memoryAdditional information:ST-LINK FW : V3J17M10 Board : NUCLEO-N657X0-Q Device name : STM32N657 SWD freq : 8000 KHz Connect mode: Hot Plug Reset mode : Software resetI already tried:Full chip erase using STM32CubeProgrammerUnder Reset modeLower SWD frequency (4000 / 2000)Regenerating projectRebuilding FSBL and ApplicationReconnecting USB powerCreating a new CubeAI Studio projectHowever, the same error still occurs.Could this be related to:external XSPI flash loader,STM32CubeIDE version compatibility,CubeAI Studio generated partition layout,or ST
I don't know id this is normal, but I got one of those cheap Chinese ST-Link clones. It worked at first when I plugged it into my PC and installed the drivers and STM32 Utility.I tried connecting my MCU to STM32 Utility, but at the time I didn’t realize my MCU is an Artery one, not STM32. It still connected though, and when I tried to program it, I got an error saying “ELF loader not available.” I didn’t really know what that meant since I’m still pretty new to this stuff.After that I started messing around with the option bytes settings, and I might’ve changed something I shouldn’t have. I don’t remember exactly what I did, but after that my ST-Link stopped working.Now the LED on it is red, while I’ve seen other people say theirs is blue. From what I read it might be a driver issue, but I’m not sure. I even bought another ST-Link clone and it does the same thing, just red light and no connection.When I try to connect in STM32 Utility, I get an error, whether the target is connected or
IN short, it's not working. I normally use the standard (not x-cube) and L5 processors. I'm going to the U5 processors for a larger project. I've gone to Cube MX 6.17.0 and CubeMXIDE 2.1.1. Starting with a blank project, I configure the pins as usual and enable xcube-FreeRTOS. Go to CubeIDE, and without FreeRTOS, everything compiles properly. With FreeRTOS, I get 237 errors, some understandable, and some of the following: ./Middlewares/Third_Party/FreeRTOS/Source/include/task.h:34:6: error: #error "include FreeRTOS.h must appear in source files before include task.h" 34 | #error "include FreeRTOS.h must appear in source files before include task.h" | ^~~~~ In file included from ../Middlewares/Third_Party/FreeRTOS/Source/include/task.h:37: ../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:62:6: error: #error "FreeRTOS.h must be included before list.h" 62 | #error "FreeRTOS.h must be included before list.h" | ^~~~~ ../Middlewares/Third_Party/FreeRTOS/S
Hi i have a board with STM32F4 and an EMMC. And I am using FATFS. I managed to enable the STM32 RTC and added the necessary code in get_fattime(); There is one problem stil: under windows "created" and "modified" date are shown corerctly. But "accessed" date is wrong. See attached image. Any clue what is going wrong? Thx
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.