Get ready for the STM32 Summit 2026 | Online, November 3
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,I’m using the SBSFU by MCUboot implementation from the STM32CubeU5 Project (here).It works well on the target board (U585) and I succeeded at uploading a new firmware through Teraterm, as per the documentation : But our teams cannot all have access to a PC with Windows, and as such I attempted to make an upload with Minicom on Linux (Ubuntu) instead, which did not work (I added the “Bytes” logging before the “Abort from user” message) : I saw much discussions about a similar problem on the legacy SBSFU 2.4 / 2.7 (this one or this one for example), but none for the one using MCUboot. I’ve still tried most of the solutions proposed there, but to no avail. I’ve tried fiddling around the code to see why the Ymodem protocol was failing through Minicom, but haven’t found much actionable information up to now.Has anyone encountered this problem and may know how to patch it or work around it ?I’ll continue to investigate on my end and document my eventual findings here. Thanks in advan
Hi,I encountered problems during the development process of using FMAC. To illustrate the problem simply, I used FMAC to implement an RC filter, by which I mean to illustrate the calculation problems of FMAC.RC filter:10K+10nFIts discrete z-domain expression:(Ts=1e-6,Tustin)so I get fixed-point parameters :I referred to the example program of AN5305 and used a 1-us timer to trigger ADC sampling. After the ADC sampling is completed, DMA writes to the WriteData of FMAC, and then the ReadData is processed in the interrupt as follows:As shown above, my current ADC sample is 0, and my Vref is set to 800. I think the output of FMAC as an RC filter should be around 800 in the DC case, but actually it is not. It is a relatively small value. Why is that?May I ask if there is a problem with my configuration of FMAC?
Dear Gentlemen,as a relative beginner using STM32C5 MCU-s,I need your help to resolve one issue.Namely,In new design, where planned MCU is STM32C542CCT6 device, (LQFP48 package),I plan to use internal Comparator COMP2.Problem (for me) arises when I have to declare connection between Comparator nodes(INP- (M), INP + (P) and OUTPUT) with some specific pins on LQFP48 package, more precisely it would be ideal for me to use PA7 pin as Comparator2 Outputand pin PA2 as Comparator2 -INPut, and pin PA3 as Comparator2 +INPut.In short,it is not a problem to "connect" Comparator Output, COMP2_OUT as shown in Table 12 STM32C542xx pin/ball definition, on STM32C542xx data sheet (DS), page 41, or in Table 13 Alternate functions, since i will declare AF14 = COMP2_OUT in appropriate GPIOA_AFRL register, see page 352 in RM0522 Reference manual, (RM)but I have problem to declare Comparator2 INPut pins, since it is selected thru peripheral registers,as stated in Table 11 in device DS, ...Additional fu
Discrepancy between AN5967 and MB1940 schematic regarding VDDA18PMU / VDDSMPS connections in external SMPS mode Hello ST Team,We have a custom board based on the STM32N657X0H3Q, designed using the MB1940 (Nucleo-N657X0Q) schematic as reference. The board has been fabricated and assembled, and we are currently in the bring-up phase.During bring-up we encountered a failure on the external SMPS path (TPS62088YFP) used for VDDCORE generation. The external buck failed with a shorted high-side FET, driving 5V directly onto the VDDCORE rail. After investigation, we recovered the board by removing the failed external buck and switching to the on-chip internal SMPS, which is currently working correctly and supplying VDDCORE at 0.810 V.While reviewing the power supply architecture during this debug, we noticed a discrepancy between AN5967 (Getting started with hardware development for STM32N6 MCUs) and the MB1940 reference design that we would like clarification on.DiscrepancyAN5967, Sectio
hello,When using MDMA (STM32H753), and more than one transfer, the code generated doesn't align correctly the struct MDMA_LinkNodeTypeDef. This structure should be aligned with 64 bits.Please, see : https://community.st.com/t5/stm32-mcus-embedded-software/stm32h753zi-mdma-issue-with-linked-list-dma-adc/m-p/897390CubeMX : V6.17Thanks,best regards,Laurent
Hello,We are evaluating ST microcontrollers for a new product and would like some clarification regarding long-term availability.The STM8 family is now marked as NRND, and I have seen references in community discussions to a possible discontinuation around 2032.Could ST please clarify: What is the official long-term availability plan for the STM8 family and is there currently an announced End-of-Life date for STM8 devices? As STM32C0 is often presented as the migration path from STM8, I would also like to know whether the STM32C011 is covered by ST's longevity program and what its currently committed availability date is.Thank you for your help.
I am trying to disable the write protection on an STM32G431K (on a Nucleo-G431KB) by settings the option bytes using CubeProgrammer:However, “Apply” fails with the log showing:11:14:40:365 : Option byte command : -ob WRP1A_STRT=0x3f WRP1A_END=0x0 11:14:40:367 : qCmd : -ob WRP1A_STRT=0x3f WRP1A_END=0x0 11:14:40:367 : PROGRAMMING OPTION BYTES AREA ...11:14:40:368 : Database: Config 0 is active.11:14:40:368 : Bank : 0x0011:14:40:368 : Address : 0x40022020 11:14:40:368 : Size : 84 Bytes11:14:40:373 : halt ap 0 11:14:40:381 : Loader write option bytes...11:14:40:381 : Init flashloader...11:14:40:381 : halt ap 0 11:14:40:389 : run ap 0 11:14:40:390 : halt ap 0 11:14:40:396 : run ap 0 11:14:40:420 : Reconnecting...11:14:41:549 : ST-LINK SN : 00190036313351123630373911:14:41:549 : ST-LINK FW : V3J17M1011:14:41:549 : Board : NUCLEO-G431KB11:14:41:550 : Voltage : 3.27V11:14:41:739 : Error: Unable to get core ID11:14:41:739 : Error: Cannot connect to acce
hiI installed version 5.1.1 today and reactivated the license key, but I got the following error. nanoedge ai studio license has reached its activation limit Is there a solution? I installed version 5.1.1 today and reactivated the license key, but I got the following error. Is there a solution?
Pls help with FIT rate value for below components:STM32N657X0H3Q - MCU LSM6DSVTR - IMU Sensor M24M01E-FMN6TP - EEPROM ST4SI2M0004TPIFW - eSIM
I am seeing behavior on an STM32G474 that I cannot explain and would appreciate if anyone has seen this before.SetupMCU: STM32G474 (Nucleo-G474RE) COMP6 Positive input: PB11 (COMP6_INP / ADC1_IN14) Negative input: DAC2_CH1 HRTIM Fault 3 source: Internal Fault (FLT_Int) from COMP6 Fault filter: Disabled Fault counter threshold: 0 Fault polarity: Active HighDAC ConfigurationDAC2_CH1 configured as:Normal mode Connected to on-chip peripherals only Output buffer disabledRuntime code updates DAC2 every 1 ms:HAL_DAC_SetValue(&hdac2, DAC_CHANNEL_1, DAC_ALIGN_12B_R, dac_value);Verification PerformedVerified COMP6 configuration registers. Verified DAC2 DOR register contains expected value. Verified HRTIM Fault3 is the only enabled fault source. Disabled ADC sampling on PB11 (no change). Verified fault polarity behavior. Verified comparator output on a GPIO pin.ObservationWhen monitoring the COMP6 output pin directly, the comparator switche
Hi all,I came across an older thread here ("Anomaly Detection on ISPU", ISM330ISN) where the conclusion was that NanoEdge AI's learned knowledge cannot be preloaded onto the ISPU — the "Include knowledge from benchmark" option isn't available when targeting the ISPU, because the model has to relearn after every power cycle. One of you confirmed this is expected behavior given the ISPU sits directly on the sensor with no on-board non-volatile memory for it.I'm doing research on vibration-based bearing fault detection (a manuscript is currently under review at Mechanical Systems and Signal Processing, with validation across four public datasets — CWRU, Huang–Baddour, XJTU-SY, Paderborn), and this relearning constraint is directly relevant to what I'm working on: detectors whose healthy-state reference is small enough to be committed to flash and restored instantly, with no relearning window after a restart.Two questions for the community / ST team:1. Does this same constraint apply to th
I am trying to use the STWIN.box - SensorTile Wireless Industrial Node Development Kit to detect vibration on X-ray tubes. I know the sensor has screw holes but the tube doesn’t have screw holes. I was wondering what other options I had for mounting?
It’s mentioned in RM0456 rev7 that manual trim must be done for device variants except STM32U535/545; U575/U585 Rev.X: However in CubeMX 1.8.0 manual trim is only applied for these devices, which only applies to half of the family: /* This is only needed for some devices/rev. */ if (((dev_id == 0x482UL) && (rev_id == 0x3000UL)) || ((dev_id == 0x481UL) && (rev_id == 0x2001UL)) || ((dev_id == 0x481UL) && (rev_id == 0x3000UL)) || ((dev_id == 0x476UL) && (rev_id == 0x1000UL)))For example my Nucleo-U5A5ZJ-Q board has dev_id=0x0481 and rev_id=0x3001 so the manual trim is not applied.Which one is correct ?
For the SMPS mode of the STM32H563MIY3Q, the datasheet recommends an inductor with an RMS current (Irms) rating of 1.4 A. However, the actual core current is only 50 mA. Is it acceptable to select an inductor with a lower Irms rating, such as 500 mA?
I am using an STLINK‑V3ISOL and need compatibility with a setup/documentation that specifies ST‑LINK/V2.Is there any jumper setting, hardware configuration, or firmware option that allows the STLINK‑V3ISOL to operate as an ST‑LINK/V2 device?If not, is there a recommended adapter or pin mapping to make the V3ISOL interface compatible with a V2 connector/pinout for SWD/JTAG debugging?Any guidance or experience would be appreciated.
Dear ST Community,I’m currently working with an ALIENTEK STM32MP257 development board and ran into an issue when deploying a model converted via the ST Edge AI online tool.The original model is a plant disease recognition model from the ST model zoo (in .tflite format). I used the ST Edge AI webpage to convert it to an .nb model for deployment on my STM32MP257 board. However, when I test the converted .nb model, the inference output is unexpected: it only predicts two classes — “Background_without_leaves” and “Corn__Northern_Leaf_Blight” — both with relatively high confidence. This happens regardless of the input image.In contrast, when I run inference directly using the original .tflite file on the same test images, the results are correct and show proper class diversity.I double-checked my test code and also consulted AI assistance, which suggested that the converted .nb model might be problematic.I’ve attached a compressed file conta
Hi,what would be recommended way to override internal LDO which is used for VDD11/VCAP preparation? Because of thermal management, we prepared external LDO to lower internal MCU temperature. In H5 family, there was an BYPASS bit in PWR management. Maybe shall I change Vos to lower level to let higher level LDO win? Or would you have other way :) Thanks!JM
HIST EDGE AI can generate projects for various development boards based on the STM32U0 (e.g., NUCLEO-U083RC). However, the STM32U0 does not appear in the list of supported MCUs (only U3 and U5 are supported). Am I doing something wrong? BRGilberto
Hello,I am using the ST25R200 evaluation board with the STSW-ST25R020 firmware package.I am planning to develop a custom Python GUI that displays a specific text string whenever an NFC tag is detected by the board. To achieve this, I want to modify the C firmware so it actively streams out a text string via UART/VCP as soon as a tag enters the field.Could you please guide me on the following?Which specific source file and function in the STSW-ST25R020 package handle the successful tag detection/inventory loop where the tag's UID is retrieved? Where is the best place to insert a custom printf or logging function to stream this text data out via UART immediately upon detection? Thank you very much for your help!
Hi,I am trying to install ST Edge AI Core 2.0.0 for an STM32N6 project. During the installation process, the installer asks me to specify the ST Neural-Art package archive.However, I cannot find the ST Neural-Art archive on this page:https://www.st.com/en/development-tools/stm32n6-ai.html#overviewI only found the ST Edge AI Core download, but not the separate Neural-Art archive required by the installer.Could you please let me know where I can download the correct ST Neural-Art archive compatible with ST Edge AI Core 2.0.0?Thank you.
Hi Team,I am currently working on a Driver Monitoring System (DMS) project using the STM32MP257F-DK board, and I have successfully integrated the OV5647 camera sensor.At this stage, I am facing an issue related to ISP calibration. The camera is currently running with auto exposure enabled, due to which the frame contrast is not constant for any detection. To stabilize and properly tune the image, a fixed YAML calibration file is required. However, a suitable YAML file for the OV5647 sensor is not available.From my understanding, the YAML calibration file needs to be generated using the ISP tuning/calibration tool. However, I tried following the complete process mentioned in the Wiki page documentation, but the ISP tool is not detecting the board, which is blocking further progress.Could anyone please guide me on the following:How can I generate a custom YAML calibration file for the OV5647 sensor using the ISP tool?Is there any alternative or manual method to create the YAM
I have an axf file generated by vscode keil studio, then I followed follwoing tutorial to debug in vscode stm32cube ide.How to debug an external .elf file in VS Code | CommunityThen it triggers hard fault, and debugger shows `SystemCoreClock` is not correctly initialized, when it enters into `main`, the value is initialized to `(uint32_t) -1`.If I terminate gdb and soft reset it in cube programmer, it works fine, it also works fine when I debug it in vscode keil studio. The project is a simple cubemx STM32F407 generated project, and enables serial wire debug, the code in main infinite loop is just two ITM_SendChar. Update:It only occurs in first time launch, if it enter hard fault then click reset target, it works fine, but data values of SystemCoreClock and uwTickFreq are still -1.
On a secured STM32H7Sx device (in CLOSED or LOCKED product state), what is the recommended way of passing volatile data to lower HDPL levels?According to the reference manual, the SBS_RSSCMDR register can be used to pass volatile data from HDPL 1, 2 or 3 to HDPL 0 (RSS), so that part of the answer is covered:Bits 15:0 RSSCMD[15:0]: RSS commandThe application can use this bitfield to pass on a command to the RSS, executed at thenext reset.But what if you want to pass volatile data from HDPL 2 or 3 to HDPL 1?(E.g., HDPL 2 wants to call into HDPL 1 so HDPL 2 first needs to write some volatile command somewhere, then execute a reset, then HDPL 0 (RSS) boots, then HDPL 1 boots and picks up the volatile command from somewhere.)SBS_RSSCMDR cannot be used because RSS will interpret this value as well, and RSS might clear this value at the moment it boots HDPL 1.
Hi,the cubemx HRTIM configuration will not let me set the set sources for Output 2, even though deadtime insertion is turned off.I had previously enabled it, and now disabled it. Since then I am unable to add a set source for Output 2.See the attached screenshots and .ioc file.I am using version 6.17.0
I'm investigating a suspected flash corruption/ECC issue on an STM32H743.A read from flash address 0x081F0000 consistently causes a fault. The problem is that I'm not fully confident that the fault status registers can be trusted after the event, so I'm looking for a diagnostic approach that does not rely entirely on the captured fault information.Known facts:Accessing 0x081F0000 triggers a fault. ECC_FA2R does not show a failing address. STM32H7 flash ECC is evaluated only when flash is read. ECC granularity is 32 bytes (256 bits).My main question is:If I suspect flash corruption or an ECC problem, but do not fully trust the contents of CFSR, HFSR, BFAR, SR2, or ECC_FA2R after the fault, what is the recommended way to diagnose the problem?Would you:Perform a controlled BusFault-protected flash scan in 32-byte steps? Use HAL_FLASHEx_ComputeCRC() over the suspect region? Dump the entire flash bank via SWD/JTAG and verify externally? Use some other method?Has anyone seen a corrupted flas
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.