Developer support experience survey - We value your feedback
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
..
What is the capacitance IO of HSE and LSE?
We have a custom board with and STM32MP153CAA processor and are trying to get it to boot from an SMCC card on SDMMC2 interface. If I loaded the tf and fip files via a UART I am able to get u-boot running and then use the "run bootcmd_mmc0" to boot the linux kernel from the SDMMC2 car from there. So I know that the electrical connection to the SD card is correct. However we'd like to have the whole boot process read from the card at power up.I have an SD card laid out with the partition scheme used to boot the discovery boards from SDMMC1 and have written the boot loaders to the card. I have tried setting the OTP word 3 to 0x10 which from ST's documentation I would believe should set up the boot from the SDMMC2 card and have set the boot pins to 101 binary which should tell the processor that the primary boot should be from SDMMC card, but if will not boot. I get nothing at all output to UART-4 which I have set up as console nor any indication that the board is trying to read from
Hi all,I have been trying to build a custom machine based on STM32MP157C MPU. Right now I am facing a weird issue.Defconfig file is attached. However upon giving build , i cannot see the stm32-crc module , built added and loaded. Is there something which i am missing? TIA
Hello,When trying to access this page: https://wiki.st.com/stm32mpu/wiki/Bring-up_troubleshooting_grid I get a permission error.This page is found by the search function.Is this page not available to everyone ?Thansk in advance for your reply
I loaded STM32MP157D-DK1 board configuration in STM32CubeIDE and used the generated device tree files for U-Boot and TF-A compilation. The file MYPROJECT/CA7/DeviceTree/MYPROJECT/tf-a/stm32mp157d-myproject-mx-fw-config.dts contains this line:#include "stm32mp15-ddr-512m-fw-config.dts"This causes a fatal error during tf-a compilation due to "No such file or directory".I searched the internet for this missing file but only found a dead link here: https://wiki.st.com/stm32mpu/wiki/How_to_configure_TF-A_FW_CONFIGThanks for any help in advance.
Loading Environment from MMC... OK In: serial Out: serial Err: serial stm32 vrefbuf timed out: -110 adc@0: can't enable vdd-supply!adc_measurement: single shot failed for adc@0[18]! Net: eth0: ethernet@5800a000 Hit any key to stop autoboot: 0 Boot over usb0! DSI version 0x0 not supported Invalid or missing layout file.DFU alt info setting: doneWe can successfully load the StarterPackage FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv, but when we try creating from Developer Package, we get this error. Our board has a STM32MP151CAC. We have been testing on the STM32MP157F-DEV2, on which there has been no problem. Is there a default for booting over USB, and not the SD?Thanks in advance,George
I managed to make the M4 WWDOG to work.I got on Linux cmd line:remoteproc remoteproc0: crash detected in m4: type watchdogHow can I catch and handle this events programmatically on a shell script, C or Python ?
This is a problem that has bothered me for months.I hope someboby could give me some help.Firstly I use STM32Programmer to flash the STM32MP157F-DK2, it runs really fun.After I rebuild the kernel V3.1.0 followed by Wiki and use "scp arch/arm/boot/uImage root@192.168.7.1:/boot" many modules can't be probed successfully.The complete boot log is in boot1.txt.So I have to compile the modules and use "scp -r install_artifact/lib/modules/* root@192.168.7.1:/lib/modules" to replace the original.There're still some problems.The complete boot log is in boot2.txt.Only the following problemsWhat's the galcore and how to solve it?Now the board can't launch the default applications automatically and I can't clicke to started them manually.
I'm trying to figure out how to add OpenCV to my STM32MP157-DK2 Discovery Board. I am not new to ST Microcontrollers, but I am new to the MP1 and Cortex A processors. I'm also not new to Linux but am completely new to embedded Linux and Yocto.I can see that there is a recipe for OpenCV included in the Ecosystem V1.2 release distribution package, but when I build the release and flash, OpenCV is not present on the DK2 board. I was able build OpenCV specifically with the bitbake command, but again, it is not present in the image. I have seen a few references to installing OpenCV in the wiki but not enough details to get to the next step.I am wondering what the correct or preferred method for getting OpenCV included in the image. Preferably, enough information or pointers to documentation that I can understand the bigger picture and know how to do this in general and not simply how just to add OpenCV in this case.
Please excuse my ignorance in this matter. We develop a custom board based on STM32MP15f-DK2. We would like to use Segger's J-link devices for initial codeloads.I understand that mmc/sd card are not memory-mapped flash types, so j-link will not work without some sort of intermediate booting software downloaded to DDR.Are there any sample projects available that would realize such functionality?Programming the device using DFU is not an option in this case.--Best regards,Tomasz
we are using M28W320ECT 3V Supply Flash Memory for more than 10 years wo any problems in our MCU units now, suddenly in new production this part is gone defect several times- drawing current on the 12V programming Voltage Input, no read /write operation anymore, design wasn't changed, Voltages aso also checked( Especially 12V is OK), everything correct,Any experience or hint what else could be a root cause for thisany comment appreciated, thks&rgds, Thomas
Hello,I am desing with reference STM32MP153 and I would like connect two devices to through of MAC to MAC ports without PHY layer, Is it possible?, In attach figure connection shonw as I should do the connection between devices without phy layer:Is it posible? could you help me?
Hi,I am using stm32mp157c and fixed pll4p (125MHz) clock in dtb.st,pll@3 { reg = <3>; cfg = <3 124 5 5 5 PQR(1,0,0)>; };I see that pll4p is fixed (125MHZ )in clk_summury. But i want to change clock speed in run time if my condition become true. Searching this situation in google, i found common clock framework API. But i didn't find any example on stm32mp1. I don't understand stm32mp1 support this framework. How can i dynamically change pll clock speed? Any suggestion?Best Regards.Ali Mesut Ince
Any recommendations on how to install Node.js on OpenSTLinux / OpenEmbedded?I want to run some node.js applications on the A7 processor.I found this repository but there has been no activity for a few years.https://github.com/imyller/meta-nodejs
Hello!Board: STM32MP157F using STM32MP15-Ecosystem-v3.1.0We are using SPI4 to interface and control a FPGA by a custom SPI protocol driver.This works great!To get faster data transfer the QSPI interface should be used. The FPGA will deliver data with up to 200MBit/s.This is how we currently configured SPI4:/* SPI */ &spi4 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&spi4_pins_b>; pinctrl-1 = <&spi4_sleep_pins_b>; cs-gpios = <&gpioe 11 0>; /* PE11 : SPI4,NSS */ status = "okay"; dspi@0 { compatible = "dspi4"; reg = <0>; /* CS #0 */ spi-max-frequency = <4500000>; }; };https://wiki.st.com/stm32mpu/wiki/QUADSPI_device_tree_configurationonly talks about memory and the MTD framework.Can I use something like this to access QSPI by a custom SPI protocol driver?This is completely untested and should only serve to show what I want to achieve:/* QUADSPI */ &qspi { pinctrl-names = "default", "sleep"; pinctrl-0 = <&
Hello,I've got problem with startup Display from Powertip. I added some commands to library ili9881c acording to datasheet by patch. After startup kernel [ 1.604819] [drm:dw_mipi_dsi_stm_probe] *ERROR* Unable to get peripheral clock: -517[ 1.724139] ili9881c-dsi 5a000000.dsi.0: Couldn't get our power regulator[ 2.920457] ili9881c-dsi 5a000000.dsi.0: Couldn't get our power regulatorDo anyone had idea where should i looking for a problem?
For measuring the USB signal quality, it is necessary to print out test pattern on the USB interface. How this can be done on a customer board with STM32MP15x controller. Is a test software or source code available?
Hi, I installed node.js with apt-get on my STM32MP157C-DK2, which worked great.Now I want to install another package but it failsapt-get install nodejs-npm... Need to get 7286 kB of archives. After this operation, 0 B of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/.But I think there is still enough free space on the SD Card:root@stm32mp1:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 715M 682M 0 100% / devtmpfs 150M 0 150M 0% /dev tmpfs 214M 0 214M 0% /dev/shm tmpfs 214M 20M 195M 10% /run tmpfs 214M 0 214M 0% /sys/fs/cgroup tmpfs 214M 4.0K 214M 1% /tmp /dev/mmcblk0p4 58M 8.5M 46M 16% /boot tmpfs 214M 80K 214M 1% /var/volatile /dev/mmcblk0p7 14G 74M 13G 1% /usr/local /dev/mmcblk0p5 15M 8.4M 5.1M 63% /vendorhope someone can help. Otherwise I have to cancel my work with node.jsregardsLukas
Hi everyoneI am trying to modify the Kernel during the Distribution Package method (compiled from Yocto directly to the image)I have followed the information in the following pages:https://wiki.st.com/stm32mpu/wiki/WLAN_overviewhttps://wiki.st.com/stm32mpu/wiki/How_to_customize_the_Linux_kernelhttps://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernelMy setup is importing the meta-st-stm32mp, adding my own layers and building an image from core-image (no OpenSTLinux in this case)MACHINE = "stm32mp1-disco"I have created a .bbappend recipe as follows:FILESEXTRAPATHS:prepend := "${THISDIR}:${THISDIR}/linux-stm32mp:" KERNEL_CONFIG_FRAGMENTS:append = "${WORKDIR}/fragments/5.10/fragment-06-wlan.config" SRC_URI:append = " file://5.10/fragment-06-wlan.config;subdir=fragments " SRC_URI:class-devupstream += "file://5.10/fragment-06-wlan.config;subdir=fragments" # Autoload WiFi driver on boot KERNEL_MODULE_AUTOLOAD:append = "brcmfmac" IMAGE_INSTALL:append = " ker
I want to power 5V to the discovery kits through pins 2 and 4 on CN2 connector. Is that ok? Any recommended circuitry?
Hello,I just wanted to let you know there is an error in the tamper driver written for Tamper configuration in TF-A fork repository.When enabling an external tamper in passive mode, the configuration is writting the passive mode in the wrong register, disabling the external tamper. This should be written in the atcr1 register but it is being written in the cr1 register.if ((tamp_ext->mode & TAMP_ACTIVE) == TAMP_ACTIVE) { SETBITS(*cr1atcr1, _TAMP_ATCR1_ETAMPAM(id)); } else { CLRBITS(*cr1atcr1, _TAMP_ATCR1_ETAMPAM(id)); }PS: I am not sure this is the right place to put this kind of messages, where should I contact you if I find any other error/bug?Best regards
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.