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
Hi,Running USBX/ThreadX with MSC and HUB host classes, on an STM32H573. I enabled UX_ENABLE_DEBUG_LOG to get some USBX debug info from the software stack, andit doesn’t compile. Fixed the compile error in usbx/common/core/src/ux_utility_debug_log.c, and thenset a breakpoint in the logging function _ux_utility_debug_log(), and it never gets called? Can someone provide some history here, was this feature deprecated at some point?Lots of online troubleshooting guides indicate that this is a useful debug technique?I grep’d the code and found two instances where the stack actually calls UX_DEBUG_LOG(),and both are in the host_class_CDC software, which my product does not use.ThanksKen
On the STM32H755IIT6, can a 3.6 V nominal Li-SOCl₂ cell be connected to VBAT through a single low-leakage silicon diode? Is there a guaranteed minimum VBAT input current when VDD is present, or could VBAT rise above its 3.6 V operating maximum because the diode has almost no forward current? Does ST recommend a particular circuit for this application?
I have just updated stmcubeidx to 2.3.0 . Its seems to work except the debugger connection is wrong. It thinks it is using J-Link but it should be ST-Link. How can I make that change to the debug configuration ?SEGGER J-Link GDB Server V9.78 Command Line Version JLinkARM.dll V9.78 (DLL compiled Sep 16 2026 16:25:20) Command line: -port 2331 -s -device STM32F407VE -endian little -speed 4000 -if swd -vd-----GDB Server start settings-----GDBInit file: noneGDB Server Listening port: 2331SWO raw output listening port: 2332Terminal I/O port: 2333Accept remote connection: localhost onlyGenerate logfile: offVerify download: onInit regs on start: offSilent mode: offSingle run mode: onTarget connection timeout: 0 ms------J-Link related settings------J-Link Host interface: USBJ-Link script: noneJ-Link settings file: none------Target related settings------Target device: STM32F407VETarget device parameters: noneTarget interface: SWDTarget interface speed: 4000kHzTarget endian: little Connecting to
Subject: ST Edge AI Core 4.1.0 – Code Integrity blocks unsigned Python modules on Windows 11Hello ST Support Team,I am using ST Edge AI Core v4.1.0 (build 4.1.0.20732) with the STM32N6570-DK target to analyze a MobileNetV2 INT8 TFLite model.When running the stedgeai analyze command, the process fails with the following error:DLL load failed while importing opt_merge_zero_pad: A policy control application has blocked this file.System information: Windows 11 Pro, build 26200 Python 3.13.12 ST Edge AI Core 4.1.0 (build 4.1.0.20732) STM32 MCU module v4.1.0 STM32N6 target Additional investigation:Windows Smart App Control is enabled.I checked the Windows Code Integrity Operational log and found Event ID 3077 entries confirming that Windows blocks the following ST Edge AI Core modules: frontend\concatenate_outputs.cp313-win_amd64.pyd middleend\opt_merge_zero_pad.cp313-win_amd64.pyd irs\base\memory_assets.cp313-win_amd64.pyd The log reports that these files do not meet the Enterpr
Looking to add 4 mics to the most recent X-Cube-Audio release with livetune.I’m not too familiar with the MDF peripheral but we were able to modify the existing release for the H5 and now are moving to the U5 series. I have added the following to stm32_audio.conf.h // data stream for mics 3 and 4#define UTIL_AUDIO_MDF_DATA_IN_MIC34_PIN#define UTIL_AUDIO_MDF_DATA_IN_MIC34_AF GPIO_AF6_MDF1#define UTIL_AUDIO_MDF_DATA_IN_MIC34_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE()#define UTIL_AUDIO_MDF_DATA_IN_MIC34_PIN GPIO_PIN_0#define UTIL_AUDIO_MDF_DATA_IN_MIC34_PORT GPIOC#define UTIL_AUDIO_MDF_INSTANCE0 MDF1_Filter0#define UTIL_AUDIO_MDF_INSTANCE1 MDF1_Filter1#define UTIL_AUDIO_MDF_INSTANCE2 MDF1_Filter2#define UTIL_AUDIO_MDF_INSTANCE3 MDF1_Filter3#define UTIL_AUDIO_MDF_OUTPUT_CLOCK_PIN MDF_OUTPUT_CLOCK_0#define UTIL_AUDIO_MDF_MAX_CH_NB 4U#define UTIL_AUDIO_DMA_USED#define UTIL_AUDIO_MDF_INSTANCE
My FMC clock, set to continuously generated, only cycles during a bus transaction.On my STM32N657I0H3Q, I have the following setup:FMC enabled in applicationChip Select NE1Muxed PSRAMData/Address: 16 bitsClock: Burst Read WriteAddressValid: YesWait: SynchronousThen, in the configuration, I have "CLK generated continuously" set. I have confirmed all of these settings in the resulting fmc.c code. I've also verified at runtime that hsram1.Instance->BTCR[FMC_NORSRAM_BANK1] = 0x183997(Where 1<<20 -- 0x1000000 is continuous clock generation).Meanwhile, my oscilloscope shows the FMC_CLK waveform:Clearly not continuous!
Hello ST Community,I am facing an issue with my STM32F4 Discovery board after changing the Readout Protection (RDP) level from Level 0 to Level 1 using STM32CubeProgrammer.Issue DescriptionInitially, my application was working properly with RDP Level 0. I then changed the RDP level from Level 0 to Level 1 using STM32CubeProgrammer.After this change, my main application stopped running. Nothing happens after resetting or even performing a complete power cycle of the board.Steps PerformedProgrammed my application successfully with RDP Level 0. Verified that the application was running correctly. Changed the RDP level from Level 0 to Level 1 using STM32CubeProgrammer. Reset the board. Also tried disconnecting and reconnecting the power.However, the application does not start executing anymore.
Board: STM32H7S78-DKMCU: STM32H7RSxxIssue DescriptionI am implementing the Independent Watchdog (IWDG) in an STM32H7S78-DK project with Two-Stage Secure Boot.I observed the following behaviour: Without Secure Boot: IWDG works correctly and resets the MCU within the expected timeout. With Two-Stage Secure Boot: IWDG takes approximately 2 minutes to reset the MCU, even though the configured watchdog timeout is much shorter. Investigation Verified IWDG prescaler and reload register values. Checked IWDG initialization. Used a GPIO pin and logic analyzer to measure the initialization timing. Compared IWDG behaviour with and without Secure Boot. Questions Why does IWDG take approximately 2 minutes to reset the MCU when Two-Stage Secure Boot is enabled? Does STiRoT or OEMuRoT perform any IWDG initialization or refresh operation during the boot process? Are there any specific configurations required for IWDG when using Two-Stage Secure Boot on STM32H7RS? Any suggestions or guidanc
Hello everyone. I'm developing a leg-worn device. It needs to record speech. What MCU can you recommend that can process audio streams from two or more microphones and filter out stationary and non-stationary noise using a neural network? Could you recommend a pre-trained network for this purpose? Beamforming from two or four microphones would also be useful. Thanks in advance for your reply.
I’m not talking about migrating existing code or projects - there seems to be a tool for that. What I’m talking about is a guide for people who are experienced with MX1, to explain the differences in architecture & UI. It should answer the questions, “I knew how to do X in MX1 - how do I do it in MX2?” PS:For example:
We are observing an intermittent internal crash and automatic restart of the ST67W611M1 while using the T01 mission firmware with X-CUBE-ST67W61.ConfigurationModule: ST67W611M1X-CUBE-ST67W61 middleware: v1.3.0Mission profile: T01AT version: 1.0.0SDK version: 2.0.106Wi-Fi MAC version: 1.6.44BT Controller version: 1.6.128BT Stack version: 1.10.83Module build date: Mar 20 2026Host MCU: STM32U5 seriesInterface between STM32 and ST67W611M1: SPIArchitecture:Wi-Fi and TCP socket provided by ST67W611M1 T01 firmware TLS runs on STM32 using MbedTLS MQTT 3.1.1 runs on STM32 X.509 authentication is handled on the STM32 sideProblemDuring continuous TCP traffic, the ST67W611M1 intermittently generates a RISC-V exception, produces a QCC74x core dump, and restarts.The recurring exception is:exception_entry mcause=30000005 mepc:62fd0de2 mtval:842a0748 Load access faultThe corresponding ST67 firmware build ID is:551e2178cb2e0e5f41ed380892ed67064c504657The same fault signature has been reproduced multipl
CubeMX2 v1.2.0Where is the documentation of the GPIO configuration? In particular:What is the ‘Label’ in ‘General information’ for ? What is the ‘SW Label for signal’ on each pin for ?I don’t see this in the online documentation:https://dev.st.com/stm32cube-docs/stm32cubemx2/1.2.0/en/docs/markup/STM32CubeMX2_How_To/STM32CubeMX2_How_To_Configure_GPIO.htmlhttps://dev.st.com/stm32cube-docs/stm32cubemx2/1.2.0/en/docs/markup/STM32CubeMX2_How_To/STM32CubeMX2_How_To_Configure_GPIO.html#
Hello,I am using BLUENRG-M2SA, which is based on BlueNRG-2. We need access to STSW-BLUENRG1-DK, the software development package for BlueNRG-1 and BlueNRG-2 devices.When attempting to download the package, we receive the following error:“Forbidden / You don't have permission to access this resource.”We have already tried downloading both with two different ST accounts and without logging in, on different web browsers (Chrome and Edge), but the issue remains.Please advise how we can obtain access to STSW-BLUENRG1-DK for our BLUENRG-M2SA / BlueNRG-2 development.Best regards,Ingemar
stm32c542rc push button pin and clock configration
Hello,I am a student writing a research paper on the STM32N6.I want to find the model size from which the Neural-ART NPU runs a network faster than the Cortex-M55 alone, and how the layer type and operators that fall back to the CPU shift this point.For this, I benchmark synthetic int8 models (dense, convolutional, and dense with one fallback layer) on the STM32N6570-DK in the Edge AI Developer Cloud. I use the REST API through the stm32ai_dc client from the STM32 model zoo services, with ST Edge AI Core 4.1.0. Each model is built once for the Cortex-M55 alone and once for Neural-ART, and each build runs in 3 separate benchmark jobs of 10 inferences each. I run at most 4 jobs in parallel.On November 7th, 258 jobs ran successfully. At about 17:06 CET (16:06 UTC), 4 jobs I had just submitted stayed "in_queue" for more than 25 minutes. Since 17:33 CET, the STM32N6570-DK has been missing from the board list, while the 24 other board types are still listed.It was still missing on November 8
Hello,the CSI-2 lane remapping of the 5 MP global shutter sensors is described differently in two documents, and I would like to know which reading is correct:- RM0532 Rev 2 (p. 11) describes each 2-bit field of OIF_LANE_PHY_MAP (0x093A) as "lane mapping for physical lane N", i.e. field N = physical lane N, value = the logical lane it carries.- UM3507 Rev 4, Table 99 says "0: Logic lane is mapped to physical lane 1", i.e. field = logical lane, value = physical lane.Questions:1. Which description is correct?2. Does "physical lane N" correspond to balls DATAN_P / DATAN_N in the datasheet ball map?3. Are the DATALANE1..4 bits of OIF_LANE_PHY_SWAP (0x093B) indexed by physical lane or by logical lane?4. In 2-lane mode, what state do the two unused physical lanes take (LP-11 or high-Z)?5. The minimum data rate per lane is given as 300 Mbps (DS14880 p. 3 and §5.2), 250 Mbps (DS14880 Appendix B, Table 43) and 600 Mbps (UM3507 §11). Which value applies to global shutter and to rolling shutter S
HelloST Edge AI: Guide for STM32MPU 、 Section 3.2.1. Referring to “Generate NBG from TensorFlow™ Lite or ONNX,”I converted the .tflite file downloaded from ModelZoo to .nb, but I’m getting an error.$ /opt/ST/STEdgeAI/4.0/Utilities/linux/stedgeai generate -m ./yolov8n_256_quant_pc_uf_od_coco-person-st.tflite --target stm32mp25ST Edge AI Core v4.0.1-20581 7ed50de05E102(CliArgumentError): stm32mp25 not recognized as target. Supported targets areispu --device DEVICEmlcstm32f4stm32l4stm32l4pstm32g4stm32f3stm32wbstm32n6 [--st-neural-art]stm32f0stm32l0stm32g0stm32c0stm32wlstm32v8stm32u3 [--hsp]stm32h7stm32f7stm32u5stm32l5stm32h5stm32c5stm32mp157cIf you change the target name slightly, you'll get the following error: $ /opt/ST/STEdgeAI/4.0/Utilities/linux/stedgeai generate -m ./yolov8n_256_quant_pc_uf_od_coco-person-st.tflite --target stm32mp2ST Edge AI Core v4.0.1-20581 7ed50de05E102(CliArgumentError): stm32mp2 is not availableCould you tell me how to convert a .tflite file to
Hi,I recently bought the cam-5943-081-clr. In its databrief, 1st page “On embedded processing platforms with a MIPI CSI-2 output using the P-Board hardware tool and free Linux software tools”, the P-Board URL redirects to the STEVAL-CAM-M0I PC34280D/PCB4280D page.It poorly fits on the board as the room is too small for the camera, as shown in the pictures.I couldn’t find a P-board fitting the camera module but want to ask to be sure,Is there an adapted P-board for this cam-5943-081-clr product ?
Hello,I’m using CubeMX v6.18 (no difference in 6.19) to create code for STM32H5 (FW1.7.0)I noticed, that in generated HAL_MspInit() the call of HAL_SYSCFG_EnableVREFBUF() seems to take a while because the function always runs into a 10ms timeout. A bit is set in this function, but the status VREFBUF_CSR.VRR never changes to 1. void HAL_MspInit(void){ /* System interrupt init*/ /** Enable the VREF clock */ __HAL_RCC_VREF_CLK_ENABLE(); /** Configure the internal voltage reference buffer voltage scale */ HAL_SYSCFG_VREFBUF_VoltageScalingConfig(SYSCFG_VREFBUF_VOLTAGE_SCALE0); /** Enable the Internal Voltage Reference buffer */ HAL_SYSCFG_EnableVREFBUF(); /** Configure the internal voltage reference buffer high impedance mode */ HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE);If I change the order of function calls slightly (first set VREFBUF to output before enableVREFBUF)/** Configure the internal voltage reference buffer high impedance mode */H
My project (STM32CubeMX2 with VS Code and STM32C552SET cpu) seems to be running out of stack space. How can I increase the STACK SIZE?It's probably obvious but I cannot find the option anywhere in Project Settings or in a Linker Script.
Howdy do; I am having a disagreement with Claude tool about something I want to believe is relatively straightforward: hardware debouncing a switch connected to an STM32 GPIO. Specifically, I have an STM32U595, the VDD of which is running at 1.8V. The datasheet for this device says:V_IL = 0.3*VDD, (maximum) V_IH = 0.7*VDD, (maximum) V_hys = 250mv (typical) Claude’s interpretation of the above is:Any voltage below V_IL (0.54 V) will definitely read as low. Any voltage above V_IH (1.26 V) will definitely read as high. The point(s) that the pin actually switches between high and low is somewhere between these points Hysteresis is not given at a minimum, only a typical. It could be as low as 0mV, theoretically. The ramification of this is that a GPIO could flip from low to high at just above 0.54V, or from high to low at just below 1.26V. My own assumption reading these numbers is that I should design with the idea that a GPIO’s switch from low to high happens at 1.26V, and from high to
device STM32H743IIT6 I only use a single ADC. What are "tsampling + N/2 + 0.5", So what is N? How can the sampling rate (samples per second) be calculated? According to the documentation, TCONV = Sampling time + 7.5 ADC clock cycles; does this mean 7.5 ADC clock cycles is a constant?
Hi,STM32L471RGT6 2606+dc we have below issue,All of them show no communication and no connection directly,
Hi,Could you please provide:T_Jmax (maximum Junction Temperature) R_JA(Junction to Ambient Thermal Resistance) R_JC (Junction to Case) R_JB (Junction to Board)for the M24128-DRMF3TG/K.
Is there anyone know the difference between STM32F101RCT6 and STM32F101RCT6S7.It would be highly appreciated if anyone could tell me the difference between them.Thank you and best regards!
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.