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, I am using the STM32 NUCLEO-H563ZI board and testing the NetX Duo UDP Echo Server example provided by STM32. Setup: - STM32 NUCLEO-H563ZI- NetX Duo UDP Echo Server example- Direct Ethernet LAN cable connection between PC and board- Static IP configured on both PC and STM32 Issue:UDP communication is not working. When I try to ping the STM32 IP address from the PC, I get "Destination Host Unreachable".Since I am using the official UDP Echo Server example, I expected the board to be reachable and respond to UDP packets.Has anyone successfully tested this example on the NUCLEO-H563ZI? Are there any additional Ethernet, PHY, or NetX Duo configurations that need to be checked? Any suggestions would be appreciated.
I have setup STM32 VSCode extension on my PC and it is amazing. The only problem that I have encountered is that it is not possible to run the code without debugging. I removed the "runToEntryPoint": "main" line in launch.json. But every time I launch the code it attaches a debugger. How can I simply run the code without debugging? Thank you,Damiano
I am using STM32CubeIDE for Visual Studio CodeIf I create an empty project in a folder with spaces the build will fail. I suspect the spaces create a double quote somehow.In the command below, main.c is wrapped in two quotes, -c ""C:\Users\me\VSC_projects\STM first try\asdf\Src\main.c""I suspect this makes gcc look for a file named main.c” instead of main.c. Plus “C:\ instead of C:\Failing build due to spaces:C:\Users\me\AppData\Local\stm32cube\bundles\gnu-tools-for-stm32\14.3.1+st.2\bin\arm-none-eabi-gcc.exe -DDEBUG -DRTE_DEVICE_STARTUP_STM32H5XX "-I"C:/Users/me/VSC_projects/STM first try/asdf/Inc"" "-I"C:/Users/me/VSC_projects/STM first try/asdf"" -fdata-sections -ffunction-sections -Wl,--gc-sections -Wno-comment -g -std=gnu11 -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mlittle-endian -mthumb -fstack-usage -Wall -Wextra -Wpedantic -Wno-unused-parameter -O0 -g3 -ggdb -o CMakeFiles\asdf.dir\Src\main.c.obj -c ""C:\Users\me\VSC_projects\STM first try\asdf\Src\main.c""arm-none-ea
Hello,When trying to sample internal channels on STM32U535, it appears that calibration values (stored at 0x0BFA0705-6 for VREFINT and 0710-0742 for TS) give incorrect result.I have tried to sample the value with ADC1 (14bits) and ADC4 (12 bits, x4 on the value), but the rsult is the same.I found 1427 when sampling VREFINT with ADC4 (12 bits). The value stored for VREFINT is 0x3150. = 3156 * 4When applying the formula, that gives 3000 * 3156 / 1427 = 6634mV. Kind of the double of what I actually have.Similarly, values from temperature sensor are wrong. All other channels (that are not linked to any factory calibrated value) are working fine. So I suppose there might be something wrong with the calibration…Could someone confirm or find what is wrong? Here is the relevant code.EDIT: Also, I would like to point out that the value I sample actually makes sense:Considering Vrefint is ~1.2V, from the datasheet, Embedded voltage reference.3.3 * 1427 / 4095 = 1.15V. Pretty close to Vrefint.So,
I would like to gather information on the following points. Kindly guide me on these aspects:Identify the CMOS image sensors supported by the STM32MP255F and STM32MP257F. Determine whether the VB66GY and VB16GZ sensors are compatible with the STM32MP255F and STM32MP257F, including the required driver-level integration and software support.
The STM32H562RET6 microcontroller enters a short circuit between VCC and GND after a few minutes of operation.I programmed a simple LED blinking application on GPIOB pin 2 (PB2). This issue has occurred with several STM32H562RET6 microcontrollers on different boards. I have worked with this microcontroller before, and I had never encountered this problem.
i am trying to do HID with costom pcb but i didint find any solution yet
Hello ST Team,I am working on an AI-based Driver Monitoring System on an STM32MP257F board using an IMX335 MIPI CSI camera, libcamera,GStreamer and STAI-MPU.I am facing a memory allocation / segmentation fault issue when using a custom STAI-MPU application.------------------------------------------------------------HARDWARE------------------------------------------------------------Board:STM32MP257FCamera:Sony IMX335 MIPI CSICamera interface:CSI / DCMIPPDisplay:Weston / WaylandCamera source:LIBCAMERA------------------------------------------------------------SOFTWARE------------------------------------------------------------libcamera:0.3.0+dirtyPython:3.12The exact OpenSTLinux/X-LINUX-AI version and other system information can be provided if required.------------------------------------------------------------KNOWN-GOOD ST APPLICATION------------------------------------------------------------I tested the official ST face-recognition example:https://github.com/STMicroelectronics/meta
Hi,We are working with the STM32H7S7 MCU for our project and are planning to use both XSPI interfaces for external memories.Our current plan is: XSPI1: PSRAM XSPI2: External Flash (128MB) We would like to use 128MB of PSRAM, but currently, only 64MB PSRAM devices are available to us. Therefore, we would like to know whether it is possible to integrate two 64MB PSRAM devices with XSPI1 to achieve a total PSRAM capacity of 128MB.I have gone through the AN5050 – Octo-SPI Interface on STM32 MCUs document and understand that the multiplexed mode can be used to connect two external memory devices using separate NCS pins.In this case, if we configure XSPI1 in multiplexed mode and connect two PSRAM devices using the available NCS pins: Can two 64MB PSRAM devices be connected to XSPI1 in this configuration and used as a combined 128MB memory space? If XSPI1 is configured in multiplexed mode for the two PSRAM devices, can XSPI2 still be used independently for the external 128MB Flash? If t
Hello,Im using the RHFLVDS31A and I have some unused I/O pins. Should I terminate them or should I leave them floating? I saw that there is an internal pull up for Cold Sparing so I didn’t want to impact that.
I’m currently trying to design a STM32N645I0H based board with LAN8742A Ethernet. Right as for the STM32H723 I would prefer to have one NZ2520SH-25MHZ-END4869C 25 MHz crystal for both, the MCU (fed into OSC_IN) and the PHY. The application note says, this is possible and for such kind of analogue clock input OSC_OUT has to be tied to VDD via a 1K resistor. What the AN does NOT say: which VDD is meant? The 3.3V rail or the 1.8V rail?
Hello,I am trying to intentionally force a blocking failure on the STM32N6570-DK to observe how the system handles the error and to test the PG10 BootFailed UART output.To do this, I have tried tampering with the FSBL header in various ways to force a failure, as well as simply erasing the OctaFlash.However, despite my attempts, no ID code or valid UART output ever arrives on PG10.While the Boot ROM manual (UM3234) describes what happens during a blocking failure, there are no clear notes or official procedures explaining how a blocking failure can be intentionally generated for testing purposes.Could someone from ST or the community clarify:How can we intentionally and reliably trigger a blocking failure on the STM32N6570-DK to test the PG10 BootFailed UART output?Any guidance or suggestions would be greatly appreciated.Best regards
Hi:Does I have STM32MP257F-EV1 board and another board can generate BT.656 video source without I2c setting.I want to use DCMIPP parallel interface to get the image. I modify the device tree in stm32mp257f-ev1.dts/ {... clocks { cec_clock: cec-clock { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <12000000>; }; dummy_cam_clk: dummy-cam-clk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <54000000>; }; pad_clk: pad-clk { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <100000000>; }; };...};&dcmipp { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&dcmipp_parallel_pins_a>; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; dcmipp_parallel_in: endpoint { remote-endpoint = <&dummy_camera_out>; bus-type = <6>; bus-width = <8>; pclk-sample = <0>; }; }; };};&
When using a vl53l8cx configured for motion detection, which of the fields in the motion_indicator struct can I check to see if there was motion?I understand that the motion[32] array has measurements but I'd like to be able to poll this infrequently and check if there was an event between these polls. Something like a motion_detected flag that latches? Thanks!
Dear All,I have a query regarding VL53L4CX voltage requirements. The data sheet mentions the typical voltage for AVDD is 2.8 and for IOVDD is 1.8V/2.8VThere is no separate IOVDD pin for VL53L4CX isn't it. So the I2C lines work with 1.8V MCU voltage also with AVDD and AVDDVCSEL at 3.3V? Thank you,Ravi
HiI am trying to make simple setup for H755ZI-Q nucleo-board with ETH + LWIP + RTOS. I was using this Forum Section as the source of example that i used (H745ZI-Q) that is by all documents have same characteristics as my board and compatible with it . So back to the Problem, my board doesn^t respond to ping that i send even when the dhcp server that i started on my PC gives me that the board on this “IP-address” . After what the ping don^t go through. I added a breakpoint to "void ETH_IRQHandler(void)". After the initial power-on, the system reaches the breakpoint three times even when there is no ping command on the Ethernet port. Can u please help me with that?I tried to reconfigure everything from flash memory , turn off the Cache to check if that change anything , I have even Hybrid of RTOS + Raw Api ETH + LWIP that works. I could not understand is smth wrong with my board or with code that generates cause in Documents everything sounded simplier. My Project (Main Files)Example
Hello Team,I am working with the SPC560P50L3 and using the existing SPC5Studio example application:SPC560Pxx_RLA FlexPWM Test Application for STEVAL-TTM002V1In my project, I am using the following FlexPWM outputs:FlexPWM_0/FlexPWM_A3 (Pulse width modulator A3)FlexPWM_0/FlexPWM_B3 (Pulse width modulator B3)These outputs are configured as:PWM4 Channel 0 -> PWMA3PWM4 Channel 1 -> PWMB3From my understanding of the FlexPWM documentation, PWMA3 and PWMB3 belong to the same submodule (Submodule 3) and appear to share a common counter/time base.I would like confirmation on the following:Is it possible to configure different PWM frequencies on PWM4 Channel 0 (PWMA3) and PWM4 Channel 1 (PWMB3) while using the same FlexPWM Submodule 3?If not, which registers or architectural limitation enforce a common frequency for both outputs? Also if we want to use the different PWM frequencies on PWM4 Channel 0 (PWMA3) and PWM4 Channel 1 (PWMB3) what changes required?Can PWMA3 and PWMB3 have:Independen
Hello, I want to measure the power consumption of the rest of my circuit. For that, I’m putting the STM32H562 immediately to sleep. I generate a cube project and put the following in main():int main(void){ HAL_PWR_EnterSTANDBYMode();} After flashing, the current consumption suggests that it is not running, but I’m not sure. I switch the power off and on again, the current drops by 2.2mA down to 0.5mA (including the rest of the circuit).But now, it is not possible to connect to the processor with the cube programmer. I have to do a discover first, before being able to connect to it again. MY expectation would have been that I’m directly able to flash again.My questions are now: Why does entering the standby (or stop) mode locks the access to the device. Is this a bug or a feature? Is is documented somewhere? Best regards,Peter
I made a custom board with STM32H7S7 , Touchgfx without OS, 2 framebuffers in psram(aps256xxn). At first ,after startthe debugging ,the display is normal,but after a while (random time),display is freezing. Then I pause the program,I foundit stuck at nema_wait_irq_cl. This is my screen:This is information when stuck:This project is a test project,the touchgfx code is simply rotate textureMapper1 and move red box on each frame
Hello everyone,I am using STM32F103ZG MCU in a custom board for more than 7 years; 5 years ago, for shortage issues, I change the LSE oscillator from MC-306 32.768K-E3 (CL=6pF; ESR=50k max) to 9HT10-32.768KAZY-T (CL=7pF; ESR=70k max) and I changed the external CL capacitance from 3.3pF to 10pF. I had no problems for 5 years. Now, in several boards, the LSE clock takes long time to start or even does not start until I “perturb the system” touching the capacitors or the uC’s pins with my finger.Looking at the uC’s datasheets it seems that the feedback resistor of the oscillator’s internal circuitry (don’t know if is a “real” resistor or an equivalent resistance given by the internal circuitry) is 5M but, with indirect measurement, it seems to be much more than 5M (like hundred times more). This is for both the old boards and the “faulty” new ones, so is not (perhaps) an issue caused by the productive process of the uC.As I written before some faulty boards in which the LSE at last start
Hi everyone,I’m currently working with the CR95HF evaluation kit and looking into using the provided DLL (CR95HF.dll) for PC-side communication for a legacy projectHowever, the DLL seems to be compatible with 32-bit systems and I am looking for the 64-bit compatible version. As clarified in other discussions, the DLL needs to be recompiled for x64 compatibility. (CR95HF DLL x64 compatibility – is a 64-bit version available? | Community)So my questions are:Is there now an official x64-compatible version of the CR95HF DLL available? Or is the recommended approach still to request/use the source code and rebuild the DLL for x64 systems?Regards,Aman
Hi,I am an electrical engineer designing a circuit for an STM32C532KCU6 microcontroller, and I am using CubeMX2 version 1.1.1 to validate the clock tree.The datasheet offers a 32.768kHz crystal resonator as a source for the LSE.However, in MX2, the configuration screen for the RCC does not allow the LSE to use crystal/ceramic resonator as a source. In addition, the RTC configuration screen shows an error regarding its LSE source.Could you confirm that 32.768KHz crystal resonator is supported by the LSE for this microcontroller, or do we have to use an external oscillator or RC? Thanks,Benny
Hello,I am currently working with the STM32N6 and debugging the boot sequence using the BootROM traces. I am dumping the secure and non-secure RAM ring buffers via STM32CubeProgrammer while the chip is in the Open state (using hotplug).To decode the traces, I am referring to the “official” ST template: Template_BootRom_traces/FSBL/Src/rom_trace_parser.c.However, I have noticed that the BootROM outputs several message IDs that are entirely missing from the switch statement in the romTrace_ParseRecord() function. Because these IDs are omitted from the table, they just get skipped by the C API, making it difficult to fully understand the boot execution flow.My questions are: 1. Is there an updated version of rom_trace_parser.c available that includes a more complete table of these message IDs? 2. Alternatively, is there a reference manual or document that lists all possible BootROM trace message codes and their meanings? Any pointers would be greatly appreciated.Thank you!
Hi,At least in one project, CubeIDE 2.2 is driving me crazy, insisting on adding a wrong path in the builder arguments. Whenever I want to build, it changes the buildPath from “build/Debug” to “../../../../build/Debug” and can’t continue. On the console, the following output appears:“Updating builder args for config Debug to buildDir=../../../../build/Debug”The project was initially created with CubeMX 6.17 as a CMake project, then imported with CubeIDE 2.2 “as STM32 CMake project”. Where does it get this “../../../..” from and how can I get rid of it?!ThanksKolja
Hello.I’ve noticed a discrepancy in the documentation. The electrical schematics for the NUCLEO32 board show that D8 is connected to PF0/PC14 and that D7 is connected to PF1/PC15. However UM1956 User manual for STM32 Nucleo-32 boards (MB1180) says throughout the manual that D8 is connected to PF1/PC15 and that D7 is connected to PF0/PC14.
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.