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
According to different STM32MP1 documentation such as STM32MP1-Peripheral-USB_Host_interface_USBH or STM32MP1-Peripheral-USB-On-The-Go-Full-and-HighSpeed-interface presentation there is two USB phy, one dual port HS phy and one single port FS phy. In my understanding I should be able to enable 3 USB host port, two HS and one FS. I am using the STM32CubeMX tool but I am unable to enable such 3 ports. I am able to enable two HS port but I am unable to enable OTG port. If I disable one HS port I am able to enable OTG port. So it seems STM32CubeMX allows to enable only two ports at the same time. Is this an issue of STM32CubeMX or it's a real limitation of the chip ? Note, I have tried with different package with the same results Many thanks in advance for any help
I am facing this error when I update to Kirkstone, while this error does not exist on Dunfell.I get this error after I set my ethraddr manually.&ethernet0 { compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a"; reg = <0x5800a000 0x2000>; reg-names = "stmmaceth"; interrupts-extended = <&intc GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, <&intc GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, <&exti 70 1>; interrupt-names = "macirq", "eth_wake_irq", "stm32_pwr_wakeup"; clock-names = "stmmaceth", "eth-ck", "mac-clk-tx", "mac-clk-rx", "ethstp"; clocks = <&rcc ETHMAC>, <&rcc ETHCK_K>, <&rcc ETHTX>, <&rcc ETHRX>, <&rcc ETHSTP>; st,syscon = <&syscfg 0x4>; snps,mixed-burst; snps,pbl = <2>; snps,en-tx-lpi-clockgating; /* In case of U-Boot echo system release v3.1.0 */ st,eth-ref-clk-sel; snps,axi-config = <&stmmac_axi_config_0>; snps,tso; power-domains = <&pd_core>; sta
In my board,stpmic i2c were connected to PA11,PA12 of stm32mp157aaa3.Is it possible that mpu configure stmpic with I2C6?
Why is it a voltage divider as configuration for the USB2514B in STM32MP157 devkit?I can see in the data sheet that there are two bus configurations abilities.I2C EEPROMSMBusI don't know which one should be used. Let's look at the data sheet.This explains that the pins CFG_SEL[0] and CFG_SEL[1] needs to be low or high before the pin RESET_N goes low.And the reset can be done through the USB differential lines.I don't understand this construction. I know that I2C should have a pull-up resistor of 4.7 kOhm, but here we have a 100 kOhm on both GND and 3V3, which makes this a voltage divider. And the data sheet says that 10 kOhm should be the value for pull-up resistors.Question:What is the right configuration here if I want to connect my USB hub to my I2C1 ? I'm using I2C1 instead of I2C4 because the HDMI transmitter and PMIC are sharing the I2C4 bus. The reson is that I think this USB hub might use SMBus and PMIC must use I2C4 according to AN5031, so I2C1 must be unique for one
HiI got cups and hplip by adding IMAGE_INSTALL_append = "python3-distro cups ghostscript cups-filters hplip" in local.conf.but when I run hp-check, there are some errors about missing required dependencies : root@STM32MP1:~# hp-check /usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="? if 'getfacl' not in g and '' is not g and 'file' not in g: warning: python-dbus not installed. Saving output in log file: /home/root/hp-check.log HP Linux Imaging and Printing System (ver. 3.19.12) Dependency/Version Check Utility ver. 15.1 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Note: hp-check can be run in three modes: 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are
Hello, is there a possibility to apply TraceX to a ThreadX project using MP135? I could follow some tutorials and include the necessary TraceX functions, but I can't generate a .trx file. The option is simply not available in the CubeIDE. Would you have any suggestions? Best,J. Schneider
As the title describes, for my project which is based on an stm32mp151 embedded device, we are needing to import in Adobe XD generated .xd files into Qt design studio however, currently board packages only provide support up to v5.14.2. There may be considerable effort in getting more recent packages (Qt6).Is there a way to get qt bridge files imported into Qt 5.14.2? Or is this just flat-out not supported?If this isn't possible and we are forced into using more recent versions of Qt (Qt 6.7 etc.), how well supported is this currently in stm32mp151 mpu yocto builds?Looking for a way forward on this.Regards and thanks in advance.
I am using stm32mp157d from stm32mp1 dk1 to work on an embedded project. When I boot bare-metal from A7, I have no trouble to read and write to UART 4, however I run into a wall when I try to user UART 7 or USART3. The HAL library works for UART4, so I do not believe that the problem lies there.That been said, there seem to be a mismatch in the documents about the pins of USART3.In the document Discovery kits with increased-frequency 800 MHz STM32MP157 MPUs (UM2637) It is stated that USART3 is at CN2, physical pin 8 for TX and pin 10 for RX (9 used for ground) with their in-code name B10 and B12 respectively.In the document Datasheet - STM32MP157A/D under Table 8Alternate function AF0 to AF7, USART3_TX appears as PD8, PC10 , and PB10 USART3_RX appears as PD9, PC11, and PB11.So far, I have tried to start USART3 without init any GPIO, trying port b8, b10 , b11 ,c10, c11, D8, D9. I tried those ports in low and high freq.Please help me understand which ports do I need t
Hello,I'm testing a prototype board with STM32MP135FAE7 and MT41K256M16TW-107 DDR3L, using STM32DDRFW-UTIL firmware.DDR_Test_Random fails if memcpy (DDR -> DDR) is used inside this test (this is the only one test using memcpy) but not if I'm copying memory using plain C loop with pointers to volatile uint32_t or volatile uint64_t. Failure type seems pretty consistent: 4 consecutive bits (one, always the same nibble) are "moved" from one 16-bit word to the next one. As far as I know (but I'm not 100% sure) this particular PCB data traces are uniform and relatively short (~28 mm), though one detail that might be more unusual is that order of data bits between MPU and DDR is swapped to help with routing.I've used default memory settings from this example (DDR model is matching), I've tried also relaxed timings from CubeMX and lowering memory clock but this issue was persistent.Do you have any hints how to debug this issue and what could be possible cause?
Hello together,I'm currently reading out sensor with the M4 Chip and the connected ADCs. I'm using the STM32MP157F DK2 DevBoard - The minimum requirement is to read out 3 sensors (6 is optimum) at 20 kHz each. I though of using the M4 to read out the values and then give them to the A7 chip. For that I tried the logicanalyzer example at : https://github.com/STMicroelectronics/logicanalyser. I cant get it to work after following all instructions carefully (error on a firmware.bb write and sometimes even when downloading).My next move was to use the M4 and use 2 timers. One timer with an interrupt that reads out all the ADCs, writing the values to the first half of SRAM3, which I saw was accessible from both processors. The A7 is then reading out the values written to the other half of the SRAM3 while the M4 is keeping writing values to the other half. This is switching back and forth using the other timer with interrupt and a flag. However I haven't got this approach to scale yet.
I have a python script. Do I want to launch it when the platform starts or by touching the screen?how to create a custom desktop shortcut on stm32mp157-dk2?
tpy to use Pandas on STM32mp157F-DK2.very simple example - Python.df = pd.DataFrame(np.random.randn(6, 4), index=dates, columns=list("ABCD"))print(df) I get an error File "pandas/_libs/internals.pyx", line 717, in pandas._libs.internals.BlockManager._rebuild_blknos_and_blklocsValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long long' Problem with panda or build?I added several packages to the image. IMAGE_INSTALL:append = "\ packagegroup-core-buildessential \ python3-scipy \ python3-pip \ python3-matplotlib \ python3-pandas \ networkmanager \ "
I'm attempting to run an OP-TEE Trusted Application on the STM32MP157F-DK2 running OpenST Linux version stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21. I've followed the guides here and here, but both end up producing the following error when attempting to run the application:TEEC_Opensession failed with code 0xffff0008 origin 0x3What could be causing this problem? I'm running a fresh install of OpenST Linux and haven't made any modifications to the system other than those required to get the example running.
I am reaching out regarding an issue we've encountered while attempting to flash our Buildroot image using the STM32CubeProgrammer in DFU mode.Despite successfully building the image with Buildroot, we are encountering difficulties when attempting to flash it. Specifically, the STM32CubeProgrammer fails to recognize the image properly, displaying incorrect file size information, and subsequently failing after some time.We have thoroughly reviewed our build process and ensured that the image generated by Buildroot is valid. However, the problem persists when attempting to flash it via the STM32CubeProgrammer.we would greatly appreciate any insights or suggestions you might have to help us resolve this issue.
HI.Recently I purchased a stm32mp157-dk1. I am going to learn to use uboot. I know that Uboot startup is divided into several parts. The second part is SPL, and then SPL will boot uboot, and uboot will continue to boot the Linux kernel.I have read the STM32MP157 documentation and it says that STM32MP157 does not support SPL. Is this true? Is the SPL boot option never available or is it optional?
Hi!I notice something!In the devkit of STM32MP15xxxx, I found that ETH_TX_EN is used for GMII, but when I check the CubeMX, I found that RGMII is used instead. This is the settings for RGMII. In the devkit schematics, it is ETH1_TX_EN, not ETH1_TX_CTL.RGMII can only be selected as a mode. This is the timing diagram for GMII and RGMII. The difference is that GMII has ETH_RX_ER and RGMII does not. And also ETH_TX_CTL is used in RGMII and in ETH_TX_EN is used in GMII. Question: Can it be that STM32MP15xxxx devkit schematic is using ETH_TX_EN as label for ETH_TX_CTL for RGMII? Also, there should be no pull-up resistor on ETH_MDC! Only ETH_MDIO.
I have build a board of STM32MP151AAC3 processor. It has almost everything, except audio output and DSI Display. STM32MP151 series does not support DSI.Anyway! I used the included Design Rules from that CAD file .The Design Rules are narrow and tight, so not even JLCPCB can produce this board. Question:Which manufacturer can produce this board if the design rules looks like this?This is an open source project, so I will upload this on GitHub later.
I'm attempting to debug an STM32MP157 using STM Cube IDE on Windows, but I've encountered an issue with a parameter, and I'm unsure of its origin. Could you provide assistance with this matter?
IOC UI is changed this UI.I want to use another UI.Could you help me? plz
We need to store some of our application data in BKPSRAM block so we can persist it during power down. Here is the code that we created to write to the BKPSRAM block, could you please help me to define what is wrong. Thanks.#include <sys/mman.h>#include <fcntl.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <stdint.h>#include <sys/stat.h>#include <string.h>#define PAGE_SIZE 4096typedef struct __attribute__((packed)) { uint32_t value1; uint32_t value2; char str[24];} MyStruct;int main() { int fd; uint32_t *mapped_memory; // Open /dev/mem fd = open("/dev/mem", O_RDWR | O_SYNC); if (fd == -1) {
Hello. Every one.I've been designing using STM32MP151 series.Now, i just have changed the package from STM32MP151CAB3(0.8pitch) to STM32MP151CAD3(0.5pitch).And then, the current is consumed more than 0.4W.of course, the power pin count is fewer than 151CAB3.So, I added more capacitors with big capacitance.Do you have any experiences as for this?please, reply me.Thank you.Regards.
Hello,I have been running Ubuntu on the STM32MP157F-DK2, guided by the following resources:https://prog.world/stm32mp1-running-ubuntu-22-04gpu-and-wayland-graphics-server/https://github.com/cvetaevvitaliy/stm32mp1-ubuntu Previously, I successfully used the following configurations:U-Boot: v2020.10-stm32mp-r2.2TF-A: v2.8-stm32mp-r1.1Linux Kernel: v2020.10-stm32mp-r2.2Ubuntu RootFS: ubuntu-22.04-base-stm32mp1-armhf-16-05-2022.tar.gzHowever, I am encountering issues with the latest setup:U-Boot: v2022.10-stm32mp-r1TF-A: v2.8-stm32mp-r1.1Linux Kernel: v6.1-stm32mp-r1Ubuntu RootFS: ubuntu-22.04-base-stm32mp1-armhf-16-05-2022.tar.gzThe main change I made was replacing stm32mp15_trusted_defconfig with stm32mp15_defconfig when building U-Boot.Could anyone provide any insights or suggestions to troubleshoot this issue?Thank you!
Hi!I have made a simple computer with STM32MP151AAC3 processor.I have modify so I can boot either from UART4 or eMMC. My question is:When I want to flash OpenSTLinux onto the eMMC, can that be done via ST-Link and STM32CubeIDE? Just like regular STM32 programming via STM32CubeIDE?If yes: Is there any manual how to flash the eMMC with OpenSTLinux via UART4 so my processor can boot from eMMC? I have attached the schematic. Just tell me if I'm missing something. I have included:LSEHSEBoot (Only BOOT1 can be set HIGH. BOOT0 and BOOT2 is default pull-down)RESETExternal ST-Link debug via 1.27 x 2 connector (I assuming that a Nucleo STM32 can be used as ST-Link programmer)HDMIDDReMMCUSBH USB OTGGigabit EthernetPMIC with 3.5 mm DC plug connector
I am using Yocto build for stm32mp157f. I am following oe-manifest/default.xml at kirkstone · STMicroelectronics/oe-manifest (github.com).I am able to generate a build, however, I would like to generate tf-a-stm32mp157f-dk2-trusted.stm32 and u-boot-stm32mp157f-dk2-trusted.stm32 which is not getting generated during the build.The contents of final build are shown below:tmp-glibc/work/stm32mp15_disco-ostl-linux-gnueabi/tf-a-stm32mp/v2.6-stm32mp-r2.1-r0/deploy-tf-a-stm32mp ├── arm-trusted-firmware │ ├── debug │ │ ├── debug-tf-a-stm32mp157f-dk2-sdcard.stm32 │ │ ├── debug-tf-a-stm32mp157f-dk2-uart.stm32 │ │ ├── debug-tf-a-stm32mp157f-dk2-usb.stm32 │ │ ├── tf-a-bl2-sdcard.elf │ │ ├── tf-a-bl2-uart.elf │ │ └── tf-a-bl2-usb.elf │ ├── fwconfig │ │ └── stm32mp157f-dk2-fw-config-optee.dtb │ ├── metadata.bin │ ├── tf-a-stm32mp157f-dk2-sdcard.stm32 │ ├── tf-a-stm32mp157f-dk2-uart.stm32 │ └── tf-a-stm32mp157f-dk2-usb.stm32 └── fip └── fip-stm32mp157f-dk2-optee.binI would like to know
An urgent problem occurred in stm32mp157. I used ksz9031 network chip, but it could not be used. The LOG is as follows,[ 18.996823] Micrel KSZ9031 Gigabit PHY stmmac-0:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) Starting Wait for Network to be Configured...[ 19.122107] stm32-dwmac 5800a000.ethernet: Failed to reset the dma[ 19.127072] stm32-dwmac 5800a000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed[ 19.135979] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Hw setup failedI can't solve this problem
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.