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
Hi,we are using a coin cell to supply the internal RTC of an STM32MP157 when our system is unpowered.This works as expected - as long as the external supply is off. As soon as the system is powered on, the battery is discharged with >20µA.Observing the register ADC_CCR shows that VBATEN is permanently set, connecting VBAT to the ADC input and a resistor devider (as stated in Fig. 248 in the reference manual).[Edit: removed misleading reference to ADC driver]In my understanding VBATEN is supposed to be set only while (and shortly before) VBAT is actually sampled. Otherwise the switch as seen in Fig. 248 does not make much sense to me.
Hi Everybody,I would like to completely boot kernel 5.10-dunfell (last year) from a 64MB dataflash (nor0). No mmc0 or nand0. Compiled the correct DTS with TF-A, U-Boot and kernel, I would like to use the following TSV for STM32CubeProgrammer:#Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 tf-a-stm32mp151a-***-mx-usb.stm32 - 0x03 fip-boot Binary none 0x0 fip-stm32mp151a-***-mx-trusted.bin P 0x04 fsbl1 Binary nor0 0x00000000 tf-a-stm32mp151a-***-mx-nor.stm32 P 0x05 fsbl2 Binary nor0 0x00040000 tf-a-stm32mp151a-***-mx-nor.stm32 P 0x06 fip Binary nor0 0x00080000 fip-stm32mp151a-***-mx-trusted.bin PDE 0x07 u-boot-env Binary nor0 0x00480000 none P 0x10 UBI Binary nor0 0x00500000 rootfs.binwhere *** is my project code (obfuscated).Once started, U-Boot fails to proceed to load rootfs.bin, which contains the kernel, modules and filesystem as a UBI partition. This was produced by Buildroot and it is valid; I checked loop-mounting it with mtdram. The type for UBI is Binary s
..
Hi,root@si-rd22:/home/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2020.10.r1-r0/u-boot-stm32mp-2020.10.r1# make stm32mp15_defconfigMakefile:40: *** missing separator. Stop.can anyone please let me know in makefile line no. 40 I tried putting TAB but still error is not resolved.Makefile:else ifeq ("riscv64", $(MK_ARCH)) export HOST_ARCH=$(HOST_ARCH_RISCV64)endifundefine MK_ARCH // line no 40Thankyou
Hi,We are using SEEED studio 102110318 module which uses STM32MP157CAC3 processor. We want to know if there is any way we can keep processor pin PD13 pin to low state in suspend state. We want the pin to maintain low state while in sleep mode. We have added pullup on this pin in Hardware which is affecting one of our peripheral operation in sleep mode. For this reason we want this pin to be set low which will solve the issue. We do not have any other option to remove pullup in hardware as our device production is completedRegardsNarendra Singh
I want to use arm-ostl-linux-gnueabi-gcc on windows. I have installed stm32mp1-gcc9.3.0-r2.exe on my windows 10 OS. When I try to compile a code, libraries like stdlib.h etc not found error appears. How can I resolve this?
Hi.I am following the instructions written in STM32MP1 Developer Package - stm32mpu and meta-st-stm32mp/README.HOW_TO.txt at kirkstone · STMicroelectronics/meta-st-stm32mp · GitHub to build u-bootWhen I execute make -f $PWD/../Makefile.sdk all, I get following message. Missing u-boot-stm32mp157a-dk1-trusted.dtb file in folder: '$FIP_DEPLOYDIR_UBOOT' or '$FIP_DEPLOYDIR_ROOT/u-boot'make: *** [/home/itron/Documents/workspace/STM32MP1/Developer-Package/stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:130: fip] Error 1I did cd $PWD/../../FIP_artifacts/u-boot, I can see u-boot-stm32mp157a-dk1-trusted.dtb is in there though.I am using v22.06.15 for SDK and SourceThanks in advance
Hi ST experts,Would like to check if STM's MPU able to support Window CE 6 or Linux platform?Thank you
Hi!Problem: The board boots correctly into the Linux kernel, but the kernel is unable to mount the rootfs.We designed a custom board using stm32mp157f. It is based on the DK2 with some differences:PLL Base clock 48Mhz (instead of 24MHz)Other power supply than the pmic (with a fixed power regulators)eMMC on board (not used)Therefore changes to the tf-a and u-boot (dts) had to be made.The changes were applied on copies of the dts files for stm32mp157f-dk2.u-boot sees mmc0:STM32MP> mmc info Device: STM32 SD/MMC Manufacturer ID: 9f OEM: 5449 Name: SDCIT Bus Speed: 50000000 Mode: SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 15 GiB Bus Width: 4-bit Erase Group Size: 512 Bytesand is able to load the kernel and initrd:bootcmd_nexio boot_syslinux_conf extlinux/nexio_extlinux_6.conf switch to partitions #0, OK mmc0 is current device Scanning mmc 0:4... Found /extlinux/nexio_extlinux_6.conf Retrieving file: /extlinux/nexio_extlinux_6.conf 334 bytes read
CK_SCMI0_HSE is a syntax error when compiling with dtc, but it does not exist in the file stm32mp1-clks/h. Is it okay to set it to CK_HSE?
Custom PCB, STM32MP157C chip. Linux 5.7.10. Buildroot build. No issues - Linux boots to console prompt without trouble, no errors. I can view device registers and all memory regions using Segger Jlink via SWD in both SPL and UBoot. Once Linux starts - I can only view memory from 0xC0000000 to 0xCFFFFFFF, i.e. the DRAM. Any attempt to read internal RAM or device registers via SWD fails with "cannot read memory". JLink connected to CPU 0 (A7). If connected to M4 all I get is 0x23000000 regardless of what address I try to read (but the M4 is still in reset so that may be the reason).I am not certain if SWD read goes through A7 virtual memory mapping or not - but anybody know what needs to change so I can access internal RAM space and device registers from SWD once Linux is running ?
Hello everyone,I need a way to synchronize A7 and M4 cores (find the same timestamp) within 1 ~ 2 usec. Is there any shared timer or resources except for memory and virtual serial com between these two cores? I have a PPS signal and I want A7 to be aware of its arrival, but it has a 10 usec latency from the moment the PPS signal arrives! I do appreciate it if you let me know about viable methods I can take to mitigate this issue. Best,Saeed
Hi ST Community,I have been trying to add the WLAN interface to my stm32mp157f-dk2 board with the distro "openstlinux-weston" and the machine "stm32mp1" without success with the following documentation:I have applied the kernel configuration given in chapter 3 of the following link https://wiki.st.com/stm32mpu/wiki/WLAN_overview#How_to_use_WLANI checked that the file "stm32mp157f-dk2.dts" has the configuration described in the chapter 3.2 of the following link https://wiki.st.com/stm32mpu/wiki/WLAN_device_tree_configuration#cite_note-stm32mp151.dtsi-6Also I checked that the stm43mp1.conf file (machine configuration file) has the following settings MACHINE_FEATURES += "wifi" WIFI_LIST += "linux-firmware-bcm43430"After applying all these settings and rebuilding the image, when I connect to the stm32mp157f-dk2 board and apply the command "ifconfig -a" I don't see any new WLAN interface.Maybe I'm missing something?Thanks in advance
Hi! I have created a program to send messages between cores (A7 and M4), using virtual uart. The messages that are sent from the A7 core are received by the M4 core. My error occurs when I try to read the messages that are sent from the M4 core to the A7. The program that I have created in linux is the following (M4 program is running): How can I read the messages that are sent from the M4 core?Is there any example to follow?Thanks!
Hello, I would like to disable the thermal shutdown at 120C on STM32MP157A-DK1 which embeds a STM32MP157A. It runs Yocto Project and contrary to other boards I worked on, I cannot turn off and even change the critical temperature (the procedure is the same on other boards it succeeded) so the board is turning off itself.Any help is welcome. Thank you
Hi,I'm using stm32mp153c and I managed to start M4 code after the SPL initialization and before U-BOOT. All initializations work fine except for the MX_OPENAMP_Init.I see that if I start the code after SPL the variable of num_of_vrings (that is equal to the define VRING_COUNT 2) is 0. Whereas if I start the M4 code directly from linux the variable is set to 2 and the OPENAMP initialization works.I tried to set a delay of 1 minute before the IPCC and OPENAMP initializations (in order to wait for LINUX to enable virt_uart and rpmsg_sdb devices) but the OPENAMP initialization still failed.Any suggestions?Thanks in advance.Best regards,Andrea
Hi there, I've got an STM32MP157F-DK2 devkit, I managed to set up all the packages, including Yocto distribution (Distribution Package) and all seems to be working fine for me. Now I'm starting to modify ST distribution, just to get used to the environment. ... I'm working on the splash screens right now. I easily changed the Uboot splash screen: I only needed to modify .bb recipe for uboot splash and copy the correct images to the right folder. Now I'm trying to modify also the Kernel splash screen, and things started to get really confusing... I did some research and I discovered that the ST meta-layer seems to use a modified version of psplash script from Poky. I found that in the layer meta-st/meta-st-openstlinux/recipes-core/psplash/psplash-drm there's what I'm looking for. However, I can't figure out how to make things work properly. What do I have to change? What kind of images should I use? (I tried png 480x272 8bits depth but they seem not working) Thanks so muchSimone
Hallo in our company we use for a large Project a STM32 MP153a microprocessor. Currently I'm trying to write a Device Driver for the TDK ICM42688P Mems Gyro. We have connected the Gyro trough I2C with the Cortex M4 core within the MPU. Both devices are located on a custom PCB and the Gyro is routed to the I2C2 Interface of the MPU (I2C2_SCL = PZ6, I2C2_SDA = PZ7). The Gyro is the only Device on this Interface (I2C2). We use a I2C Voltage of 1.8V and both devices support these voltage. The I2C2 Interface is in the Polling Mode.For my driver I have to read multiple registers of the Gyro therefore I use the HAL_I2C_MEM_READ function of the STM32 HAL which is in the HAL generated from CubeMX. I noticed that I get random Communication Errors so I have written a simple testcase in which I only read the Device ID of the Gyro in a while loop. Here is the pseudo code of this testcase so you have an idea how it works:while(1){ retVal_e = icm42688pReadRegister(ICM42688P_BANK_0_WHO_AM_I, &regV
Hi there, I'm starting developing on an STM32MP157F-DK2 kit, and I wanted to build my own distribution, starting from the distribution package (STM32MP1 Distribution Package - stm32mpu). At the first compilation, the bitbake st-image-weston takes reaaaally long time. I already used Yocto with older projects, using competitors' boards, and I never faced such a slow compilation time, which seems weird to me. Do you have any suggestions to speed up the process for your distribution? I tried already to modify BB_NUMBER_THREADS and PARALLEL_MAKE parameters in local.conf file but I didn't notice any real difference. Other ideas? PS: I'm running my compilation on a virtual machine (running Ubuntu 20.04 lts OS), which has the minimum raccomandations that I found in some other thread here (sorry I don't remember where exactly): 6Gb of ram (ddr4 3200mhz) and 2 cores of physical CPU (intel i7-1165G7), totally not a bad machine in my opinion. Thank youSimone
Hi, I have upgraded to Ecosystem 3.1.1 and have started to get warnings in TF-A when booting up my stm32mp151c. These are the warnings: NOTICE: CPU: STM32MP151CAA Rev.B NOTICE: Model: STMicroelectronics custom STM32CubeMX board NOTICE: Bootrom authentication failed WARNING: regulator_get_by_phandle: phandle 14 not found WARNING: VDD unknown INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffdd000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: FCONF: Reading firmware configuration information for: tbbr INFO: Using EMMC INFO: Instance 2 INFO: Boot used partition fsbl1 WARNING: regulator_get_by_phandle: phandle 19 not foundEverything works as expected and the board boots as normal. But I don't understand why these warnings appear. I have localized in the source code that there are some patches added to the TF-A in ecosystem 3.1.1. In tf-a-stm32mp/plat/st/stm32mp1/stm32mp1_syscfg.c /* Ge
We are migrating from ecosystem version 2.1.0 to 4.0.0. We have a custom board with STM32MP157C.After resuming from STANDBY the ADCs and DAC, used by M4, no longer work. They are initialized and started without error, but all ADC channel data reads 2048. For the DAC, the DOR1 register reflects the data written to it, but there is no output on the DAC_OUT1 pin.Additional information:The ADCs and DAC are used with DMA.The ADCs and DAC work fine after cold boot.On ecosystem version 2 the ADCs and DAC work both after cold boot and after resume from standby.We use trusted boot.
Imagine you are a newbie trying to understand the device tree and clock configuration.Which of these pages is more useful?https://wiki.st.com/stm32mpu/wiki/Clock_device_tree_configurationorhttps://wiki.stmicroelectronics.cn/stm32mpu/index.php?title=Clock_device_tree_configuration&direction=next&oldid=72819#cite_note-1Why is the .cn version so much better? What ***** edited out all the useful information from wiki.st.com/stm32mpu/wiki/Clock_device_tree_configuration?
Hi, I cannot debug stm32mp157-dk2 on macOS (stm32cubeide). I have those logs in the console:Does anyone know how to resolve it? :)
HiCurrently, I'm designing a PCB with "STM32MP151AAD3T".I'm developing our own PCB with reference to "STM32MP157x-EV1".DDR trace wiring is described in Section 3.2 of "AN5122" as follows:********************************************************************************Point-to-point connection of the data bus (2 swappable bytes, and swappable bits in the same byte):– 16 data signal bits (DQ)– 2 data mask signals (DQMx)– 2 differential clocks (DQSx_N/DQSx_P)********************************************************************************What kind of criteria should I apply to swap bits(DQ) in the same byte?Can I prioritize pattern routing?Best regards,
Hi @Community member , Is there any common Linux image available for accelerating STM32MP1 based SoM, irrespective of eMMC (JEDEC Version 5.0/5.1 Complying) & DDR3 manufacturer.
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.