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
Split from Any accelerometer supporting >400g with integrated free-fall detection ? - this is a separate questionHi Team,Could you please suggest a suitable wireless development board that supports LSM6DSV320X, or any latest high g accelerometer sensors, apart from Sensor Tile Box Pro?
Hi,The STM32_Programmer_CLI is installed by the ST VS Code plugin to a directory that will change from version to version and it's also not added to the PATH. I am trying to find a reproducible way to automatically add that install location to the PATH in my Dev Container so I can use command-line tools to program it.The current location is:~/.local/share/stm32cube/bundles/programmer/2.22.0+st.1/bin/STM32_Programmer_CLIwhere ~ is the user in the Docker container. I tried searching for it in a script run in "postStartCommand" from devcontainer.json which is run after the Docker container is started. But, the plugins have not been installed yet so that fails. Any suggestions? Could the plugin on install add it to the .bashrc in the future? Or perhaps an alias to it could be added to a constant location?
Hi, Does anyone have any experience or knowledge on how to successfully connect the TMC5160 Plus (BigTreeTech) stepper motor driver board and an STM32 ( I have the Nucelo F446RE)? I have tried SPI but can't get a clear signal back.
I want to flash a custom object detection model on the STM32N6570-DK board. I followed these steps:1-I selected the model ST_YOLOXN_D033_W025_416_INT8_OBJECT_DETECTION_COCO_2017_PERSON.TFLITE from ST Edge AI Cloud, with the following parameters: input: 1×416×416×3 (8-bit), output: multiple outputs, model type: STAI_FORMAT_U8. I then generated the corresponding C files.2-I followed this path: ModelZoo service → application_code → object_detection → STM32N6 → Model → STM32N6570-DK, and replaced the original files with my custom model. The files I modified are:network.cnetwork_ecblobs.hnetwork_atonbuf.xSPI2.binstai_network.cstai_network.h3- In STM32CubeIDE, I configured the app.config.h file #define POSTPROCESS_TYPE POSTPROCESS_OD_ST_YOLOX_UI #define NN_HEIGHT (416) #define NN_WIDTH (416) #define NN_BPP (3) #define COLOR_BGR (0) #define COLOR_RGB (1) #define COLOR_MODE COLOR_RGB /* Classes */ #define NB_CLASSES (1) #define CLASSES_TABLE const char* classes_table[NB_CLASSES] =
Hello,I am working on USB device CDC ACM for STM32N655L0. I found an example about "Ux_Device_CDC_ACM" for NUCLEO-N657X0-Q. Can I use this example for my mcu? How can I find ioc configuration of this example?I also tried to implement this example to my project but when I change some configuration from ioc, new code is not match with this example. On the other hand, I did everything as inside of example but I am getting error during clock initalization.Best Regards,Basri KAYA
I am working with the LSM6DSV320X for vibration analysis and potential crash detection applications, and I have a few questions regarding its capabilities and system integration:Is the LSM6DSV320X considered a high-end processing device? Does it support on-board processing such as FFT, or is an external MCU required for such computations?What are the maximum bandwidth and measurement ranges (g for accelerometer and dps for gyroscope) available for the 6-axis IMU? How suitable are these for high-frequency vibration or crash event detection?How fast is the communication interface (I2C/SPI)? Can it reliably support high data rate streaming for real-time applications?Is it possible to integrate this sensor directly with a CAN bus, or is an external microcontroller required for CAN communication?Are there any development boards available that include this sensor for quick evaluation and prototyping?I would appreciate guidance or references to relevant documentation.
Hello,I am facing a kernel crash (Oops) on an STM32MP2 platform while using UART with DMA. The issue occurs during runtime power management resume.EnvironmentPlatform: STM32MP2 (custom board)Kernel: 6.6.78 (OpenSTLinux - Yocto Scarthgap)UART driver: stm32_usartDMA: EnabledWorkqueue: pm_runtime_workObservations:Crash happens in DMA virtual channel submissionTriggered during runtime resume (PM)Address dead000000000xxx suggests:Use-after-free, orUninitialized / corrupted DMA descriptorAre there any patches or recommended fixes for this scenario?
Hi, Planning to use VFQFPN68 package. I am confused about the max core clock I can use. CubeMx shows 550MHz for every "Power Regulator Voltage Scale (0-3)".I remember reading VFQFPN68 has only DCDC solution so max core clock is 400MHz Can anyone explain please?Thanks,Tim
Hi there,I'm debugging an STM32L081 project with an ST-LINK/V2 ISOL, and the Live Expressions data during the debug session is corrupted.Sometimes, removing all expressions, stopping the debug session, and/or power-cycling the processor makes the data display correctly again. However, after a simple code update, or adding new data on Live expressions; the data becomes corrupted once more.This has been a known issue since 2023. I’ve seen many colleagues reporting the same problem. Even ST technicians have escalated it under internal ticket IDs 222326 and 175214.Unfortunately, as of early 2026, there has been no update.I have installed the latest STM32CubeIDE 2.0.0, but the issue still persists. Come on, ST team!!!!You are aware of this issue. Please inform the community about when it will be fixed. Thanks in advance.
Hi ST community,I’m working with an STM32H563 MCU and trying to use the pin labeled JTDO/TRACESWO as UART7_RX because the datasheet/alternate function table shows that this pin supports UART7_RX. However, UART transmission works correctly, but UART reception does not work when using this pin. If I switch to a different pin, both TX and RX function as expected.Here’s what I’ve checked so far:Configured the pin in STM32CubeMX as UART7_RX (alternate function mode)Verified UART7 peripheral initialization is correctChecked baud rate and UART settingsConfirmed hardware wiring:External TX connected to STM32 UART7_RXCommon GND connectedSignal level is 3.3VTried disabling trace/SWO in CubeMX by setting by debug to “Serial Wire” instead of trace modeAlso tested with debugger disconnected after programmingMy question:Is the JTDO/TRACESWO pin fully usable as UART7_RX on STM32H5, or is it reserved/limited due to debug trace functionality?Is there any additional register/configuration needed to
e.g. select I2S with "Master transmit" which should only use I2S_CK, I2S_WS and I2S_SDO, yet the I2S_SDI pin is also muxed and blocked for other use (and both DMA directions are available)
Hello, I've just received my custom PCB with an STM32H743VIT6 MCU. It has a Samsung eMMC connected to the SDMMC1 interface (MMC 8 Bits Wide Bus) : (I'll link the eMMC datasheet below.) I'm encountering some issues while initializing the device with the MX_SDMMC1_MMC_Init function. More particularly it seems to be stuck in the HAL_MMC_InitCard function, on this block : /* Card initialization */ errorstate = MMC_InitCard(hmmc); if (errorstate != HAL_MMC_ERROR_NONE) { hmmc->State = HAL_MMC_STATE_READY; hmmc->ErrorCode |= errorstate; return HAL_ERROR; } When i launch a debug session it seems to freeze on this block : /* Get CSD parameters */ if (HAL_MMC_GetCardCSD(hmmc, &CSD) != HAL_OK) { return hmmc->ErrorCode; } Here's the variables states at this breakpoint : The data does not seem coherent. Am I missing something here ?For the configuration of the SDMMC1 interface i setted the Clock at 50MHz on the Clock Configuration, an
I want to do hands on interfacing of all interfaces available with STM32MP157C-DK2.Can you suggest resources on how can I do all interfacings on STM32MP157C-DK2.
Buenos días a todos, Me presento, soy Hugo un alumno de universidad que está preparando su TFG, acerca de la IA preventiva, para ello me gustaría hacer una demostración y es ahí donde me surgen las dudas, que ojalá me ayuden a resolverlas. Quiero instalar distintos sensores (medir vibraciones, consumo de energía y temperaturas) en plataformas elevables de construcción, para que pueda recoger en directo métricas recogidas por estos sensores y volcar estos datos en una base de datos para trabajar más tarde con ellos, mis preguntas surgen desde qué sensores me recomendaríais comprar (entendiendo que soy un alumno y tampoco tengo el presupuesto de una empresa), como puedo instalarlos correctamente y como puedo hacer para que según va recogiendo datos en directo, poder volcar estos mismos en una base de datos. Agradecería cualquier ayuda, muchas gracias de antemano.Un saludo, Hugo G.Google translation:Good morning everyone, I'm Hugo, a university student preparing my final year pr
For STM32N6570-DK , I was trying to generate STM32 IDE model regarding Edge AI, but it is not showing the option to download complete project . While this documnetation shows that we can download the complete IDE project . https://stedgeai-dc.st.com/documentation
Hi, I'm developing a custom STM32G491CEU6 board with USB-C and pins for external ST-LINK programmer. Board is powered from external source. I connected only D+, D- and GND from on USB-C to MCU, because I wanted to use this only for debug. Right now the USB-C communication works only if ST-LINK is connected (had no idea about VBUS sensing). Can i override it somehow? Schematics below
My STM32H745I-DISCO touch screen stopped working after a HardFault/debugger crash while running a test app generated by STM32CubeMX ("Create project from board"). The display works perfectly but touch is completely unresponsive. Steps already taken: Full chip erase + reflashed official FULL.hex (with MT25TL01G external loader) Verified option bytes (RDP=AA, BCM4 and BCM7 both enabled) Fixed reset mode from "Hardware reset" to "Software reset" ST-LINK firmware is up to date (V3J17M10) I2C4 registers show uninitialized on both cores Display works, buttons visible, but no touch response at all.
Hi I plan on using STWBC86 for a wireless charger prototype. I was looking at the datasheet for the reference designs and found that the reference schematics has missing or has hard to read values, labels, and wires. Is there a better version of the schematics that is clear and completed? If there is not, can anyone give recommendations for the highlighted parts?I have also attached the original Schematic as a PDF below so you can see the clean version as well.
Hi Team,We are planning to use an STM32 camera interface over USB using the UVC protocol in our upcoming design. We would like to understand if there are any evaluation or development boards available that can be used for initial testing.Our key requirements are as follows:Image size: up to 5 MB per captureCapture interval: one image every 30 seconds (worst case)Video streaming is not required; we only need still image capture and transferUSB-based camera interface preferredWe would like to know:Whether UVC is suitable for this type of non-streaming, low-frame-rate image transferIf anyone has implemented a simpler or similar design successfullyWhich STM32 controller models support this use caseAvailability of any development or evaluation boards for testing the camera over USBPlease share your recommendations, reference designs, or documentation links if available.Looking forward to your guidance.Regards,Sathiya
I have a question regarding an F407 wake-up error. I am using an F407ZGT and have connected the power switch to PA0 using a pull-down resistor. HAL_SuspendTick(); HAL_PWR_EnableWakeUpPin( PWR_WAKEUP_PIN1 ); __HAL_PWR_CLEAR_FLAG( PWR_FLAG_WU | PWR_FLAG_SB ); HAL_PWR_EnterSTANDBYMode(); I have been using this code successfully. However, after modifying the firmware and downloading it, or when downloading via the gang tool, the MCU fails to wake up via the wake-up input—though not always. Once this issue occurs on a board, the wake-up function permanently stops working, regardless of any operations performed. Is there any way to restore the wake-up function? Please help me!
This is in relation to post "Strange behavior with STM32G474QE pin PB4(Solved: Re: Strange behaviour with STM32G474QE pin PB4 - STMicroelectronics Community)" I'm facing the issue of PB4 going high for 27ms approx after MCU reset. My design is freezed, And this pin is connected to a relay which turns ON when this pin goes high. The relay turn on time is 7.5ms. Is there a solution in code initialization so that this pulse stays below 7.5ms. I'm attaching the waveform.
Dear ST, For the ToF sensors supported VL53L8CH or VL53L7CH is it possible to make a hardware that depends on 4 x VL53L8CH or 4 x VL53L7CH integrated to increase the number of zones from 8 X 8 to 16 X 16 ?and if it is possible what would be the limitations in both HW and SW for this system?also provide me a reference for this implementation if exists.Thank you.
Hello,I'm a migrating from openSTLinux ecosystem 5 to 6 on an existing product of ours (with a stm32mp157) and we are really focused on power consumption efficiency. The main difference between our first version and the second is that we first had TF-A + SPMIN and now we are using the OP-TEE OS.Previous :TF-A 2.4 +SPMINU-Boot 2020.10Linux 5.10Bump to :TF-A 2.10OP-TEE 4.0.0U-Boot 2023.10Linux 6.6We achieved to reach almost the same application state as we were with our version 5 except about the power consumption. We set the MPU on standby with suspend to RAM mode and we measured the consumption of the overall board and we found that our system used around 10mW more with version 6. After a lot of research, we found out the culprit which is the OP-TEE DDR driver that doesn't latch the CKOE and never disables the DDRPHYCEN bit. Indeed, in ST version of arm-trusted-firmware 2.4-stm32mp, the CKOE pin is disabled when entering the DDR Self Refresh mode and enabled again when l
Hello,I am working on a custom PCB using the STM32H757IITx. While programming the chip with an ST-LINK/V2 SET programmer via STM32CubeProgrammer, I encounter the warning::warning: “The core is locked up”:cross_mark: Mass erase / flash operation failedAs a result, the board does not operate normally.Here is the log output:Error in final launch sequence: Failed to execute MI command: load D:\XXX\XXX\XXX-v1.0\CM7\Debug\Integra-v1.0_CM7.elf Error message from debugger back end: Error finishing flash operation Failed to execute MI command: load D:\XXX\XXX\XXX-v1.0\CM7\Debug\Integra-v1.0_CM7.elf Error message from debugger back end: Error finishing flash operation Error finishing flash operation.I have attached screenshots of the error for reference.Has anyone encountered this issue or can suggest possible solutions?Thank you.
I have a self-contained widget (a rectangle of 360x60) which has a draggable mixin and a custom handleDragEvent.void WarningModal::handleDragEvent(const touchgfx::DragEvent& event) { if (!draggingEnabled || !animator) return; int16_t newX = animator->getX() + event.getDeltaX(); // Hard clamp: never allow leftward movement past the resting position if (newX < WARNING_MODAL_VISIBLE_X) newX = WARNING_MODAL_VISIBLE_X; animator->moveTo(newX, WARNING_MODAL_Y); }Basically it can only be dragged from left to rightI'm noticing that, if I try to move it up and down, I'm able to generate a wobbling movement up and down because, the widget tends to return to its WARNING_MODAL_Y due to the modeTo line.Is there a way to disable the drag for an axis to get a smooth movement right-left or up-down
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.