Join conversations with your peers and ST experts. Explore the full potential of STM32 microcontrollers for your embedded design.
Most recent activity
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.Dear STMicroelectronics Team,We would like to request clarification regarding the delivery schedule of our STM32WL5MOCH6TR orders.As indicated in the attached correspondence and supply reports, we were initially informed that our order would be delivered in June 2026. Based on this commitment, we planned our production schedules, project milestones, and customer deliveries accordingly.However, after requesting an updated status, we were informed that the estimated delivery date had been postponed to February 2027.This change represents an approximately eight-month delay and creates a significant risk for our ongoing projects and contractual commitments, including projects for public institutions.We kindly ask for your support in confirming whether the latest delivery date is accurate and final. If there is indeed a supply constraint that will
Hi everyone, I have a schematic using the Realtek RTL8211F-CG Gigabit Ethernet PHY and I want to connect it directly to an STM32H7 microcontroller for Ethernet communication. My questions are: The STM32H7 Ethernet MAC supports MII and RMII only. The RTL8211F-CG is a Gigabit PHY that primarily uses RGMII. Is there any way to make it work with STM32H7 without adding an intermediate chip like LAN8720 or DP83848? The RTL8211F-CG datasheet mentions it can operate at 10/100 Mbps as well but does it support a true RMII mode that the STM32H7 MAC can talk to? Has anyone successfully used the RTL8211F-CG with STM32H7 directly? If so, what interface mode did you configure on the PHY side, and what changes were needed in CubeMX/HAL? If this is not possible at all, what is the simplest/cheapest alternative 10/100 PHY that works reliably with STM32H7 in RMII mode? Any help or experience is appreciated. Thanks!
I am using the STM32H7B3I-EVAL board. I checked STM32CubeH7. Since the board supports camera (DCMI) . Any camera demo project for testing LCD preview Availability of prebuilt binaries (.hex / .bin / .elf) for quick hardware testing Goal: quick validation of camera Please share any working example or reference.
Subject: STM32U5A5: Unexpected behavior on PA11 when used as SPI1_MISO Hi,We observed unexpected behavior on STM32U5A5 devices when using PA11 as SPI1_MISO.The issue has been reproduced on multiple STM32U5A5 devices from different production batches as well as on an STM32U5A5 evaluation board. The same software and hardware setup works correctly on an STM32U585. Description===========When SPI1 is enabled and PA11 is configured as MISO, the pin appears to load the signal unexpectedly.In our setup, the external SPI device drives the MISO line push-pull. However, the signal level reaches only about 2.9 V when active. When the SPI device is inactive (CS de-asserted), the signal drops only to about 2.3 V. To exclude the external SPI device as the root cause, we disconnected it completely and performed a simple GPIO test:- PA11 configured as GPIO input- PA11 connected to 3.3 V through a 10 kΩ resistorExpected result:- PA11 voltage close to 3.3 VActual result:- PA11 voltage only slightly abov
I am developing a control board based on the STM32G474RE microcontroller. This board is self‑designed using Board Designer within Workbench 6.4.2. After configuration and project generation in Workbench, the generated project works fine. The HSO option can be enabled, and no errors or warnings are reported for all parameters. Compilation in MDK‑ARM completes without any issues. I have reviewed the initialization code for ADC1 and ADC2, which are used for phase‑current and phase‑voltage sensing. In principle, the HSO measurement mechanism relies on synchronization with the PWM signals. The PWM waveforms are generated by TIM1. However, I observe that TIM3 is configured as the input trigger source for the ADCs in the initialization code, instead of TIM1 as I expected. Is this a bug in the code‑generation output? Please provide assistance.今天 11:32聊聊新话题
Hi,I'm trying to setup HSO on the G431, I used the B-G431B-ESC1 board as a starting guide. I'm trying to use differential sensing with internal OP-AMPs and internal PGA. I have split the currents and phase voltages across ADC1 and ADC2 but I still cannot get the HSO option to show up with MC workbench. I'm using the latest version. I have attached my board JSON file, any guidance will be appreciated.Thanks,Ray
Hello, I am new to STM32 MCUs. We are looking for a low-pin-count MCU with DAC, CAN, and Timer peripherals. Currently, we are working on a DAC application using the NUCLEO-F429ZI board. Could you please suggest a suitable STM32 MCU with fewer pins that supports mainly DAC, CAN, and Timer peripherals? Thanks and Regards,
Hi ST,I’ve run into a whole lot of issues adding interrupt-based UART to your OEMiRoT w/ Trustzone example on a NUCLEO-U385RG-Q.As you may know this example is not compatible with CubeMX, and it’s not clear which steps are needed to manually incorporate UART4 so that it activates an interrupt on receipt of input when running in the Non-Secure region of code. The idea is to only access the Secure region when needing to utilise certain sensitive variables, called from within a Non-Secure function.Let’s take this opportunity to establish a step-by-step guide for someone who isn’t (yet) an embedded professional, please excuse my ignorance if this already exists, I’d be just as happy to be directed there. My settings so far are:1. Secure/Inc/partition_stm32u385xx.h: Initialise UART4_IRQn as Non-Secure#define NVIC_INIT_ITNS2 1#define NVIC_INIT_ITNS2_VAL 0x000000012. Secure/Src/main.c: Define UART4 pins (CN7 1 & 2, or PC10 & 11) as NonSecureHAL_GPIO_ConfigPinAttributes(GPIOC,
Hi all,I'm trying to flash a fresh STM32G0x1 MCU (Device ID: 0x466, Revision ID: Rev 1.1) using ST-LINK V2 (FW: V2J48S7) in Hot Plug connect mode with Hardware reset mode, SWD frequency 100 KHz, target voltage reading 3.26V.ST-LINK connects and correctly reads the Device ID and Revision ID, but then fails with:Error: Unable to get core IDError: Unable to get core IDUPLOADING OPTION BYTES DATA...Bank: 0x00Address: 0x40022020Size: 108 BytesError: Uploading Option bytes bank: 0 failedError: Initializing the Option Bytes failedDisconnected from device. Things I've tried: 1. SWD wiring (SWDIO, SWCLK, GND, NRST, 3.3V) checked Target voltage reads 3.26V, stableTried Hot Plug + Hardware reset modeAny guidance on the issue would be appreciated.Thanks!
I am using a STM32G071CB MCU on a device that connects to a battery that supports USB PD and I would like to get a battery status periodically. Code generated by STM32CubeMX that includes trace and GUI code works as expected when using STM32CubeMonitor-UCPD. However, the return path of a battery status reply message does not go through usbpd_dpm_user.c, but through GUI code instead. I would like my application to use usbpd_dpm_user.c as the interface using STM32Cube_FW_G0_V1.6.3, but information on how to do that is incomplete and examples are outdated. There seems to be more required than just selecting appropriate usbpd PE options and adding code to USBPD_DPM_SetDataInfo().Currently, USBPD_DPM_RequestGetBatteryStatus() returns USBPD_ERROR, but a request is send to the battery anyway. However, the battery status reply message does not trigger a call to USBPD_DPM_SetDataInfo() or USBPD_DPM_ExtendedMessageReceived(). What am I missing? Is there any documentation other than usbpd basics?
Hi there, Is there a drop in replacment for the IS42S32800G-6BLI (besides the obselete MT48LC4M32B2B5)? Or one that is recommended with the STM32H757?
I have taken one dot board a placed the MCU (TSSOP14) STM32L021D4P7 wired with STLINK V2 programmer , Boot0 pin to pull up and pull down option with jumper wire , NRST pin also same pull up 10kohm and jumper wire to pull down to ground. In STM32 CUBE programmer latest version i am using STM32CubeProgrammer 2.23.0 , chip is only detecting if under hot plug mode , under reset mode it not working , its first time from factory its programming through SWDIO /SWCLK VCC and VSS . After detecting the hex file if a loaded its showing internal memory [0 45] failed to erase, so RDP - i kept to AA it in STMcube programmer after that if i click file for programming in GUI its crashing the tool. Kindly give help to program this IC.
I attempted to create a new Motor Control Workbench project selecting Controller B-G473E-Zest1S and EVLDRIVE102BP. This combo pops up error window preventing project creation… Errors BusInterfaceConnect: SPI_FullDuplex_SWnSS No IP matches all signals requirement General: Interface STDrive102Interface not found in BusInterfaceArray General: Interface STDrive102Interface not found in BusInterfaceArrayI had previously used the EVLDRIVE102BP connected to P-Nucleo-IHM-03 with no trouble. Now I wish to upgrade my design with G473 or G474 to handle HSO or future ZEST.What’s my best course of action to fix that error and get the board combo working?Alternatively I could base my design on the standard ZEST Kit with STEVAL-LVL01A and upgrade the MOSFETs for higher current.Please advise...
Hi,I am in the middle of migrating a project from STM32F767 to STM32H743. Both MCUs being compatible helped a lot.But there have been still a few road blocks, the last of which seems to be SPI. We use SPI3 to interface with a RA8875 based LCD. With DMA, we were able to get good results on F767, but so far not so much on H743. After connecting MOSI/MISO/CLK/CS lines to a logic analyzer, I noticed there both MOSI and CLK lines idle about the half of the time. Please see the screenshot below. During a supposedly active session of data transmission, either through DMA, or blocking write, there are several gaps. The measured during of those gaps are about either 5ms or 6ms.My question is: when would a SPI instance go into idle state? waiting for TX data to be ready (related to the famous D-cache issue on H7)? Please advise. Thanks in advance.ZL
I am running into a frustrating issue while trying to debug my project. Whenever I start a debugging session, the debugger fails to hit or start from the main () function. I have already double-checked and configured the settings under Tools > Options > Debugger [adjust path if necessary], but the issue persists. Because of this, it's extremely difficult to step through the code and understand the execution flow from the beginning. Environment Details IDE / Version: IAR EW 9.20.2 Language: C/C++ touch GFX framework is there Operating System: Windows STM32H750IBTx What I've Tried Checked and re-configured the debugger paths under Tools > Options > Debugger. Cleaned and rebuilt the solution/project. Kept breakpoint one the very first line of code after main () Error Message / Behavior The execution does not stop in main () entirely or throws a symbol loading error.
Hi,In my project with STM32N6 am not using CSI interface, so in this case, all CSI pins are not connected.But what about CSI output CSI_REXT where according to the manual must be connected 200 Ohm resistor to GND?Can I keep this pin unconncted too? In the manual there is only information that resistor is for setting current for RX/TX driver. Similar situation is in USB interfaces, but in STM32N6 Nucleo-144 development board is one of the USB completly unconnected (including OTG2_TXRTUNE pin with similar function like CSI_REXT pin). Which I take as an aswer in case of USB.I dont know what is diferences in internal structure between RX/TX driver in USB and CSI, but i case of USB in my project (USB is not used too) i wil keep every pins unconnected. But can I afford it in case of CSI? Thanks a lot.Rddk.
Hello,On an STM32H725, changing RDP from Level 0 to Level 1 causes the firmware to stop running. In my device, the LED and FDCAN stop responding, even without a debugger connected. During debug session, this occurs in “HAL_FLASH_OB_Launch()”, more specifically after “SET_BIT(FLASH->OPTCR, FLASH_OPTCR_OPTSTART);”. After a manual power cycle, the firmware runs normally and RDP Level 1 is successfully applied.Is this expected behavior? Is a reset required after changing RDP from Level 0 to Level 1,Thanks!
Dear community, I’m sharing an application that has been highly requested recently: a demo running TouchGFX on the STM32N6570-DK with a camera module.Please note that this demo is NOT yet finalized. We plan to significantly enhance it over the coming weeks, and once it is ready, it will be directly available in TouchGFX Designer as a board-specific demo (under the Demo tab).In the meantime, since there has been strong demand, here is an early draft that you can already use and draw inspiration from.Another note, we’ll provide only limited support for any questions about this draft, as we are aware of the application’s limitations and are working on a much better version. Again, this demo is not final and does not reflect the quality of an official demo.The project works with TouchGFX 4.25.0 and with STM32CubeIDE. We advise NOT to regenerate code from STM32CubeMX (because there is a limitation here). You can use the flashing scripts provided in the project to flash your board.
Hi ,I'm developing a product on an STM32N6 using TouchGFX. I need to display the image coming from the camera input on the product on the TouchGFX. During our tests, we were able to directly print the image from the DCMI input to the screen and it worked. However, we need an example that takes this image and displays it on the TouchGFX. The AI example prepared for the N6 actually includes this type of work, but the code is not accessible. Could you please share the relevant project or the relevant part so I can integrate it into my project, or could you provide an example project for this?
Hello ST Team,I am working with the STM32N6570-DK board and trying to display the live camera feed on a TouchGFX application.I cannot find any ready-to-use example that integrates DCMIPP (Camera) and TouchGFX.Current Situation:TouchGFX Designer: I have created a UI with a transparent area in the center (Alpha = 0) to display the camera feed. (Please see the attached screenshot).Cube IDE Firmware: I found the DCMIPP_ContinuousMode example and confirmed that it works fine independently. However, merging it into a TouchGFX project manually is quite difficult for me.My Question:Is there a simple, official example or Application Note demonstrating Camera Preview (maybe on Layer 0) + TouchGFX UI (maybe on Layer 1) for the STM32N6570-DK?Since I am new to the STM32N6 series, a detailed, step-by-step explanation would be very helpful.I would appreciate a quick guide or a GitHub link.Thanks.
Table 73 of STM32WL33xx Datasheet indicates an “A” option for Frequency band options (398-464 MHz). I cannot find this variant in stock anywhere. How/when can I purchase this? Will there be a breakout/demo/nucleo board for this “A” version? Thank you.
Hello dear ST Community,I am not sure I can get help here as this topic is related to a WeAct Studio STM32F412 board and not a Nucleo or Discovery board from ST. If not that is fine , no problem.So, back to my issue : For this particular type of project, in the past we used STM32F411 boards but this time we had to change to a board with more RAM's ...The rest of the code in the MCU works as expected.When we connect the USB cable to PC in the Device Manager we get this error :"Unknown USB Device ( Device descriptor Request failed )"We using CubeMX and STM32Cube in VSCodeIn CubeMX I setup now just the basic USB_OTG_FS : Device onlyMiddleware : USB Device as Human Interface device class (HID)** We can share code or ioc file if needed …What I did :- USB Clock is set 48MHz- I tried HSI and HSE for the clock - there is said for the USB to work it requires HSE- I changed the USB cable- I revert to just basic HID and the default report ( but anyway Windows didn’t asked for it yet … )Could you
HI.Previously, I successfully completed development for my project using the W25Q128 SPI Flash with its working External Loader file (.stldr).However, due to internal circumstances, we have recently replaced the external memory with the AT25SF128A. Since changing the chip, flashing code via the previous external loader no longer works.As a result, I need an External Loader tailored for the AT25SF128A.Could you please let me know if an External Loader for the AT25SF128A on the STM32H723 is already available from ST?If it is not available, could you provide guidance or reference materials on how to generate/modify an External Loader project for this specific memory?Thank you for your support.
My team is working on a project that is aimed to comply with IEC61508 SC 2 (SIL2).Our chosen MCU is the STM32H563VITx.My understanding is that utilization of HAL drivers when trying to meet IEC61508 is tricky and it is generally more common to write drivers from the ground up.However, I have seen in some scattered documentation that the STM32CubeH5 HAL functionality has been developed to a process compliant to IEC61508. Specifically the document UM3126 notes:“Within STM32CubeH5, both the HAL and LL APIs are production‑ready, checked with CodeSonar® static analysis tool, anddeveloped in compliance with MISRA C® guidelines, following a process certified according to IEC 61508 systematiccapability‑2 level (SC2). Reports are available on demand”I am unsure if this is correct given this is not documented in many places so would like clarity on the issue. If it is correct, does this mean that HAL functions generated from STM32CubeH5 can be used in a IEC61508 compliant system, and if so, how
I am working on an STM32N657 custom board. Previously, on the STM32N6570-DK, we were using the Octal SPI flash MX66UW1G45GXDI00. In our custom board, we have changed the external flash to the Quad SPI GD25LB256FWIGR. The Quad SPI configuration done. For firmware flashing, we are using STLINK-V3SET with STM32CubeProgrammer. Current Issue------------------ The STM32N657 target is detected properly in CubeProgrammer. I selected the external flash loader, firmware .bin file, and start address 0x70000000 & Appli address 0x70100000. However, when I click Start Programming, the erase operation fails and the target gets disconnected automatically. The CubeProgrammer log shows: Memory Programming ...File : Camera_Dev_test_Appli-trusted.binSize : 284.13 KBAddress : 0x70100000 Erasing memory corresponding to segment 0:Erasing external memory sectors [256 327]Error: failed to erase memoryWarning: Connection to device 0x486 is lostDisconnected from device. The ST-LINK connection itself is
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.