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 everyone, I am using the NUCLEO-H755ZI-Q board for a project. I have noticed that the HRTIMs thatare not multiplexed with some USB pins (like the HRTIM_D1 with the D+ for programming the IC via usb)work normally, while if they do, I can't output any PWM pulse. Is this actually a thing and to overcome itI have to remove some of the Zero Ohm resistors behind the nucleo board or design a custom pcb for my needsor am I messing something up? In my situation specifically, i can output from all HRTIM channels except the D1and D2, both of which map to a pin with USB. Thanks in advance!
Split from original question Can you check your documentation ? According to RM086 - Reference Manual for STM32N657, all PH GPIOs can be set as input/output (contradicting your previous post). Default State: When a crystal is used for the HSE (PH0/PH1), PH1 is dedicated to the oscillator output and cannot be used as a general-purpose I/O (GPIO).Bypass Mode: When you configure the RCC (Reset and Clock Control) to "HSE Bypass," an external clock signal is fed directly into PH0 (OSC_IN), freeing up the PH1 pin to act as a standard GPIO.Functionality: As a GPIO, it can be configured as a push-pull output.Please retest your device and determine which document is correct.thanksMatthew
Looking to add a 4 mic pdm array setup to livetune environment. Had questions on how deep into the environment we need to go for the changes. Is it just a matter of changing the # of channels for the sysIn, # of slots and active slots on the pdm interface? or do we need to drive deep as address the audio buffer as well. At one point I thought I read the audio buffer was allocated dynamically. We are just looking for a little guidance before we start changing things as there might be a simple way to achieve our goal vs us guessing and creating issues.
I am working on a project that uses the ST67W611 for cloud connectivity, but I am experiencing some issues when trying to connect to AWS IoT Core.Note: The NCP is already flashed with the T01 binary. The AWS endpoint is correct — for the sake of this question, let’s assume it is:xxxxxx-something.amazonaws.com. What Works Broker: test.mosquitto.org I am able to publish data to the broker and receive data from it when using test.mosquitto.org. However, I am now trying to get it working so that our custom device can connect to AWS IoT Core. MQTT Configuration (This is my current MQTT configuration.) #define MQTT_BROKER "xxxxxxxxxxxxxxxxxxus-west-1.amazonaws.com" #define MQTT_PORT 8883 #define MQTT_CLIENT_ID "Thing01" #define MQTT_USE_TLS 4 #define MQTT_KEEPALIVE_S 60 static const char s_aws_ca_cert[] = "-----BEGIN CERTIFICATE-----\r\n" "Conten........\r\n" "Conten........\r\n" ..... "-----END CERTIFICATE-----\r\n" static const char s_aws_client_cert[] = "-----BEGIN CERTI
Hello everyone, I am currently working with the NUCLEO-L452RE-P board and trying to evaluate its low-power performance. I am measuring the current consumption using jumper JP6 (IDD measurement point). The jumper is removed and a multimeter is connected in series. My setup: Board powered via ST-LINK USB (then power-cycled before measurement) No external peripherals connected All GPIOs configured as analog, no pull-up/pull-down Debug set to "Serial Wire" (no trace) No RTC or wake-up sources enabled My code is as follows (I intentionally included the complete code to avoid missing any relevant detail): /* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2026 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be
Hi I am using latest CubeMx Ver 16.7.0 and CubeIde Ver 2.1.1while trying to compile a USB CDC code this error shows once i linked the code :"C:/Users/../../Hardware - General/../Electronics/../Software/USB_CDC_U0/USB_CDC_U0/Debug/../Core/Src/stm32u0xx_hal_msp.c:102:(.text.HAL_PCD_MspInit+0x4c): undefined reference to `MX_USB_CDC_Init'C:/ST/STM32CubeIDE_2.0.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.14.3.rel1.win32_1.0.100.202602081740/tools/bin/../lib/gcc/arm-none-eabi/14.3.1/../../../../arm-none-eabi/bin/ld.exe: (MX_USB_CDC_Init): Unknown destination type (ARM/Thumb) in ./Core/Src/stm32u0xx_hal_msp.oC:/Users/../../Hardware - General/../Electronics/../Software/USB_CDC_U0/USB_CDC_U0/Debug/../Core/Src/stm32u0xx_hal_msp.c:102:(.text.HAL_PCD_MspInit+0x4c): dangerous relocation: unsupported relocationcollect2.exe: error: ld returned 1 exit statusmake: *** [makefile:65: USB_CDC_U0.elf] Error 1 "the called the function "MX_USB_CDC_Init" exist i
Hello,I am trying to share ST-LINKV3 over the network and use it from another PC (WSL Ubuntu distro running docker and connecting to ST-LINKV3 via OpenOCD) with VirtualHere program (client and server), but facing this issue:Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'. Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Info : clock speed 1800 kHz Info : STLINK V3J17M10B6S1 (API v3) VID:PID 0483:3753 Info : Target voltage: 3.141644 Info : [stm32h7x.cpu0] Cortex-M7 r1p1 processor detected Info : [stm32h7x.cpu0] target has 8 breakpoints, 4 watchpoints Info : starting gdb server for stm32h7x.cpu0 on 3333 Info : Listening on port 3333 for gdb connections [stm32h7x.cpu0] halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800bcb4 msp: 0x2001fff0 Info : Device: STM32H74x/75x Info : flash size probed value 2048k Info : STM32H7 flas
We are pleased to announce that STM32CubeProgrammer 2.22 is available What is new in 2.22: Support for the STM32U3 microcontrollers with 2 Mbytes of flash memory: Internal memory programming through debug and bootloader interfaces Option bytes programming through debug and bootloader interfaces OTP programming through debug and bootloader interfaces Core register programming through debug interfaces Automatic mode Serial Wire Viewer Register viewer Firmware encryption/signing RDP regression with password SFI through debug and bootloader interfaces (USB and UART) Support for STM32C5 series microcontrollers: Internal memory programming through debug and bootloader interfaces Option bytes programming through debug and bootloader interfaces OTP programming through debug and bootloader interfaces Core register programming through debug interfaces Automatic mode Register viewer Firmware encryption/signing RDP regression with password Support for STM32WBA2xxx microcontrollers: Inter
I work in a workspace but I use vim with clangd for editing my code. I am wondering if it is possible to create a compile_commands.json file and if so how. If the IDE uses cmake under the hood then it should be rather straightforward but I cannot understand how to proceed. see e.g. this:https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html
I've successfully set up a docker container building my project using the headless script. I've also successfully generated a Windows version of the compile_commands.json using the setting inside the properties menu. But I need a version of this that's from the linux build, because I want to lint inside the docker container for continuous integration. I've looked at what gets changed inside the .settings folder when that setting is changed in the normal non headless IDE ("generateCDB=true"), and I've tried simply building the code with that folder and the files in it in the same place in linux, but compile_commands.json is not generated.
I am looking for a way to use a different editor for a STM32CubeIDE project. For the editor to show correct errors and provide code-completion, I would need a compile_commands.json file, which the clangd language server can use.I found this post which describes how to generate this file using an external program called compiledb. But I also found a setting in STM32CubeIDE under Project -> Properties -> C/C++ Build -> JSON Compilation Database Generator, which can be enabled to have STM32CubeIDE generate a compile_commands.json file when building automatically, which would be exactly what I need.But the created compile_commands.json file seems to be not correct, specifically the relative paths used for the includes are wrong.An exemplary entry in the compile_commands.json file looks like this:{ "directory": "/full/path/to/project/dir", "command": "arm-none-eabi-gcc \"/full/path/to/project/dir/Drivers/BSP/STM32H7xx_Nucleo/stm32h7xx_nucleo.c\" -mcpu\u003dcortex-m7 -std\u003d
Hello! Has anyone tried to deploy multiple neural networks on a stm32n6 at once? I'm developing an application which requires 5 NN. I created 5 .c libraries to deploy each NN on the NPU, I assume is because of the APIs that they overlap. So I'm curious if anyone has tried this and how it was solved. My last option is to create a bigger models that contains all 5 on onnx, then deploy it, idk if someone knows if this could work to.
Hello,I don't have so much experience with the boards of STM32 and I'm struggling a bit (actually a lot) with a quite simple task.I want to run a blinking test with the board STM32MP257F-EV1.I installed the STM32CubeMX, STM32CubeIDE and STM32CubeProgrammer.First I generated the code with CubeMX and added the code for blinking in the CubeIDE. Then I clicked on Run -> Debug and there was this error:Error message from debugger back end:Remote communication error. Target disconnected: (undocumented errno 10061).I changed the BOOT switches to 0 1 0 0, and then did Run -> Debug again. This time there was this error:Open On-Chip Debugger 0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:17) [https://github.com/STMicroelectronics/OpenOCD]Licensed under GNU GPL v2For bug reports, readhttp://openocd.org/doc/doxygen/bugs.htmlsrst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srstInfo : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connec
Hi everyone, I am trying to read pulses of a rotary incremental encoder npn on the screen connected to a Jetson sbc, through SPI connection with a STM32 NUCLEO-G474RE. On CubeMx i already modified pins, generated code and flashed on stm32. Once i run the python code on Jetson, no pulses are seen on the monitor. Do you have any suggestion? Thank you in advance. Enrico
Hey guys!I am currently working with Secure Boot using ARM TrustZones, Secure and Non-Secure!I have ***ed up my code majorly hehe, and I cant just Ctrl + Z everything since I have edited in a lot of files and generated code from CubeMX (UART, HAL, HASH etc), is there a smooth way to go back to an older version of the entire folder, for example an older version of NonSecure and Secure etc.Thanks in advance!
Hello, I didn't find the layout this board online. can someone help me find the layout of this STEVAL-L99MH98 board? Layout I am asking is not present in the user manual of this board. Thank you, Br, Gopal
Hello, Does anyone know where I can find the safety manual for L99mh98 octal half bridge driver? br, Gopal [moderation edit: removed label Gate Drivers, added Automotive Power]
Hello, I updated my StellarStudio from 9.0.0 to 9.0.2 and pin configuration editor stopped working showing just only white page. Reverting version back to 9 is working fine again. Tested MCU is SR5E1E5. Thanks!
Hello, I am working with STM32WLE5CC and using the LSCO output (configured via HAL_RCCEx_EnableLSCO(RCC_LSCOSOURCE_LSI), source = LSI) to observe the low‑speed clock externally. In my application: LSI is used as the RTC clock source RTC is used as the wake‑up source from Stop2 mode RTC is configured in binary‑only mode AsynchPrediv = 30 Wake‑up period = 5 seconds According to RM0461: “The clock on LSCO is available in Run, Stop, Standby and Shutdown modes.” “In Stop 2 mode, all I/O pins keep the same state as in the Run mode.” This observation is independent of RF RX/TX activity and refers only to the Run ↔ Stop2 transition. However, on hardware I observe the following behavior: When transitioning from Run → Stop2, the LSCO pin stops toggling for a short time (~104 µs), then resumes. When transitioning from Stop2 → Run, the LSCO pin stops toggling for a longer time (~530 µs) before toggling again. This occurs even though: LSCO is enabled LSI
Hello, I am currently using the NUCLEO-U545RE-Q and trying to set low-power modes with FreeRTOS. I have already seen videos from official ST channel and read documentation but I cannot get to set this functioning when using FreeRTOS and RTC. My goal is to blink an LED every 5 seconds and in the reamaining time go to STOP mode for low power consumption. This are my functions: void StartDefaultTask(void *argument) { /* USER CODE BEGIN defaultTask */ /* Infinite loop */ while(1) { osSemaphoreAcquire(BinarySemaphoreHandle, osWaitForever); printf("Toggle Led\n"); BSP_LED_Toggle(LED_GREEN); } /* USER CODE END defaultTask */ } /* Private application code --------------------------------------------------*/ /* USER CODE BEGIN Application */ void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc) { printf("RTC Callback\n"); osSemaphoreRelease(BinarySemaphoreHandle); } void PreSleepProcessing(uint32_t ulExpectedIdleTime) { HAL_SuspendTick(); /* Start low power timer
Hi,I am trying to link up a Nucleo-F411RE board to a STLINK-V3PWR unit via the SWD (CN6) header.I am going to make a breakout board for the connector. See image below, I am assuming that I do not have to connect T_VCP_RX and T_VCP_TX to anything on the Nucleo board, am I right?
Hi Do any example bootloader files exist for the SR5E1E5 micro series. I can see that there are flash examples in the ESDK area of the StellarStudio, but I cannot find any bootloader example files. If there is no example code, then are there any application notes on the process for creating a bootloader that can program the Flash? Many thanks in advance.
Hello.I'm having trouble transfer the UserApp to SBSFU. Here's the description of the issue.I am working on SBSFU on STM32H753-Eval, So i altered the given sample for my UART to map to ST-LINK VCP. I am able to see logs post this changes. Later I Dissabled all security stuffs with below macro and fully erase the board (by setting RDP level 1->0 ).I'm using the 2-Image example code, All security feature were disabled by#define SECBOOT_DISABLE_SECURITY_IPS in app_sfu.h. I loaded SBSFU.elf onto the board and transferred the UserApp.sfb via YMODEM. However the program went into a infinite reset loop. It is rebooting every time i send UserApp.sfb. I tried Increasing the Download Timeout from 3000 to 10000 from this macro, same issue /* Teraterm YMODEM */ /* #define SFU_COM_YMODEM_DOWNLOAD_TIMEOUT ((uint32_t)3000U) */ #define SFU_COM_YMODEM_DOWNLOAD_TIMEOUT ((uint32_t)10000U) /* IIs there any specific step i need to follow ?... kindly guide me here.&nb
Hi,while integrating the module, we noticed that UDP client connections appear to be explicitly blocked in the driver (w61_at_net.c) for mission_t01 firmware (LwIP offload). The following code only allows TCP and SSL connections:if ((conn->Protocol != W61_NET_TCP_CONNECTION) && (conn->Protocol != W61_NET_TCP_SSL_CONNECTION) #if (W61_NET_IPV6_ENABLE == 1) && (conn->Protocol != W61_NET_TCPV6_CONNECTION) && (conn->Protocol != W61_NET_TCPV6_SSL_CONNECTION) #endif /* W61_NET_IPV6_ENABLE */ ) { NET_LOG_ERROR("Only TCP and SSL protocols are supported for client connections\n"); return W61_STATUS_ERROR; }However, according to the official AT command documentation, UDP client connections are supported:https://applist67.github.io/Web_AT_Documentation_ST67/v2.0.106/index.html#establish-udp-connectionAfter commenting out this restriction, I was able to establish a UDP client connection successfully, and communication seems to work.Is there a specific reason why
Hi,I am presently planning to use Viper265K part for High Voltage Buck converter design with below requirements: MinMax Vin200900V Vout4.5 V+/-5%Iout0.44 A Pout2 W With above requirements the duty cycle for the device is observed to be 0.5%. Please can you help me to know if the device can be used for such low duty cycle and what would be recommendation from your side for achieving above design requirement.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.