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
Hi,I’m using the STM32MPU157x-DK2 development board and would like to power it externally, either using a battery or a different power source (not USB Type-C).Could you please help with the following:What are the recommended ways to provide external power, such as via a Li-ion/LiPo battery or regulated 5V supply?Can I use the 5V input on the CN6 (EXP connector) to power the board?Should I disconnect USB-C when supplying external power to avoid conflict?Are there any voltage/current limitations, or specific battery protection requirements I should consider?Do I need to change any configuration settings on the board to enable external power or battery supply?
Moved to the MPUs section - STM32MP25 is an MPU, not an MCU. HI, I AM NEW TO THIS COMMUNITY, I NEED TO KNOW ABOUT THE WORKING AND HOW TO USE THIS, I HAD FEW QUERIES ABOUT THE OPENSTLINUX AND STM32CUBEIDE, MX. I THINK SOME WHOSE GONNA HELP ME TO GET SOME KNOWLEDGE ABOUT THIS BAORD. THE MAIN CONTENT OF MESSAGE I NEED TO BUIL A PROJECT WHERE I CAN READ THE SENSOR DATA AND THE DATA SHOULD BE SEND TO THE DISPLAY TO SHOW. IF SOMEONE REALLY WANT TO GUIDE ME, PLEASE DROP A TEXT TO ME GIVEN BELOW DETAILS EMAIL: <removed by moderation> thank you, T.sahith
Dear ST Community,Thank you for taking the time to read my question. We are encountering the following challenges while developing a dual-core project for the STM32MP257 using STM32CubeIDE:ELF Flashing Issue on Linux Side:We aim to develop M33 core code independently in STM32CubeIDE and flash the compiled M33 .elf firmware from the Linux side. However, during flashing, we receive an ICA (Inter-Core Authentication) error (see attached Figure 1).OpenAMP Configuration Problem:After referring to tutorials (such as those from "正点原子" on Bilibili, though their demonstrations were for MP157), we realized we needed to enable OpenAMP in STM32CubeMX. However, upon enabling OpenAMP in our MP257 project, we encountered compilation errors due to missing header files (see Figure 2).Questions:Could this issue stem from incorrect STMCubeIDE base configurations (e.g., toolchain paths or package selection)?Alternatively, is there a known procedure for flashing M33 .elf files from Linux that we might have
I saw one other post on this but it isn't clear anyone was actually successful putting chromium for Wayland on successfully with hardware acceleration. I'm able to get it to load but it's very slow and the chrome://GPU makes it seem unlikely.Fwiw I'm using poky with the meta-st layer instead of stopenlinux. I'm using core-image-weston. It does not complain about the Eula not being accepted so curious if that's a hint? Most things I read discuss chromium 101 instead of the most recent release but I think that's more imx8 related. I am using the stm32mp157-dk2.
I've been trying to build OpenSTDroid distribution for my STM32MP25F7-EV1, I have followed these steps:Download OpenSTDroid Distribution (following the wiki linked here).Build OpenSTDroid using the wiki linked here.when I excuted make, there was an error report:files are incompatible: Runtime info and framework compatibility matrix are incompatible: No kernel entry found for kernel version 6.1 at kernel FCM version 7. The following kernel requirements are checked Am I use the wrong kernel version? Any insight would be helpful. Target Hardware Platform: STM32MP25F7-EV1Target Operating System: OpenSTDroid Distribution (st-android-13.0.0-2024-07-31) [Wiki link] log details:Fetch 'out/target/product/eval/system/etc/vintf/manifest.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.device.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/compatibility_matrix.5.xml': OK Fetch 'out/target/product/eval/system/etc/vintf/co
In STM32MP1, there is an USB hub for 4 USB-A connectors. The hub is Microchip USB2514B. Were 4 means "4 ports".In STM32MP2, there is an USB too, for 2 USB-A connectors. The hub is Microchip USB2412B. Were 2 means "2 ports".According to AN5489, it says at 8.13 " Multiple hi-speed USB hosts using an external USB hub component is not described here.". So is that an answer for "yes, it's possible to use USB 2514B with STM32MP2"?
At STM32MP1, there is an USB OTG, were you can flash the eMMC via the USB OTG. But in STM32MP2, there is no USB OTG. Does this mean that I need to flash my SD-card instead? Just like Raspberry Pi etc.?Or am I supposed to flash the eMMC via the USB C connector?
Hello,I'm considering basing a project on an STM32MP25x, and while it looks like a very capable chip I have some questions about the capabilities and their interactions. If anyone can point me in the right direction I will be very appreciative.First, what is the achievable performance of the USB3 in terms of streaming data to or from the chip? I've done some cursory searches but can't find any benchmarks. I'm assuming it well exceeds the gigabit ethernet ports individually but it would be nice to know where the performance tops out. Second, is there a way to have both USB3 data transfer and USB power delivery negotiation on the same physical port? I ask because the demo boards seem to use two physically distinct ports for this purpose. Third, I assume the PLL for the USB3 block(s) enables a variety of input frequencies to be used, but I wonder if there are any high level requirements to this that I should watch out for. Fourth, and this is more of a cubeMX question
Issue SummaryWhen trying to rotate the display on an STM32MP157C board from landscape (800x480) to portrait (480x800) mode, I'm experiencing issues. Using the /sys/class/graphics/fb0/rotate interface doesn't actually rotate the display, and using Qt's EGLFS with rotation settings results in only half the screen being rotated properly.Hardware InformationBoard: STM32MP157CDisplay controller: STM32 LTDC (LCD-TFT Display Controller)Screen dimensions: 800x480 (native landscape)Framebuffer: /dev/fb0DRM device: /dev/dri/card0What I've TriedSetting framebuffer rotation via sysfs: echo 1 > /sys/class/graphics/fb0/rotateThis changes the value but doesn't affect display.Using EGLFS KMS config with rotation:QString configPath = "/tmp/eglfs_kms.json";QFile configFile(configPath);if (configFile.open(QIODevice::WriteOnly | QIODevice::Text)) {configFile.write("{\n"" \"device\": \"/dev/dri/card0\",\n"" \"outputs\": [\n"" {\n"" \"name\": \"DPI-1\",\n"" \"mode\": \"480x800\",\n"" \"transform\": \"rot
I understand this will have severely negative impact on performance. But can this be done anyway?If the answer is yes. A further question is, will this break the access to PCIE/NVME SSD for some hardware or software limitation, say, the driver or dma or something else requires DDR SDRAM, and PSRAM won't work for OCTOSPI controller are not in high speed AXI bus matrix. Our use case is a battery powered device, logging tremendous amount of raw adc data to PCIE/NVME SSD. If an external power adapter is plugged, DDR memory will be brought up to access SSD and network. But when the device is logging only and running on battery, we hope to minimize power consumption of Cortex A system. Unfortunately a file system must be used on SSD, otherwise we don't need Linux kernel in this state.
Hi STM:I'm developing with developer package and want to add a slot like below PED 0x12 rootfs2 ENV mmc1 0x44A00000 noneorPED 0x12 rootfs2 ENV mmc1 0x44A00000 st-image-core-openstlinux-weston-stm32mp13-disco.root2fs.ext4 About the second caseI have modified layers/meta-st/meta-st-stm32mp/conf/machine/include/st-machine-flashlayout-stm32mp.inc, add below STM32MP_ROOTFS2_LABEL ?= "rootfs2"STM32MP_ROOTFS2_SIZE ?= "1048576"STM32MP_ROOTFS2_IMAGE ?= "st-image-root2fs"PARTITIONS_IMAGES[rootfs2] = "${STM32MP_ROOTFS2_IMAGE},${STM32MP_ROOTFS2_LABEL},,${STM32MP_ROOTFS2_SIZE},FileSystem"STM32MP_ROOTFS2_PROGRAMMER_NAME ?= "rootfs2"FLASHLAYOUT_PARTITION_ENABLE:${STM32MP_ROOTFS2_PROGRAMMER_NAME} = "PED"FLASHLAYOUT_PARTITION_ID:${STM32MP_ROOTFS2_PROGRAMMER_NAME} = "0x15"STM32MP_ROOTFS2_MOUNTPOINT ?= "/usr/rootfs2"ST_ROOTFS2 ?= "1"PARTITIONS_CONFIG[rootfs2] = "${STM32MP_ROOTFS2_IMAGE},${STM32MP_ROOTFS2_LABEL},${STM32MP_ROOTFS2_MOUNTPOINT},${STM32MP_ROOTFS2_SIZE},FileSystem"PARTITION
Dear ST Developer Support, I want to flash st-android-13.0.0-2024-07-31-stm32mp257f-ev1-emmc-starter images, how can I flash it, could you provide some guides? thank you so much.
Hi All,We bought 3 STM32MP157D-EV1 boards (https://www.st.com/en/evaluation-tools/stm32mp157f-ev1.html)While running in it as it is out of the box, we have found out that on-board STLink-V2.1 doesn't work at all when connected to Win11.We've installed latest STM32CubeProgrammer and it actually installed latest STLink USB drivers (VCP and STLink) but despite all our efforts STLink doesn't work (LD06 doesn't glow) and Win11 Device Manager flags it as under error:Is there solution to this issue ?
Hello There,We are using the board stm32mp257-ev1. Which has "STPMIC25A".I want to change voltage of LDO2 and BUCK4 on boot permanently (NVM of stpmic25A).Can i change these supply from stm32mp257-ev1 board itself ? If yes, How ? Thanks and Regards,Ishan
i am trying flash in SD card for STM32MP157F-DK2. I am getting the error as mentioned below Port configuration: parity = even, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off16:56:09 : Activating device: OK16:56:09 : Board : --16:56:09 : Chip ID: 0x50016:56:09 : BootLoader protocol version: 4.016:56:11 : Start Embedded Flashing service16:56:12 : Memory Programming ...16:56:12 : Opening and parsing file: tf-a-stm32mp157f-dk2-usb.stm3216:56:12 : File : tf-a-stm32mp157f-dk2-usb.stm3216:56:12 : Size : 220.82 KB16:56:12 : Partition ID : 0x0116:56:12 : Download in Progress:16:56:38 : File download complete16:56:38 : Time elapsed during download operation: 00:00:26.38816:56:38 : RUNNING Program ...16:56:38 : PartID: :0x01Start operation done successfully at partition 0x0116:57:09 : Timeout error occured while waiting for acknowledgement.16:57:40 : Timeout error occured while waiting for acknowledgement.16:58:11 : Timeout error occured while waiting for acknowledgement
Dear community,we use STM32MP1 SoC in some of our projects. Normally, we use eMMC card, so we use just two DIP switch positions: 000 (for uploading images into eMMC) and 010 (for booting from eMMC). We utilize SD card after booting from eMMC for storing our data. Once I prepared bootable SD card and tried booting from SD using DIP switch 101 position. And nothing happened. As long as we setup pins for SD card (in CubeMX, for example) and build images, Linux, U-boot and DTB become updated, so LInux and U-boot know, what actual pinout of SD card is. I wonder, at the first boot stage while BootROM selects media to proceed booting: eMMC, SD, USB (according to DIP switch position) how does it know actual SD (or eMMC) card pinout ? I miss something important, please, guide me.
Hi, I have a custom board with a parallel RGB display connected to it that works OK when using pixman.If I enable the galcore.ko module, weston fails; [15:27:38.101] weston 10.0.0 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: 10.0.0 [15:27:38.102] Command line: /usr/bin/weston --modules=systemd-notify.so --log=/home/weston/weston.log [15:27:38.102] OS: Linux, 5.15.67, #14 PREEMPT Mon Sep 4 17:47:46 CEST 2023, armv7l [15:27:38.102] Flight recorder: enabled [15:27:38.103] Using config file '/etc/xdg/weston/weston.ini' [15:27:38.103] Output repaint window is 10 ms maximum. [15:27:38.104] Loading module '/usr/lib/libweston-10/drm-backend.so' [15:27:38.121] initializing drm backend [15:27:38.121] Trying logind launcher... [15:27:38.166] logind: session control granted [15:27:38.195] using /dev/dri/card0 [15:27:38.195] DRM: supports atomic modesetting [15:27:38.195] DRM: supports GBM modifiers [15:27:38.195] DRM: suppo
I will post this in the software-related section.
I'm running a small STM32-board with the original STLinux. This board comes with some kind of USB OTG port. Now I want to configure this port to let it act as serial device, means when I connect it to an other PC via that USB-port, I like to appear it as COM or /dev/ttY* there.What I have so far is a script which should do the trick:mkdir -p /sys/kernel/config/usb_gadget/g1 cd /sys/kernel/config/usb_gadget/g1 echo 0x1111 > idVendor echo 0x2222 > idProduct mkdir strings/0x409 echo "0DEADBEEF" > strings/0x409/serialnumber echo "Me, myself and I" > strings/0x409/manufacturer echo "MyDevice" > strings/0x409/product mkdir configs/c.1 echo 120 > configs/c.1/MaxPower modprobe usb_f_acm mkdir functions/acm.0 ln -s functions/acm.0 configs/c.1 echo 0000:01:00.0 > UDCThe mkdir command works only when I execute this as root and with sudo. But my problem is the last line: It always fails with ansh: write error: Device or resource busyHere neither root nor sudo nor both do help.
Hello, I need some advice.I would like to know if the STM32MP135 processor is capable of reading a USB UVC camera through its USB host port. I currently have a USB camera based on the OV9734 sensor.I know the documentation states that the processor supports an 8- to 16-bit camera interface, but in my case, I need to use a USB camera.Can someone clarify if this is possible?
i am using stm32mp135-dk board . i have installed the STM32MP1-Ecosystem-v5.0.0 Starter Package now i want to install python how i can install ?
I am about to integrate Ezurio sna module If 513 with the STM32MP257F-EV another to provide wireless capabilities to my board. does any one try this before for any assistance. I am using mini PCIE TO M.2 adapter to connect. so if there is any to assist me with a complete guide , I will appreciate, Thank you.
Moved from MCUs forum: STM32MP13 is an MPU - not an MCU.Hello Everyone,I hope you’re doing well. I’m encountering a problem when trying to boot Linux directly instead of U-Boot on our STM32MP135F-DK board. Below is a summary of what I’ve done and the error I see:1. Procedure followedBuilt a new FIP binary and tf-a with the recommended changes and flags:-> fiptool update --fw-config stm32mp135f-dk-fw-config.dtb --hw-config stm32mp135f-dk.dtb --nt-fw Image fip-stm32mp135f-dk-optee-sdcard.binModified the TSV in the starter package to replace u-boot.bin with my Linux image and updated the FIP entries as follows:2. Observed output:NOTICE: CPU: STM32MP135F Rev.YNOTICE: Model: STMicroelectronics STM32MP135F-DK Discovery BoardNOTICE: Board: MB1635 Var1.0 Rev.E-02INFO: PMIC version = 0x21INFO: Reset reason (0x134):INFO: IWDG1 Reset (rst_iwdg1)INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000INFO: FCONF: Reading firmware configuration information for: stm
We are following the steps mentioned in this link How to measure the DDR throughput - stm32mpu.However we are facing the below error while trying to use stm32_ddr_pmu We inserted the lkm module stm32_ddr_pmu.ko using modprobe. The lsmod lists the stm32_ddr_pmu The zcat shows that CONFIG_STM32_DDR_PMU is enabledperf list does not show the stm32_ddr_pmu Can you please help us to find what are we missing here?
I have created basic image with DISTRO=openstlinux-weston MACHINE=stm32mp25-disco, and tried to add device tree files and I have tried to switch to new device tree variant via configuration, and I am planning to emmc to flash the image, I have done integration for all the files in the new device tree folder. Once I try to build with new configuration, I am facing issues during the build process.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.