Developer support experience survey - We value your feedback
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 all,I'm evaluating the VL53L9CX and want to use it with ROS 2 on a Linux host.What I've found so far:- ST's software for this sensor seems to be aimed at STM32 (X-CUBE-53L9A1, UM3656, and the programming guide UM3683).- I couldn't find an official Linux driver or ROS 2 package.- The only working ROS 2 route I've found is a community project that uses an ESP32-P4 as a MIPI CSI-2 to USB bridge and publishes a PointCloud2: https://github.com/kamibukuro5656/VL53L9CX_ESP32-P4_USB_ROS2- There's also a basic Raspberry Pi implementation over I2C from another user on this forum (thread: "VL53L9 working Linux implementation").Questions for ST:1. Is an official ROS 2 driver (sensor_msgs/PointCloud2) planned for the VL53L9CX, and is there a rough timeframe?2. Is an official Linux driver planned, for example a V4L2/MIPI CSI-2 or I3C capture path for hosts like Raspberry Pi or Jetson?3. In the meantime, can the post-processing library (confidence, radial-to-perpendicular conversion, flying-pixel
Hello everyone, I’m using the STM32G464RE core and the IHM 08M1.I’m trying to work out how to calculate/measure the torque, but I don’t have a dynamometer. The load is a peristaltic pump, so it varies depending on the two rollers that the motor drives.-----------------------------------------------------------------------METHOD 2: using the firmware-------------------------------------------------------------------------------------------In the code, I’ve written:currentRef_float_read = MCI_GetIqdref_F(pMCI[M1]);iq_ref_A = currentRef_float_read.q;current_float_read = MCI_GetIqd_F(pMCI[M1]);iq_A = current_float_read.q;//I’m converting the motor’s Kt (expressed in [Nm/Arms]) to [Nm/Apk] because I’m going to multiply it by Iq (which is not rms)#define KT_NM_PER_APEAK (KT_NM_PER_ARMS / SQRT2_F)torque_calc_Nm = KT_NM_PER_APEAK * iq_A;torque_ref_calc_Nm = KT_NM_PER_APEAK * iq_ref_A;//I think this is the "overall" stator current, and I don’t think it should be used to calculate torque, but I’
Core issue: Clearly state that STM32CubeMonitor fails to write to the variable. Even though reading works normally and the address/type are correct, the write has no effect.Items already ruled out: Tell the engineer that you have checked the address (consistent with the IDE debugger), type, Access Point, WFI/WFE, SWD frequency, and USB port, and have tried both the write panel and a custom flow.Key evidence: Attach the debug log from the write panel (showing validity: true but the value unchanged), as well as the specific chip model (Cortex-M0).
Hi everyone, how can I find exactly Link download Stellar Studio 9.2 for Linux:Ubuntu 26.04 I tried to visit https://www.st.com/en/development-tools/stellarstudio.html#overview , but only get .exe for window. Thank you.
I’m trying to bring up a simple application on a dual-core STM32H755 Nucleo board. Requirements are Ethernet (fixed IP address) and FreeRTOS, using the M7 core (the M4 core can thumb-twiddle, it’s not needed yet).I have tried configuring a bare-minimum project with these parameters in fully-updated STM32CubeMX and opening it in STM32CubeIDE, but surprise! It won’t build. No custom code, just the ST-created framework.First issue is that ethernetif.c’s low_level_init() function is trying to initialize a nonexistent TxConfig variable. (I commented that out.)Second issue is that the linker now throws 97 errors, starting with many errors of the form “Unknown destination type (ARM/Thumb) in ...”, followed by a flock of “dangerous relocation: unsupported relocation” errors. It should NOT be this hard to get a dead-simple program skeleton for a bog-standard use case to build on a current ST dev board using ST tools. None of the example code I can find on the ST Web site addresses the dual-core
Dear STM Support Team,I am working on a custom hardware platform based on the STM32N6570-DK.We have replaced the default MX66UW1G45G Octal SPI NOR Flash on the evaluation board with an Infineon S25FS512S Quad SPI NOR Flash. Since the default external loader is designed for the Macronix Octal flash, STM32CubeProgrammer is unable to program the new flash device.We would like to develop a custom External Loader (.stldr) for the S25FS512S. However, we are unable to find the source code or documentation specific to the STM32N6570-DK external loader.Could you please clarify the following?Is the source code for the STM32N6570-DK External Loader (MX66UW1G45G_STM32N6570-DK.stldr) publicly available? If yes, where can it be obtained? Is there any application note or documentation describing the API and project structure required to develop an External Loader for the STM32N6 series? Are there any reference projects or examples for creating a custom .stldr for STM32N6 devices? If the source is not
I've been investigating a rather unpleasant problem with the USB OTG HS peripheral on the STM32U5A5, operating at Full Speed, and believe I've uncovered a silicon defect in the IN endpoint TX FIFO management.This appears closely related to the issue previously reported by PhucXDoan in Another USB_OTG_FS Quirk — The 3-bit counter of IN endpoints.My experiments provide some additional evidence, including synchronized USB bus measurements and a reproducible endpoint deadlock.The problemI'm using a custom USB Mass Storage implementation with the following configuration: STM32U5A5, USB OTG HS peripheral operating at Full Speed Bulk IN endpoint 5, 64-byte maximum packet size TX FIFO allocated 256 × 32-bit words (1024 bytes) Typical transfer: 512 bytes (128 words) Despite the FIFO being twice the size of the transfer, DIEPTXFSTS.INEPTFSAV unexpectedly drops to zero after only a small number of FIFO writes.More surprisingly, it sometimes spontaneously jumps back to nearly the full FIFO c
UM3616 Rev 2: That paragraph should be indented under LD2 & LD3 as it refers to only those 2 LEDs - not to LD1In addition, it would be better to make it explicit: “LD2 & LD3 are OFF when the STM32 I/O is in a high state, and ON when the STM32 I/O is in a low state”Better yet, add an explicit note that this is opposite to LD1!“LD2 & LD3 are OFF when the STM32 I/O is in a high state, and ON when the STM32 I/O is in a low state. Note that this is opposite to LD1” PS:It would also be helpful to add “Active high” on LD1 and “Active low” on LD2 & 3 in Table 7:
At 2:37, the terrible robot narrator says to “Select GPIO”: The video shows that, when you do this, ‘Reserved’ is selected by defaultBut the narration incorrectly says, “by default, the ‘Configured’ mode is selected”
Software version: STM32CubeMX2 1.1.1 Target MCU: STM32C542RCT6Steps I followed:Created a new project and generated the CMake‑based IDE project to a target folder. Closed CubeMX2, then manually deleted Core/Src/main.c via file explorer. Opened the original .mx2 project file again, kept using the same output directory, and clicked Generate IDE project.Observed behavior: After code generation finishes, main.c is still missing from the folder. There is no warning message or popup to notify me the main entry‑point file is absent. Consequence: CMake build fails with undefined reference to main.In legacy CubeMX6, when main.c was removed, code‑generation would recreate this template file automatically. This does not happen in CubeMX2 1.1.1.Current workaround: I have to generate project files into a brand‑new empty folder to get a fresh copy of main.c, then copy this file back to my original project directory.Analysis: It seems CubeMX2 treats main.c as a user‑modified file and skips regeneratio
Hi guys, I’m trying to port a firmware from CubeMX(1) to CubeMX2 with the HAL2. For some reason I don’t find the necessary config to enable DBGMCU.MCU: STM32C5A3MGT6 Does anyone know how to enable?
Hello ST Team,We are evaluating the STM32MP257 device and noticed an inconsistency between the device documentation and STM32CubeMX.According to the STM32MP257 feature table, the device supports 3 Gigabit Ethernet interfaces (ETH1, ETH2, and ETH3) with RGMII/GMII capability.However, in the current STM32CubeMX version:Only ETH1 and ETH2 are visible under the Connectivity configuration. There is no ETH3 peripheral listed. Consequently, it is not possible to view or assign the ETH3 signals/pins in the Pinout view.Could you please clarify:Is ETH3 supported on STM32MP257 in the current STM32CubeMX release? If supported, how can the ETH3 pin allocation be displayed and configured in CubeMX? If ETH3 is not yet implemented in CubeMX, could you provide the complete ETH3 signal-to-pin mapping for STM32MP257? Is there a planned CubeMX release that will add ETH3 configuration support?For reference, the STM32MP257 datasheet indicates support for 3 external Gigabit Ethernet interfaces, while CubeMX
Title: STM32C542RCT6 – Firmware Downloads Successfully but Does Not StartHello,I am working on an STM32C542RCT6 project using STM32CubeMX2, STM32CubeIDE and CMake.I am facing an issue where the firmware downloads and verifies successfully, but the application does not start.The debugger stops at an unexpected address (0x0BF87944) and shows the message:Break at address with no debug information available, or outside of program code.I have checked the following: Other firmware projects are downloading and running successfully on the same evaluation board. ST-LINK programming is working. The MCU is correctly selected as STM32C542RCT6. The firmware download shows "Download verified successfully". My linker script is named stm32c542xb_flash.ld, and I am not sure whether its memory configuration is correct for STM32C542RCT6. also i attached the cmakelist.txt and linkerscript check is ther any chnages neede there .Could anyone help me verify the correct linker script, startup file, and
I get that MX2 takes a different approach to “User” code than MX1:https://dev.st.com/stm32cube-docs/stm32cubemx2/1.2.0/en/docs/markup/STM32CubeMX2_FAQ.html#why-are-there-no-user-sections-in-stm32cubemx2-generated-code But what, exactly, does MX2 consider to be “User” code?I can see that there’s a user_modifiable folder created: Does that mean that everything under there will never be touched by code (re-)generation?Should the user keep away from modifying anything under any of the other folders?Is the user allowed to add other folders to the project at this level? The screenshot is from the ST hal_gpio_toggle_cmake example.It seems to contain “User” code at the top level:The main.c is generated by MX2 - is it considered “User” code?I don’t think the example.c is generated by MX”? So is it OK to put other User files here ? See also:
Hello everyone,I am using an STM32H755ZI-Q Nucleo board and I am trying to run a small test project using an Ethernet connection between my board and my computer.The goal is to set up a simple HTTP server with two buttons (ON/OFF) that allow me to turn LED3 on and off remotely through a web browser.However, I am experiencing an inconsistent connection issue. The project only works approximately 1 out of 5 times. Whenever I disconnect the board from my computer and run the code again, the Ethernet connection seems to take too long to establish, preventing the HTTP server from starting properly.The strange thing is that the exact same code can work perfectly one moment, and then fail a few minutes later after simply disconnecting and reconnecting the board. No changes are made to the code.Has anyone experienced a similar issue or have any idea what could be causing this behavior?Any help or suggestions would be greatly appreciated!Thank you in advance!
Hello, with STM32N6, i cannot enable GPDMA1 Channel 14 global interrupt and HPDMA1 Channel 14 global interrupt. I can enable the interrupt for every other channel, but channel 14 is always missing or grayed out even if the channel is enabled?Steps to reproduce:Enable all GPDMA and HPDMA channels from the DMA panel: All channels enabled with identical settings Go to the NVIC panel where all of the interrupts expect for channel 14 can be enabled: Channel 14 missing from NVIC listChannel 14 missing from NVIC list
Hi everyone,I am designing a dedicated Telemetry and Telecommand (TT&C) hardware module for a UAV/drone application. This board will not run the main Flight Control Unit (FCU) stabilization loops—its sole purpose is to bridge data between an external FCU and a ground station using the Semtech LR2021 dual-band transceiver.I initially looked at the dual-core STM32H755, but it seems like overkill in terms of cost, power draw, thermal dissipation near the RF front-end, and firmware complexity for a standalone TT&C node. I am currently evaluating single-core alternatives like the STM32G4, STM32H5, STM32U5, and STM32F4.Here are the specific requirements and interface constraints for my system:RF Transceiver Interface: Semtech LR2021 connected via 4-wire SPI (up to 16 MHz clock), plus BUSY and DIO interrupt lines. Target RF Data Rate & Modulation: Low-rate, long-range LoRa / High-rate 2.6 Mbps FLRC bursts / Dual-mode switching between both FCU Host Connection: The TT&C module
I am using an STM32H743IIT6. In SYSCFG_PMCR, the BOOSTE bit states that '1' must be set if the voltage is below 2.7V. So, which voltage is it—VDD, VDDA, or some other voltage? I’m analyzing some documentation on an ADC, and it mentions those bits. Is there any issue with setting BOOSTE to '1' when the voltage is greater than 2.7V? Could long-term operation under these conditions cause damage to the chip?
Using an STM32L432KC Nucleo, I observed that STM32CubeProgrammer v2.23.0 toggles FLASH_SR.PEMPTY when it flashes an image of an odd number of 2 KiB pages to the L432KC. The board then boots into the ROM bootloader instead of the present application in flash. (I used the programmer through zephyr’s west flash on Ubuntu.) Edit: duplicate of
Hi everyone,I’m looking for the BGA pinout of an ST device marked H418-HUB, which I believe is an STiH418.I found the public data brief (DocID026633) and the Linux device-tree sources, but I’m missing the mapping from the logical PIO signals to the physical BGA balls. Specifically, I’m trying to locate: UART10: PIO3[4] (TX) and PIO3[5] (RX) SPI-FSM: PIO40[0–5] Does anyone know where to find the package ball assignments and the corresponding I/O voltage specifications? I would also be interested in the full hardware reference manual, particularly the sections covering pin multiplexing, UART and SPI-FSM. If access to the complete manual is restricted, a pinout table or an extract covering these interfaces would already be helpful.I also found references to the 4kopen B2264 board, which used the same SoC and offered schematics and an ST MicroConnect 2 JTAG connection document. However, the 4kopen project appears to have been abandoned: its former website and documentation resources are
PA level 28 is max.Hi!I’m using a custom made board for STM32WBA54 and the Direct test mode from CubeMX and CubeIDE (STM32Cube FW_WBA V1.10.0). We have tried to set the board in high power mode in CubeMx and in CubeRF change PA level but it does not work. Not sure what I’m doing wrong here?BRjohannes
Hi,We are using STM32L496. We are trying with Dynamic voltage scaling is being used and set to Range 2 and Low-power run mode. MCU is connected with 1.2V at VDD12 with external SMPS. How do we know, MCU is taking power from VDD12 SMPS or main VDD rail?VDD = 2.5V/Anurag
Have a quick question about the RHFL4913 regulator. Is the internal reference trimmed such that it is unlikely (or impossible) that the internal range would be at/near the min/max limits?i.e. not near the 1.19 or 1.27 limits? If it’s trimmed we would expect the reference to be within about 1 sigma from nominal. We are trying to understand the probability that the reference will be at or very near its endpoints.
HiThe documentation and the SVD files give a different value for the address offset for the MACARPAR register.The documentation lists 0x0210:https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdfpage 2990https://www.st.com/resource/en/reference_manual/rm0399-stm32h745755-and-stm32h747757-advanced-armbased-32bit-mcus-stmicroelectronics.pdfpage 3146https://www.st.com/resource/en/reference_manual/rm0477-stm32h7rx7sx-armbased-32bit-mcus-stmicroelectronics.pdfpage 3469In the svd files (https://www.st.com/en/microcontrollers-microprocessors/stm32h723-733.html#cad-resources)❯ grep -A3 'MACARPAR</name>' *.svd | grep addressOffsetSTM32H723.svd- <addressOffset>0xAE0</addressOffset>STM32H725.svd- <addressOffset>0xAE0</addressOffset>STM32H730.svd- <addressOffset>0xAE0</addressOffset>STM32H733.svd- <addressOffset>0xAE
Hi, When there is no object in front of the VL53L0x, all corrections have been made, but the following test data still appears. Why are the data so high?
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.