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
So along time ago I created a very helpful program using an STm32H743ZI nucelo board. Then - STM discontinued that board -- GRRRR The recommended solution was:NUCELO-H755ZI-Q - so I purchased 4 of these. PROBLEM there are no usable examples in the STM32 cube suite that works with this board. I need to port my old STM32H743 code to this new chip GRRR Ok that should be easy. Turns out there is a huge problem with using this board because of the power supply, the key feature I need is exactly the ETHERNET interface. BUT - cubesuite does not have a ETHERNET example I can start from.. ie: that properly initializes the board to run at "some fast speed (i do not really care, speed is not important, I just need the 100mbit ethernet to work). The specific problem I had was I programed my board and evidently it locks the board up hard, jtag no longer works. The solution is to use a jumper force the chip into "BOOTLOADER MODE" then JTAG works again and I can flash-erase the chip via JTAG. I do no
Hello, I was using CubeMX with CubeIDE and since the release of CubeMX2, VSCode is promoted as the go-to.At the same time, CubeIDE got an update to importe Cmake project. What are the plans ?Will MX2 continue to support CubeIDE with Cmake only ? Will CubeIDE project exports be added to MX2?Or will VSCode be the main target for MX2?In sumary, which workflow will be the best for future dev since ST seems to refactor its whole ecosystem ?
This software has started reporting memory issues and wanting to close every few minutes. This never used to happen until I updated to 2.0.0 and I wrote a bunch of code in a fairly large project this week. I have tried all the suggestions that I could, ending in updating to 2.1.1 and it doesn't go away.I tried updating the memory usage to 6GB of RAM (in steps) in the file stm32cubeide.ini (-Xms and -Xmx). I deleted a bunch of folders in the /Users/xxxxx/ directory that started with .stm which worked for another person on this forum.I can't do my work anymore. This software has become unusable! I really don't know what to do to get it back to the way it has worked for the past decade.Any advice would be greatly appreciated. If I need to contact IT about something they might have installed on this computer that is breaking this program, I could use some direction as to what that might be. Thanks! Michael
HI,as we understand, TouchGFX does not provide support for mulitple layers, even though many targeted STM32 controllers do.We need to display a live image from the camera (at maximum possible frame rate) and overlay some gaphics on the top of it. Kind of OSD. What is the best/recommended way to achieve this task with TouchGFX? Is it feasible to do so with TouchGFX at all or the resulting performce will suffer too much?What do we do with StemWin - the hardware LTDC Layer 0 is used for the camera live image, while Layer 1 is for any graphics over the latter. Neither of two get affected by each ohter and very high frame rate is achievable without visible performance degradation.What solution TouchGFX may offer for similar tasks? Thanks.If it is matter:The display resoltion is 800x600, the camera image is a standard grayscale PAL 720x576
Hi, I am using STM32G491 with 2 FDCAN channels. FDCAN1 is working normally for sending and receiving data. FDCAN2 is sending out data normally, but it can't receive any data, not able to generate any receiving interrupts. Here is the initialization code. Can anyone have any ideas what could be the issue? Thanks. void MX_FDCAN2_Classic_Init(void) { FDCAN_FilterTypeDef sFilterConfig; __HAL_RCC_FDCAN_CLK_ENABLE(); hfdcan2.Instance = FDCAN2; hfdcan2.Init.ClockDivider = FDCAN_CLOCK_DIV1; hfdcan2.Init.FrameFormat = FDCAN_FRAME_CLASSIC; hfdcan2.Init.Mode = FDCAN_MODE_NORMAL; hfdcan2.Init.AutoRetransmission = DISABLE; hfdcan2.Init.TransmitPause = DISABLE; hfdcan2.Init.ProtocolException = DISABLE; //CAN 500kbps hfdcan2.Init.NominalPrescaler = 16; hfdcan2.Init.NominalSyncJumpWidth = 1; hfdcan2.Init.NominalTimeSeg1 = 2; hfdcan2.Init.NominalTimeSeg2 = 2; hfdcan2.Init.DataPrescaler = 1; hfdcan2.Init.DataSyncJumpWidth = 1; hfdcan2.Init.DataTimeSeg1 = 1; hfdcan2.Init.D
Environment:MCU: STM32WB09KE (Cortex-M0+)Board: NUCLEO-WB09KESTM32CubeIDE Version: 2.1.0STM32CubeIDE Build: 27993_20260219_1630 (UTC)STM32CubeMX Version: 6.17.0Operating under Windows 11 Home.The project previously built successfully before updating CubeIDE @ approx. 23 February 2026. The "Installation History" tab in CubeIDE poorly reflects this update action however.Toolchain / IDE: STM32CubeIDESetup:In this page, ST generously provides us a .zip folder containing existing application projects that STM32WB0-series users can import, edit, and build directly. Version: 1.4.0.After extraction, the project "BLE_DirectionFinding_Central_Locator" (inside ..\<unzipped_folder>\STM32Cube_FW_WB0_V1.4.0\Projects\NUCLEO-WB09KE\Applications\BLE) is what I've been using.Error: After updating CubeIDE, the following output appears on console:13:43:14 **** Incremental Build of configuration Debug for project BLE_DirectionFinding_Central_Locator **** make -j16 all arm-none-e
I am working on an STM32F746G-Discovery board using LwIP (2.1.2) and FreeRTOS (CMSIS-RTOS V1) generated via STM32CubeMX. I am facing a persistent issue where the gnetif.ip_addr.addr field is populated with a garbage/static value before DHCP can complete, specifically 0xf44fd102. The Issue: Even after performing a memset(&gnetif, 0, sizeof(struct netif)) before MX_LWIP_Init(), the debugger consistently reports the following for the IP address variable: Hex: 0xf44fd102 Decimal: -196095742 Translated IP: 244.79.209.2 (Multicast) It appears the Ethernet DMA is writing multicast network traffic into the memory space allocated for gnetif, or I am facing a D-Cache coherency issue where the CPU is reading "stale" data from a previous boot/session. Current Configuration: CPU: STM32F746NGH6 (Cortex-M7) Cache: I-Cache and D-Cache enabled in main.c. PHY: LAN8742A (RMII mode). Clock: 216MHz (HSE used as source). MPU: I have attempted to configure the MPU to set the SRAM1 regio
Hello, I am using the STM32H7B3I-EVAL board with STM32H7B3LIH6Q controller. I downloaded and flashed the official demo HEX files from the STM32H7B3I-EVAL package provided on the ST website. Programming is now successful, but I am facing an issue with the TFT display. Problem: TFT backlight turns ON No graphics, logo, GUI, or display output appears on screen Screen remains blank/black In some demo files (for example: STemWin-STM32H7B3I-EVAL_V1.0.1.hex), all 4 user LEDs PG13(1) LED1 MFX IO11 LED2 MFX IO12 LED3 MFX IO13 LED4 turn ON after boot I already checked: TFT ribbon/cable connection Successful flashing through STM32CubeProgrammer Multiple demo HEX files from the package Power supply and ST-LINK connection Still, nothing is displayed on TFT. Could anyone please suggest: Whether external memory (OSPI/QSPI SDRAM) initialization may be failing? Whether this i
Hello,i did the OEMiROT examples following How to start with OEMiRoT on STM32C5 using CMake by converting the EWARM project config. I would like to give that CMake config back as well as some fixes to the provisioning script / example_config. Where/How do I that?I know the GitHub Repo, however since there are no open/close tickets, I wounder if that is the right place.
I am trying to run this demo, but I am receiving an error.How should I program this board? Should I use an ST-LINK or a USB-to-TTL adapter, or is a direct USB Type-C connection sufficient? I am trying to program it via TouchGFX Designer. I have read the following guide, but I couldn't quite understand the process: https://www.st.com/resource/en/brochure/guide-how-to-get-started-with-tsd-knob-display-and-touchgfx.pdf"Error message :"Serial Port COM26 is successfully opened.Port configuration: parity = even, baudrate = 921600, data-bit = 8, stop-bit = 1.0, flow-control = offTimeout error occured while waiting for acknowledgement.Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...Failed connecting to target. Try unplugging and replugging the device and try again.If the problem persists, please check that the option byte nBOOT_SEL is set to false. Refer to readme.md for more information."
HelloI am using a Mac. There is software support for stm32cude ide on Mac. But I would like to ask if there is support for Touchgfx application on a Mac.On the website https://www.st.com/en/embedded-software/x-cube-touchgfx.htmlI can not find a link to download the software for Mac.Is there software support for Mac or any other way to run this application? Thank you
Hello,I use the STM32 Motor Control Software Development Kit (MCSDK version 6.4.1). I created a new project with the STM32G474E-EVAL microcontroller board, the two IHM07M1 motor-drivers (power boards), the two modified X-NUCLEO-IHM09M1 adapter (connector) boards, and two gimbal 12V 3-Phase BLDC motors with encoder AS5048A. The project code was generated. By the way, I have not bought all the hardware yet. Our project is specific. For all microcontroller boards and their software, which I know, it is true that setting zero speed holds a motor's rotor in a fixed position. We need to accelerate two motors' rotors for 180 degrees and let them rotate by inertia for next 180 degrees. In this way, a rotor makes one full 360-degree circle path. It seems that the MCSDK Motor Pilot makes a rotor in a fixed position if the motor speed is set zero. Hence, we need to depower the motors while the rotors make the 180-degree path by their inertia. I doubt that the MCSDK Motor Pilot can completely
Hi, I wanted to set up time keeping on my Discovery board for testing something. I see the following in the documentation for the larger STM32F769-EVAL: https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Projects/STM32F769I_EVAL/Examples/RTC/RTC_InternalTimeStamp/readme.txt - This example runs on STM32F779xx/STM32F777xx/STM32F767xx/STM32F769xx Devices.- This example has been tested with STMicroelectronics STM32F769I-EVALboard and can be easily tailored to any other supported device and development board. - STM32F769I-EVAL Set-up- Make sure that JP15 is in position 2-3 to connect 3V battery to VBAT pin. At first I didn't know -EVAL and -DISCO are two different things and kept searching through the manual for the -DISCO where JP15 seems to have a different role. But the first line from the docs makes me think there has to be an RTC on the -DISCO board. I take it I need to put a 3.3V battery somewhere. In the diagram I see a number of 3.3V conne
Hello, I ran into an issue when testing a UART application on a STM32C562RE in loopback mode with RTS and CTS enabled. The app does the following:1. Start receiving 1 character at a time by using HAL_UART_Receive_IT.2. Send a string 3. After the received character is printed out I issue another call HAL_UART_Receive_IT.Everything works fine; the app prints out the string I sent. I wanted to make sure the hardware flow control was running correctly so I placed a HAL_Delay(1) after I print out the character received and before I issue a new call to HAL_UART_Receive_IT. This should stop the transmitter due to the CTS -> 1 (no more room in the Rx buffer) and it should restart it after I issue the HAL_UART_Receive_IT CTS -> 0 due to available room in the Rx buffer; and, it does. All the characters are received as expected however HAL_UART_Receive_IT returns HAL_ERROR. Everything seems normal except the error returned by HAL_UART_Receive_IT.I de
Hello Everyone,I'm checking the STM32WL5MOCH6TR MCU of a custom board that i made a few years ago, and I don't understand something : - On the datasheet, it says that its frequency range supported is 864–928 MHz- When I open a CubeIDE project, I'm able to set a much wider range : LoraWAN example : SubGHz_Phy example : Is that intentional ? Maybe those Middlewares are general-purpose?
Hello, we are seeing a weird symptom in our application in which all LTDC registers are reading back the same seemingly random number. This is during a debugging session via system viewer (we are using Keil 5.40 and compiler 5), OR when reading and printing out values to serial at runtime. The LTDC seems to be operating properly (mostly, working through various issues but it's displaying graphics at least. I'm stumped, and so are the AIs I use. Any ideas as to why this might be?
I have troubles using SPI3 on STM32U575VG. After some time the transfer hangs and it is not possible to amend it until whole reset.Configuration: Only transmit, is feeds LCD display, 240 lines, 54 bytes each.APB3 clock 48 MHz. Manual CS handling, SCLK 1.5 MHz.Everything looks ok, it works, but after some time and on some boards only it hangs. The problem appeared in the start of production. Symptoms: after configuration and LL_SPI_Enable(), the DMA transfers 16 bytes to the FIFO. That's ok, DMA works. But after LL_SPI_StartMasterTransfer(), the transfer doesn't start.Looking at the pins, SCLK remains low and MOSI contains some data, but very slow, one bit interval seems to be 8 ms. Reset of the SPI doesn't help. Reinit of the whole MCU after STOP2 (without reset), including all clocks doesn't help. The only thing that works is the reset of the whole MCU. I have no idea where to look at more. The SPI is not overclocked, it doesn't wait for any external signal. It happens sometimes
Is there a STM32N6 throughput test on the USB 2-480Mb happened. I'm just curious because i'm getting a throughput on my design of * 97 Mb Just wondering what is a idealistic throughput to see if i need to edit something on my end or this is a expected throughput to get.
Hello,Here are a few things I need to clarify regarding the EVSPIN32G4 current measurement and the related MCSDK software:Referring to section 5.6.1, 5.6.2 and 5.6.3 of the UM2850, I believe that the topology using three standalone OpAmps presented in section 5.6.2 is not currently supported by MCSDK, is this correct?So, considering the 2 topologies presented in 5.6.1 and 5.6.3, is there a major disadvantage to go for the internal PGA solution compared to the first configuration which requires external feedback networks on the inverting side of the OpAmp?At the end of section 5.6.3, it is recommended to connect the inverting input of the PGAs to shunt resistors to perform differential current measurement in case of high current application, but I don't have the possibility to do it in MCSDK since only the "single ended" sensing type is available, what do you propose in this case?Thanks in advance and best regards.
I'm looking at setting the RDP Level to Level 1 for an STM32F103 and I don't see the AA BB CC type stuff like in the current manual. Is this something that STM32CubeProgrammer is doing on purpose for this MCU? I definitely don't want to enable Level 2 by accident and brick my chip. Here is a screenshot of what I see:Is it safe to check this?
I can't seem to read the OTP bits on the stm32N6 with any of my boards with 2.22 of the stm32CubeProgrammer. But i can on version 2.21 Everything else works fine with the chip.
Hello,I am evaluating the VND5T100AJ-E for an automotive application where I need to drive a 24V contactor. My design requirement is i need to drive the IC through the PWM signal as input.I have reviewed the datasheet but do not see explicit PWM frequency ratings. My concerns are:Does the VND5T100AJ-E support continuous PWM switching for an inductive load?If this device is not recommended for PWM, could you suggest a similar specification alternative part with the same specifications that is specifically designed for PWM input @stmicro
Greetings, I'm trying to set up TIM4 per the reference manual (RM0016).With the clock set to LSI at 128kHz, the following code causes the PD2 output pin to appear constantly high visually via a wired LED. I would expect it would be blinking once per second. I don't have access to a scope so I can't see what is actually happening. Anyone spot anything I'm doing incorrectly?sim ; F_Master Prescalar tim clk ; 128_000 Hz / 1024 = 125 mov TIM4_PSCR, #0b1010 ; 2 ** 0b1010 = 1024 prescaler ; ARR at 0x7d = 125 mov TIM4_ARR, #0x7d bset TIM4_IER, #0 ; UIE: Update interrupt enable bset TIM4_CR1, #0 ; CEN: Counter enable...and the interrupt code:tim4_up_isr: ; PD2 blinks once per second ; from TIM4 bres TIM4_SR, #0 ; UIF: Update interrupt flag bcpl PD_ODR, #2 iret ...fwiw when I set line 5 of the interrupt code to use bres PD_ODR, #2, the output appears low visually.
Hello, I'm curious why TIM2 is correctly repeating in my code, whereas TIM4 with equivalent settings is not.In this code, the TIM2 indicator (fired by the TIM2 interrupt) is blinking twice a second (clock set to LSI, meaning 128kHz). I would expect the TIM4 indicator (fired by the TIM4 interrupt) to do the same; but it is being triggered immediately and much faster: so fast that to the eye it appears as a constant on.The reference manual RM0016 and datasheet DS7147 indicate that, given similar settings, both timers should be exhibiting similar behavior. What am I missing?Here's the code:; some typical setup hidden before this point ; PD3 is on, indicating LSI is clock source ld a, CLK_SWR cp a, #0xd2 jrne 1$ bset PD_ODR, #3 ; timer setup sim ; F_Master Prescalar tim clk ; 128_000 Hz / 1024 = 125 mov TIM2_PSCR, #0b1010 ; 2 ** 0b1010 = 1024 prescaler mov TIM2_ARRH, #0d0 mov TIM2_ARRL, #0d125 bset TIM2_IER, #0 ; UIE: Update interrupt enable bset TIM2_CR1, #0 ; CEN: Counter
Hello,I am currently experiencing difficulties using the STM32N6 NUCLEO board.My goal is to test NPU execution using X-CUBE-AI within CubeMX. However, I am stuck in an infinite loop inside the MX_X_CUBE_AI_Process function. Specifically, LL_ATON_RT_RunEpochBlock() continuously returns only the LL_ATON_RT_DONE status, preventing the loop from terminating as expected. do {ret = LL_ATON_RT_RunEpochBlock(&NN_Instance_Default);if (ret == LL_ATON_RT_WFE) LL_ATON_OSAL_WFE();} while (ret != LL_ATON_RT_DONE); I Can't get the LL_ATON_RT_DONE, only LL_ATON_RT_WFE.This issue persists even when using files generated via Cube AI Studio.I have configured the AXI and Clock settings in CubeMX (CPU: 600MHz, NPU: 800MHz, AXI: 800MHz). Since the model is simple, I am using internal memory only and have not enabled any security (TrustZone) or external memory settings.Environment Versions:CubeIDE: 2.1.1CubeMX: 6.16.1CubeAI Studio: 1.1.0CubeProgrammer: 2.22.0ST Edge AI: 4.0ST-LINK: V3
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.