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 would like to use ST AIoT Craft with a SensorTile Box Pro and the MKI234AA DIL24 board to have an external LSM6DSV16BX IMU (different from the onboard LSM6DSV16X).Six months ago, in December 2025, the accelerometer and gyroscope data logging from the LSM6DSV16BX was visible in the ST AIoT Craft interface, and I was able to collect data successfully.Today, I can no longer select the LSM6DSV16BX device because it is no longer visible in the available sensor choices. As a result, I am no longer able to collect data from it.I find this situation rather surprising, and I understand that ST AIoT Craft has evolved since the version I was using in December 2025.However, when creating a new project, it is still possible to select the SensorTile Box Pro and then choose the external board STEVAL-MKI234KA. The issue is that during the data logging phase, the LSM6DSV16BX sensor never appears among the available sensors, making it impossible to collect accelerometer and gyroscope data from t
Hello, I started using HAL 2.1.0 which was available as a Pack download in MX2. I recompiled my application and I observed an assert during the DAC initialization in mx_dac1_init when HAL_GPIO_Init is called. hal_gpio_config_t gpio_config; /** [GPIO Pin] ------> [Signal Name] ------> [Labels] PA4 ------> DAC1_OUT1 ------> PA4 **/ gpio_config.mode = HAL_GPIO_MODE_ANALOG; HAL_GPIO_Init(PA4_PORT, PA4_PIN, &gpio_config);Inside the HAL_GPIO_Init the assert occurs due to an incorrect pull mode. if ((mode != LL_GPIO_MODE_ANALOG) || ((mode == LL_GPIO_MODE_ANALOG) && (p_config->pull != HAL_GPIO_PULL_UP))) { // I commented out this line //ASSERT_DBG_PARAM(IS_GPIO_PULL(p_config->pull)); LL_GPIO_SetPinPull(p_gpio, io_msk, (uint32_t)p_config->pull); }I checked the MX2 configuration of the DAC output pin and the pull field is empty and cannot be changed (see screenshot). I attached the ioc2 file for reference.T
We are pleased to announce some extensions update related to STM32CubeIDE For VSCode STM32Cube Debug Core 1.3.1Fixed lowPower and watchdog functionality for specific target devices. Fixed the Hard Fault Analyzer for specific target devices. STM32Cube Debug Generic GDB Server 1.3.1Fixed lowPower and watchdog functionality for specific target devices STM32Cube Registers View 1.3.1Fixed a display issue in dual-core debug mode. Fixed a pin issue in dual-core debug mode.STM32Cube Project Manager 1.3.1Fixed the pre-validation check step for STM32CubeIDE Eclipse to CMake conversion.STM32Cube Debug Jlink GDB Server 1.3.1Fixed lowPower and watchdog functionality for specific target devices STM32Cube Debug STLink GDB Server 1.3.1Fixed lowPower and watchdog functionality for specific target devices. Ignored power pulse check in certain use cases. Fixed duplicated -cp argument usage when relying on the legacy STLink-gdbserver bundle
I am currently exploring STM32Cube AI Studio / Edge AI Cloud, but I am not very familiar with them yet. I encountered an issue during the model conversion process and would like to ask for your assistance. I am trying to analyze and convert an ONNX model exported from PyTorch using STM32Cube AI Studio or Edge AI Cloud.Development board: STM32N6570-DKWhen running Analyze / Generate Code, I encountered the following error: I would like to ask:Is this error usually caused by the ONNX model format, opset version, or unsupported operators? Are there any recommended ONNX export settings, such as opset version, dynamic shape settings, input/output naming, etc.? Could you help identify the possible cause of this error or provide further debugging suggestions? Thank you for your assistance.
Hi,Thanks for your response.Where can I get schematic of STM32100E-EVAL or similar board?
Hello, I am trying to convert my Onnx model with the ST Edge AI Core tool to the .nb format for the STM32MP25 target.While converting the model i get the following error:ST Edge AI Core v2.2.0-20266 INTERNAL ERROR: unsupported operand type(s) for *: 'int' and 'shape_struct'I could track down the error to a resize operation in the Onnx model. Here is a short snippet how the model looks like:When i remove the resize operations and downscale the 28 x 28 patches to 14 x 14 patches. Then the error is gone.So i think that the resize operation is the problem. This happens for quantized and non quantized models. Like stated here (STM32MP2 NPU description - stm32mpu), there should be some resize operations implemented at least on the GPU. Did anyone had similar issues and know how to fix them?Thank you in advance for your help.Best regardsNils
Dear all!i’m working with STM32H743ZIT6 in ETH RMII, ADC, blink led if i disable MPU, Lwip config, led will blink, when i enable MPU_Config(); SCB_EnableICache(); SCB_EnableDCache(); MX_LWIP_Init(); CPU hang, led didn’t blink, so can you help to take alook my IOC file, and share me how to config this task
Hi ,I have a board that has a STM32H562xxx , I have 4 analog inputs mapped on ADC1 IN1, IN14, IN15 and IN18 single ended … ( PA1, PA2, PA3,PA4 ), TRGO TIM8 I have DCACHE1 disabled HAL_ADC_ConvHalfCpltCallback - gives a flag the cvt is completedI have a uint16_t dmaBuffer[4]When I run it the variable dmaBuffer[0..2] have values ~220 with small oscillations and only dmaBuffer[3] with correct values from ADC1It’s the first time I used this board and 1st to have CACHE … otherwise I eventually disabled it.Can anyone help ? What info do I need to provide so I get little help make this work ?ThanksCristian
Hello I am trying to use STM32N6 with ST67W611.What works so far:STM32N6570-DK with X-NUCLEO-67W61M1, I am able to run my firmware that creates an AP and runs a web server with files from the SD card. Based on the discovery board and the ST67 nucleo, I have designed my own PCB. I have three times the exact same board. 001, 002 and 003.Board 001 works fine, AP and web server start. This is the console output:--------------- ST67W6X info ------------ST67W6X MW Version: 1.2.0AT Version: 1.0.0SDK Version: 2.0.97Wi-Fi MAC Version: 1.6.44BT Controller Version: 1.6.121BT Stack Version: 1.10.70Build Date: Nov 19 2025 11:35:01Module ID: C6AFDBD111400004 (-B)BOM ID: 2Manufacturing Year: 2025Manufacturing Week: 13Battery Voltage: 3.348 VTrim Wi-Fi hp: 5,5,5,5,5,5,4,4,4,4,5,5,5,5Trim Wi-Fi lp: 5,5,6,6,6,7,7,7,7,7,8,8,8,8Trim BLE: 4,3,3,4,5Trim
Hello,im in the process of trying to make a LED Matrix driver with the gpdma on my stm32h562. Currently, I have everything working with one buffer, but want to implement double buffering so i can fill one buffer with data, and read from the other.I was looking around on the internet on how to implement this, but i found only one thread with the same problem, but i cant figure out how to implement the solution into my project, as there is no LLIx.nextLLI definition anywhere. Im using CubeMx to generate me code. /* USER CODE BEGIN Header *//** ****************************************************************************** * File Name : linked_list.c * Description : This file provides code for the configuration * of the LinkedList. ****************************************************************************** * @attention * * Copyright (c) 2026 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be fo
I am using the STEVAL-25R300KA board with ST25PC-NFC version 3.0.2 on a PC running Windows 11.The software opens for a few seconds and then closes automatically by itself. I have already tried the following steps:Reinstalled the softwareRestarted my PCInstalled both x64 and x86 versions of the Microsoft Visual C++ Redistributable packagesChecked the Windows Event Viewer / Journal logs for any related errorsUnfortunately, none of these steps resolved the issue, and no specific error was detected in the logs.Could you please let me know what I can do to fix this problem and use the software properly?Thank you for your support.
Hello,I am working on the STM32MP257F-DK board and would like to use two Ethernet interfaces simultaneously for industrial network communication.The board provides:One onboard RJ45 Ethernet connector. One USB Type-C connector that, according to the documentation, can also provide Ethernet connectivity.My objective is to establish a network ring topology, where both Ethernet interfaces are connected to external devices using RJ45 Ethernet cables.I would like to understand:How can the USB Type-C Ethernet interface be converted to a standard RJ45 Ethernet connection? Does the USB Type-C port support Ethernet through a USB-to-Ethernet adapter (USB Ethernet dongle)? If yes, are there any ST-recommended USB-to-RJ45 adapters that have been validated with STM32MP257F-DK? Under Linux/OpenSTLinux, will the onboard RJ45 and the USB Ethernet adapter appear as two independent network interfaces (for example eth0 and eth1)? Has anyone implemented Ethernet ring topologies such as MRP, RSTP, PRP, or c
Hello Support Team,I am trying to start SWD debugging for the STM32MP135DAF7 in STM32CubeIDE using an ST-LINK V2 probe, but I cannot get the debugger to work correctly.My development board is MYD-YF135-256N256D-100-I based on STM32MP135DAF7.I enabled Engineering boot mode (B2 = 1, B1 = 0, B0 = 0)Software versions:STM32CubeMX v6.17.0STM32CubeIDE v2.1.1STM32CubeMP13 Firmware Package V1.2.0Debugger:Original ST-LINK V2Serial number: 30FF6F064E58373521xxxx43Firmware version: V2J47S7I created a simple project in STM32CubeMX and enabled only RCC and SWD debug. Then I opened the project in STM32CubeIDE and configured debugging through OpenOCD with “Connect under reset”.The debugger can detect the target correctly:SWD DPIDR is detectedCPU examination succeedsThe core sometimes halts correctlyBut after that, the debug session fails with many OpenOCD errors such as:timeout waiting for DSCR bit changeError waiting for InstrCompl=1Error waiting for cortex_a_exec_opcodeFail reading CT
Hello ST Community,Before releasing the next revision of our prototype board, we would like to verify that the hardware implementation of the ST33KTPM2I is correct and that there are no hardware design issues.Currently, the ST33KTPM2I is implemented as an optional component on our board. Before modifying the board design, we would like to perform some basic functional checks to confirm that the device is operating properly.Our interface is SPI.Is there any recommended way to verify communication with the ST33KTPM2I? For example, is it possible to read a device ID register or any other status information to confirm that the device is responding correctly?We reviewed the datasheet, but it does not appear to provide details about accessible registers or a register map. Therefore, we are not sure what commands or procedures can be used to perform a basic hardware validation.Thank you very much for your support.Below is our hardware schematic:
Hi all - first post here!I’m trying get Riverdi’s LVGL demo working. This is the first time I have ever used STM32, LVGL and Cube IDE - so I’m hoping Riverdi’s video guide has just omitted something simple but crucial!I’m using:STM32 Cube IDE (v2.1.1) ST-LINK V3SET (firmware version V3J17M10B6S1) Riverdi development board (LINK) Riverdi EVE4 7” display (LINK)I’m following this video guide word for word and I have not done anything whatsoever over and above what is described in the video. The code seems to build successfully however when I try to debug/run I get the following error message (“not able to get mcu target”), which I assume is the crux of my problem. I’d really appreciate some help getting over this (hopefully very simple hurdle) so I can start to familiarise myself with STM32 and LVGL.Thanks,James
One of the AF options on SPI1 is to use the SWD debug pins PB3-PB5.How can this be used in reality?Pretty obviously you can't do SWD breakpoints when SPI1 is thus mapped!But assuming no SWD debugging is needed, and you use SWD just to program the FLASH, how does one implement this? AFAICT one would need - on SWD inputs, FLASH loading will work- on SWD outputs (e.g. SWO - the SWV ITM debug output), FLASH loading works because these pins power up in some mode suitable for SWD FLASH programming.Then when the code starts running, you will need some logic to disconnect the debugger, so the clock and data SPI signals can come out, without contention with the debugger.Maybe I am missing something obvious. Or maybe this SPI1 AF mapping option is intended for FLASH programming not via SWD but via a UART, CAN or the weird USB mode.PB3 may not need anything because the SPI CLK is an output and the SWD SWO signal is also an output
Hello!I am designing a product using the stm32u073 that aims to use the least power. Does internal oscillator use more or less power than the external oscillator on the stm32u073? Is there any white papers on how to achieve the lowest power consumption on the u073?And meanwhile, is there some example implementation for the stm32u073?Thanks
On STM32H733, the HAL provides __HAL_DBGMCU_FREEZE_FDCAN() in stm32h7xx_hal.h but it is conditionally compiled:#if defined(DBGMCU_APB1HFZ1_DBG_FDCAN)#define __HAL_DBGMCU_FREEZE_FDCAN() (DBGMCU->APB1HFZ1 |= (DBGMCU_APB1HFZ1_DBG_FDCAN))#endifDBGMCU_APB1HFZ1_DBG_FDCAN is not defined in stm32h733xx.h, so the macro does not exist at compile time and calling it gives:error: implicit declaration of function '__HAL_DBGMCU_FREEZE_FDCAN'Questions:Is FDCAN freeze during debug halt supported on STM32H733? If yes, why is DBGMCU_APB1HFZ1_DBG_FDCAN missing from stm32h733xx.h — is this a bug in the device header? What is the correct bit position to use as a workaround via direct register write? I need to pause the FDCAN peripheral during debugging, that is my goal. Thanks you very much for helping me out.
I am developing an application on NUCLEO-N657X0-Q using Getting started image classification as base code. I need to add to the project the standby mode and right now when it enters standby mode, then it fails to resume correctly, i guess because part of the application is lost when system wakes up (retention is only 80 KB).The total size of the application is much bigger then 80KB and I am not sure how to extend the actual retention memory in use adding the TCM retention memories.Actually the application code is placed at 0x34000400.Is there an example on how to place the application also in TCM? I thought that another solution could be placing in retention at 0x34000000 the fsbl code and maybe in axisram2 the application, so that when the system wakes up after a standby it executes again fsbl and gets from external flash the application code.I tried this last part changing the linker files, setting 0x34000000 for fsbl and 0x34100400 for application, then in fsbl code i set address 0x
Hello everyone,Has anyone successfully used the "ST25R95 EMI FILTER CALCULATION.xlsm" spreadsheet?I'm currently trying to use it for tuning the matching network of an ST25R95 design, but it doesn't seem to work correctly on my side. As soon as I modify any parameter or use the reset function, all the graphs disappear and I can no longer obtain any meaningful results.At the moment, this tool would be very useful for optimizing the matching network, and without it I'm having some difficulties proceeding with the tuning process.Has anyone experienced the same issue? Is there a specific Excel version, macro setting, or workaround required to make the spreadsheet work properly?Any suggestions, advice, or alternative methods for tuning the matching network would be greatly appreciated.Thank you in advance for your help.Marco
I wanna implement Master and Slave ethercat protocol on stm32h7 series. Is there any examples available on subject?. Where should i start. Any resources?
win11 install st edge ai core(version4.0.1) ,everything is ok,but doesn't have a shortcut(try 3 times), and it doesn’t work, what's wrong? st edge ai core has bugs? Help me!
Hello, For a personal, open-source project I need to regulate 12V down to 3V, while consuming as little power as possible (a few uA quiescent current at most) in order to control a motor via BLE, all on batteries. While I was able to find ICs like the STBLW35, I am unable to find ready-to-use small boards/modules with those ICs. To me, it seems like the field of ultra-low-power is quite novel for the open-source space. As such, I wanted to ask whether ST couldShare insights about suitable modules with meSupport me and my project with products/evaluation boards Thank you for your time,Kind regards,Daniel Dakhno
HiI am implemented flash write protect on STM32U5 using option byte register FLASH_WRP2AR.Following these steps to write protect page 0x4C and 0x4D page in Bank 2- Unlock flash - Unlock Flash option register(FLASH_OPTR)- Unlock flash page by setting UNLOCK bit(31) in FLASH_WRP2AR- Write WRP2A_PSTRT[6:0] of FLASH_WRP2AR with value 0x4C- Write WRP2A_PEND[[6:0] of FLASH_WRP2AR with value 0x4D- Lock flash page by clearing UNLOCK bit(31) in FLASH_WRP2AR - Initiate option byte programming by setting OPTSTRT bit FLASH_NSCR register - Wait for flash operation to complete - Lock FLASH_OPTR register - Lock FlashThis sequence works some times , however most of the time after option byte programming FLASH_WRP2AR value resets to following value and write protect is disabled. - WRP2A_PSTRT[6:0]: 0x7F - WRP2A_PEND[[6:0]: 0x00OPTWERR bit sets in FLASH_NSSR indicating that invalid configuration, however configuration looks right.Regards,Hareesha
I need to use embedded STM32H573 bootloader to update customer application using UART1 or uart3.I try to use AN2606, but no success. May you provide correct code to jump from application to the embedded bootloader for specific processor model: STM32H573, please?
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.