Get ready for the STM32 Summit 2026 | Online, November 3
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
Hi everyone.I have an already-designed PCB with an STM32MP157 on it. In order to communicate with an external device, I am using USART1. At the same time, I'm using an USB OTG port to connect my device to my PC.My problem is that USART1 is working with pins PA10 (AF7: USART1 RX), PA12 (AF7: USART1 DE) and PB6 (AF7: USART1 TX). It seems that PA10 is also set up as OTG HS pin:usbotg_hs_pins_a: usbotg_hs-0 { pins { pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */ }; };(in stm32mp157-pinctrl.dtsi).I am not sure at all but I think this pin is not referenced at any device tree file in the whole DTS. However, if I disable usb-otg device, USART1 starts working.But I don't want to do that.So after reading the usb-otg driver documentation I discovered the following parameter:dr_mode: shall be one of "host", "peripheral" and "otg"So I set up my otg as "peripheral" and now my usb otg works when I connect the external device to my USART1. But USART1 still not works.What
I am using STM32MP1 Device in our costume board . In my application I need 3 UARTS out of three UARTS only one is initialized in UBOOT and its working fine , Now i want to initialize the remaining UARTS , Send and receiving the data from remaining UARTS. For this what is procedure to add new UART drivers(We are using the stlinux for the application development).
Hello!I am having an issue installing the developer package SDK where the shell script is not found as well as an 'argument list too long' failure during setup.I am using Ubuntu WSL to execute the script and see the following:Any insight would be greatly appreciated!sudo ./stm32mp1-openstlinux-5.4-dunfell-mp1-20-11-12/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-11-12.sh -d /mnt/c/Users/aortw/Documents/STM32MP15-Ecosystem/Developer-Package/SDK ./stm32mp1-openstlinux-5.4-dunfell-mp1-20-11-12/sdk/st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-3.1-openstlinux-5.4-dunfell-mp1-20-11-12.sh: 29: gcc: not found ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 3.1-openstlinux-5.4-dunfell-mp1-20-11-12 ======================================================================================================================= The directory "/mnt/c/Users/aortw/Documents/STM32MP15-Ecosystem/Developer-Packag
Hello everyone,I've a question. If I'm not confused, STM32MP157F is dual CA7 core. Now, I'm coding a Linux application which I would like to parallelize. How can I do it? Is there any kind of directives such as OpenMP?Thanks,Oscar
Hi,I am trying to interface a rotary encoder to A7 on STM32MP1.I was able to get the CubeMx COnfiguration done and got the device tree file generated.Also looked into this document: https://wiki.st.com/stm32mpu/wiki/Interrupt_overview#pinctrl_irqchipHowever i could not understand simply how do i detect interrupt has happened and take decision over it? How are interrupt handler for this needs to be written?
Hi ST Teams!We've made a custom board with sdcard and mmc, all these device can be viewed from uboot/linux userspace. We are mainly using starter kit (v1.2) with modified tfa/uboot.For mmc programming, using Cube Programmer CLI(v2.5) we have only uart option available.I've got few questions about emmc:**What is the maximum baudrate we can have on UART boot in order to program emmc (921600)? We manage to begin to program at 115200 but it takes far too long time.At higher speed we have an error message stating:File download completeTime elapsed during download operation: 00:00:04.221RUNNING Program ... PartID: :0x01 Start operation done successfully at partition 0x01GETPHASE command not acknowledged!Reemission of GetPhase commandGETPHASE command not acknowledged!Reemission of GetPhase commandGETPHASE command not acknowledged!We tried to add "-tm 1000" option in command line but doesn't help.Any hints?**Does we have to erase it (emmc) before any update?i
These are log i got during download, any clueSTM32_Programmer_CLI -c port=usb1 -tm 20000 -w flashlayout_mp1som-image/FlashLayout_sdcard_mp1som-mystm32mp1-basic.tsv ------------------------------------------------------------------- STM32CubeProgrammer v2.5.0 -------------------------------------------------------------------USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000SN : 001F00213438510838333630FW version : 0x0110Device ID : 0x0500Device name : STM32MP1Device type : MPUDevice CPU : Cortex-A7Start Embedded Flashing
image download to sdcard with STM32MP157D-EV1Uploaded Image to SDCARD using VMWARE. However, it does not boot normally.Below is the log when downloading. lastly, "unable to reconnect" error occurs.------------------------------------------- log start -------------------------------------denniskim@denniskim-pc:~/STM32MPU_workspace/STM32MP15-Ecosystem-v3.0.0/Starter-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/images/stm32mp1$ STM32_Programmer_CLI -l usb ------------------------------------------------------------------- STM32CubeProgrammer v2.7.0 -------------------------------------------------------------------===== DFU Interface =====Total number of available STM32 device in DFU mode: 1 Device Index : USB1 USB Bus Number : 001 USB Address Number : 002 Product ID : DFU in HS Mode @Device ID /
Hi,The display is always on with the eval-board. I would like to know how to let it off.Kernel Version : openstlinux-5.10-dunfell-mp1-21-03-31Best Regards,Sun
Hi, According to this article, https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure , the devicetree files generated by STM32CubeMX are incomplete. We have created a CubeMX project for our stm32mp151c and made some modifications and generated device tree files. However, these device tree files can not be used to compile the tf-a and u-boot components with the developer package. Therefore, we have tried to follow the Lab-BringUpFromPartNumber (from the article above). However, the lab compares the bring up device trees with the mx DK2 board using the stm32mp157c. In our case, there is no board with the stm32mp151c, which means that we can't generate default device trees to compare and merge the missing nodes to our device trees. Is it possible to compare and merge our device trees (that are created for stm32mp151c) with the default device trees for the DK2 board with stm32mp157c exactly as Lab-BringUpFromPartNumber describes? If not, how should we know exactly what to add
I'm trying to rebuild the kernel as described on the wiki page. When I run make, the wiki shows unexplained choices that eventually result in an error. Is there a possible problem?(unexpected) following choices appearBest Regards
We are using Stm32mp157A .We Want to generate Interupts in Core0.For this we are using System timer Generator .We enable STGN and loaded Frequency value(STGN_CNTFID0),STGENC_CNTCV is increamenting . But we are not getting interrupts.We configure GIC registers Also.Please help in this regards.
Hi,A few weeks ago, I created a STM32CubeIDE project for STM32MP157F-DK2 where wrote my CM4 firmware. Everything went well. However, today I decided to make little changes in the code and now there are strange errors when building. IT IS NOT POSSIBLE, I HAVEN'T CHANGED ANYTHING RELATED TO THE NEW ERRORS!In file included from ../Core/Src/main.c:15: ../../Drivers/CMSIS/Include/core_cm4.h:105:8: error: #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" 105 | #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" | ^~~~~ In file included from ../Core/Src/main.c:15: ../../Drivers/CMSIS/Include/core_cm4.h:1688:39: error: unknown type name 'IRQn_Type'; did you mean 'ITM_Type'? 1688 | __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) | ^~~~~~~~~ | ITM_Type ../../Drivers/CMSIS/Include/core_cm4.h:1705:46: error: unknown type name 'IRQn_Type'; did you mean 'ITM_Type'? 1705 | __STATIC_INLINE uint32_t __NV
Hi everyone,I'm using STM32MP157F MPU and I'd like to set the "autosuspend" parameter. It's allocated in /sys/module/usbcore/parameters/autosuspend and its default value is 2. When I modify its value to 0 and press the reset button, it becomes 2 again. I'm following this post https://unix.stackexchange.com/questions/91027/how-to-disable-usb-autosuspend-on-kernel-3-7-10-or-above where users say to use grub, however that tool isn't available in OpenSTLinux.Any ideas about how to keep "autosuspend" parameter modified after rebooting?Thank you, Oscar
Pkg-Config is not supported by STM-IDE ,and cannot be installed. This tool really speeds up the library selection process. Perhaps somebody know any alternatives that STM-IDE does support?URL:https://marketplace.eclipse.org/content/pkg-config-support-eclipse-cdtArnas
Hi everyone,I'm not sure if the following questions depends on OpenSTLinux - drivers for example - or STM32MP1 hardware.I have the STM32MP157F MPU and I would like to integrate Bluetooth 5.0 . My main idea was to connect a Bluetooth 5.0 dongle into my MPU, but a question crossed my mind: Does any dongle work for STM32MP157F or should it have any specific feature? Until now, I had found this kind of dongles <link>, will it work?Besides, I would like to integrate another dongle, in this case a SD card dongle - as I would like to have the main SD mounted with OpenSTLinux, which occupies the SDMMC port, and a secondary SD card exclusively dedicated to storage. I have the same question, does any dongle work? This time, I had found this one <link>.I don't know if incorporating dongles is the best option to solve my problem, anyway I am open-minded to new ideas ;)Thank you,Oscar
When I don't use the .flags, i see the mode created, but my display doesn't work. I changed the ltdc register (GCR) manually to set DE and it works. When i add the .flags, no mode is created (i checked with modetest -M stm). Since i understood that this is part of a ST patch, can you please check the behaviour?Thanks
Hello,I'm searching for a yocto package which is using the USB DFU protocol in connection to a stm32 microntroller to do a fimrware update. Is there something around? Wasn't successfull on my search so far.BRNico
I am looking for STM32MP157A-DK1 and STM32MP157A-DK2 Why thouse boards is not recommended for new design? Which developer board you can recommend?@PatrickF @Community member @SEam72
I am running Eclipse IDE for C/C++ Version 2021-06. I am using multiple stm32mp157x-DK2, When they are running kernel 5.4.x I have no problems connecting to them form Eclipse IDE via ssh, if I update them to 5.10.10, suddenly I get "Algorithm negotiation fail". If I revert the kernel back to 5.4.x, everything works fine again.If i just try to ssh from linux host terminal i have no issues, but the Eclipse IDE seems to have this problem occurring with new 5.10.10 ST kernel. Has anybody have encountered similar problem? Any ides how to solve it?
Hello,we want to bring up our own board with STM32MP and ethernet phy LAN8720 (10/100 Mbps).Seems that kernel is recognizing ethernet phy on boot up and configure it with 100 Mbps Full Duplex.[ 2.907461] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found [ 2.912172] stm32-dwmac 5800a000.ethernet: PTP uses main clock [ 2.917902] stm32-dwmac 5800a000.ethernet: no reset control found [ 2.923940] stm32-dwmac 5800a000.ethernet: No phy clock provided... [ 2.930837] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42 [ 2.937162] stm32-dwmac 5800a000.ethernet: DWMAC4/5 [ 2.942051] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported [ 2.949371] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported [ 2.956661] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported [ 2.963500] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported [ 2.969774] stm32-dwmac 5800a000.ethernet: TSO supported [ 2.975050] stm32-dwmac 5800a000.ethernet: Enable RX Mitig
If I want to fully erase eval board STM32MP15F and then re-populate it back to its original out-of-the-box state. Is it enough to upload the flash layout from:en.FLASH-stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31.tar_v3.0\stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31\images\stm32mp1\flashlayout_st-image-weston\trustedand reboot the board? Or are there any other steps I should follow?Best regards, Arnas
I am trying to have firmware_m4_X running on M4 core, and fimware_A7_Linux, runnin on Linux and them intercommunicating via RPMSx. If I upload them separately they work fine but after board reboot I want these two images to be started automatically. The M4-firmware remote file "rproc-axujenas1-fw":Board << cd /lib/firmwareBoard >> lsBoard >> LICENCE.cypress_bcm4343 brcm regulatory.db regulatory.db.p7s rproc-axujenas1-fwPC >> cd ../linux-5.10.10/arch/arm/boot/dtsPC >> cat *f-dk2-m4-examples.dts //--//&pinctrl { m4_leds_orange_pins: m4-leds-orange-0 { pins { pinmux = <STM32_PINMUX('H', 7, RSVD)>; }; }; m4_pwm1_pins_a_ch1: m4-pwm1-0-ch1 { pins { pinmux = <STM32_PINMUX('E', 9, RSVD)>; }; };};&timers1 { status = "disabled";};&axujenas1 --my made adjustment { compatible = "st,stm32mp1-rproc"; st,auto-boot = <1>; status = "okay"; };I have named remoteproc node called : "axujenas1", so i
We are generated a code from the Cube MX and written the application its working fine in debug mode through JTAG. But we want to put it into the Sd card . For this what is the procedure and how to enable the cortex M4 controller form A7.
System windows STM32MP157F-DK2 board. The binary I can load and the device connects but it throws the above error. I can find nowhere to set any path in the software.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.