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
Hello Team,We are developing our new project by using STM32H7S7L8H6. We want to use STM32H7S7L8H6 in SMPS mode. So, refer attached schematic design image with SMPS mode. Request you to please review it and provide your valuable inputs.Note : In our application we are not used USB. Thanks & Regards,Jignesh Karena
Hello,I'm facing a issue with DMA2D to blend some images.From the naming ARGB means that the order of the colors should be Alpha, Red, Green and Blue.But if I have a PNG file which contains my image with Alpha, how I have to convert to a static image for my MCU to be able to work correctly with it with DMA2D?Normally PNG is using RGBA format in big-endian. But if I'm converting this file to ARGB format and try to blend it over another image, it will work?Also I'm confused with endianess, because I know that ARM normally is using little-endian.Which is the best approach to load the image?A struct like this:typedef struct { uint8_t A: 8; uint8_t R: 8; uint8_t G: 8; uint8_t B: 8; } ARGB_TypeDef; typedef struct { const uint16_t width; const uint16_t height; ARGB_TypeDef *data; } FCU_Labels_TypeDef;Should work with DMA2D which requires uint32_t data for source and destination?Thanks.
We are using STM32U5G9's I2C with a diff-I2C to single ended I2C converter IC PCA9616. PCA9616 is used to program the STM32 MCU over I2C1 by converting diff-I2C to single ended I2C.However, while probing the I2C1 of the STM32U5G9, we are seeing negative overshoot and level shifting on it. It seems like MCU is taking control of the I2C while in the slave mode. See I2C_SCL_waveform1.pngAlso, we have tried disabling I2C1 of the MCU (by configuring it as a GPIO input only), by doing this we are able to mitigate the negative overshoot problem. I think the problem is with MCU, looks like it is taking control even if it is a SLAVE. See I2C_SCL_waveform2.jpgKindly let us know the exact reason and how to mitigate this issue.
Hello,We are currently using the STM32G070CBT6 microcontroller in one of our data logger devices, which operates on a three-phase power supply and is used in a transformer application. In our design, the microcontroller triggers a relay, and the relay controls a contactor. We are facing an issue where the STM32G070CBT6 is continuously rebooting during normal operation, which is affecting the overall functionality and reliability of the product. For your reference, we have attached the reset circuit schematic used in our design. We kindly request you to review the schematic and help us identify the possible causes of the continuous reboot behavior. Please let us know if any additional information, measurements, or test data are required from our side to assist in the analysis. Thank you for your support.
Hi Team,I was working on STM32F103C8T6 Bluepill board. I was using this board with ST-LinkV2 to connect with CubeIDE. When i tried to flash a sample LED blink program via CubeIDE, it gave an error saying 'Target not found'. But at the same time i was able to connect this board via cube programmer using same ST-Link and write sample LED code into the board. I have also tried to put the board into DFU mode by changing BOOT0 to 1 and connected with a usb cable to my linux machine. when i tried 'lsusb' it didnt show DFU mode status of the board. Please help me to resolve this issue.
Hi.I'm having an issue with the error: failed to erase memory on STM32F407.I'm using the board https://github.com/mcauser/BLACK_F407VEand the debugger https://github.com/WeActStudio/WeActStudio.MiniDebugger.and the original STM32F407VET6 chip.Yesterday there was no issue, but today when I tried to continue my project, the problem appeared. I have set the SWD frequency from Auto to 100 kHz. At some point, it worked with BT0 = 0 and BT1 = 0 after several attempts of pressing the reset button before starting the debug. I have replaced the debugger twice and tried it on the same chip type on a different board, and it worked. However, it did not work on the chip on my project board. I tried it with the STM32Programmer, and the same problem occurred—it could not erase during download. Strangely, full chip erasure could be done, and the connection was normal with no issues.STMicroelectronics ST-LINK GDB server. Version 7.12.0 Copyright (c) 2025, STMicroelectronics. All rights reserved.
Hello everyone,I am working with an STM32H7 device using the DSI host interface and would like some clarification regarding supported display resolutions.As per the STM32H7 datasheet, it is mentioned that:“Extended resolutions beyond the DPI standard maximum resolution of 800×480 pixels; the maximum resolution is limited by the available DSI physical link bandwidth.”Based on this statement, I would like to confirm the following:Can a 640×480 display be reliably connected to the STM32H7 using the DSI interface?Are there any practical limitations related to DSI lane count, lane speed, or refresh rate that would prevent using 640×480, even though it is below 800×480?Has anyone successfully driven a 640×480 display (at 60 Hz or other refresh rates) on STM32H7 using DSI + LTDC?Is the limitation purely bandwidth-based, or are there additional constraints in the STM32 DSI/LTDC implementation?Attaching the clock configuration of STM32CubeMX of DSI.Any insights, calculations, or real-world expe
Hello,I am using the VENC_RTSP_Server example located iSTM32Cube\Repository\STM32Cube_FW_N6_V1.2.0\Projects\STM32N6570-DK\Applications\VENCThis example shows how to use the VENC block and stream H.264 video through RTP/RTSP using Ethernet.I want to send the encoded H.264 video stream to another controller through SPI instead of RTP/RTSP.My questions are:1. What is the input data format of the H.264 encoder (VENC)? Is it receiving YUV420/NV12 from DCMIPP, or some other format?2. Is there an API in the VENC example that allows access to the encoded H.264 bitstream buffer (pointer + size), before it is sent through the RTSP server?3. Is there any example or documentation that shows how to use the H.264 encoder output without RTP/RTSP? For example: Camera → DCMIPP → VENC(H264) → SPII only need to sending the encoded H.264 data through SPI to another controller.Thank you!
I am trying to source a 12.288MHz clock for an STM32L433 but having difficulties finding something.The clock is required for I2S playback with a bluetooth receiver (BT401).I have tried using the internal MSI RC to generate the 12.288MHz clock for SAI, but the BT401 is misbehaving so it might be because the MSI RC clock has too much jitter.I was wondering if a ASFL1-12.288MHZ-EC-T would be suitable for the clock source for the SAI external clock input....https://uk.rs-online.com/web/p/crystal-oscillators/2403583Below is the setup... The I2S amplifier (MAX98357A) seems to work fine with the 12.288MHz clock generated by the internal MSI RC and PLL. But the BT401 either requires multiple attempts to start playing and sometimes plays just a screeching sound for a few seconds then stops. So I need to rule out whether the issue is caused by clock jitter by trying a more accurate clock source. I am currently using the STM32L433 Nucleo board whi
An intermittant bug... (as it happens it doesn't occur as I am reporting this issue).Open up a STM32CubeIDE project.Navigate to a project Source Folder, e.g. XYX...Core...SrcHighlight a source file, e.g. "main.c",right-click "Copy", right-click "Paste". Click "Ok" to the suggested filename "main2.c".Double-click "main2.c" to edit it, You can't cut or modify any text in the file, nor type in any new text.Close STM32CubeIDE and launch it again... the file is now editable.The bug appears perhaps 2% of the time, not a deal breaker but a bit annoying.
I created a support ticket for this issue but haven't heard back yet, but I wondered if anyone else has seen this issue before. I have been having an issue with my STLINK-V3MINIE for some time now. When I set and hit a breakpoint, the program will often not start again no matter what I do. I am using arm-none-eabi-gdb with OpenOCD to debug a STM32H750, and will set a breakpoint or watchpoint in my code, and once it is hit, I am not able to get the target to continue again using "continue" or "step" commands in gdb. Even after deleting the breakpoint, the issue will remain and the only way to get the target to respond normally again is to reset the program with "monitor reset halt". The image I attached shows hitting a breakpoint, deleting the breakpoint, then not being able to continue I tried upgrading the firmware on my STLINK-V3MINIE, this did not fix it. It is an official STLINK-V3MINIE that I bought from ST, not a clone.Things that I tried that did not work as advised by
I created project in stmcube32mx for h5 microcontroller and it works if I manually replace bl main to bl entryin file startup_stm32h563zitx.s.If this manual replacing is a bug or on purpose?Jan
Hi, I am trying to configure the L9026 through SPI communication, but I am confused about configuring the CFG_1 and CFG_2 registers. In section 7.4.1 (PWM Generator), it is mentioned as CFG_1.PWM_DIV_GEN, but in the CFG_1 register there is no field named PWM_DIV_GEN. Instead, PWM_DIV_GEN is present in CFG_2. A similar issue exists with PWM_DIV_LED. Please find the attached screenshots from the datasheet. Please provide clarification on this. Thank you, Ranjith .
Hi everyone,I am a junior engineer trying to learn the new STM32N6 (Nucleo-N657X0) board. My goal is to do some basic computer vision, and I am trying to interface it with a Raspberry Pi Camera Module V2 (Sony IMX219).To be honest, I am a bit overwhelmed by the complexity of the MIPI CSI-2 and DCMIPP settings, and I’m stuck. I’ve been trying to debug this for days but I can't get any image data.Here is what I have:Board: STM32N657X0H3Q NucleoCamera: Standard RPi Camera V2 (IMX219). It has its own crystal (X1) on the back, so I assume I don't need to generate a clock (MCO) from the STM32, but I'm not 100% sure if that's enough.I2C Works: I can read the Chip ID (0x0219) via I2C, so the connections seem okay.The Problem: I configured CubeMX with 2 Lanes, 950 Mbps PHY Bitrate, and RawBayer10 format. But when I run the code, HAL_DCMIPP_PIPE_GetState is always BUSY or failing.I am getting these random error codes in hdcmipp.ErrorCode every time I reset and try again. I don't know w
Originally a comment on the How to recognize a genuine ST-LINK/V2 versus a cloned one Knowledge Base article.Moved to main forum for better visibility / discussion.I bought this ST-LINK V2 on Amazon ( see pictures) . I don't think its' a genuine STM device. STM32CubeIDE and STM32CubeProgrammer recognize it but No STM32 target is found ( STM32L051K8U6)I notice that my ST-Link V2 does not provide clock signal on pin 9 (SWCLK) I'm using VT ref pin, SWDIO pin, SWDCLK pin, GND pin and RST pin.
Hi Sir,Does any STM32 MCU support two independent USB 2.0 High-Speed (480 Mbps) interfaces simultaneously? I have observed that current H7 parts limit the second core to Full-Speed only. Do any newer series support true dual-HS operation?Thank you.
Hi everyone,I’m setting up LVGL on a custom PCB using an STM32H747BIT MCU. The display is connected via LVDS, and I’m using DMA2D for transferring the framebuffer to the screen.The issue I’m facing is that the DMA2D transfer complete callback is never triggered, and as a result, lv_disp_flush_ready() is not called and the buffer is not pushed to the display.Below is the relevant initialization code: lv_init(); lv_tick_set_cb(HAL_GetTick); //FIXME: per ThreadX fer servir tx_time_get disp = lv_display_create(LV_DISPLAY_HORIZONTAL_RES, LV_DISPLAY_VERTICAL_RES); lv_display_set_buffers(disp, buf1, NULL, sizeof(buf1), LV_DISPLAY_RENDER_MODE_PARTIAL); hdma2d.XferCpltCallback = disp_flush_complete; lv_display_set_flush_cb(disp, my_flush_cb);The my_flush_cb() function is as follows:void my_flush_cb(lv_display_t * display, const lv_area_t * area, uint8_t * px_map) { lv_coord_t width = lv_area_get_width(area); lv_coord_t height = lv_area_get_height(area); SCB_CleanInvalidateDCache();
Due to issues with text selection and copy/paste in STM32CubeIDE 2.0, I reinstalled the operating system (I was previously running a beta version) and moved to a stable release (Tahoe 26.2 (25C56)) on an Apple Silicon Mac (M4). I then downloaded and installed STM32CubeIDE and STM32CubeMX. The installation completes successfully, but when launching either application, an error occurs and the tools fail to start. Has anyone experienced this issue or knows the root cause? Any insights would be appreciated.
Hello,I am working on a custom board derived from the STM32MP157F-DK2 reference design and currently validating the basic bring-up.I have a few questions specifically related to the Cortex-M4 (MCU) core on STM32MP157F:Checking MCU execution via JTAG/SWDUsing the JTAG/SWDIO pins, how can I confirm whether the Cortex-M4 core is running or halted?Are there recommended tools or procedures (e.g., STM32CubeProgrammer, OpenOCD, ST-Link) to attach to the M4 core independently of the A7 cores and verify execution status? MCU startup code responsibilityDoes the Cortex-M4 require a separate startup/application binary (startup code, linker script, vector table), or is this handled automatically as part of the Yocto/OpenSTLinux build?In other words, does Yocto provide and load a default M4 firmware, or is it expected that we build and deploy an M4 firmware separately (for example using STM32CubeIDE)? Boot flow clarificationAt what stage is the M4 core released from reset?Is this controlle
Moved from STM8 forum; STM32H7 Label added.Hello everyone, i am trying to get the data from my http my data will be around 6 KB i can able to receive the data but imediately after receiving the data all the other threads except the MQTT thread(I have the HTTP function inside the MQTT thread) is suspended.I can notice that the interupt is also triggering properly but other threads are running i am attaching my MQTT file with this can you please help me to solve this issue.
Hi All, I'm building an instrument that needs to stream data to a PC at ~4Mbps. People were claiming nearly twice this with USB CDC so I chose the nucleo-h533 board and started with the Ux_Device_CDC_ACM example. I disconnected the USART code and added a loop that calls ux_device_class_cdc_acm_write and then I measure the rate at which I receive data on the PC. I can't get past ~1.8Mbps. I have tried the following: varying the size of the buffer passed in from 64 to 2048 enabling ZERO copy in the driver UX_DEVICE_ENDPOINT_BUFFER_OWNER=1 and defining UX_DEVICE_CLASS_CDC_ACM_ZERO_COPY setting USBD_CDCACM_EPINCMD_FS_BINTERVAL to 1 instead of 5 In all cases, the baud rate remains about the same at 1.8Mbps. Is there anything I can do to improve this? Best, Marc
The STM32H7RS series includes a USB HS PHY with a special PLL that generates the 480MHz clock required as well as a 60MHz clock for the OTG HS peripheral and optionally a 48MHz clock for the separate OTG FS peripheral. The PLL for the USB PHY has several configuration bitfields in the RCC->CCIPR1 register that are used to set the source of the PLL reference clock, as well as its frequency: Bits 13:12 USBPHYCSEL[1:0]: USBPHYC kernel clock source selection. Set and reset by software.00: hse_ker_ck (default after reset)01: hse_ker_ck / 210: pll3_q_ck11: reserved, the kernel clock is disabledBits 11:8 USBREFCKSEL[3:0]: USBPHYC kernel clock frequency selection .Set and reset by software.This field is used to indicate to the USBPHYC, the frequency of the reference kernel clock providedto the USBPHYC.0011: The kernel clock frequency provided to the USBPHYC is 16 MHz1000: The kernel clock frequency provided to the USBPHYC is 19.2 MHz1001: The kernel clock frequency provided to the USBP
I have an application that uses 10 VL53L0X sensors on an I2C bus. I seem to have ended up damaging multiple STM32 dev boards trying to get this configuration to work reliably. Any help to understand what I am doing wrong would be appreciated.So, there are 10 VL53L0X sensors on a single I2C bus connected to the I2C port on a Nucleo dev board. There is a mechanism to enable each independently to set the I2C address, after which they all operate in continuous sampling mode and the MCU polls for results periodically. This works fine, sort of, and the data comes in OK. At some point everything stops and that's the end of it. I have found that the I2C port on the dev board seems to have been damaged and no longer works at all (probing with multi-channel scope). There was nothing else connected to the dev board, just the I2C lines.The VL53L0X sensors have their own 3V power supply which is manually switched and is independent from the power t
Hello, I am using a custom environment for development and debugging for NUCLEIO-STM32F767ZI.It is based on a custom devcontainer, VSCode and gdb-multiarch. On the server side I have OpenOCD, running on a ubuntu 24.04 PC. This is connected via USB to the board. The Board itself is not changed in any way, maybe I changed jumpers at some point, I would need to check this if this might effect the behavior. The first connection after Powerup works always as expected, the Firmware is flashed and works as expected.If I rebuild the project or flash the firmware again, the MCU is in some kind of undefined state.Calls to different HAL functions fail, return Errors. As some return values are not verified within the generated calls, I don´t see the errors immediately, but very late during debugging. Missing interrupts as an example. The code is a simply generated STM32CubeMX project, without any changes. I am using only GPIOs and Systick interrupt so far. I need the right Reset com
I am currently working on BLE applications for a custom STM32WB05KZ board using the SDK stm32cubewb0-v1-3-0. In general, peripherals such as GPIO and UART are functioning correctly when running non-BLE examples provided in the SDK.However, when I run BLE applications (such as Beacon, Server, or Client), I am unable to receive any logs over UART (configured on PB0 and PA1). I have verified that an LED, which is initialized prior to the BLE initialization in app_entry.c, operates correctly, indicating that the application is executing at least up to that point.The main issues I am facing are:No log output is observed on the UART interface during BLE operation.The device does not appear to advertise(No address is visible: random or public), as it is not detected by the ST BLE Toolbox application.I would appreciate any guidance or suggestions to help identify and resolve this issue.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.