Developer support experience survey - We value your feedback
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 Installed STM32CubeMX v6.17.0 with STM32MP2 Software Pack 1.3.0.I see that code generated for CA35 differs from the one generated by the previous version of STM32CubeMX v6.16.1. By the diff below I see that 6.17.0 expects Yocto tree version openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18:- model = "STMicroelectronics STM32MP257F-DK STM32CubeMX board - openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11"; + model = "STMicroelectronics STM32MP257F-DK STM32CubeMX board - openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18"; These are not the only differences between CubeMX versions, there are more in the .dts/dtsi definitions.In the Project Manager window I see that the OpenSTLinux Manifest version is set to openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18.However I'm not planning to switch to Yocto openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18 just now.Is it possible to use CubeMX v6.17.0 with the older Yocto tree version openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11? Regards
Excited to see a new connector on new STM32 Nucleo 144 boards like the Nucleo-H5E5ZJ. Is the Connector intended for customers to design their own modules only, or will ST offer a module as well? PS: I still hope to also see a Qwiic connector, or at least a footprint for it, on Nucleo boards some time in the future.
Hello!I've was following this tutorial on Jtag locking for stm32h573RI using j-link. link to tutorial: How to enable RDP-like product state flash protect... - STMicroelectronics CommunityI made it to the updating the product state to 17 and was in the process of reconnecting under hot plug mode, however I didn't have success reconnecting. I get these 4 errors: To Note: I was able to flash initially with no issues. I've been trying to update the jlink version on the stm32cubeprogrammer and have had no luckI have updated my jlink version locally to 9.18vThank you for the any suggestions :D
One small issue I have. I have a custom STM32F411CEU6 board, quite similar to the WeAct Black Pill in terms of connections, except for the fact that I have a LED on pin PB13, and whenever I try to blink it using:while (1) { /* USER CODE END WHILE */ HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_13); HAL_Delay(500); /* USER CODE BEGIN 3 */ } in the STM32CubeIDE, everything works fine and dandyThe moment i switch to using the Arduino Framework, albeit with the Arduino IDE or PlatformIO, with parameters of:platform = ststm32 board = genericSTM32F411CEusing the code:#define LED PB13 void setup() { pinMode(LED, OUTPUT); } void loop() { digitalWrite(LED, HIGH); delay(1000); digitalWrite(LED, LOW); delay(1000); }or anything similar, it just doesn't work! It always says the upload is successful, and it verifies successfully too! But why then, it refuses to work? Any suggestions?
Can Mesh network be implemented on a STM32 WB05KZ? If yes, how? I don't see any available examples in the STM32CubeWB0 MCU package.
Hi everyone,I’m working on an STM32U5G9 using USBX + ThreadX.I was able to make the device work as:MSC onlyCDC-ACM onlyMSC + CDC-ACM simultaneouslyThat part is fine. What I need now is more dynamic behavior: start the device as MSC, and when a button is pressed, stop USB, change the class to CDC-ACM and restart it (long term I’d like to switch arbitrary combinations of classes, but for now switching from MSC to CDC-ACM is the goal.)From what I understand, I must stop USB so the host will re-enumerate using the new device descriptor, and I’m OK with that. However, every approach I tried ends in a HardFault when I restart with the other class. I suspect I’m missing a call or doing things in the wrong order.How I start the device (this works):/* Start device with MSC only (initial boot) */ /* First I insert CLASS_TYPE_MSC is "UserClassInstance" variable in ex_device_descriptors.c (not shown here), then: */ ux_device_stack_initialize(...); /* Register MSC-only */ ux_device_stack_class_regi
Current Setup:MCU: STM32H7 with FreeRTOSToolchain: VSCode + STM32 VS Code Extension + ST-LinkThe Problem: Currently, the STM32Cube RTOS panel and the RTOS STATE view only update when the debug session is paused. When the CPU is running, the RTOS table either shows "No RTOS detected" or is filled with ??? and 0x????????.For a complex H7 project with LwIP and multiple tasks, I need to monitor stack usage (especially EthIf which has hit 0B free stack) and task states in real-time to catch the exact moment of a crash that occurs after 1 hour of operation.Questions for the Community:VSCode Limitation: Is there any hidden setting in the official STM32 VS Code Extension to enable automatic/live refreshing of the RTOS thread table while the CPU is running?Alternative Extensions: Are there any 3rd-party VSCode extensions (e.g., Cortex-Debug with specific RTOS scripts) that support live RTOS kernel awareness better than the official one?Alternative IDEs: If VSCode cannot do this, which IDE (Keil
Hello,What is the correct layout for the .tsv file for the STM32N6 with application?In this tutorial the FlashLayout.tsv is shown, however it only has the FSBL program in it. I cannot figure out what Id to use for the Appli (also Appli non secure), i tried 0x05 but i get error:Error: unable to get the associate alternate setting of partition ID: 0x 5 Error: please make sure that your alternate settings have string descriptors with the right format Error: unable to switch to partition with index: 0x05This document describes the Id's but i don't think that any of them apply, and the document is for the MPU's anyway.Thanks!
Hello, I have a question about STM32CubeMX regarding the STM32U5G7VJT6 MCU.STM32CubeMX 6/17.0 indicates that a non-existent SMPS power supply must be enabled for the STM32U5G7VJT6.However, this is the version without the 'Q' specified in the part number:Q = Dedicated pinout supporting SMPS step-down converter.When I call SystemPower_Config(), the microcontroller does not work; without calling this function, it works fine.Is this a bug in the STM32CubeMX, assuming only Q versions of this MCU exist?Best regards, Jack
Hello ST experts,I configured an STM32H745 dual core to read data from ADC1/ADC2 in dual mode. I dedicated the M7 core to initialize ADCs, timer and DMA. But after running the code it seems that the ADC is not working either DMA. I used the similar code on the STM32H750 single core. The code is correct.I think I have to configure extra settings for dual core such as managing the memory. Could you please help me.The DMA is in circular mode with "Word" data length.TIM2 triggers the ADCs.
Hi ST team,Is VREFINT in STM32C011F4P6 internally fixed and stable, independent of VDDA fluctuations?If VDDA fluctuates (for example due to LDO load or battery discharge), will the ADC raw readings change proportionally because ADC reference = VDDA?Is it officially recommended for STM32C0 users to read VREFINT periodically and compute real VDDA to correct all ADC channels, especially when VDDA is not stable? Example : - ADC accuracy change if VDDA fluctuation like 3.3v to 2.9v. ? or it can take ref from Vrefint ?
I am working with [STM32F439ZI] and I am trying to initialize SDIO in 4-bit mode.I'm following "STM32 – Creating a File System on a SD card" this video for reference.However, SDIO initialization is failing during the power-on phase.The error occurs during HAL_SD_Init()The failure happens inside the power-on initialization sequenceThe function always returns an error statusThe board is currently tested using the DATA3 line only (this is the only difference from a standard setup)Even when I modify the function / test return values, the error still occurs at power-on initializationI changed the function for card detect so that the return status is always "card present".The error occurs inerrorstate = SDMMC_CmdAppCommand(hsd->Instance, 0);if(errorstate != HAL_SD_ERROR_NONE){return HAL_SD_ERROR_UNSUPPORTED_FEATURE;}}This function returns a CRC error.I have attached the hardware changes I did along with the clock config settings and sdio settings. Please help me resolve it.
I am trying to create a signal that changes its frequency in dynamic way using timers but i am having some issues to do it can anyone give me some tips for easy implementation to do this task
We are pleased to announce that STM32CubeIDE 2.1.0 release is available. What is new in 2.1.0: Added support of STM32C5 series Added support of new microcontrollers across the STM32WBA, STM32WL, STM32H5, STM32U3 and STM32F7 series Added support of new boards: NUCLEO-C542RC, NUCLEO-C562RE, NUCLEO-C5A3ZG, NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, STM32H5F5J-DK, and NUCLEO-U3C5ZI-Q Support of auto-refresh on imported projects (created initially outside CubeIDE): The updated project source code is auto refreshed at STM32CubeIDE side Support of CMake presets: Providing an easy way to configure the CMake-based project using a JSON file Support of GCC 14 toolchain as default toolchain: Libncurses5 is no longer needed for GDB on Linux Support of Apple® Silicon with ARM64 architecture: Performance enhancement Update to STARM-Clang 21.1.1: Improving code quality, diagnostics and standards conformance Main fixed issues in 2.1.0: Refer to the STM32 microcontroller wiki at: https://wiki.st
We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 series Added support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, STM32H5F5J-DK, and NUCLEO-U3C5ZI-Q Added the Start From Board feature for NUCLEO-U3C5ZI-Q, NUCLEO-H5E5ZJ, and NUCLEO-WBA25CE1 Added support for new features: PLAY on STM32H5 devices with 4 Megabytes of flash memory HSP on STM32U3 devices with 2 Megabytes of flash memory STM32CubeMX Notification Service: allows users to subscribe to notifications, updates, or premium content when downloading or installing STM32 software. The subscription to this service is entirely optional and is not mandatory for downloading or installing the software. Enhanced the memory management tool for the STM32N6 series Implemented the use of the CMake build generator with STM32MP2 projects Enhanced the build process using C
Hi Does ST have any WIFI chip with FTM? Thanks
I'm working on my first development projects on the STM32H755, which has two M7 and M4 cores. I need to display the printout on the ITM console while debugging. For example:The main.c file of M7 has the following code:..... while(1) { printf("Welcome Cortex-M7\n"); HAL_Delay(2000); } .....The same is true in the main.c file of M4 with the following code:..... while(1) { printf("Welcome Cortex-M4\n"); HAL_Delay(1000);} .....Before debugging, I configured the ITM console with SWV on the STM32CubeIDE environment, following the YouTube video:https://www.youtube.com/watch?v=Zwylu6ma9gU https://www.youtube.com/watch?v=k3mXhPZSasw Then I enabled SWD to both the M7 and M4 cores in the Debugger option with the same clock frequency (64.0 MHz), port 0 for the M7 and port 3 for the M4.Based on this configuration, during debugging, I see the "Welcome Cortex-M7" character printed, so debugging for the M7 is working correctly. However, I don't see the "Welcome Cortex-M4" character printed o
Hello,When I try to change the supply source in power parameters STM32CubeMX 6.17.0 does not seems to generate anything when LL is selected. With HAL the configuration is changed in the generated code. Am I missing something ?Thank you for your help !
Using DMA to read 3 ADC channels. IN0, VSENSE & VREFINT all enabled in CUBEMX. First 2 channels read as expected but for VREFINT it seems to always read zero. Am I missing a setting in the CUBEMX?
I'm trying to use LCD16DebugPrinter to display debug text on a 480x480 RGB565 display running on STM32U5A9J-DK (circular display). I've set it up in TouchGFXHAL::initialize():static touchgfx::LCD16DebugPrinter debugPrinter; debugPrinter.setPosition(0, HAL::DISPLAY_HEIGHT - 20, HAL::DISPLAY_WIDTH, 20); debugPrinter.setColor(touchgfx::Color::getColorFromRGB(0, 0, 0)); debugPrinter.setScale(1); touchgfx::Application::setDebugPrinter(&debugPrinter);And in my view's handleTickEvent():static char debugStr[128]; snprintf(debugStr, sizeof(debugStr), "TICK TEST"); touchgfx::Application::setDebugString(debugStr);Nothing appears on screen. Things I've already ruled out:String buffer lifetime - using static char[] So the pointer remains validColor contrast - white background, black textWidget conflict - disabled all custom widgets, issue persistsHow it is supposed to work?
Hi ,I am creating an LCD test project for the STM32N6570-DK using STM32CubeMX and STM32CubeIDE.I have started the cube mx project by selecting 'Access to board selector' menu from the cube mx. After enabling the LCD (LTDC) peripheral and generating the project, the build fails because required BSP files are missing in workspaces.The error observed is:fatal error: stm32n6570_discovery_conf.h: No such file or directory#include "stm32n6570_discovery_conf.h"The error is caused by:#include "stm32n6570_discovery_conf.h"#include "stm32n6570_discovery_lcd.h"#include "stm32_lcd.h"However, CubeMX does not generate or populate the required BSP LCD files and dependencies automatically. Fixing one missing file leads to additional LCD-related build errors, indicating incomplete code generation.Please let me know solution for this other than copy in all the required files manually. I looking for solution related to stm cube mx.
Hello,I am using the EVALSTDRIVE601 evaluation board (featuring the STDRIVE601) to try to generate a controllable three-phase signal. I wired the evaluation board exactly as described in the datasheet:HV and PGND (J1 connectors): Connected to the DC voltage source.SGND and VCC (J3 connectors): Connected to the ground and output of a buck converter that steps down 24V to 12V.VDD: Connected to the 3.3V of the MCU.Pin 1 (Fault): Connected to the MCU to read this value and detect fault conditions.Pins 3, 5, 7, 9, 11, and 13: Connected to the SPWM signals. I am generating these using a Compute Module 4 with a switching frequency of 10kHz and a modulating frequency of 50Hz.Pin 23 (Enable): Connected to the MCU, providing 3.3V to activate the driver.Pin 2: Connected to the GND of the MCU.Pin 28: Connected to the 3.3V of the MCU.Test 1: 24V DC with LC Filters I initially tested the board using an external 24V DC power supply. At the output (J2 connectors), I wired an LC filter (L = 680mH, C =
Dear Sirs, we had a project with the F2 using HAL_I2C_Master_Sequential_Transmit_IT() with Option I2C_FIRST_FRAME and a second HAL_I2C_Master_Sequential_Transmit_IT() with Option I2C_LAST_FRAME.All worked perfect.Using this Software with a F7 did not work. After the first HAL_I2C_Master_Sequential_Transmit_IT() with Option I2C_FIRST_FRAME a STOP-Condition occured and transfer stopped. After hours of debugging through the HAL it turned out that I2C_FIRST_FRAME does notz set the RELOAD bit but I2C_FIRST_AND_NEXT_FRAME does and all workes fine.So my question is: What is the usage of I2C_FIRST_FRAME in a F7 context, becuase it sets AUTOEND and nothing else. So how can be I2C_FIRST_FRAME the correct option for a sequence of frames?best regardsAndy
HiI'm trying to configure a camera chip NVP6324 (Nextchip) in the device tree. How to setup 4 virtual channels ? The chip is using MIPI with 2 lanes.Best RegardsRaimo
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.