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
I am unable to search for and select the official STM32G491RET6b MCU based Nucleo-64 Development board on the latest STM32 CubeMX v6.17.0 software. One online tutorials suggested that only the official STM32-based microcontroller boards from the company are supported in this tool, but since this STM32 Nucleo G491RE is a genuine, official board as is listed. So, why is this board not shown in my latest CubeMX tool installation?
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 ST Community, I'm trying to integrate my ST Edge AI model C code (generated from ST Edge AI Cloud) to my current application.- Part Number: STM32F411CE6- Environment: STM32CubeMX: 6.17; ST Edge AI Core v4.0.0-20500 359356bb0- Detail of my issue: At line 63 below: huart2.Instance = 0x40004400 After successfully execute stat_network_run() (line 65): huart2.Instance = 0x582cc4de -> This causes Bus Fault to be triggered in line 70. My main function: void print_to_uart(UART_HandleTypeDef *huart, const char *format, ...) {char buffer[256];int cx;va_list args;va_start(args, format);cx = vsnprintf(buffer, sizeof(buffer), format, args);va_end(args);if (cx >= 0 && cx < (int)(sizeof(buffer))) {HAL_UART_Transmit(huart, (uint8_t*) buffer, cx, 1000);} }// ...STAI_ALIGNED(STAI_NETWORK_CONTEXT_ALIGNMENT) static stai_network net
Hello Team, We are developing a custom board based on the STM32N657 MCU. During pin assignment in the CubeMX tool, PB3 is shown with the JTDO_SWO function. However, the datasheet indicates that the SWO functionality is associated with PB5. Could you please confirm which pin actually supports the SWO function?Thanks
Hi all , Im facing a issue in TCP/IP - Ethernet using LWIP on STM32H723ZGT6 [NUCLEO - H723ZG] , that i gave completed ethernet configuration , ping is good , wrote a tcp_echoserver and modified with my desired outputs , everything was a woking upto a certain level, and i cant RX and Tx and fall into hard fault (Added a Video of the output). I'll add the code file as a zip. Kindly help me to resolve ii. Thank You!!!.....
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.Hi everybody,I have an application, where my device should go every record_interval into the stop2 mode. Then Wakes up then measure some sensor values, then goes into the sleep. Same goes over and over.The issue is, I am using the LSI2 as a clock source for my RTC. I am then using that RTC clock to wake my MCU up from the STOP2 mode. But the issue is: that RTC time (based on the LSI2) is drifting (roughly 10s less than the real time). I am then using the real sleep time to advance the ticks of my freeRTOS, because the ticks are being paused during the STOP2 mode.Advancing the ticks manually then causes my freeRTOS task to run with some delays.Now my questions are:- Is there any way on my PCB, ith the STM32WB55RG on it to make the LSI2 or even the LSI1 more precise? PS: I am planning to buy an LSE oscillator. In the mean time, I try to compens
Hi, I am creating a project CubeMX that uses both Secure and NonSecure. I using USART1 for debugging, and my application only runs on SecureApp and cannot run NonSecureApp. I tried implementing the same as Template Isolation XIP but it still didn't work.
Hi, I have a question regarding the STM32N6 BootROM flash boot process. My understanding is that the BootROM loads the FSBL from an external XSPI flash device. However, it is not clear to me whether the BootROM: Uses a fixed XSPI/XSPIM configuration (for example, a specific XSPIM port), or Automatically probes and detects the flash location across available XSPI/XSPIM ports. For a custom STM32N6 board, the external NOR flash is connected through XSPIM Port1. I would like to understand whether the BootROM is capable of automatically discovering and booting from a flash connected to Port1, or whether Flash Boot is restricted to a specific XSPI/XSPIM port configuration. Could you please clarify: Does the STM32N6 BootROM scan multiple XSPI/XSPIM ports during Flash Boot? Is the boot source port fixed in ROM or configurable through OTP settings? If the flash is connected only to XSPIM Port1, can the BootROM still load the FSBL from it? Is there any documentation describ
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.Hello,I am using a STM32L431 microcontroller. Bare-metal application in C using STM32CubeIDE and HAL library. I am trying to transmit an 8-byte CAN Message at 1Mbps baud rate every 1ms. The best I can do right now is successfully transmit one CAN message every 3ms (with every 13th or 14th message going out at 4ms interval.). Any transmission rate >3ms I do not have any issues. The system Clock is set to 80Mhz, using external 8Mhz crystal. Every 1ms (based on 500us timer), I add a CAN message to a queue (size 128). I check for any available TxMailbox and try to transmit using HAL_CAN_AddTxMessage. I also have a CANTransmit function that calls HAL_CAN_AddTxMessage in the HAL_CAN_TxMailboxEmptyCallback in case all 3 mailboxes were full. At present, there are no other devices trying to send any CAN messages on the bus expect the STM32 microcon
Hi, Usually I code in a terminal text editor, compile and flash my code in the command line. I used CubeMX to create a makefile, then modified the makefile to include certain commands I can run from the command line. I used OpenOCD and GDB to debug code from the command line. It is becoming a mission to do intense debugging where I can see the values of registers all at the same time. I would like the option to if required switch to STM32CubeIDE only for intense Debugging and do my normal coding with my current setup. I'm on Linux, I imported a Makefile project without being presented with the option of choosing the part. Now My project doesn't know which target I am compiling for. Is there any way to change these settings in CubeIDE ? It seems grayed out for me... Here is the error I'm getting Thanks, DJ
Hello, I want to set LSM6DSV's both accelerometer and gyro's output rate to 960Hz. And I want to use INT1 pin to signal Data-Ready. My question is whether I should set INT1_CTRL register's b1: INT1_DRDY_G or b0: INT1_DRDY_XL. The user manual says: "When both the accelerometer and gyroscope are on, the accelerometer is synchronized with the gyroscope, and the data rates of the two sensors are integer multiples of each other." It sounds like if I set both output rates to 960, I can assume that when accelerometer's data is ready, the gyroscope's data is also ready. So will it be correct to just set INT1_CTRL register's b0 to 1?
Hello, I have just updated STM32CubeAI Studio to version 1.2. In the previous version, the AI Studio generated: Middleware Application code Raw files (e.g., network_atonbuf.xSPI2.raw) My workflow was to add the middleware and application code to my project, then convert the raw file (network_atonbuf.xSPI2.raw) to a hex file. Everything worked fine until I updated the studio. In version 1.2, instead of generating the raw file, it now generates a C source file: network_atonbuf.xSPI2.c. I am unsure what to do with this new .c file. I placed it in my project, but nothing works as expected. Could someone please advise on how to proceed or explain the change in workflow?
I have a scroll list lightSoundSelectorScroll made by several items from the container lightSoundItem. In the view I call lightSoundSelectorScroll.setVisible(false); or lightSoundSelectorScroll.setVisible(true); but, when calling this->isVisible() inside void lightSoundItem::handleTickEvent() I always have true even if I called lightSoundSelectorScroll.setVisible(false); before Why is that?
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.Is there a function to get the currently set ID in the SVGImage widget?
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.Can anyone identify this diode and suggest an alternative please?ST EETC453
Hello, I encountered an issue with text selection in STM32CubeIDE on macOS. Environment: - STM32CubeIDE version: (?????? ???? ??????, ????????? 1.15.0) - macOS version: Tahoe 26.5 - Device: MacBook Pro 16" (Apple M4 Pro) Issue: Text selection behaves incorrectly. When selecting text using the trackpad or mouse, the highlighted area does not match the expected selection. Observed problems: - Selection jumps unpredictably - Difficult to select continuous text - Selection sometimes skips characters or lags Steps to reproduce: 1. Open any source file 2. Try selecting text using trackpad or mouse 3. Observe incorrect highlighting Expected behavior: Text selection should be accurate and follow cursor movement. Actual behavior: Selection is inconsistent and inaccurate. Additional info: This might be related to macOS trackpad gestures or Eclipse-based editor behavior. Is this a known issue? Best regards
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.[image removed to prevent misuse of the numbers]
Hello Team, I want to connect a USB camera to an STM32H7 board. My STM32H7 supports USB OTG/Host. Is it possible to interface a USB camera with STM32H7? Does STM32H7 support USB Video Class (UVC), or is it better to use a DCMI parallel camera instead? Please suggest the required driver/middleware and recommended approach. Thank You, Vijaya
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.I wonder how I can enable ETH Clock Output for my Realtek RTL8211F Ethernet PHY. Right now, the crystal for RTL8211F won't start and I don't know why. I'm guessing that it's an unstable crystal. Anyway! To enable the ETH Clock Output for my Ethernet PHY, I've set the the ETH Clock Output:Then I've set the CK_KER_ETH1 to either 25 MHz or 125 MHz. I've chosen the 25 MHz option.According to the STM32MP257F reference manual RM0457, the ETH Clock Output can only be used for 125 MHz.But according to the STM32MPU Wiki, it's possible to use 25 MHz as ETH Clock Output:https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration#RGMII_with_25_MHz_on_ETH_CLK_-28no_PHY_Crystal-29--CLK125_from_PHY_-28Reference_clock_-28standard_RGMII_clock_name-29-29All you need to do Is to add the pinmuxeth1_clk_pins_mx: eth1_clk_mx-0 {pins {pinmux = <STM32_PI
Hi, I have follow the DS12900 Rev 7 Figure 21 (Schematic example for USB Type-C at 2.5W with TCPP01-M12) and still can draw more that 1.5A from USB PD source, the voltage seen on CC1 is close to 1.4V (which corresponds to 3A capability). Not sure what is wrong/missing in the circuit;
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.HI am a firmware engineer working on industrial power supply products. Our device needs to comply with IEC 62443 industrial cybersecurity standards (target SL2/SL3).We plan to adopt a dual-MCU architecture for this project:STM32G4: Responsible for real-time power control, protection logic and analog front-end processing. This series fully meets our requirements for power-related functions, but lacks sufficient native security features to satisfy IEC 62443 independently. STM32U5 or STM32H5: Dedicated to network communication, secure boot, TLS/IPSec encryption, secure data storage, firmware encryption and remote update, undertaking all cybersecurity functions required by IEC 62443.Both STM32U5 and STM32H5 are based on Cortex-M33 core. There are clear positioning differences between them. I would appreciate your advice on the following questions
Hi,I'm using a STM32H743II.The product will communicate to server using the LwIP (TCP Layer) + MbedTLS (SSL/TLS Layer), running over FreeRTOS environment.We want to use the latest TLS protocol standard (TLS Version 1.3).We are currently using MbedTLS version 3.6.1 which supports TLS1.3, but we can only get TLS 1.2 to work.Are there any example projects where TLS 1.3 is used that we can use?BRJonas
I am reporting a critical issue where the STM32Cube Debug Core extension causes the VS Code Extension Host to crash repeatedly.Through VS Code's built-in diagnostic tools (specifically the "Extension Host" profiling and crash logs), I have confirmed that the crashes originate directly from this extension. This issue severely disrupts the debugging workflow. While it appears primarily on macOS, other platforms may also be affected but require further investigation.Please note that updating VS Code to the latest version does not resolve this issue.Environment Details:OS: macOS 26.6.2 (Apple Silicon/Universal) VS Code Version: 1.133.0 (Universal) Extension Version: STM32Cube Debug Core v1.4.0 Electron: 42.8.0 Node.js: 24.18.0Steps to Reproduce:Install the STM32Cube Debug Core extension (v1.4.0) in Visual Studio Code. Enable the extension and reload the window if necessary. Wait for a short period or attempt to initialize a debug session. Observe the "Extension Host" crashing notification
Hello STM32 Community,I am encountering an issue on an STM32WL project using the ST LoRaWAN Middleware stack. When I enable and call MX_LoRaWAN_Init(), the MCU gets stuck or enters an infinite loop inside modem_supervisor_init() in modem_supervisor_light.c.Environment DetailsMCU: STM32WLE5CCU6Board: RAK3172 ModuleCubeMX / Firmware Package: STM32CubeWL v1.6.0Problem DescriptionWhen calling MX_LoRaWAN_Init(), execution fails inside modem_supervisor_init(). Debugging shows execution stuck in the for loop below : void modem_supervisor_init( void ){ memset( &task_manager, 0, sizeof( stask_manager ) ); for( uint8_t i = 0; i < NUMBER_OF_TASKS * NUMBER_OF_STACKS; i++ ) { task_manager.modem_task[i].priority = TASK_FINISH; task_manager.modem_task[i].id = ( task_id_t ) i; task_manager.modem_task[i].stack_id = 0; task_manager.modem_task[i].updated_locked = false; } ........}What I Have Checked / ObservedClock & Periphera
Hi,I've got an X-NUCLEO-53L9A1. The board is in volume production and the product page advertises "full system software supplied, including code examples and graphical user interface", but the only downloads on that page are hardware files (Gerber, BOM, schematic). There's no driver, no example code, no GUI, no user manual. I've searched the product page, this forum, and GitHub and found nothing.On the host side: I have a NUCLEO-N6 (N657X0), and I see UM3655 is written around the STEVAL-VL53L9 on the N657X0 — so that looks like the intended dev path. But the GUI was demoed on a NUCLEO-H563ZI. I can buy a H563ZI if that's what's actually required, but I'd rather not guess.So, plainly:- Does the 53L9A1 software package (driver + code examples) exist for download yet, and where?- Is the GUI available, and which host does it need — H563ZI, or does it run on my N6?- If any of this isn't public yet, what's the route to get it, and when does it land on the product page?I just want to get the
EnvironmentI am trying to deploy a U-Net segmentation model on STM32N6 using ST Edge AI Cloud.ST Edge AI Core:ST Edge AI Core v4.0.1-20581Target:stm32n6Current StatusThe model conversion and quantization steps complete successfully.The workflow is:PyTorch U-Net ↓ONNX FP32 export ✓ successful ↓Per-channel quantization ✓ successful ↓ST Edge AI optimization / Neural-ART compilation ✗ failedTherefore, the issue does not occur during ONNX export or quantization.The failure happens specifically during the Neural-ART optimization/compiler stage.Model ArchitectureInput:[1, 3, 320, 320]Output:[1, 1, 320, 320]The network is a U-Net-like segmentation architecture.Encoder channels:64 → 128 → 256 → 512Bottleneck:1024Decoder channels:512 → 256 → 128 → 64Each convolution block consists of:Conv2D→ BatchNorm→ ReLU→ Conv2D→ BatchNorm→ ReLUDownsampling:MaxPool2Dkernel_size = 2stride = 2Upsampling:ConvTranspose2Dkernel_size = 2stride = 2The encoder feature maps are concatenated with the
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.