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 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.
reason: Error: Failed to get full list of project bundles to install. Command failed w Steps I've already triedWindows11Verified the project path contains no Chinese characters, spaces, or special symbols.Cleaned and rebuilt the project (CMake/Make workflow).Reloaded the VSCode window Confirmed the executable file was generated successfully, and the program path in launch.json points to the correct file. QuestionsWhat exactly causes this "Failed to list bundles" error during debugging?Is there a standard, correct launch.json template for this scenario on Windows?Do I need to configure additional GDB paths or environment variables?Are there any other troubleshooting steps I should try? Thanks a lot for any help or suggestions! :folded_hands:
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
Problem: nRST appears to leave the STM32U5 inoperative when applied at any time other than followingapplication of power. Serial traffic is expected through UART4 following a reset. When the boardis powered on, the STM32U5 software runs as expected; initial traffic through UART4 and thenthe STM32U5 interacts through UART4, accepting typed in commands and producing expectedresponse traffic.If the reset switch (SW1) is used to reset the STM32U5, it does not produce the expected serialtraffic and no longer communicates through UART4.A power-cycle of the board produces expected serial traffic and the board interacts (throughUART4) as expected.The board does not reset correctly after being programmed (using a STLINK-V3SET program-mer). The program flash is, however, correctly programmed. The updated flash image works fol-lowing a power-cycle.This schematic fragment shows power, BOOT0, nRST and programming connections to theSTM32U575RIT6 (U1 is 64LQFP package). Bulk capacit
Hello everyone,I have followed the steps in this forum post (“Solved: Deploying a deep learning model on NUCLEO-H753ZI”) Solved: Deploying a deep learning model on NUCLEO-H753ZI - Page 2 - STMicroelectronics Communityto try X-CUBE-AI’s validate feature on the STM32N6570-DK board. Below is my workflow and the problem I encountered:1. BackgroundDevelopment Board & Firmware VersionsBoard: STM32N6570-DKX-CUBE-AI Version: 10.1.0ST Edge AI Core Version: 2.1.0Models That Have Validated SuccessfullyI first used the simple example model provided in that forum post, and validation completed with results.I then tested one of ST’s official STM32N6 AI-demo models; validation completed successfully and reported the expected accuracy metrics.New Model Under TestMy colleague provided a different, more complex model from the STM32 Model Zoo(The model file is attached at the end of this post.). All earlier steps—generate, compile, download to the board—worked fine. However, during the validation ste
STM32L052TIM21, Channel 1: Output PWMTIM21, Channel 2: Switching between Output PWM and Input CompareSystem Clock: 32 MHzHello,I want to use TIM21 of STM32L052 for PWM output on channel 1 and input capture on channel 2 simultaneously. uint16_t TIM_CCMR1_backup; uint16_t TIM_CCER_backup; // PWM on channel 1 and channel 2 void PWM_init(void) { RCC->APB2ENR |= RCC_APB2ENR_TIM21EN; TIM21->CR1 &= ~TIM_CR1_CEN; TIM21->ARR = 0xFFF; TIM21->CR1 = TIM_CR1_ARPE; // TIM21, channel 1 TIM21->CCMR1 |= (0b111 << TIM_CCMR1_OC1M_Pos); // PWM mode 2 TIM21->CCMR1 |= TIM_CCMR1_OC1PE; // output compare preload enable TIM21->CCR1 = 0; // reset output compare register TIM21->CCER |= TIM_CCER_CC1E; // enable output // TIM21, channel 2 TIM21->CCMR1 |= (0b111 << TIM_CCMR1_OC2M_Pos); // PWM mode 2 TIM21->CCMR1 |= TIM_CCMR1_OC2PE; // output compare preload enable TIM21->CCR2 = 0; // reset output compare register TIM21->CCER |= TIM_CC
i have a new phone and the app that is used to get the data is in an oldest version and no newer were done and so i cant acces the data anymore the app is the ST BLE sensore clasic
Hello! I'm attempting to build a custom bootloader for the STM32MP133C, heavily reliant upon the STM32MP13XX hal layer and then provided cmsis_core and cmsis_device_mp13 packages/pieces. I'm attempting this on IAR (company decision) which has added some wrinkles to this. I load the main application to the NAND flash using a custom flashloader, and then run the Bootloader code from sysram. Can't do both at the same time because IAR's flash loader uses the sysram.The bootloader initializes the necessary items- the HAL, system clock, DDR, UART, Flash, Ethernet, etc. I have it blink an LED 5 times for fun, and then load the .bin file from flash into a specific offset in the DDR, where I'm hoping to run from. I then set a function pointer to the starting location of the main app, and run that function pointer. It looks pretty simple/straightforward, as shown below: GetApplicationDetails(flash); //loads from flash to DDR. void (*p_AppEntryPoint)(void);//boot the full OSp
Hello everyone,I would like to share my recent project developed using TouchGFX for industrial applications.I have designed a fully modular keyboard UI using custom containers. The keyboard supports:Uppercase and lowercase inputNumeric keypadSpecial charactersPassword inputEmail inputCalibration data entryThe project is designed with a focus on real-time usability and clean UI design for embedded systems.GitHub Repository:https://github.com/DhruvProject4/touchgfx_advanced_keyboard.git Screenshots: I would really appreciate your feedback and suggestions.Thank youDhruv Dave
New question moved from this post. Another question: which is the best way to proceed for the schematic design of a custom board with series G49 or H5? is it better to: - start from the datasheet of the MCU, - or from some applications notes like this https://www.st.com/content/ccc/resource/technical/document/application_note/76/f9/c8/10/8a/33/4b/f0/DM00115714.pdf/files/DM00115714.pdf/jcr:content/translations/en.DM00115714.pdf - or the reference schematic of the NUCLEO - or the CUBMX configurator (but all the connections for power, crystal are not specified here) - or other resources are more indicated for easy design setup? thanks again
Hi all, X-CUBE-AUDIO-KIT has a project for STM32H573I-DK but this discovery kit has a very small LCD screen. I see the soon to be available STM32H5F5J-DK with a larger screen. Both of these kits have an M33 core MCU so technically the example for one could be ported to the other but that's not something I'll like to do. Will there be an upgrade to X-CUBE-AUDIO-KIT anytime soon and will it include any examples for STM32H5F5J-DK? Thanks
Hi,Our company bought a steval-25r200a for me and I need to develop a application that we can get the information from a nfc card or tag.For an example.There is a nfc tag which installed in a 3d printer filament.We need to get the the size and the color of the filament.Does sT25R200 can get the data from nfc tag?If that information stored at block 1 , where should I start my Application?Is there any document about the uART command from the example.I don't know what should i do if i need to get the block count from a nfc tag and i don't how to read a data from the nfc.I have got the uid of the nfc card by sending these commandsAA 00 02 20 00AA 00 a9 20 02 xx xx...AA 00 02 20 04 AA 00 02 20 06But I don't how to get anything from block of tag.Cloud you please show me a details sequence of getting data from blocks and getting the count of block.I have no idea where should i start.Please give me an example and a direction for developing
Hi everyone, I’m working on an STM32N6 project configured with: ThreadX running in Non-Secure SAU configured RISAF configured External Memory Manager enabled(Load and Run mode) The project is very simple. However, when debugging the Non-Secure application, as soon as tx_thread_schedule() is called, execution jumps to HardFault.The Fault Analyzer reports: “Attempt to do exception with bad value in EXEC_RETURN number (INVPC)”. The code is loaded in external flash memory using Load and Run mode, the signed bin files are uploaded in the external flash using STM32CubeProg and then debugged using STM32CubeIDE.Has anyone experienced INVPC errors on STM32N6 with ThreadX in Non-Secure?Any suggestions would be greatly appreciated.
Hello everyone,we have a setup where the STM32U375 MCU is the slave in I2C communication.We want to NACK the host request on certain conditions. Basic description of our firmwareWe are internally using a register structure in the MCU and the host can send a read/write request via I2C to access the contents of the registers.The current register address is handled internally by the firmware and automatically incremented on each byte written / read.For example, if the requested register address is 0x0001, the host should not be allowed to write to the register but only to read it.First we receive the one-byte device address, then the 2-byte register address.After receiving the 2-byte register address, we can check if the host is allowed to read/write on this register and want to either ACK or NACK the communication on I2C1. Solution tried but not successfullIt seems when HAL_I2C_AddrCallback is called then it is already too late to NACK the current byte and the hardware has alre
I'm in a bit of a pickle. I got a MIPI DSI screen with 1200x1920 resolution. It turns out for SMT32MP25x max vertical supported resolution is 1536. But datasheet says this. Some over-target non-guaranteed use cases are possible, but with specific constraints:• Drive simultaneously three panels, using the three interfaces (parallel, LVDS, DSI), witha same content.• Drive simultaneously two parallel LVDS panels, using each one link, with a reducedresolution and a same content.• Drive a 4 k panel via the DSI, with a limited features and performances: one layer,no resize, no rotation, 30 fps, and non-standardized blanking sizes. How do i specify those params in dts or/and linux panel driver? I tried setting 30Hz on panel, but that did not help - linux drm fails with "vblank wait timed out"This fails - 1200x1920@30Hz.clock = 80288,.hdisplay = 1200,.hsync_start = 1200 + 32,.hsync_end = 1200 + 32 + 14,.htotal = 1200 + 32 + 14 + 26,.vdisplay = 1920,.vsync_start = 1920
Hello"Program and Run Target" stops with some Messages (Small Test Prog.)"Program All": ------------------------------------------------------------------- STM32CubeProgrammer v2.22.0 ------------------------------------------------------------------- Memory Programming ... File : STM32N6570-DK_FSBL-trusted.bin Size : 32.63 KB Address : 0x70000000 Erasing memory corresponding to segment 0: Erasing external memory sector 0 Error: failed to erase memory Error: failed to erase memory c:/TouchGFXProjects/MyApplication_5/gcc/include/flash_sections_int_ext.mk:18: recipe for target '_fsblflash_' failed make[2]: *** [_fsblflash_] Error 1 makefile_fsbl:45: recipe for target 'flash' failed make[1]: *** [flash] Error 2 ../../gcc/Makefile:8: recipe for target 'flash' failed make: *** [flash] Error 2 Failed "Program Internal Flash": Memory Programming ... File : STM32N6570-DK_Appli-trusted.bin Size : 345.22 KB Address : 0x70100000 Erasing memory corresponding t
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.