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
Im trying to setup FreeRTOS with the new STM32N6.According to https://github.com/STMicroelectronics/x-cube-freertos, the new Nucleo board for the STM32N6 is mentioned as supported.But in the CubeIDE, when trying to enable the FreeRTOS middleware, it says that the new nucleo board is not supported. And the docs also only mention AzureRTOS as supported.Is FreeRTOS supported through the CubeIDE? Or only AzureRTOS?
Hello,I recently came across an ST article describing a Condition-Based Monitoring architecture using a dual-MCU approach, with an STM32L476RG handling signal processing (and potentially edge AI), and an STM32WL dedicated to network connectivity.I find this architecture very interesting and relevant for a project I’m currently exploring, but I would like to better understand what level of support and resources are available from ST for implementing such a solution in practice.In particular, I have a few questions:Does ST provide official support or reference designs for this kind of dual-MCU architecture (STM32L4 + STM32WL)?Are there any example projects, application notes, or firmware packages that demonstrate communication between the two MCUs in this context?Regarding FUOTA (Firmware Update Over The Air), are there existing solutions or middleware provided by ST that support this setup, especially with STM32WL acting as the communication node?Are there recommended tools, libraries,
Newest AN4879 does not list STM32C5 as applicable products.
Hi everyone, I am trying to setup DCMIPP Pipe0 to read data from 256x192 pixel sensor by 16 data lines. Seems everything configured and working fine except of transfer data to destination buffer. DCMIPP frame counter is increasing. Pipe0 dump counter is 0x18000 (256x192x2). HAL_DCMIPP_PIPE_Start return HAL_OK. Pipe0 packer memory address register is qual to Pipe0 memory status address register and correspond to address of buffer in RAM. I checked that DCMIPP don't write zero values by initing frame buffer with 0xFF and it wasn't changed to zeros. I am sure that sensor is working because of frame counter, dump counter, checking lines with oscilloscope and it is working with other pcb with STM32H7 and DCMI interface. Also I validated that debugger read frame buffer correctly by sending it thought uart. Source code is simple, generated by cube init than I2C configuration of sensor(validated) and than reading in loop with delay: while (1) { H
Hi Team, I am designing a custom PCB using STM32H753 and planning to use the QUADSPI peripheral for external memory. My use case is data read/write (indirect mode) — not XIP or memory-mapped execution. While working in STM32CubeMX, I came across some configurations that are confusing, and I’d like to clarify the actual hardware behavior. 1. Dual Bank vs Chip Select behavior In CubeMX, I can configure: QuadSPI Mode: Dual Bank with Quad Lines Chip Select options: Enable Chip Select 1 for both banks Enable Chip Select 2 for both banks Enable Chip Select for each bank My understanding: NCS → Bank1 NCS2 → Bank2 Questions: If I select “Enable Chip Select 1 for both banks”, does this mean: Only one physical flash is used and banks are logical partitions? Or is there any way two physical memories are still utilized? What is the exact meaning of “bank” in this context (hardware vs logical)? 2. BK1_IOx and BK2_IOx pins confusion CubeMX exposes: QUADSPI_BK1_IO0
I have recently installed STM32CubeIDE 2.1.1 on linux and opened an existing project workspace. Everything looks fine except the integration with CubeMX for ioc files (which I believe is now by-design). The problem I have is after going to eclipse marketplace and installing Subclipse, it installs fine, then after restarting it goes into an endless loop saying the application is not responding. Finally, I got a message about "Failed to load JavaHL Library.", but I'm not sure if that's the real cause as dismissing the dialog reverts back to the application not responding loop. Reinstalling the IDE does not help. The only way I've found to get the IDE to work is by removing the stm32 folder under $HOME/.eclipse, but this doesn't correct the issue with subclipse or its connection to subversion. Any help much appreciated.
My device is quite power-sensitive. If I use a single DDR3L module with an STM32MP157 or 135, can I eliminate the need for a VTT power supply?
Hi,I have STM32H755ZIT3 controller, and I am tying to read voltage sensor AMC1333M10 and sensor has internal clock of 10 MHz . I am trying to read on controller DFSDM channel 7, core M4 with clock 64 MHz . Is this practically possible to read in such a configuration ? As when I read the value(dfsdm_buffer), it is always 7 (~0) whether there are voltages on the terminal or not.Code: // start HAL_DFSDM_FilterRegularStart_DMA(&hdfsdm1_filter0, (int32_t *)dfsdm_buffer, BUFFER_SIZE); // callback : void HAL_DFSDM_FilterRegConvCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter) { ... }Following is my configuration for DFSDM in MX : Channel 7 : "PDM/SPI input form ch7 and external clock"Channel 7 :Channel 7 Parameters:Type : "SPI with rising edge"Offset : 0Right Bit Shift : 0x00Analog watchdog parameters:Filter Order: "Sinc 3 filter type"Oversampling: 1Filter 0:regular channel selection:regular channel selection: "Channel 7"Continuous Mode: "Continuous Mode"Trigg
Hello,I'm trying to implement the Key Establishment workflow on my hardware based on STM32U5 MCU and STSAFE-A110 secure chip. The ephemeral key pair generation (StSafeA_GenerateKeyPair) works fine and the establishing key (StSafeA_EstablishKey) with the ephemeral private key and the remote host public key gives me a 48-byte shared secret by using NIST P-256 as curve ID.In the ST library provided, it is mentioned that the StSafeA_EstablishKey function provides a shared secret. In cryptography, a key agreement should return a shared secret on 32 bytes for NIST P-256 curve ID and then this shared secret may be used to compute a 48-byte shared key using HKDF with SHA-256 for example by providing salt and info.So what does exactly return the StSafeA_EstablishKey function of library? A shared secret or a shared key?Remote-side (Linux-OS computer), if I compute a key agreement using the remote private key and the STSAFE ephemeral public key, I get a 32-bytes shared secret (with
Can you increase the delay between Start and end frame packets.I want to make sure there's enough time for it to be detected with the STM32N6. Registers i've tried to use. * VSYNC_START_DELAY - is for gpio output* FSYNC_IN_DELAY - not sure what it does VD56G3 cam End frame packet.
Hello, We are looking for suitable drivers for L9396. Got only the Datasheet & a WSS Operation document. Can you help with the SPI Driver ? Regards, Prakash B J
I am using ST’s Motor Control Workbench (MCW) version 6.3.2 to control a sliding door. I am using PMSM as motor and FOC as control method. PMSM has 10 pole pairs and there is a 1024 ppr incremental quadrature encoder on it (has not index pin). I am using Nucleo-G474RE, STEVAL-IHM023V3 and X-Nucleo-IHM09M2 boards. I am having trouble with encoder alignment. if I'm not mistaken, ST MCW uses “move till aligned with phase A” method (see attachment) as the encoder alignment. But i have a mechanical limit and this will not allow the motor to perform the needed alignment movements. I have posted this in the motor control forum. Not answered yet (https://community.st.com/t5/stm32-mcus-motor-control/incremental-encoder-alignment-problem/td-p/775343) Does ST have any plans to update MCW software to include the motionless start method into speed sensing configuration in the near future? Can anyboady give/share source code/flow chart etc.? Any information you provide will be gl
Hi,I am working with the STM32N6 series MCU on the STM32N6570-DK board and have encountered a pin multiplexing conflict.As per the schematics and datasheet:PA15 (JTDI) and PB4 (JNRST) are multiplexed with LTDC signalsThese pins do not appear to have alternate mappingsMy use case requires:LTDC for driving the displayJTAG for debugging (full JTAG, not just SWD)However, enabling LTDC conflicts with the JTAG interface, specifically JTDI.I have a few questions:Is there any supported way to use both LTDC and full JTAG simultaneously on STM32N6?Are there any alternate pin mappings or remap options available that are not obvious from CubeMX?Is dynamic switching (e.g., using JTAG during debug and reconfiguring pins for LTDC at runtime) a viable or recommended approach?Are there any hardware workarounds or recommended debug strategies for this scenario?I understand that switching to SWD avoids this issue, but I would like to confirm if full JTAG usage is fundamentally incompatible with LTDC on t
Hello,I found a CubeMX database issue affecting STM32H747 dual-core projects using FreeRTOS with CMSIS-RTOS V2.EnvironmentMCU: STM32H747Cube/HAL: STM32CubeH7 1.13.xCubeMX: 6.17FreeRTOS: 10.6.2ProblemTwo FreeRTOS configuration parameters are not present in the MicroXplorer Configuration settings and are not retained in the internal IOC model:configUSE_SB_COMPLETED_CALLBACK configUSE_MINI_LIST_ITEMBecause of that, code generation can produce invalid output in FreeRTOSConfig.h such as:#define configUSE_MINI_LIST_ITEM ( valueNotSetted ) #define configUSE_SB_COMPLETED_CALLBACK ( valueNotSetted )This breaks the build and/or downstream FreeRTOS code.Editing the .ioc manually does not solve it permanently, because CubeMX overwrites the .ioc on regeneration.Adding manual defines in USER CODE blocks is only a local workaround and does not fix the root cause.Root cause foundThe issue appears to be in the CubeMX FreeRTOS mode database, not in the generated project itself.For STM32H747, CubeMX uses
Hello ST Community,I am facing a critical issue with my STEVAL-PROTEUS1 board. The device is in a state where neither the wireless stack nor the application code can be updated or debugged.1. Corrupted Device Information (SWD_READ_FUS.PNG)When reading FUS info via ST-LINK (SWD), the device returns corrupted version numbers:FUS Version: v68.39.fffffe0.7STACK Version: vfffffff0.0.68.78 2. FUS & Wireless Stack Operation Failures (SWD-START-FUS.PNG / SWD-START-WIRELESS.PNG)Attempting to start the FUS or Wireless Stack results in:Error: FUS_STATE_ERR_UNKNOWN: Unknown errorLog: Start FUS Operation Failure! and Start Wireless Stack Operation Failure!3. Flash Write & Verification Mismatch (SWD-UPLOAD-CODE.PNG)I am unable to flash a standard application elf file. Even though the device is connected via SWD:Error: Data mismatch found at address 0x08001000 (byte = 0x12 instead of 0x00)4. USB DFU Mode Inconsistencies (USB-READ-FUS / USB-START-WIRELESS)Switching to USB (PID: 0xDF11) s
Hi,Can I get the IBIS model of 54ACT157 2 input Mux IC?
Dear ST Community,I am currently working on a custom hardware design based on the STM32MP157CAC3 MPU, which includes LPDDR3 memory (Micron MT52L256M32D1PF) and multiple high-speed interfaces.As part of my signal integrity and high-speed design validation process, I need simulation models to conduct accurate analysis.I want to request the following:IBIS models for STM32MP157CAC3, specifically covering:1. DDR interface (LPDDR2/LPDDR3 controller)2. SDMMC interface3. Any other relevant high-speed I/Os(MIPI, LTDC, DCMI, SDMMC)S-parameter models (if available) for:1. High-speed I/O buffers2. DDR interface pins or PHYAny additional resources that may support SI/PI analysis, such as:1. IBIS-AMI models (if available)2. Reference simulation setups3. Application notes related to DDR signal integrityProject details:Custom PCB (not a direct copy of STM32MP1 DK2)LPDDR3 operating btw 300 - 800 MHzGoal: Pre-layout and post-layout SI validation (HyperLynx/ADSI understand that some of these models may r
Hello ST,What is the maximum current draw into the STM32H563/573's VDDUSB pin, please? Is this the same as IDD(USBBCD), i.e. 300 uA (ds14258 rev.6 Table 120)?
Hello,I tried to install the STM32CubeMX2 on Linux Lite 6.6 which is base on Ubuntu 22.04, but get unsupport file error.I double check that I allow this file to run as a program. Is there any guide on how to install it on Linux? Thank you.
Hi, please share CMRT (Conflict Minerals Reporting Template) EXCEL FILE FOR STM32F051K8T7
H563ZI Nucleo and Nucleo-67W61. Using the CLI Binary version 1.1.0 I get: #### Welcome to ST67W6X CLI Application ###### build: 20:14:53 Sep 25 2025--------------- Host info ---------------Host FW Version: 1.1.0[ERROR] [575] [spi_xfer_engine] (spi_iface.c:297) Invalid magic 0x5501[ERROR] [575] [spi_xfer_engine] (spi_iface.c:512) Invalid spi header from peer, magic 0x5501, len (0, 0x0), version 0, type 0flags 0x0, rsvd 0x1[ERROR] [2575] [spi_xfer_engine] (spi_iface.c:448) waiting for spi txn ready timeouted[ERROR] [4000] [ST67W6XTask] (w61_at_common.c:375) sem_if_ready not received[ERROR] [4000] [ST67W6XTask] (w61_at_sys.c:314) Could not init Modem handler[ERROR] [4000] [ST67W6XTask] (main_app.c:783) [ERROR] in W6X_Init API[ERROR] [4000] [ST67W6XTask] (w6x_sys.c:101) W61 Init failed[ERROR] [4000] [ST67W6XTask] (main_app.c:283) failed to initialize ST67W6X Driver, 2##### Application end Suggestions? Thank you.
Hello guys, I would like to know if it is possible to directly connect NUCLEO-F446RE board with steval-mic003v1 mic array without any expansion board. Would love to know your feedback and much appreciated.
Hello, I am working with STM32H750 and encountered an issue related to SPI communication in low-speed mode. Issue description When operating SPI in low-speed (e.g. prescaler /128, ~195 kHz), I observed that: The last SCLK high pulse becomes shorter than the others This may affect correct sampling of the last bit on the slave side This behavior seems consistent with Errata 2.22.6: "Truncation of SPI output signals after EOT event" Root cause understanding From the errata description and signal observation, it appears that: The SPI peripheral is disabled too quickly after the EOT event Since the CPU (PCLK domain) is much faster than SCK,the last SCLK high period is truncated Implemented workaround To address this, I modified the HAL driver (stm32h7xx_hal_spi.c::SPI_CloseTransfer()) to introduce a short delay between EOT and SPI disable, only in low-speed conditions. Instead of using a fixed delay, I implemented a minimal delay proportional to SCK period, to avoid unnecessa
I'm trying to get a basic example of USB comms working on an STM32U575 chip working. I've looked into several bits of example code, but they all just say "it should just work" and don't. STM32CubeU5 Example. This seems like a logical choice, as it's packaged in the FW pack that I'm currently using. But I can't get the VSCode STM32Cube extension to recognize that it's a project and build. I've tried moving the STM32CubeIDE directory contents (.cproject, .project, etc.) to the root of the application directory, but it's still not being recognized. Also, looking into Core directory, I don't see any code that demonstrates USB data transfer. It looks like a template for starting with AzureRTOS, but nothing beyond that. What am I missing?USB_Device Middleware. This is one example that describes using a middleware called USB_DEVICE, and then calls to a function CDC_Transmit_FS(). There are several other examples floating around with this. H
I am using a G474RE nucleo board and i have 2 separate interface boards which i ca connect to it. One board requires a VREFBUS of 2.5V and the other 2.90 . Currently i modify the .IOC file and select the appropriate VREFBUS, compile the code. So currently i have 2 separate .elf files, one for each scenario. I will want a single code version so that on start up based on the status of a switch connected to a GPIO, it will configure the correct VREFBUF value. The attachment shows my setup for the 2.90V internal voltage reference. Thanks David
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.