WATCH ON-DEMAND | STM32 Summit 2026
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
I'm trying to perform the first boot on the STM32MP257F-EV1 following this guide: STM32MP25 Evaluation boards - Starter Package. I've connected the LCD screen to the board according to the instructions.The board is powered by USB-C on CN21, and the status LEDs are as follows:LD11 greenLD6 greenLD5 blinksI've tried to flash the microSD card (SANDISK 16GB) using both methods provided in the guide. 6.2. Image flashing ( STM32CubeProgrammer tool DFU mode)I've followed all the steps and got the following messages: stm32mp2$ STM32_Programmer_CLI -l usb ------------------------------------------------------------------- STM32CubeProgrammer v2.17.0 ------------------------------------------------------------------- ===== DFU Interface ===== Total number of available STM32 device in DFU mode: 1 Device Index : USB1 USB Bus Number : 001 USB Address Number : 002 Product ID : DFU in HS Mode @Device ID /0x505, @Revision ID /0x100 Serial number : 00270
Hi everyone,I'm a beginner when it comes to STM32 MPU, and from the very beginning I've had an issue with the HDMI output on my STM32MP257F-DK board, which I received from my university. Naturally, I wanted to start with the Starter Package to explore and see what the board can do (link to guide). I followed all the steps without any issues. After booting the board from flash memory, I was able to access the CLI via ST-LINK.Now I'm struggling with HDMI, which only shows a black screen. I can see that my monitor detects the board and establishes a proper connection using one of the supported modes (see weston.log at the end). I also went through this guide (How to display on HDMI) to make sure everything is set up correctly and that the HDMI mode matches between the monitor and the board.Has anyone experienced a similar issue? Or maybe I'm missing something? Any advice on how can I debug the issue further is welcome :)Thanks in advance! weston.logDate: 2024-02-27 UTC[19:02:43.
I am using a som STM32MP255 digi connectcore board (CCMP25) for an audio application. I'm using the SAI2 lines for PCM. While playback gives me some signal, capture always results in inout/output error. For my application, the som will be the pcm slave, and there is an external master supplying the bitclock and FS. I am not using any real codecs and opted for dummy codecs for alsa to recognise. Below I'll paste the overlay (I have also attached my overlay) and some details for you guys to verify. I am not sure where I'm going wrong. The SCLK = 4.608MHz and FS = 96kHz are given by the master, the master streams pcm data. What I'm trying to achieve is 16 bit, 3 channel per frame sync. #include <dt-bindings/gpio/gpio.h>#include <dt-bindings/pinctrl/stm32-pinfunc.h>#include <dt-bindings/input/input.h>#include <dt-bindings/leds/common.h>#include <dt-bindings/regulator/st,stm32mp25-regulator.h>#include "dt-bindings/pwm/pwm.h"#include <dt-bindings/clock/s
I making a custom ST32MP151 board with Nordic 4G, Wifi and bluettooth. I did submit a schematic and PCB review to ST via Arrow distrubitor.Only 2 sticking ponits. The DDR3 memeory connections I coppied from ST APP NOTE AN5031 page 38, ST now says this is wrong and should be reversed?see attached The other sticking point is USB connection.There is 3 connections on ST32MP151 on ST APP NOTE AN5031 page 67. High speed, full spped and On The GoST now says this is wrong and only has On The Go? ThankjsDom
Hello, I was wanting to make my own camera board and I wanted to use the same camera that is on STM's Camera board MB1854 and I looked up that manufacturer part number (AS-BC538A3M6-63(1.02.A3265)) and nothing showed up, and when I looked up just AS-BC538A3M6-63 then the only result was STM's example schematic for the MB1854 camera board. I then tried looking up the company they listed on the BOM (HONGJIA) and still found nothing. Does anyone know how to find the board or even some contact info for that company? ThanksCarson
Hello, I have STM32MP135F-DK board and raspberry pi camera module v2.1 but board does not see cameraI guess I have to modify stm32mp135f-dk.dtb file. But how should I write settings like OV5640 or GC2145 in dtb filelike that gc2145: gc2145@3c { compatible = "galaxycore,gc2145"; reg = <0x3c>; clocks = <&clk_ext_camera>; IOVDD-supply = <&scmi_v3v3_sw>; AVDD-supply = <&scmi_v3v3_sw>; DVDD-supply = <&scmi_v3v3_sw>; powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; reset-gpios = <&mcp23017 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; status = "okay"; port { gc2145_ep: endpoint { remote-endpoint = <&mipid02_0>; clock-lanes = <0>; data-lanes = <1 2>; };And after chaning that file should I do anything to take photo with raspberry pi camera module v2.1
Hi,I was wondering if ST or any ST Partners are planning to produce a System-on-Module (SoM), System-in-Package (SiP) or Single Board Computer (SBC) based on the new STM32MP257 chips?We're planning to develop using the STM32MP257F-DK evaluation board then find a SoM, SiP or SBC that supports the STM32MP257's MIPI CSI-2 interface and ability to quickly wake from a low power sleep mode.Will
Hello ST Team and Community,I'm working with the STM32MP257F-DK board and exploring the provided AI demo examples. I noticed that most of the camera-related demos (especially those involving image inference or real-time processing) are designed around libcamera as the default source, as indicated in code snippets like:parser.add_argument("--camera_src", default="LIBCAMERA", help="use V4L2SRC for MP1x and LIBCAMERA for MP2x")While I understand that libcamera is appropriate for MIPI-CSI cameras (which MP2x supports), I'm currently using a USB UVC camera, which libcamera does not support.From what I know, USB webcams work well with V4L2 but are ignored by libcamera due to its pipeline design.My questions:Are there any official plans or guidance for supporting USB cameras on STM32MP2x using V4L2, especially in AI demos?Why is V4L2 support not more visible or included as an option in the MP2x examples, considering the popularity of USB webcams for quick prototyping?Would ST consider p
Is it mandatory to use a MIPI display in order to boot the system successfully? Is it not possible to boot using only an HDMI display?
Dear Team, I recently brought STM32MP257-DK. I am able to explore the A35 part. Also I am able to run the example projects provided by ST for M33 core. Since My application will have more dependencies on the Realtime and hence I wanted to create a separate project for M33 core from scratch. The example projects provided doesn't contains any .ioc file and hence I am not able to configure the project properly. can you please help me to create one. I have just attached my .ioc file in the following attachment. Thank you. Regards,Iqbal
I have been experiencing mixed results when booting up and programming a custom board using STM32MP131DAG7. Some of the custom boards boot up and program without issues. Other boards do not boot up or program. All the custom boards were built at the same time as part of the same batch. I would like some troubleshooting assistance Details of my custom board:STPMIC1DPQR to power the STM32MP131Switches on BOOT[0-2] to select the boot mode.Onboard eMMC and SD card slot.USB port for DFU via STM32_Programmer_CLI.exe to program the eMMC. On some of my custom boards, I successfully program the eMMC and the board will boot up into the OS perfectly fine. These boards also boot up via SD card perfectly fine when I set the BOOT switches to select SD card boot. Everything on the custom board functions as normal after successful program. In the same batch of my custom boards, I have seen ones that do not boot up. For these boards I have tried both USB boot and SD card boot. The t
Hello, we are currently designing a STM32MP257 based custom board. For reference, we are looking into STM32MP257F-EV1 and STM32MP257-DK evaluation kit schematics. In both schematics, there is an STM32 MCU which connects to the JTAG ports of the STM32MP257. Is this MCU used as an STLINK to provide JTAG to USB2.0 conversion? If so, if we are to implement the same structure on our board, is there a way to access the STLINK firmware and embed it into our own MCU? Furthermore, is there an external STLINK adapter dedicated for STM32MP25 series MPUs to access JTAG over USB?My second question is that can we program the MPU using the JTAG pins? Both in reference manual and datasheet of the MPU, there doesn't seem to be a boot mode setting for JTAG.
HiI have stm32mp157c in my custom board i connect sai2 to codec(tlv320aic), i config sai2a as master (WITHOUT MASTER CLK OUTPUT) and sai2b as synchronous slave, mclk for codec come from rcc mco1 and this is my dts: sound {// compatible = "audio-graph-card", "simple-audio-card";compatible = "audio-graph-card";label = "AUDIOcard1"; routing ="Playback" , "MCLK","Capture" , "MCLK";dais = <&sai2a_port &sai2b_port>;status = "okay";};sai2a:audio-controller@4400b004{status = "okay";/* USER CODE BEGIN sai2a */dma-names = "tx";// #clock-cells = <0>;clocks = <&rcc SAI2_K>;clock-names = "sai_ck"; frame-master; bitclock-master; sai2a_port: port {sai2a_endpoint: endpoint {remote-endpoint = <&tlv320_tx_endpoint>;format = "i2s"; };};/* USER CODE END sai2a */};sai2b:audio-controller@4400b024{status = "okay";/* USER CODE BEGIN sai2b */dma-names = "rx";st,sync = <&sai2a 2>; /* Set SAI2B as slave of SAI2A. */clocks = <&rcc SAI2_
HiWe are working on development of SOM based product with STM32MP257FAI, we are looking for STPMIC25 IBIS model for IR drop and decoupling analysis. Could you please share the model
Hi,I have an STM32MP135F-DK board and I would like to know if to follow the steps in the video below I just need to install STM32CubeIDE on a computer running Linux or if I need to install something first?https://www.youtube.com/watch?v=qEzfqKt3exEFor example, is it necessary to follow the steps corresponding to the links below first, or does the STM32CubeIDE installation itself and the sequence of steps in the video already do this?https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Install_the_SDKhttps://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_applicationThanks, Ari
Hello,We have a custom board based mainly on stm32mp257-dk design. The sdcard supply voltage doesn't activate on STPMIC for some reason. Is the stpmic preprogrammed on the DK board or should the Rom code of the MPU activate it via I2C? Best RegardsRaimo
I understand that the STMCube environment doesn't function as a BSDL (Boundary Test) tool. Can anyone suggest a free tool that is compatible with the ST-LINK-V3SET?Keysight, Corsair, XJTAG are out of my rangeMy application is gather tools for board bring-up for our STM32MP255F prototype PCB.Thank you.
Following the instructions at https://wiki.st.com/stm32mpu/wiki/How_to_start_the_Cortex-M_coprocessor_from_U-Boot#Manual_start I try to load and run an M33 app from U-Boot.Within the U-Boot console I managed to load the elf file from the boot partition. But I can't load the file to the M33 coprocessor using rproc.rproc is available in the console, but doesn't show any coprocessor:STM32MP> rproc init Remote Processors are already initialized STM32MP> rproc list STM32MP> My board is from MYIR with an stm32mp257D MPU on it using:- I/TC: OP-TEE version: 3.9.0-3162-g355cb55d2 (gcc version 12.3.0 (GCC)) #1 Fri Nov 1 10:58:57 UTC 2024 aarc- U-Boot 2022.10-stm32mp-r2 (Nov 07 2024 - 02:59:13 +0000)CPU: STM32MP257DAL Rev.YModel: MYiR STM32MP257F Evaluation BoardBoard: stm32mp2 (myir,myb-stm32mp257x-2GB)DRAM: 2 GiBoptee optee: OP-TEE: revision 3.19 (355cb55d)Core: 416 devices, 38 uclasses, devicetree: boardU-Boot config has COPROC settings:CONFIG_REMOTEPROC=Y C
Hi,I'm just getting started with C programming for embedded Linux using the STM32MP13x. My applications are mostly IoT applications.I'd like to know which IDE is best for beginners, between STM32CubeIDE and Visual Studio Code.And where can I get information on how to configure these IDEs to compile and debug user-space C applications remotely?Ari
HelloWe are using the STM32MP257F in M33TDCID flavour using the packagestm32mp2-m33td-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11We can boot and run the Non Secure application, but when we try to use some of the peripherals (I2C, SPI, GPIO)we see processor exceptions or Resource Manager issues.How do we configure the device to allow the Non-Secure application access to all the peripherals Thanks
Hello,I am working with a SOM based on the STM32MP157C and I am trying to bring up a display panel that uses the Sitronix ST7703 MIPI DSI controller.The operating system has been built with Yocto using the BSP provided by the SOM vendor. This BSP is based on Linux kernel 5.4, which unfortunately does not contain the upstream panel-sitronix-st7703 driver.Has anyone already backported the ST7703 panel driver to Linux 5.4 for STM32MP1 platforms? Or does anyone have guidance on how to integrate this driver into an older kernel version?Any hints, patches, or references would be greatly appreciated.Thank you in advance!
Hello.We are developing a device with the STM32MP257 and we will not have a USB Type-C connector in our design. We plan to use the USB3DR as a USB2.0 device with a USB 2.0 connector to USB boot (USB boot for flashing). Does the STM32MP2 embedded bootloader uses the UCPD CCx signals?How can we inform the USB3DR about detection of the USB VBUS?Is is possible to emulate UCPD CCx signals (sink mode) from the USB VBUS as a variant of detecting the incoming USB power?Best regards,Vadim Aleynikov
On DK2, ADC is used to measure the voltage on cc lines, how to skipcan u give me the yocto steps to follow on commenting the following line in uBoot Device Tree:do u have to create a new layer or can we edit the patch file in the uboot device tree and build it.
"is there possibility we can auto mount a usb when connected to usb host and how to build the udev-extraconf package for my stm32mp157f-dk2" how to build this please give the steps to build for my stm32mp157f-dk2 as i want my pendrive to mount automatically /home/sharan/STM32MPU/Distribution-Package/layers/openembedded-core/meta/recipes-core/udev/udev-extraconf
I have had difficulties programming the STM32MP257 via stm32cubeide. I followed the first few steps to flash an OS image onto the board using the section populate and boot the image, from the STM website. When trying to flash IOC generated code via stm32 cube ide It gives me an ethernet over usb error if I have just the ST-LINK connected, but when I connect to the DFU usb, it seems like it will flash for a moment and throws this remoteproc error. I think it may be a secure boot issue with the stlinux, but im not sure how to get around this or what options I have.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.