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
Hello,I am working stm32mp157c. I'm trying to change the clock rate of stmcubeide using pll4q for spi45 (StmCubeIde outputs are attached.). Also The bsp setting is attached .Pll settigs is; st,pll@3 { reg = <3>; cfg = <1 32 5 66 5 PQR(0,1,0)>; frac = <0x1000>; };I see the clocks are set correctly except pll4q (in linux "cat /sys/kernel/debug/clk/clk_summary" command).It turns out 25.125Mhz when it should be 6MHz (linux outputs are attached).I measure the pll4q clock with oscilloscope. Same as the value i see in "cat /sys/kernel/debug/clk/clk_summary" (not 6MHz, it is 25.125Mhz).Where do you think the problem might be?
Hello!I'm using MYD-YA15XC-T board based on stm32mp151 kernel 5.4.And wanted to share files with it via FileZilla ftp/sftp file manager on the PC.But i could not connect to the board, there is always login incorrect error, whichever login or password I try to use: My board uses automatic login, so there is no password that i know, really.And i believe the openssh-sftp package is installed.Do i missing something for sftp/ftp connection to work?Regards, Vlad.
Hi,We configured 1 uart for debugging purpose in our custom board at u boot level. Now we want to configure anthour uart for communicating with other devices.how do we configure second uart? For debug uart we use serial_putc() for transmit and serial_getc() for receiving .what are drivers we should use for transmit and receive data for second uart?
I am using stm32MP157F-DK eval board (on windows) and I would like to try the DDR testing tool on cubeMX. But this is my first time trying to do so - I try to follow steps in "U-Boot SPL: DDR interactive mode" (url: https://wiki.st.com/stm32mpu/wiki/U-Boot_SPL:_DDR_int). It states i should define this mode under CONFIG_STM32MP1_DDR_INTERACTIVE - but I dont understand when or how should I do that? Should this be done on full flashlayout_st-image-*** or should i just have boot running?
Hi,I'm using a STM32MP157a with yocto dunfell with 5.4 kernel version, and I'm trying to enable the kernel splashscreen. On my board I'm using the RBG lcd interface, and when the system is UP my application in showing curretly. On kernel config I have enabled the flags:LOGOLOGO_LINUX_CLUT224FRAMEBUFFER_CONSOLEbut no tux are showing at startup...Where I'm wrong ?
..
Hi all,How can i add support for animated splash screen on stm32mp1 ?I have understanding of the psplash recipe used for custom bootscreen which works completely fine. I would like to have animation while system is booting up.Any inputs are highly appreciated.
Hi,Is there any chance to get a free documentation for the Vivante GPU on STM32MP157F?Want to support hardware accelerated 2D (not 3D) by the GPU on a bare-metal (own OS) project.I have found a reverse engineering project on GitHub facing this lack of documentation:https://github.com/laanwj/etna_vivThere was already a question on the StackExchange site Electrical Engineering:https://electronics.stackexchange.com/questions/512232/stm32mp157-gpu-documentation
hello: I made a board using the AR8035 phy chip. The system can find the phy, but it can't connect to the network.I need your help.log:
If I put the system to sleep via the "echo mem > /sys/power/state" mechanism, how can I execute code/script on wakeup event?Thanks,Ben
I am struggling to achieve a USB gadget with Mass Storage + rndis.When i start each service alone everything works but when i am trying to start both of them i receive the following error:dwc2_hsotg_ep_enable: No suitable fifo foundAny suggestion how to modify the dtsi in order to achieve it .Speed is not a conserne i can reduce the speed to full-speed as well.Thanks,Thanasis
On the STM32MP157C-DK2, can I use/interface the available muRata 1Dx with core-M4 only (& not core-A7)? I am not quite sure if the wifi module 1dx (U8 on the kit) is controlled by A7 or M4?Anyways, I want to interface it with M4. So, can it be possible?
After the OTG repeatedly switches the host and slave states, the HOST is no longer recognized
Hi STM-Team,I am working with STM32MP1 evolution board. It has 512MB of RAM memory. I want to load some custom data (1024 byes) in the last some offset of RAM memory (~500MB offset address). So, I am trying to use below command from u-boot prompt. But, getting error like accessing reserved memory.RAM Base address is 0xC000 0000 + 0x1F40 0000 (500MB offset) = 0xDF40 0000Case-1: STM32MP1>ext4load mmc 0:5 0xDF400000 file.binEntering do_loadargc:5argv[0]:loadargv[1]:mmcargv[2]:0:5argv[3]:0xDF400000argv[4]:file.bin** Reading file would overwrite reserved memory **File read ret:-28But, I am able to access the address offset ~381MB (0xD7DEF0DC).Case-2: STM32MP1> ext4load mmc 0:5 0xD7DEF0DC file.binEntering do_loadargc:5argv[0]:loadargv[1]:mmcargv[2]:0:5argv[3]:0xD7DEF0DCargv[4]:mtd3File read ret:01024 bytes read in 339 ms (2.9 KiB/s)Can anyone help me out to understand what is going wrong while accessing the RAM memory addresses around 500MB offset?Attaching the full logs file for refer
Hi,I'm using stm32mp157a-dk1 and I would like to use rpmsg_sdb for exchanging data buffers with the coprocessor (https://wiki.st.com/stm32mpu/wiki/How_to_exchange_data_buffers_with_the_coprocessor).I built the image for the A7 following the "STM32MP1 Distribution Package" tutorial without problem (https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Flashing_the_built_image).But in the dev folder I can't find the rpmsg_sdb device.Is there a prebuild image for A7 with this driver?If not, how can I add the recipe rpsmg-sdb-mod Yocto recipe to the image of the distribution tutorial using bitbake?In case, is there other ways to get the device rpmsg_sdb?Thank you in advance.Best regards,Andrea Segalla
Hi I built the linux kernel by following the steps on the stm32mpu wiki web. All default configuration except enabled earlyprintk. However, when I restart the system, it does not work any more.This is the error in boot log....[ 0.349451] pps_core: LinuxPPS API ver. 1 registered[ 0.354493] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>[ 0.363706] PTP clock support registered[ 0.368477] arm-scmi firmware:scmi0: SCMI Notifications - Core Enabled.[ 0.375147] 8<--- cut here ---[ 0.378218] Unhandled fault: external abort on non-linefetch (0x008) at 0xe081f004[ 0.385829] pgd = (ptrval)[ 0.388549] [e081f004] *pgd=c183c811, *pte=2ffff653, *ppte=2ffff453[ 0.394877] Internal error: : 8 [#1] PREEMPT SMP ARM...Any hint? The board is stm32mp157f-dk2Thanks
I have STM32MP1 DK2 with me. I want to work on some projects on STM32MP1 DK2 to know the working more. Mainly on RTOS ,Linux and display.
Hello!When I build the Open ST Linux distribution, I get the following warning:WARNING: st-initrd-1.0-r0 do_package: Manifest /home/ubuntu/OpenSTLinuxDistr/openstlinux-5.10-dunfell-mp1-21-11-17/build-openstlinuxweston-stm32mp1/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-st-image-resize-initrd.packagedata not found in stm32mp1 cortexa7t2hf-neon-vfpv4 cortexa7t2hf-neon cortexa7t2hf-vfp cortexa7hf-neon-vfpv4 cortexa7hf-neon cortexa7hf-vfp armv7vet2hf-neon-vfpv4 armv7vehf-neon-vfpv4 armv7vet2hf-neon armv7vehf-neon armv7vet2hf-vfp armv7vehf-vfp armv7at2hf-vfp armv7ahf-vfp armv6thf-vfp armv6hf-vfp armv5tehf-vfp armv5ehf-vfp armv5thf-vfp armv5hf-vfp allarch x86_64_x86_64-nativesdk (variant '')? A little clarification: I'm not adding my machine. It's standart machine. The distribution is loaded into the board and everything works, but I would like to get rid of this warning so that everything is clean. What could it be?
Hi ,I am trying to add a custom recipe in the meta-st-stm32mp layer. Below is my swupdate_1.0.0.bb file :DESCRIPTION = "Swupdate example" HOMEPAGE = "wiki.st.com" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "" # No information for SRC_URI yet (only an external source tree was specified) SRC_URI += " \ file://postupdate.sh file://swupdate.conf file://S98update " # NOTE: no Makefile found, unable to determine what needs to be done do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { # Specify install commands here install -d ${D}${sysconfdir}/swupdate/ install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/postupdate.sh ${D}${sysconfdir}/swupdate/postupdate.sh install -m 0755 ${WORKDIR}/swupdate.conf ${D}${sysconfdir}/swupdate/swupdate.conf install -m 0755 ${WORKDIR}/S98update ${D}/${sysconfdir}/init.d/S98update } FILES_${PN} += "${sysconfdir}/swupdate/ ${D}${sysconfdir}/init.d/" Upon giving a bitbake
Hi @PatrickF I think the previous question reached the maximum number of replies, so I write a new one hoping I'm doing well.Here's my weston.ini[core] #modules=cms-colord.so shell=desktop-shell.so backend=drm-backend.so idle-time=0 repaint-window=100 require-input=false [keyboard] keymap_layout=us [shell] background-image=/usr/share/weston/backgrounds/ST13028_Linux_picto_11_1366x768.png background-color=0xff002244 background-type=centered clock-format=minutes panel-color=0x90a1a1a1 panel-position=top locking=false animation=none startup-animation=none close-animation=none focus-animation=none binding-modifier=ctrl #num-workspaces=6 #cursor-theme=whiteglass #cursor-size=24 #lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png #lockscreen=/usr/share/backgrounds/gnome/Garden.jpg #homescreen=/usr/share/backgrounds/gnome/Blinds.jpg [launcher] icon=/usr/share/weston/icon/utilities-terminal.png path=/usr/bin/weston-terminal [launcher] icon=
Hi,I am trying to integrate swupdate for OTA update integration for STM32MP1.In the due process I will be in need to modify the flash layout file a bit , since I am trying have an extra rootfs partition , named partition B on /dev/mmcblkp06.I referred to flash layout currently mentioned here.It looks to me that there is not any support for the extra rootfs which is provided.How can i do that? I am sure that I will be in need to change the flashlayout but since offsets are defined static in the mentioned link , I was wondering what should be offset calculation for achieving the same.I want to achieve following scheme:#Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-ev1-usb.stm32 - 0x03 fip-boot Binary none 0x0 fip/fip-stm32mp157c-ev1-trusted.bin P 0x04 fsbl1 Binary mmc1 boot1 arm-trusted-firmware/tf-a-stm32mp157c-ev1-emmc.stm32 P 0x05 fsbl2 Binary mmc1 boot2 arm-trusted-firmware/tf-a-stm32mp157c-ev1-emmc.stm32 PD 0x06 fip Binary
IDE suggested that I upgrade STLink FW on my STM32MP1-DK2 discovery board. Now when I connect my Linux PC to USBC on DK2, device isn't recognized by STMProgrammer (also nothing shows up in dmesg).
Hello,I am working on IPC between M4 and A7 and it works properly using the "logic analyzer" example. I changed it according to my needs but not the buffers. 1 . I could read the data from 3 buffers, but often buffers are swapping. I would like to what causes this problem and how to solve it?2. When I start IPC, one of the CPU processes goes into 100%. Is it normal for the IPC? and is there anything that I could change to reduce the CPU processes? Thank you in advance
Hi STM32 MPU's community ! On behalf of ST and all ST employees involved in this community I would like to wish - to all members here - a joyful holidays period and the best for coming year 2022 !I take this opportunity to thanks you all for your participation by posting or answering questions.Please note that activity from ST will be lower than usual in our community for the next two weeks, as we all take some time off. Hope to see you all well-rested and full of energy for another great year in the ST Community !Olivier
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.