Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Processor stm32mp157f, our board design similar to dk2.In my STM32CubeMX generated device tree (dunfell) I have added the following:/* USER CODE BEGIN root */soc {vrefbuf@50025000 {status = "disabled";};};/* USER CODE END root */I have my vref pin connected to vdda (for 3.3 reference voltage). However, trying to use the libiio interface to read my ADC's libiio is disabled. If I disconnect my vref pin from vdda and remove the disable of vrefbuf, I have libiio back.I think there must be something else in my device tree I need to set up to tell the kernel that I am using an external vref to get iio back but I don't quite know what.ADC used in the kernel, not in m4
Hi,is anybody able to download latest version of Starter Package ?i'm using address:https://www.st.com/en/embedded-software/stm32mp1starter.htmli click "Get latest" , then "Accept" License agreement, then "Login", then shows back download page and nothing more, download is not starting ...
I am using stm32mp157d-dk1, I want to cast screen to host pc to control via VNC, please help me, I can use a similar method without VNC, please guide me
Hello,I have seen that someone posted in the past a post regarding poor performance under linux (refer to https://community.st.com/t5/stm32-mpus-products/poor-dm-crypt-benchmark-on-stm32mp157/m-p/104543#M2181).We also have observed such results.Is there a progress regarding using the native HW?Thanks
I just saw this. It's from STM32MP157 discovery board.Notice that DQ9 is attached to E3.This schematic is the RAM DDR memory: They are connected correctly. The index of DQU2 is the 10:th index of DQ, also DQ10. But the naming of the net labels seems to be wrong. This picture is the footprint of the RAM DDR memory. But here is where things getting werid.Noticie that E3 was DDR_DQ9, but it was actually DQ0 according to the datasheet. The same for DDR_DQ5, it was DQ10.Here is the microprocessor STM32MP157. Notice that they are not correctly indexed. My question is: Why? Why will this work according to the schematic designers?This schematic is the symbol of the STM32MP157 processor.
Hi everyone,we are in the middle of bringing up a custom board using the STM32MP131. Booting from an SD card already works. However, we would like to use the STM32CubeProgrammer to directly connect the board via USB. For this, the OTG USB pins OTG_HS_DP and OTG_HS_DM are wired to a USB-A socket. The socket is then connected to a PC using a USB-A to USB-A cable. In serial boot mode, the LED on BOOTFAILN blinks at 5Hz, but the device does not show up on the computer.I assume that this is a hardware issue since USB boot should work before any software is loaded on the device. USB boot works with the STM32MP135-DK, so it should not be a driver issue either. On our board, OTG_HS_ID (PA10) is left floating. This pin has an internal pull-up, which should signal device mode by default. OTG_HS_VBUS (PI7) is also left floating. On the DK-board it is connected to the LCD, so it should also be optional. Power is supplied seperately via the STPMIC1. The MPU and USB port are wired like this:I am uns
I'm going to build my own computer by using STM32MP157 and install OpenSTLinux onto it. The powering for STM32MP157 can be done via USB-C connection, but that requires an USB-C charger of 5 volts.Can I skip that and only using a regular charger like 3.5 DC jack? I know that there are two pins that are connected to STM32MP157 processor. They are USB_PWR_CC1 and USB_PWR_CC2. They are connected to PA5 and PA4 at the processor.Who is using these pins? Is it the OpenSTLinux? Do I really need them?
Hi,please can somebody give me a hint how to flash OpenSTLinux onto SD card on board STM32MP135F-DK ?i'm under specific condition, currently i can't download Starter package (some unknown technical problem) which includes utility : STM32_Programmer_CLI,and i just built Distribution package using bitbake after 6 hours ...i'm reading howto :https://wiki.st.com/stm32mpu/wiki/STM32MP13_Discovery_kits_-_Starter_Package#Flash_microSD_card
Hi ,i'm trying to build st-image-weston for target board STM32MP135F-DKrepo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23repo syncDISTRO=openstlinux-weston MACHINE=stm32mp13-disco source layers/meta-st/scripts/envsetup.shbitbake st-image-weston.... after 4.5 hours : | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_populate_sysroot', '/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb:do_populate_sysroot', '/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/met
Hi, Purchased the STM32MP135F-DK.Opened in STM32CubeIDE a Bare-Metal Project for this specific DK, with default IOC configurations, and only added a simple UART message in main to test. Project Build went fine, But unable to debug. The hardware setup: Power USB-C cable connected. ST Micro USB cable connected, and ST-LINK debugger is detected. Boot Toggle Switches configured to Forced USB boot for programming (All 0s) No SD card inserted. ST-LINK debugger updated to latest version using the upgrade utility. Things I tired:1. In debug configuration, tried selecting Debug Probe ST-LINK GDB ServerThose are the debug configurations: I get the following message:"Failed to start GDB server. Error in initializing ST-LINK device. Reason: (4) No device found on target." Tried in ST-LINK GDB Server mode to change the Reset Behaviour, modify the frequency, didnt help.Tried Debug Probe ST-LINK(OpenOCD) with the following configuration: I get the following tex
I would appreciate it if you guided me for Wiki documentation as a PDF.This will be very helpful, Thanks in advance
Hi,i'm trying to compile kernel from Ecosystem 4.1 , i'm downloading :https://www.st.com/en/embedded-software/stm32mp1dev.html#get-software... version 4.1.0, kernel is linux-stm32mp-5.15.67-stm32mp-r2-r0/linux-5.15.67error from compilation : HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/yamltree.o scripts/dtc/yamltree.c:9:10: fatal error: yaml.h: No such file or directory 9 | #include <yaml.h> | ^~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.host:112: scripts/dtc/yamltree.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1458: scripts_dtc] Error 2 it seems that there is missing support for yaml in SDK stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23, in directory x86_64-ostl_sdk-linux,is there a way how to append yaml support into x86_64-ostl_sdk-linux ? or is ecosystem 4.1 not compilable ?Kind regards,
Hi, I'm please to share we pass extensive validation test of Zentel Japan 8Gb DDR3 A3T8GF43BBF-GML on STM32MP135F-DKregardsAlex
Hi, I'm please to share we pass extensive validation test of Zentel Japan 4Gb DDR3 A3T4GF40BBF-HP on STM32MP135F-DKregardsAlex
Dear forum,i compiled stock recent kernel "linux-stm32mp-6.1.28-stm32mp-r1-r0",https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kerneli tried to boot compiled kernel i got error: gc2145@3c node not found - DT update aborted... and then kernel hangs with message: "Starting kernel ..."command : dtc -I dtb -O dts stm32mp135f-dk.dtbshows:Warning (unique_unit_address): /soc/etzpc@5c007000/i2c@4c006000/gc2145@3c: duplicate unit-address (also used in node /soc/etzpc@5c007000/i2c@4c006000/camera@3c)and then later below: gc2145@3c { compatible = "galaxycore,gc2145"; reg = <0x3c>; clocks = <0x3d>; IOVDD-supply = <0x25>; AVDD-supply = <0x25>; DVDD-supply = <0x25>; powerdown-gpios = <0x33 0x03 0x01>; reset-gpios = <0x33 0x04 0x01>; status = "okay"; phandle = <0xac>; port { endpoint { remote-endpoint = <0x3e>; clo
What kind of encryption performance can we expect from the cryptoprocessor? SoC is STM32MP157 with kernel 5.10. Currently we get: root@host:~# cryptsetup benchmark # Tests are approximate using memory only (no storage IO). PBKDF2-sha1 57186 iterations per second for 256-bit key PBKDF2-sha256 84453 iterations per second for 256-bit key PBKDF2-sha512 52512 iterations per second for 256-bit key PBKDF2-ripemd160 47558 iterations per second for 256-bit key PBKDF2-whirlpool 11425 iterations per second for 256-bit key argon2i 4 iterations, 31804 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time) argon2id 4 iterations, 32529 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time) [ 199.200180] sched: RT throttling activated # Algorithm | Key | Encryption | Decryption aes-cbc 128b 4.1 MiB/s 4.1 MiB/s serpent-cbc 128b N/A N/A twofish-cbc 128b N/A N/A aes-cbc 256b 4.1 MiB/s 4.1 MiB/s serpent-cbc 256b N/A N/A twofish-cbc 256b N/A N/A aes-xts 2
Greetings. We are currently working on a project related to the board STM32MP135F-DK. We are seeking your assistance to clarify a few points. Specifically, we would like to know which primary images are necessary for this board and which operating system you recommend. Any guidance you can provide would be greatly appreciated.Thank you
Hello all,I'm trying to debug the cortex M4 coprocessor using OpenOCD on a raspberry pi and SWD connection.After starting the debug session on CubeIDE, I can control the program execution, step by step for example, but only on the cortex A7, although the assembly code correspondig to the M4 is present. Also, if issuing the halt and resume commands on OpenOCD console, the M4 responds correctly. Why isn't it running, and how to control just the M4 on the IDE? OpenOCD target config script: cat /usr/local/share/openocd/scripts/target/stm32mp15x.cfg# SPDX-License-Identifier: GPL-2.0-or-later# STMicroelectronics STM32MP15x (Single/Dual Cortex-A7 plus Cortex-M4)# http://www.st.com/stm32mp1# HLA does not support multi-cores nor custom CSW nor AP other than 0if { [using_hla] } {echo "ERROR: HLA transport cannot work with this target."echo "ERROR: To use STLink switch to DAP mode, as in \"board/stm32mp15x_dk2.cfg\"."shutdown}source [find target/swj-dp.tcl]if { [info exists CH
Hello,I have a interrupt conflict between two peripherals on pins PK7 and PI7. I am aware that these two end up on same EXTI7 interrupt mux, hence conflict in interrupt occurs. I am wondering if there is a way to separate these interrupts on different controllers perhaps? Re-designing the HW is not really possible or very hard at this stage
..
Hi :) It's possible to download the source of a wiki article ? Krzysztof
I tried port optee to customize board, but encouted panic and I could not figure it out. here is log and dree tree setting for the board, thank you
https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernelstep 4
I want to read a temperature sensor DS18B20 with onewire with the STM32MP135 in Python?Does anyone know how to do this best?I've already tried installing the onwire library from python, but that fails. I don't want to program it in C. I'm new here, so I hope I've classified my problem correctly. greetings
I am developing a device with the STM23MP153C and plan to implement secure boot, but I don't fully understand the SSP workflow and have a few questions.1. The STM32CubeProgrammer documentation says that the -ssp command can be executed both with HSM and with a generated license. Do I understand correctly that this is the license that must be generated by the -hsmgetlicense command of STM32CubeProgrammer? If so, the license is valid only for the current device?2. Is it mandatory to have HSM in production? Is it possible to generate a license for production so that production is not dependent on the presence of HSM? STM32CubeProgrammer program has a command -hsmgetlicensefromcertifbin. Is this command not what I want? If so, it requires "Input certificate file path" as an argument. How can I generate it?3. HSM has a certain licenses count. Is this license per flash process or per device? Can I flash the same device multiple times with one license?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.