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
Board: STEVAL-MKI109D (STM32H563ZI) + STEVAL-MKI207V1 adapter (ISM330DHCX)Goal: Bare-metal custom firmware reading WHO_AM_I over SPI1Following up on my earlier thread about GPIO pin mapping [link to old thread] — pin mapping is now resolved (SPI1_NSS on PA15, confirmed via community input; PA4/PA5 are DAC1 Vdd_set/VddIO_set as discussed). Thanks for the help getting there.I'm now stuck on a different issue and would appreciate a sanity check. WHO_AM_I consistently reads 0xFF, but every layer I can verify from firmware/multimeter checks out correctly:CS on PA15 (GPIO output, confirmed via MODER/ODR register dump) SPI1 Mode 3 (CPOL=1, CPHA=1) — confirmed via CFG2 register decode SCK/MISO/MOSI on PB3/PB4/PB5, AF5 — confirmed via GPIOB MODER/AFRL dump VDD/VDDIO measured 3.3V at the DIL24 breakout header (J13/J14 area on JP1/JP2), in spec HAL_SPI_TransmitReceive returns HAL_OK, ErrorCode=0x0, every call — no timeout, no fault Tested at both SPI_BAUDRATEPRESCALER_32 and _256 (extremes) — ide
Hi,I am using the STM32N657-DK and running the NetX Duo WebServer example provided by STM32Cube. The application works correctly when the Ethernet link is negotiated at 100 Mbps and 1 Gbps. However, when the link speed is 10 Mbps, the web server is not reachable and communication fails.SetupBoard: STM32N657-DK Software: STM32CubeIDE / STM32Cube firmware NetX Duo WebServer example PHY: (RTL8211F-CG, if applicable) Interface: RGMIIObservations1 Gbps: Works correctly. 100 Mbps: Works correctly. 10 Mbps: Link appears to come up, but the web server cannot be accessed and network communication fails.QuestionsDoes the STM32N657-DK NetX Duo Ethernet driver fully support operation at 10 Mbps? Is there any additional MAC or PHY configuration required when the negotiated speed is 10 Mbps? Are there any known limitations or issues with the NetX Duo Ethernet driver or HAL Ethernet driver when operating at 10 Mbps? Has anyone successfully run the NetX Duo WebServer example at 10 Mbps on the STM32N65
I would like to confirm whether the Ethernet MAC available in the STM32N655x0H3Q supports 1000 Mbps (Gigabit Ethernet) operation.
Part is ~10-20 years old. Found some vague info that says there is an STM part# 35AX. Package is 14 pin, 14-VFLGA/LGA (3mm x 5mm). Pretty sure its an IMU/Accelerometer but trying to track down a pinout for a possible replacement.
Hi everyone,I am using the STGAP3SXS isolated gate driver on my custom PCB, but I am unable to get it to operate correctly.I have attached my schematic for reference.I tested the driver in two different configurations:With all protection circuits enabled (DESAT, Miller clamp, etc.) With the protection circuitry removed/disabled (minimal configuration)In both cases, the behavior is exactly the same.ObservationsPin 13 (DIAG) remains HIGH. Pin 14 (RST) also remains HIGH. No gate output is generated.According to the datasheet, DIAG is the diagnostic output and RST is the active-low reset/shutdown input. I expected the device to operate normally when RST is kept HIGH, but the driver never starts.I have verified:Logic supply (VDD) Isolated gate supply (VH/VL) Input signals (IN+ and IN−) PCB connections and solderingHowever, the behaviour remains unchanged in both hardware versions.Could someone please review the attached schematic and let me know if there is anything obviously incorrect or i
Hi,I wish to buy this evaluation board:EVAL6470PD | Product - STMicroelectronics However, it's flagged as obsolete. Does this mean that POWERSO36 package of L6470 is not recommended for new design?Many thanks.WH
Hello, I am encountering an issue when connecting an ST‑Link with no target attached. On the first connection attempt it reports “No STM32 target found.” If I attempt to connect a second time, the adapter returns the error “ST‑LINK error (DEV_USB_COMM_ERR).” The only reliable recovery I have found is to unplug and replug the USB device:ST-LINK with DEV_USB_COMM_ERR issue When I use a different ST‑Link from the same batch (B 2022 48) with the same firmware, it behaves as expected and reports “No STM32 target found” until a target is present:ST-LINK without the issue Environment and reproduction steps:- Software: STM32CubeProgrammer CLI and GUI v2.23.0 (issue also reproducible with v2.22.0)- Commands (basically any -c): STM32_Programmer_CLI -c port=swd index=0 freq=4000 mode=ur -w "<Firmware path>" -v --start 0x8000000STM32_Programmer_CLI -c port=swd- OS: Windows 11- USB: Direct connection to PC- Cable: Same behavior with a Tag‑Connect or no target cable attached- ST‑Link firmware:
We’re happy to announce that STM32CubeMX2 v1.1.0 has been released and is now available. This release includes updates and improvements aimed at enhancing the user experience and supporting your development workflow with STM32. What’s new Enhanced installation support for multiple STM32CubeMX2 versions, including linked IOC2 files and a pinned icon on the Windows taskbar Added Expand All and Collapse All functions in software configuration panels Added confirmation dialog boxes for selected actions Added options to export the pinout as CSV from a menu: without alternate functions or with alternate functions Added pin labels that can be used from configuration panels Improved command-line interface (CLI) capabilities for software configuration Added a pack version compatibility check Added end-user guidance to run Pack update steps in the correct order, with a focus on device family pack (DFP) and hardware abstraction layer (HAL) packs Increased pin name visibility in the pinout view to
I can build it successfully using west but when I program it I get: "Warning: The core is locked up" and no LED blinks. I also made my own blinking LED but that doesn't work either. I can program the board using stmcubeide and that work. It seems to be an stm32cubeprogrammer issue?
Cannot wake from Stop mode using LPTIM1Board: STM32N6570-DK (STM32N657X0, Cortex-M55)RTOS: Zephyr 4.4.0Goal: Enter Stop mode and wake periodically via LPTIM1 auto-reload interrupt (~200ms)What works:Sleep mode (WFI without SLEEPDEEP) — enters and wakes correctly from GPIO EXTI and LPTIMLPTIM1 initialization — confirmed running, ISR fires (verified via counter incrementing in HAL_LPTIM_AutoReloadMatchCallback)LPTIM1 EXTI line 52 enabled — EXTI->IMR2 |= EXTI_IMR2_IM52 via __HAL_LPTIM_LPTIM1_EXTI_ENABLE_IT()NVIC LPTIM1_IRQn enabled — interrupt registered and working in normal (non-Stop) operationClock restore after Stop — SystemClock_Restore() re-enables HSE, PLLs (PLL1/2/3), IC muxes back to 800 MHzWhat does NOT work:Stop mode entry → CPU never wakes. After HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI), the MCU halts permanently. No interrupt wakes it.LPTIM1 configuration:__HAL_RCC_LPTIM1_CLK_ENABLE();// Clock: LSI (~32 kHz)RCC_PeriphCLKInitTypeDef pclk = {0};pclk.Per
Hi ST community,We are evaluating motor-control architecture for a 3-phase BLDC/PMSM ESC project based on STM32G431 / STSPIN32G4.Currently we understand that STM32 MCSDK supports both:- FOC control projects- 6-step / trapezoidal control projectsHowever, we would like to clarify whether MCSDK officially supports runtime switch-over from 6-step control to FOC control in the same firmware project.Our target concept is:1. Start the motor with 6-step control or open-loop 6-step startup.2. After the motor reaches a sufficient speed / stable rotor position estimation, switch to FOC control.3. Continue running with FOC current loop and SVPWM.Questions:1. Does MCSDK officially support runtime switch-over from 6-step control to FOC control in one generated project?2. If not officially supported, is there any ST reference implementation, application note, or recommended method for implementing this handover?3. Can MCSDK-generated 6-step and FOC control modules coexist in one runtime while sharing
I have been trying to download STM32CubeIDE for Windows, but the download never starts. Someone can help me with this issue?
Hi,I wanted to give Visual Studio Code a try and converted an existing STM32CubeIDE project. In the original project, the main.c (in Core/Src directory) file was compiled using g++, since it has some C++ content. However, VS Code invokes gcc, and therefore, build is not successful. How can I change this?One other thing, I noticed when converting the project, all source files are copied to the new location, but the .ioc file is not. Is this intended behaviour?
I started with the MC workbench and installed X-Cube-MCSDK Version 6.4.2. After installation the MC Workbench is opened, but the dialog is complete empty (except the caption). The behaviour is the same if i start the workbench via the desktop icon or as administrator.
Are there any Dual Core LoRaWAN Application examples for the STM32WL55CC that use the STM32Cube FW WL V1.5.0 (LBM) libraries? If there aren’t, will this be supported in the future? Thanks,Nick
Am using Engine Control eTPU Library (AN4907SW) in the SPC563M64L5 device.And in the source files, there is a piece of code which needs to be enabled for MPC5500 devices as it is mentioned in the comment that “an errata 2477 is present on MPC5500 devices”. Since SPC563M64L5 device is almost similar to MPC5634M device which is MPC5500 family as both jointly developed. does these errata applicable to SPC563M64L5 as well?
i've just installed all necessary requirements for the STM32 vscode extension however it doesn't seem to launch cube mx or mcu finder when i click launch from vscode. not sure if its incorrect paths or permission issues?please see the screenshot for the path settings
STM32CubeMX generates inconsistent indentation in MX_Recieve_Q_Build:/** * @brief CLIP application Data scenario Receive queue build * @param None * @retval None */static void MX_Receive_Q_Build(void){ /* LPBAM build variable */ LPBAM_DMAListInfo_t pDMAListInfo_LPGPIO = {0}; LPBAM_GPIO_PinSeqFullAdvConf_t pReadPinSeqFull_LPGPIO = {0}; LPBAM_COMMON_TrigAdvConf_t pTrigConfig_LPGPIO = {0}; LPBAM_COMMON_DataAdvConf_t pDataConfig_LPGPIO = {0}; /** * Receive queue CLPReceiveBits build */ pDMAListInfo_LPGPIO.QueueType= LPBAM_LINEAR_ADDRESSING_Q; pDMAListInfo_LPGPIO.pInstance= LPDMA1; pReadPinSeqFull_LPGPIO.Pin = LPBAM_GPIO_PIN_0; pReadPinSeqFull_LPGPIO.Size = 13; pReadPinSeqFull_LPGPIO.pData = (uint32_t*)&receivedBits[0]; if (ADV_LPBAM_GPIO_ReadPinSequence_SetFullQ (LPGPIO1, &pDMAListInfo_LPGPIO, &pReadPinSeqFull_LPGPIO, &Receive_Q_CLPReceiveBits_Desc, &Receive_Q) != LPBAM_OK) { Error_Handler(); } pTrigConfig_LPGPIO.TriggerConfig.TriggerM
I’ve started from the LWIP TCP echo server with FreeRTOS example from ST and have made a *.ioc2 file to support that example. The issue is that I’m starting from the NUCLEO-C5A3ZG (which I’ve configured the *.ioc2 project), but intend to use a STM32C593 in my final product. My understanding was that STM32CubeMX would allow switching microcontrollers, but keeping the similar configuration settings (e.g. LWIP, FreeRTOS, etc.). I’d like to have the project required configuration settings managed in a tool like CubeMX2, but this will not be possible/feasible if I can’t make changes without having to start completely from scratch every time we make a change. Is there a setting somewhere that I’ve missed to allow switching processors? Is this a planned feature that may not yet be released? Thanks in advance.
Hi,We are using the ST25R3920B NFC reader IC along with the NXP S32K312 MCU running an AUTOSAR OS for NFC card detection.We have observed that, after the NFC wake-up event, the NFC initialization and polling sequence takes approximately 300 ms before a card is detected. This startup time is longer than expected and is impacting our application requirements.Could you please suggest any configuration changes, RFAL optimizations, or best practices to reduce the NFC initialization and polling time? If there are any recommended settings for use with an AUTOSAR-based system or the ST25R3920B that can help improve startup performance, we would greatly appreciate your guidance.Thanks,Anitha
I have made a bootloader for STM32F4 with dual bank and single bank structure. I have done so rudimentary testing with it and written test logs in a md file. Here is the link:-https://github.com/Tank4676/stm32-dualslot_bootloader
Yocto 5.0To build Yocto I follow simple instruction from bootlin bootlin.com/doc/training/yocto/yocto-stm32mp1-labs.pdfBut I get a corrupted Poky distro: 8th partition ("/mnt/part08") is empty (see screenshot below). Why?File "$HOME/stm32mp1_scarthgap/build/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0/temp/log.do_image_stsplitpartitions.2582911" looks suspicious```NOTE: image_link_name -> "core-image-minimal-stm32mp1.splitted-rootfs"NOTE: image_name -> "core-image-minimal-stm32mp1.splitted-rootfs-20260602150830"du: cannot access '/home/q/stm32mp1_scarthgap/build/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0/splitted_rootfs/usr/bin/dumpleases'du: cannot access '/home/q/stm32mp1_scarthgap/build/tmp/work/stm32mp1-poky-linux-gnueabi/core-image-minimal/1.0/splitted_rootfs/usr/bin/printf'```My repo to reproduce stm32mp1_scarthgap.Yocto 4.0The same steps I can do with end-of-life Yocto 4.0. And it will works (because 8th partition is not empty, I can see man
Hi, I use STM32H7 with STCUBE 11.1.I use RNDIS module usbd_cdc_rndis.h to communicate with a PC.Sometimes when the PC sends a frame the STM32 replies with NAK, here is the sequence that repeats:SYNCPID OUTAddressCRCEOPSYNCPID DATA0data 30 bytesCRCEOPSYNCPID NAKEOPWhat might be the issue? Can I change the USB interval (CDC_RNDIS_FS_BINTERVAL)?BRJonas
what maximum current the DAC_output / ADC_input pin can hold if shorted to the ground. with internal buffer Off/On? STM32H753zi.
I am doing g3-PLC test by connecting two board of EVLKST8500GH-2 according to ST G3-Hybrid PLC&RF GUI Quick start guide, but i am not clear test envirionment 1) COM port of PC is connected with ST8500GH-MB or NUCLEO-G070RB, when i connect with NUCLEO-G070RB port is recognized but when i connect with ST8500GH-MB, port is not recognized in the PC. 2) I am using 30V(AC) power for Power line because " ST8500 Hybrid PLC&RF Connectivity Development Kit UserManual" Safety precautions guide of " The kit is intended for use on extra low voltage (ELV): <50 V AC, <75 V DC." but i am not clear this 30V(AC) is enough for PLC. i want to know the level of Power 3) I want to know power line connection between two board EVLKST8500GH-2. serial or pallel ?
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.