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, I am trying to collect data on the STWINKT1B board with the microSD card. I have a 128GB microSD which I formatted to FAT32. While running tests I noticed that after I click the USR button on the board it starts collecting data like normally, but after 55 seconds it stops logging data. If I click the USR button a second time, the same process occurs. I checked the data folders that populated on the SD card from the tests and the data seems to be accurate. I checked the device_config.json file to double check that ‘automode’ was no enabled, which it is not. I am wanting to run longer, continuous tests. Does anyone know why I am having this issue and how to go about fixing it?Another issue that I am running into is because of network restrictions, I cannot write to the microSD card so I cannot get the device_config.json file on the SD card. I tried using the BLE app to configure the sensors, but it is grayed out and says that it is unavailable for my proficiency level. Is there a
Hi everyone,I'm currently bringing up a custom board based on the STM32G0B1KEU6 (UFQFPN32) and I'm stuck at the very first step. I can't get the MCU to respond over SWD.I'm using STM32CubeIDE with an ST-LINK/V2, and every attempt to connect gives me:Target no device foundError in initializing ST-LINK device.Reason: No device found on target.The relevant part of the GDB server log is:STMicroelectronics ST-LINK GDB server. Version 7.12.0Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 3333SWD Debug : EnabledTarget no device foundError in initializing ST-LINK device.Reason: No device found on target.The MCU is powered from 1.8 V. Since I thought the supply voltage might be the issue, I also powered it from 3.3 V, but the result was exactly the same.I've already checked the following:- SWDIO is connected to PA13.- SWCLK is connected to PA14.- NRST is connected with a 10 kΩ pull-up and 100 nF capacitor.- VDD is present at the MCU.- T
I need your guidance regarding an issue I encountered while working on the customer inverter board.While testing the board, I applied a sudden ramp-up in open-loop mode. Due to the high current spike, the inverter board got damaged, which I understand and accept.However, I had an isolated ST-LINK V2 connected to the board during the test. Since then, the ST-LINK is no longer functioning properly. The PC detects the debugger, but when I try to connect or program the target using STM32CubeIDE, it reports that "No ST-LINK detected" or is unable to establish a connection with the target.Unfortunately, we do not have the schematic of the isolated ST-LINK V2, so I am unable to troubleshoot or repair it further. As the debugger costs around ₹5,000, I would appreciate your guidance on whether there is any recommended procedure to diagnose or repair it, or if it should be sent for service/replacement.Please let me know how I should proceed.
a
Hello,I have taked a look at this post: I’m trying to do same at a H533 project: a non secure App (without trust zone), I have the same issue, the example works well, but when I try to use without secure image the example doesn’t work. Will be great to have support from ST.Kind regards
I am unable to debug my code currently, due to the debugging configurations not being set up - this is from importing the cubemx project into the cubeIDE. an error saying the selection cannot be launched but when attempting to add configs in the debugging properties it does allow me to add any - is there anyway of using default debugging and running settings without having to add custom ones?
I'm using an STM32G431 and MCSDK 6.4.1. It's a 340 VDC BLDC motor with two pairs of magnets, running in FOC mode with HAL sensors. The motor works well most of the time, but it often starts in the wrong direction and then returns to the correct direction after a few revolutions. This happens when trying to move forward or backward. Sometimes the motor goes into "hard commutation"—the current is higher at about half the normal current, and a sound indicates that the rotation isn't as smooth as usual. I tried adjusting the HALL_PHASE_SHIFT setting in 15-degree increments and settled on the smoothest rotation in both directions. Debugging the HAL sensors showed stable sector readings in both directions and no interference in these signals.What else can I try to make rotations reliable? Would an oscilloscope help?
TouchGFX Designer: 4.26.0I cannot share the project to reproduce the bug unfortunately.I removed several custom containers in the Container tab. In several places in the Screens tab a yellow dot appeared for some now incomplete screen interactions (expected behavior). However, when generating sources/saving the project I got the following error```txt2026-07-16 14:45:05,342 [1] ERROR TouchGFXDesigner.App: Object reference not set to an instance of an object.System.NullReferenceException: Object reference not set to an instance of an object. at TouchGFXDomainModel.LoadSave.Serial.ToSerial.Convert(TriggerCustom t) at TouchGFXDomainModel.LoadSave.Serial.ToSerial.Convert(Interaction i) at System.Linq.Enumerable.IListSelectIterator`2.ToList() at TouchGFXDomainModel.LoadSave.Serial.ToSerial.Convert(Screen s) at System.Linq.Enumerable.IListSelectIterator`2.ToList() at TouchGFXDomainModel.LoadSave.Serial.ToSerial.Convert(Application a) at TouchGFXDomainModel.LoadSave.Serial.ToSeri
I'm curious what debugging tools and techniques other STM32 developers rely on during development.Do you mainly use STM32CubeIDE, STM32CubeMonitor, or another tool? Do you prefer SWD or JTAG for debugging? What are your go-to methods for tracking down hard-to-find bugs? Any tips for improving debugging efficiency on STM32 projects?I'd love to hear which tools and workflows have made the biggest difference in your embedded development projects.
Hi Champs,the D/S of both LSM6DSV and LSM6DSV32X gives the same WHO_AM_I defaul value (01110000b = 0x70).is there a way to differentiate both IMUs?thanks in advance.Warm regards,Agnès
I have an application that I must rotate motor for 3000 radian every 10 seconds, is it possible to use TC_SetCtrlPositonAngle function to set theta to 0 after every movement so that it does not overflow.
I am developing a device based on an STM32F746VET6 with two Ethernet ports. To implement this, I chose the KSZ8863RLL, as it provides two external Ethernet PHY ports and an RMII interface to the STM32.At the moment, Port 1 and Port 2 are both working correctly at 100 Mbps full duplex. I can successfully transmit and receive data through both ports. However, I cannot get Port 3 (the RMII CPU port) to establish a link.I'm a bit confused about the correct RMII interface connections. I am using Clock Mode 5, and my understanding is that the external 25 MHz crystal is internally multiplied to 50 MHz, with REFCLKO_3 providing the 50 MHz reference clock to the STM32. Is that interpretation correct?This is how I originally routed the RMII signals: After reading through the datasheet and application notes, I also came across the following information:Based on that, I bodged my PCB to match the recommended connections, but I still cannot get a link on Port 3.Has anyone successfully used the KSZ8
I'm learning embedded development and would like to build a simple USB game controller as a practice project. I also manage a gaming website called TomodachiLifeROM, where I write about Nintendo games and gaming-related projects, so I'd like to experiment with custom hardware in the future.I'm considering using an STM32 development board, but I'm not sure which one would be the best starting point.Could you please advise:Which STM32 Nucleo or Discovery board is best for beginners? Is STM32CubeIDE sufficient for this type of project? Are there any official examples for USB HID game controllers? Which STM32 MCU family would you recommend for learning embedded programming and USB development?I've read through the STM32 documentation and examples, but I'd really appreciate recommendations from developers with hands-on experience.Thank you!
Hi everyone,I'm trying to program an STM32F0 MCU using an ST-Link/V2 through a TXB0108 voltage level translator module.My setup is as follows:ST-Link/V2 SWCLK, SWDIO, and nRST connected to the A-side of the TXB0108 STM32F0 SWCLK, SWDIO, and NRST connected to the B-side Both sides are powered appropriately according to the voltage translator requirementsHowever, when I connect the translator module, I observe that the nRST pin from the ST-Link/V2 drops to 0V. If I disconnect the TXB0108 and connect the ST-Link directly to the MCU, the nRST line remains at the expected VTref level (3.3V).I'm trying to understand what could be causing this behavior. Some questions I have:Is the TXB0108 suitable for SWD programming signals, especially the nRST line? Could the auto-direction sensing of the TXB0108 be interfering with the ST-Link reset signal? Are there any known issues with using TXB/TXS translators on SWD interfaces? What measurements or checks would you recommend helping isolate the probl
Hello,I am evaluating sensorless FOC on a NUCLEO-G474RE combined with the EVLDRIVE102BH power board using the STM32 Motor Control SDK (MCSDK).While configuring the project in MC Workbench, I noticed that the HSO (High Sensitivity Observer) option is disabled/unavailable for this hardware combination.From my understanding, HSO requires both current sensing and phase-voltage measurements. The STM32G474RE appears to have sufficient ADC resources, and the EVLDRIVE102BH includes phase-voltage sensing circuitry. Because of this, I am trying to understand what prevents HSO from being available for this setup.Could anyone familiar with HSO support help clarify the following?Why is the HSO option disabled when selecting NUCLEO-G474RE + EVLDRIVE102BH in MCSDK? Is the restriction due to: Hardware limitations of the NUCLEO-G474RE or EVLDRIVE102BH? ADC/channel allocation requirements? Phase-voltage sensing implementation requirements? MCSDK board support restrictions? ST validation/support pol
Hi Team,I'm designing a custom board around the STM32N657X0H3Q and evaluating whether I can replace the reference MX66UW1G45GXDI00 (Macronix, used on the STM32N6570-DK) with the ISSI IS25WX01G-JILE (24-ball LFBGA, 1Gb, 1.7–2.0V Octal DDR NOR flash 166MHZ) as the external boot flash.My questions:Does the STM32N6 stage-0 (ROM) bootloader have hard-coded protocol/timing parameters tied specifically to the Macronix MX66UW1G45G, or is there a way to configure it for a different vendor/command set (e.g., via OTP, option bytes, or FSBL configuration)? Is JEDEC manufacturer ID checked/enforced anywhere in the boot chain (ROM bootloader, FSBL, or STM32CubeProgrammer external loader) in a way that would reject a non-Macronix part? Has anyone successfully booted an STM32N6 from a non-Macronix Octal DDR/OPI flash (e.g., ISSI, Winbond) by writing a custom BSP/XSPI driver, or is the boot ROM's dependency on the Macronix command set a hard blocker regardless of driver customization? Has the IS25WX01G
Hi, I have designed a board with a total antenna width of 10 mm and 7 turns, and a rectangular antenna.But it doesn’t read by smartphone (NFC-enabled) or Readers. Can you please help me with the problems?
Hello,The StellarStudio 9.1.0 release notes state that StellarStudio is available for Windows, Linux and macOS.However, the download page only provides:StellarStudio-FULL-SR5-9.1.0.exeI am trying to install StellarStudio natively on macOS (Intel).I installed Eclipse 2026-06 and added the update siteshttps://common.srxstudio.org https://contrib.srxstudio.org https://sr5.srxstudio.orgEclipse finds the StellarStudio features, but installation fails because required bundles such asorg.eclipse.emf.ecp.core org.eclipse.nebula.widgets.pgroupcannot be resolved.Could you please clarify:Is there a native macOS installer (.dmg or .pkg) for StellarStudio 9.1.0? If StellarStudio is intended to be installed into a standard Eclipse installation, which Eclipse package and prerequisite repositories are required? If not, where can the official macOS installation package be downloaded?
Hello ST community,Is there a way to find information about how many bytes I've written to the flash memory of a certain memory area at some memory address (not starting at 0x0800000, but at 0x0802000)?When I first power up, the byte counter is initialized to 0, and as I write bytes from address 0x0802000, I count the number of bytes, and at that point, I get the information about the number of bytes written.But my goal is to know how many bytes I've previously written when I power cycle the STM32H7 MCU. Is there an option that counts the number of bytes written to the flash memory and automatically stores that information somewhere in the memory?If so, which memory and at what address?Thanks to anyone who can help me.Regards
Hi ST team,We are using STM32L071 for the system bootup application. We are observing that for few of the boards - NRST was asserting due to which ST MCU fails to boot. Our initial suspect was on 3.3V Power rail. We did an experiment as below:- When the injected residual voltage reaches approximately 0.25V on the 3.3V rail, the U1501 fails to start up.- When the residual voltage is below 0.20V or above 0.30V, the U1501 starts up normally.What might be the possible reason for NRST pin getting low? Please find the schematics and probed NRST pin.
Hello, I connected an ILI9488 480x320 display on a STM32U5 using FMC in 16-bit mode.I transfer the framebuffer to the display using GPDMA in 2D mode, and all works fine.But only as long as I transfer the entire framebuffer or a rectangular region that takes the full width of the screent, where rect_y >= 0 and rect_height < =DISPLAY_SIZE_Y and rect_x = 0 and rect_width = DISPLAY_SIZE_X. This way one line in the frambuffer follows the next line, an easy task for the GPDMA, where 2D mode is inrelevant.Things don’t work out well when I want rect_x > 0 and rect_width < DISPLAY_SIZE_X, so a random rectangle somewhere from the framebuffer. This way for each new line the GPDMA needs to skip (DISPLAY_SIZE_X - rect_width) pixels to arrive at the next data in the framebuffer. I haven’t been able to configure that. The output image gets extremely slanted and extremely resduced in vertical size if if I make the rectangle 4 pixels more narrow than the display horizontal resolution.I hope
I have a working RLT8211F at my STM32MP257F board.I wonder why only the hardware reset is working PYRSTB (pin 12), but the software reset won't work?Should they not do the exactly the same thing?My Ethernet PHY is working, but it seems it requires as hardware reset GPIO from the MPU.I have tried to modify the code in realtek.c and phy_device.c by adding the function genphy_soft_reset to the struct in realtek.c. }, { PHY_ID_MATCH_EXACT(0x001cc916), .name = "RTL8211F Gigabit Ethernet", .probe = rtl8211f_probe, .soft_reset = genphy_soft_reset, /* <------- this */ .config_init = &rtl8211f_config_init, .read_status = rtlgen_read_status, .config_intr = &rtl8211f_config_intr, .handle_interrupt = rtl8211f_handle_interrupt, .set_wol = rtl8211f_set_wol, .get_wol = rtl8211f_get_wol, .suspend = rtl8211f_suspend, .resume = rtl8211f_resume, .read_page = rtl821x_read_page, .write_page = rtl821x_write_page, .flags = PHY_ALWAYS_CALL_SUSPEND, .led_hw_is_supported
Using the latest CubeMXIDE, CubeIDE, and drivers.Custom hardware driving an ILI9341 through SPI1 Driver (attached) writes column and page registers, writes RAMWRITE command, and then transfers in one of three methods: blocking, IRQ, and DMA.blocking works fine, so the hardware and commands are proper.IRQ and DMA do not work. Working specifically on DMA at the moment.Software for the driver next: case ROTATE_180:{// checked valid// new design driver, landscape mode, draws left to right// note: DISPLAY IS IN native landscape MODE// range is 0-319 and 0-239// reverse X if not commented out// data.x0 = 319-data.x0;// data.x1 = 319-data.x1;// reverse Y if not commented out// data.y0 = 239-data.y0;// data.y1 = 239-data.y1;minmax (data.x0, 0, 319);minmax (data.x1, 0, 319);minmax (data.y0, 0, 239);minmax (data.y1, 0, 239);if (data.x1 < data.x0) swap(data.x0,data.x1);if (data.y1 < data.y0) swap(data.y0,data.y1);#ifdef _LVGL// com_addr[0] = ILI9341_PASET;// com_data[0] = (319-data.x1) &
Hello,I am trying to extend DTCM to 256K. I followed FLEXMEM Configurations example but I get HardFault as soon as I try to access DTCM in 0x30020000 - 0x30040000 address range. Could someone please provide working example of how to extend DTCM to 256K?
is their official library for the BNO085 whil using with stm i found the one to used with ardiuno but not one for stm https://github.com/adafruit/Adafruit_BNO08x/blob/master/src/Adafruit_BNO08x.cpp
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.