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
Hello, I hope you are doing well. I have developed a custom PCB with the STM32MP153AAB microprocessor. The process followed almost all the steps in the wiki for the STM32MP157F-DK2 discovery kit, however, some pins had to change due to the custom design and the fact that the 153 family has less available pins. We have modified the devicetree for the TFA, U-BOOT and KERNEL but the process stops in the TFA when it tries to start the SDRAM with the following output: We are using the STPMIC1APQR in order to provide all the tension levels for the MPU, RAM and other peripherals (similar to the STM32MP157F-DK2). The following images show the schematics for our own custom STPMIC1APQR design: We measured the voltage levels, and it shows that the buck2 is not providing any voltage, the same happens for all the LDOs that source the power supply for the RAM. Reading the STPMIC1APQR datasheet, we observed that the voltage levels are the d
We had a custom board with STM32MP135F series MPU on it, we just rolled out a new revision because we didn't connected PDR pin and it wasnt able to start after reset. But everything was booting correctly and all systems were working. Now in our new revision, we just fixed the PDR and added the emmc but when I try to boot with all debug and log levels maxed, I get this error on my console and nothing else; PANIC at PC : 0x2ffee107 Exception mode=0x00000016 at: 0x2ffee107 I'm not sure this is TF-A output because all debug logging is allowed. It seems like its panicking at the end of SYSRAMI suspected my clock settings but the parts has not been changed, its the same crystal and same device tree settings should work.Also I'm able to boot with UART/USB mode and connect to device with UART (USB also doesnt work in this mode somehow), I can even load DDR utility binary with STM32Programmer CLI, but after the code downloads to target I loose conn
Hello all,I was trying to build Linux kernel and push into my STM32MP135F-DK. For this, I was following the steps below link (Modify, rebuild and reload the Linux® kernel):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_kernelNothing seemed wrong to me until "5.4. Reboot the board" step. After I rebooted the board, only the ST logo appears for a while, then it disappears and a black screen appears for a few seconds, then the ST logo appears again. This loop continues constantly and never switches to other screens (Linux splash screen, Weston desktop, GTK demo launcher).I have no idea why I experienced such a thing since everything seemed correct until the reboot step. I wondered if I had pushed the wrong device tree in the "5.2. Push the device tree into the board" step in the link above (since I was using STM32MP135F-DK, I pushed the stm32mp135f-dk.dtb one). But I am not su
We have set PB7 and PE15 for I2c4 communication for PMIC in op-tee stm32mp135f-dk.dts.but we keep getting pmic error like this -I/TC: Embedded DTB foundI/TC: OP-TEE version: Unknown_3.19 (gcc version 12.2.0 (GCC)) #23 Mon Jan 8 10:50:26 UTC 2024 armI/TC: WARNING: This OP-TEE configuration might be insecure!I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.htmlI/TC: Primary CPU initializingI/TC: WARNING: All debug access are allowedE/TC:0 0 Panic at core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pmic.c:183 <initialize_pmic_i2c>E/TC:0 0 TEE load address @ 0xde000000E/TC:0 0 Call stack:E/TC:0 0 0xde0030f9E/TC:0 0 0xde0193a7E/TC:0 0 0xde006735E/TC:0 0 0xde017fb9E/TC:0 0 0xde018089E/TC:0 0 0xde018773E/TC:0 0 0xde01a095E/TC:0 0 0xde002fbbE/TC:0 0 0xde00019c
Hi, We are in a new project (first time with embedded Linux and device tree's in general) and i want to config my device (STM32MP151CAA3 on a custom board) to boot from FMC NAND flash (MT29F8G08ABACAH4-IT:) and i am having some trouble with the device tree configuration. i am following the guidelines from the ST wiki regarding this: https://wiki.st.com/stm32mpu/wiki/FMC_device_tree_configuration. The base settings i understand and the wiki refers to the following boot configuration settings (which refer to ONFI settings again) https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ROM_code_overview#Flash_memory_boot From here i don't understand how to add the ONFI data to the ROM code, do i need to add these settings in the device tree somewhere or are these settings uploaded via CubeProgrammer. I also don't know if i need to add the necessary partitions on the NAND flash to the device tree or not. The 'STM32 MPU ROM code ' page refers to the MPU flash mapping page which explains the n
Hi! According to the instructions on page https://wiki.st.com/stm32mpu/wiki/How_to_perform_Secure_Boot_from_Distribution_package#Creating_signature_key_for_STM32MP15x_lines1.) Problem at 5.1 STM32MP> load mmc 1:8 0xc0000000 publicKeysHashHashes.bin 32 bytes read in 9 ms (2.9 KiB/s) STM32MP> stm32key fuse 0xc0000000 PKHTH OTP 24: 00000000 lock : 10000000 PKHTH OTP 25: 00000000 lock : 10000000 PKHTH OTP 26: 00000000 lock : 10000000 PKHTH OTP 27: 00000000 lock : 10000000 PKHTH OTP 28: 00000000 lock : 10000000 PKHTH OTP 29: 00000000 lock : 10000000 PKHTH OTP 30: 00000000 lock : 10000000 PKHTH OTP 31: 00000000 lock : 10000000 PKHTH is not locked! PKHTH is free! Writing PKHTH with PKHTH OTP 24: [c0000000] ba7dda6a PKHTH OTP 25: [c0000004] 3fcc0388 PKHTH OTP 26: [c0000008] e41a498b PKHTH OTP 27: [c000000c] ea3dcd70 PKHTH OTP 28: [c0000010] e51b284c PKHTH OTP 29: [c0000014] 25a7369c PKHTH OTP 30: [c0000018] ca014ca6 PKHTH OTP 31: [c000001c] 1a69811e Warning: Programming fu
I follow X-LINUX-AWS Expansion Package guide. Now 6.2 MQTT subscribe and publish testbut what use ca.pem file?I use Board $> cat /opt/greengrass/v2/work/aws.greengrass.clientdevices.Auth/ca.pemGG_CORE_IP=192.168.7.1PC cmd)mosquitto_sub \-h ${GG_CORE_IP} \-p 8883 \--cert device-client-1-certs/device.pem.crt \--key device-client-1-certs/private.pem.key \--cafile ca.pem \-t "+/hello/world" \-u ClientDevice1 \-i ClientDevice1Error: A TLS error occurred. but error occurred.thanks, reply.
Hi MP2 Champ ! Is there a table that summarizes the power consumption data of STM32MP25 series by use case?I can find data for MP1 series, but I can't find simple data for MP2 series except datasheet. Thanks.Best Regards, Jack
Hi, I recently got this board and learning about it. My demo application will be for Cortex-A7 core with linux.I need to make application which takes input from user say I have Menu with 5 choices and user can provide the choice number. How can I configure this? I am looking for any examples if available. Do I need to configure any pins and re-build the kernel?Any help will be appreciated, Thank you.
I create new STM32 project for STM32MP131AAG3 with baremetal. An error occurs when build the project.../../Drivers/CMSIS/Device/ST/STM32MP13xx/Include/stm32mp131axx_ca7.h:166:4: error: redeclaration of enumerator 'RESERVED_111' I fixed the enumerator name to RESERVED_112 by myself to build.RESERVED_111 = 111, /*!< reserved */RESERVED_112 = 112, /*!< reserved */ Is there a plan to apply this bug fix to the STM32CubeMP13 codebase?
Hi,we've upgraded our build from 5.15 to 6.1 and now the OS does not get the mac address set in uboot environment through a script. If i check the environment i can correctly see the ethaddr set via printenv. Is there something i can do in kernel config or ethernet driver?
Unable to get STM32 DDR PMU clockstm32-display 5a001000.display-controller: stm_drm_platform_probestm32-display 5a001000.display-controller: drv_load:-517debugfs: Directory 'cpu0' with parent 'opp' already present!remoteproc remoteproc0: releasing m4Unable to get STM32 DDR PMU clockstm32-mdma 58000000.dma: STM32 MDMA driver registeredstm32-dma 48000000.dma: STM32 DMA driver registeredstm32-dma 48001000.dma: STM32 DMA driver registeredreg11: supplied by vddreg18: supplied by vddusb33: supplied by regulator-dummystm32-display-dsi 5a000000.dsi: platform_set_drvdatapanel-ilitek-ili9881d 5a000000.dsi.0: cannot get reset GPIO: -517stm32-display 5a001000.display-controller: stm_drm_platform_probestm32-display 5a001000.display-controller: drv_load:-517stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfullydebugfs: Directory 'cpu0' with parent 'opp' already present!stm32-crc32 58009000.crc: Initializedstm32-hash 54002000.hash: will run requests pump with realtime priori
Hello,I am currently engaged in a project that involves using TrustZone to securely display an image on the STM32MP135F-DK. I'm facing several challenges, especially in configuring the framebuffer for secure display purposes:1. Running the 'hello_world' Example: I am experiencing issues with running the TrustZone 'hello_world' example from OP-TEE on the board. I tried to get the OP-TEE version that supports STM32MP1, compile OP-TEE, and copy the output OP-TEE trustzone's hello_world binary to the board. But it cannot be directly executed on the board.2. Triggering TrustZone: After installing the SDK for STM32MP135F-DK and recompiling the kernel and drivers as per the instructions from the wiki, I am unsure of how to proceed with testing the OP-TEE 'helloworld' example. Should I compile it within the SDK and then transfer the binary to the board?3. Secure Framebuffer Configuration: I noticed that the dts file for STM32MP135F-DK already defines a secure framebuffer. Does it provide inter
hi, is there any source code or document about STM32PRGFW_UTIL_MP13xx_CP_Serial_Boot.stm32
Hello,I would like to set up the PMIC for the MP13 series using Baremetal. The provided PMIC-related documentation appears to be related to Linux. Is there any documentation or example available for using it with Baremetal?Thank you.
Hi st team, I am using the STM32MP135f-DK board and I want to enable CANFD drivers. First I checked if the CAN drivers are enabled in menuconfig using: bitbake virtual/kernel -c menuconfig (everything has been selected) Then I went to ~/STM32MPU_workspace/STM32MP1-Ecosystem-v5.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work-shared/stm32mp1/kernel-source/arch/arm/boot and modified the files as follows: stm32mp13-pinctrl.dtsi (configured the pins PG1 (pin 16 CN8) for TX and PG3 (pin 18 CN8) for RX) fdcan2_pins_mx: fdcan2_mx-0 { pins1 { pinmux = <STM32_PINMUX('G', 1, AF9)>; /* FDCAN2_TX */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins2 { pinmux = <STM32_PINMUX('G', 3, AF9)>; /* FDCAN2_RX */ bias-disable; };};fdcan2_sleep_pins_mx: fdcan2_sleep_mx-0 { pins { pinmux = <STM32_PINMUX('G', 1, ANALOG)>, /* FDCAN2_TX */ <STM32_PINMUX('G', 3, ANALOG)>; /* FDCAN2_RX */ };}; tm32mp135f-dk.dts added: &m_can2{ pinctrl-names = "
I could not complete loading a board following the WiKi How to load U-Boot with dfu-util.The process describes sending the tf-a file then the fip file however this always fails the correct procedure is to send the tf-a file then send the flashlayout file then only send the fip file.Looking at the output of the stm32 programmer its clear the order must be tf-a then flashlayout then fip11:49:35 : Start Embedded Flashing service11:49:35 : Memory Programming ...11:49:35 : Opening and parsing file: tf-a-stm32mp157c-comb_ns_combo-mx-usb.stm3211:49:35 : File : tf-a-stm32mp157c-comb_ns_combo-mx-usb.stm3211:49:35 : Size : 220.31 KB11:49:35 : Partition ID : 0x0111:49:35 : Download in Progress:11:49:39 : File download complete11:49:39 : Time elapsed during download operation: 00:00:03.92611:49:39 : RUNNING Program ...11:49:39 : PartID: :0x0111:49:39 : Start operation done successfully at partition 0x0111:49:39 : Flashlayout Programming ...11:49:39 : Running Flashlayout Partition ...11:49:39
I am trying to interface DAC for the STM32 MP157D-DK1 board I have. I am just curious does the board even support DAC. I dont see any mention of that in the datasheet. That is the only option that I can select when I do DAC Enable for M4 Cube in cube programmer. In NVIC settings only option is EXTI line 9 interrupt available for me to select.
I'm having a challenge moving changes from our Developer Package to our Distribution package. We've modified device trees using CubeMX for our board and have all the changes for TF-A, optee, u-boot and the kernel working in the Developer Package. Now when I take those changes and port them into the distribution package and build with bitbake it is giving me the following error.Hit any key to stop autoboot: 1 NOTICE: CPU: STM32MP157CAC Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21 INFO: PMIC version = 0x21 INFO: Reset reason (0x15): INFO: Power-on Reset (rst_por) INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000INFO: FCONF: Reading firmware configuration information for: stm32mp_ioINFO: Using SDMMCINFO: Instance 1INFO: Boot used partition fsbl1NOTICE: BL2: v2.8-stm32mp1-r1.0(debug):devtool-patched-dirty(27df046a)NOTICE: BL2: Built : 15:15:46, Apr 30 2024INFO: BL2: Doing platform setupINFO: RAM: DDR
The processor in this application is an STM32MP153. I'm using a Cypress FX3 emulating SRAM so I can use a read path of FMC->MDMA->AXI memory-to-memory and vice versa for the write path. Two independent hardware interrupts on the STM32 GPIOs initiate the relevant transfers (MDMA initiation is via software only).My question relates to the variable data size inherent in the FX3 state machine. What is the advisable method to accommodate this in the STM32MP153?a) set up multiple stream definitions for the MDMA and use extra GPIOs to semaphore the buffer sizes between the processors?b) keep block transfers consistent and have the CPU analyse the result and then drop in a circular link list buffer for isochronous data transfers? (I'm not yet clear on whether the A7 CPUs will have the time to set this up before the full bandwidth data consumption is demanded).c) neither of the above - there's an alternative referred/recommended approach.Note that:1) A0 is the only address pin used to sem
Hello,I would like to make the system below using stm32mp157.- System Description -1. 100Mbps Full-Duplex Ethernet2. Cortex-A7 receives and transmits data from Ethernet on the PC. 3. Cortex-A7 calculates Ethernet data and sends the result to Cortex-M4.4. Cortex-M4 controls peripheral(SPI, I2C, UART, GPIO) using DMA and interrupt Can I implement a program like the above??I've usually used F4 series or L4 series, so I don't know about MPU lines.If the program is implementable, please let me know what I need to know.If the program cannot be implemented, please recommend MCU or method that can be implemented.
Hello everyone,I am an avid petalinux user. I know that STM32MP1 has had a big place in the market for many years. But I've never had to use it before. I want to use this in a project right now. And I'm a little confused about where to start. I have a few questions; 1) What exactly is openstLinux? Is it something like petalinux distribution? 2) Let's say I compile an stm32mp1 project with yocto. I couldn't find any information about how to import the resulting image files into cubeide? 3) Which of the dtb files created with cubemx should I use? 4) When I select cubeide and the mp1 family from the project opening and say "setup openstlinux", I get a manifest version error. How can I fix this? Thank you very much in advance. Kind regards
Hi STM32CubeProgrammer Community,I hope you are all fine and doing great. I am new to STM32CubeProgrammer and I am trying to install/download it in Linux. I am facing and issue which I have logged below. Please guide me on how I can fix this issue. I tried with different web browsers(chrome, firefox) to download it. but I am facing the same problem with (windows, and Linux).
Hello We are working on custom board with STM32MP157AAA3 Processor.In Uboot(V2023.10) we are writing 4MB of data using mw command it works fine,but while displaying the data using md command the board resets after displaying 80KB of data.I have tried with various memory locations of DDR3L,But every time i face the same issue. Hope You could suggest me where Iam going wrong. Thanks&RegardsSrikanth.R
Kernel version:5.4.31Unable to get STM32 DDR PMU clockstm32-display 5a001000.display-controller: stm_drm_platform_probestm32-display 5a001000.display-controller: drv_load:-517debugfs: Directory 'cpu0' with parent 'opp' already present!remoteproc remoteproc0: releasing m4Unable to get STM32 DDR PMU clockstm32-mdma 58000000.dma: STM32 MDMA driver registeredstm32-dma 48000000.dma: STM32 DMA driver registeredstm32-dma 48001000.dma: STM32 DMA driver registeredreg11: supplied by vddreg18: supplied by vddusb33: supplied by regulator-dummystm32-display-dsi 5a000000.dsi: platform_set_drvdatapanel-ilitek-ili9881d 5a000000.dsi.0: cannot get reset GPIO: -517stm32-display 5a001000.display-controller: stm_drm_platform_probestm32-display 5a001000.display-controller: drv_load:-517stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfullydebugfs: Directory 'cpu0' with parent 'opp' already present!stm32-crc32 58009000.crc: Initializedstm32-hash 54002000.hash: will run requests pump
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.