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
Searching for “STM32C5A3ZG” (the part number stated on the NUCLEO-C5A3ZG Product Page), CubeMX v1.0.1 offers STM32C5A3ZGT6 and STM32C5A3ZGT7 The latest Datasheet (DS15137, Rev 2) does not list STM32C5A3ZGT7 as a valid ordering code, but it does have STM32C5A3ZGT3 - which is not in the CubeMX2 list::
Hi,I am trying to connect SDRAM AS4C16M16SB from Alliance Memmory to STM32N655X0 MCU, but i did not find any reccomended connection. I am “pinned” this memorry to MCU according STM32Cube MX software and MCU datasheet. But there is not much more information about “autoprecharge” function. Only in reference manual RM0486 is small note “The AutoPrecharge is not supported. However, FMC_A[10] must be connected to SDRAM A[0]”. But the memmory has dual function on the address 10 pin (address 10 + AP). Do you have some recommendation how this memmory connect to STM32N655X0 MCU, or is it suitable for this MCU?Below is my wiring diagram, in purple are FMC signals corresponding with pins on MCU. Is it right or am I must somehow reroute the address signal signal (A10)?Thanks a lot. R.
Hi, Is there mistake between reference manual RM0486 and RM0090 in section SDRAM adress mapping?Where in RM0486 is: "When interfacing with a 16-bit memory, the FMC internally uses the ADDR[11:1] internal address lines to generate the external address. When interfacing with a 32-bit memory, the FMC internally usesADDR[12:2] lines to generate the external address. Whatever the memory width, FMC_A[0] has to beconnected to the SDRAM A[0].The AutoPrecharge is not supported. However, FMC_A[10] must be connected to SDRAM A[0]"In RM0090 is: "When interfacing with a 16-bit memory, the FMC internally uses the HADDR[11:1] internal AHB addresslines to generate the external address. When interfacing with a 32-bit memory, the FMC internally usesHADDR[12:2] lines to generate the external address. Whatever the memory width, FMC_A[0] has to beconnected to the external memory address A[0]. The AutoPrecharge is not supported. FMC_A[10] must be connected to the external memory address A[10] but it is alwa
This is a followup to the question: How to organize the folder structure in CubeMX-generated codeThere, the solution was by @Ghofrane GSOURI and the added comment by @Andrew Neil to keep your application code outside of CubeMX generated folders in structure like so:Project/├─ Core/ # CubeMX-owned│ ├─ Inc/│ └─ Src/├─ Drivers/ # ST/CMSIS├─ Middlewares/ # Optional (FreeRTOS, USB, etc.)├─ App/ # Your application logic│ ├─ Inc/│ └─ Src/└─ Framework/ # Your reusable firmware framework ├─ Inc/ └─ Src/Which make a ton of sense, but I am stuck at how to actually implement this in CMake. I let CubeMX generate a folder for CMake toolchain. That directory has these additional files/folder:Project/├── Application ## directories where my code would exist│ └── blinky│ └── blinky.c│ ├── blinky.h│ └── uart/│ └── ...├── cmake│ ├── gcc-arm-none-eabi.cmake│ ├── starm-clang.cmake│ └── stm32cubemx│ └── CMakeLists.txt├── CMakeLists.txt├── CMakePresets.json└── Core/...,
Previously I used Programmer v2.15 on H5 MCUs to zero (uncheck) nSWBOOT0. Probably due to Windows drivers updates, I could no longer connect.I updated to Programmer v2.23 and I can now connect, but I no longer see nSWBOOT0 anywhere. Where did it go?
Hi,I'm integrating an STSAFE-A110 with stsafe-a-openssl-engine V2.0.0 on a Linux/aarch64 host (Jetson AGX Orin, Ubuntu 22.04, OpenSSL 3.0.2), communicating over I2C. I've resolved a number of earlier issues (wrong I2C bus, OpenSSL 3.0 API migration, host key pairing) and now have Host Key programming, Local Envelope key generation, Product Data query, Life Cycle State query, and Command Authorization Configuration query all succeeding against the physical chip.Current issue: StSafeA_WrapLocalEnvelope and StSafeA_UnwrapLocalEnvelope behave asymmetrically.My chip's Command Authorization Configuration reports:Command 0x0E (Wrap Local Envelope): CommandAC = 0x03 (MAC), HostEncryptionFlags = 0x02 (command encryption) Command 0x0F (Unwrap Local Envelope): CommandAC = 0x03 (MAC), HostEncryptionFlags = 0x01 (response encryption)Calling Wrap with STSAFEA_MAC_HOST_CMAC, STSAFEA_ENCRYPTION_COMMAND succeeds and returns a plausible 488-byte wrapped envelope.Calling Unwrap on that same output with S
1. Is it possible to install two versions of STM32CubeIDE (e.g., 1.9.0 and 1.19.0 or 1.19.0 and 2.2.0) on one PC (Windows)? If so, can I run both versions simultaneously? If so, can I program two microcontrollers simultaneously with two programmers?2.Is it possible to install STM32CubeIDE and STM32CubeIDE for VS Code on one PC (Windows)? If so, can I run both versions simultaneously? If so, can I program two microcontrollers simultaneously with two programmers?
Hello,is the breakdown voltage of a TVS (e.g. SMAJ5.0A) a guaranteed value?Background: I whish to protect a circuit from overvoltages on the 5V supply which can be normally range from 4.4V to 6V. AN316 would then suggest to use a SMAJ6.0A or better 6.5A as it says, that the maximum operating voltage should be below the Vrm voltage.But if I read the datasheet right, the Vbr voltage states a minimum (tested?) voltage at which the reverse current reaches / exceeds 1mA.If I want to have the protection level as low as possible, I would prefer the SMAJ5, as it has a VBr of 6.4V. I know, if my supply goes up to 6V that I get a higher reverse current, which I can to tolerate. But I would expect, that this current is not higher than the test current of 1mA for the Vbr and therefore the dissipated power in the TVS should well below 10mW. Does an elevated voltage near to the breakdown voltage cause problems over time?
STM32CubeIDE v2.1.1 - ST-LINKV3 MINNIE latest version - FreeRTOS v10.3.1 - CMSIS-RTOS v2.1.3STM32G0B1METxWhen launching a debug session I get the following: “Target is not responding, retrying…”.If I remove any random part of my code, the issue goes away.I have been trying to adjust global heap/stack sizes, individual tasks stack sizes without success.Any insight would be appreciated.Thanks.
A customer asked for the process technology or process node in nano meters (nm) for the STM32F303CCT7 we use. I can not find any information on ST website. The “Sidekick” told me there is no information about. Can someone help me?
Dear all, I found an interesting effect using the CubeL4 and CubeMX generated files for a STM32L496 and use ADC1 and ADC3 (not simultaneously): What we do: We turn the ADCs on only when we sample data, otherwise they are turned off. To turn the ADC off, we use HAL_ADC_DeInit which calls HAL_ADC_MspDeInit. Issue: HAL_ADC_MspInit and HAL_ADC_MspDeInit keep track of active ADCs through static variable HAL_RCC_ADC_CLK_ENABLED. Init increases the count, deinit decreases it. If, however, init and fails but we still call deinit the count wraps around to 0xFFFF FFFF - upon next init it wraps around to 0, but then the ADC clock is not turned on and initialization fails again. See the code snippets below: HAL_ADC_MspInit HAL_RCC_ADC_CLK_ENABLED++; if(HAL_RCC_ADC_CLK_ENABLED==1){ __HAL_RCC_ADC_CLK_ENABLE(); } HAL_ADC_MspDeInit HAL_RCC_ADC_CLK_ENABLED--; if(HAL_RCC_ADC_CLK_ENABLED==0){ __HAL_RCC_ADC_CLK_DISABLE(); } Suggestion: Check for underflow of 
Hello,I am using the Nucleo STM32H533RE board for booting with the two stage boot path for which I am using the ST template code and referring the following https://wiki.st.com/stm32mcu/wiki/Security:OEMiRoT_OEMuRoT_for_STM32H7S . I am able to run the provisioning script successfully but when I am connecting the serial terminal to verify the serial data sent out by the board, I am getting an error saying “[ERR] read:Wrong OBK HDPL2 cfg” as seen in below image:I tried with the following things:Regenerating the OEMuROT OBK files manually using stm32 trusted package creator Running the regression script to erase the flash and again running the provisioning script Verified if the key file names matches the script referencesCan someone help me with this issue.Let me know if any other details are required. Thanks,Amruta
Hello,I am working with an STM32N6570-DK board and facing an issue while setting up the SD card. I created a project using TouchGFX Designer, generated the code, and opened the .ioc file. In there, I enabled SDMMC2 with 4-bit Wide mode and enabled global interrupt:After checking the schematics, I noticed that the CK pin was incorrect, so I assigned the correct pin (PC2:(I made the following additional configurations:Changed all SDMMC2 pins to pull-up and set Max output speed to Very HighEnabled PWR_SD_EN (PQ7) as output level high with context FreeChanged clock from HCLK to IC4 (should not affect anything)Enabled SD_DETECT (PN12) to detect when the SD card is inserted or removedEnabled EXTI Line4 and EXTI Line12 for interruptsEnabled FileX with mostly default settings, except for increased memory and FX driver initialization:After this setup, I attempted to initialize the SD card with the following call:fx_media_open(&sdio_disk, "SDIO_DISK", fx_stm32_sd_driver, NULL, fx_sd_media_me
Hi,I am using LSM6DSV320X for my project. Initially to save power I have Low G accelerometer with 15Hz ODR and 16G with fifo enabled. Once an activity is detected i want to switch on High G as well with 4000 Hz (with High Accuracy mode) and use both high G and Low G accelerometer for data collection. Is this possible if I dont use FSM or ASC and will High Accuracy then work ?. or can this only be achieved with FSM ? I look forward to your reply.
Have any User Guide to setup matter in STM32WBA65RI? Matter 1.5.0 is supported in STM32WBA65RI?
I'm trying to configure and generate a project with STM32CubeMX for the STM32WBA5MMGHx BLE module.When enabling the STM32_WPAN middleware, the ADV_TRACE module gets automatically enabled under Utilities. This in turn requires to enable at least one UART/LPUART peripheral, otherwise type UART_HandleTypeDef is undefined and compiler throws and error:../../Core/Inc/app_conf.h:304:8: error: unknown type name 'UART_HandleTypeDef'; did you mean 'RTC_HandleTypeDef'? [build] 304 | extern UART_HandleTypeDef huart1; [build] | ^~~~~~~~~~~~~~~~~~ [build] | RTC_HandleTypeDefThe STM32_WPAN throws a warning about not configured/wrong Platform Settings.Is there any possibility to configure STM32_WPAN without ADV_TRACE enabled?Used STM32CubeMX version is 6.17.0 and WBA firmware v1.19.0 and cmake project is generated.
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
Is it possible to measure power consumption using software such as CubeMonitor-power with the NUCLEO-U031R8?I know there are ways to measure JP5 using a tester, but I'd like to measure it using software. Is this possible?
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:
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?
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.