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,I am working on a custom board based on STM32MP157F and I am having some issues with USB and EHCI driver in U-Boot as well as with USB and OTG controller in U-Boot and TF-A.Once Linux is booted USB with EHCI driver works fine, but in u-boot it doesn't work properly.When EHCI is enabled in u-boot it will usually detect a connected USB drive at first, but while trying to access it, I randomly get the following timeout messages:“EHCI timed out on TD - token=0x80008d80�?It doesn’t seem to be a signal integrity issue though. In Linux it still works without setting any “phy-tuning�? parameter in the device tree. However, when using the OHCI driver in U-Boot it is possible to access the usb drives just fine.Another issue that might be related to this is that DFU with USB-OTG is not working properly on the device.The ROM code is able to load the TF-A image via USB-OTG and run it, but after that the USB-OTG connection stops working.The last message from TF-A is:“INFO: DFU U
Hi,we are using Stm32mp157a-dk1 board.We installed dfu-util tool in ubuntu. i didn't find any device (i.e,it shows no dfu capable USB device available). What may be the issue?Thanks in advance.
I found the following errors when I burned kernel alone and starterpackage. May I ask why this was caused? The kernel is through https://github.com/STMicroelectronics/meta-st-stm32mp/blob/dunfell/recipes-kernel/linux/linux-stm32mp/README.HO W_to.txt teaching burn, Starterpackage is delivered via STM32_Programmer_CLI -c port= USb1 -w Flashlayout_st - image - weston/trusted/FlashLayout_sdcard_stm32mp157c - dk2 - trusted. TSV
Hi,I am planning to build an OTA update system for STM32MP1 which I have been using in my development. My question here is that linux based changes can be catered as part of *.swu files in case of OpenSTLinux for A7 , but how do we pack updates for the M4 core alongwith *.swu files for STM32MP1.What if I have couple of other MCU connected via JTAG to MP1 and I want to provide them with OTA update , how will I manage this via Yocto ?Really appreciated all the inputs.
I need to provide 32kHz clock at MCO1 output pin on STM32MP157. I have successfully configured u-boot to provide this clock but as soon as kernel is started clock disappears. After some checks I have found that clock is disabled.My question is if it is possible to create device tree entry to force kernel to enable MCO1 output ?RegardsArkadiusz
Here the relevant parts of my device trees:******************TF-A*******************&pinctrl { rcc_pins_mx: rcc_mx-0 { pins { pinmux = <STM32_PINMUX('G', 2, AF1)>; /* RCC_MCO_2 */ bias-disable; drive-push-pull; slew-rate = <2>; }; }; &rcc { st,hsi-cal; st,cal-sec = <60>; st,clksrc = < CLK_MPU_PLL1P CLK_AXI_PLL2P CLK_MCU_PLL3P CLK_PLL12_HSE CLK_PLL3_HSE CLK_PLL4_HSE CLK_RTC_LSI CLK_MCO1_DISABLED CLK_MCO2_HSE >; st,clkdiv = < 1 /*MPU*/ 0 /*AXI*/ 0 /*MCU*/ 1 /*APB1*/ 1 /*APB2*/ 1 /*APB3*/ 1 /*APB4*/ 2 /*APB5*/ 0 /*RTC*/ 0 /*MCO1*/ 0 /*MCO2*/ >; }; &rcc{ pinctrl-names = "default"; pinctrl-0 = <&rcc_pins_mx>; status = "okay"; secure-status = "okay"; };******************UBoot*****************#ifndef CONFIG_TFABOOT &rcc { u-boot,dm-pre-reloc; st,clksrc = < CLK_MPU_PLL1P CLK_AXI_PLL2P CLK_MCU_PLL3P CLK_PLL12_HS
Hi everyone, I'm stucked into generating a stm32mp1 image with weston support. I 've followed the ST WIKI trying to generate the image, I made sure to have any depedencies installed and tried to rebuild twice the overall image starting from a fresh directory but without any luck. I also tried to generate the st-image-core image resulting with the same issue.I'm stucked into the last task called st-image-resize-initrdst-image-resize-initrd-1.0-r0 do_rootfs: The postinstall intercept hook 'update_mime_database' failed, details in /yocto/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-resize-initrd/1.0-r0/temp/log.do_rootfs ERROR: Logfile of failure stored in: /yocto/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-resize-initrd/1.0-r0/temp/log.do_rootfs.21295 ERROR: Task (/yocto/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-op
hi,i would like to know if there is an API for configuring, starting and stopping the timers (TIM1, TIM2, etc.) i'm interested in setting up a timer as a PWM device. i've come across documentation that talks about functions that can be used to set up a timer as a PWM device (e.g., pwm_apply_state, pwm_config, pwm_enable, etc.) but i can't find any documentation that describes these functions, the name of the library they are in or the header file to include. no can i find examples on how to use the API. i found examples on adding nodes to a device tree and how to use the sysfs interface. but, i would prefer to use a library if it exists.thank you,vincent j. buonassisi
Hi ,How we use the CRC unit on Linux in STM32MP1.My target is to use the CRC engine for verification of data at application layer.The link here mentions info about the crypto unit : Crypto API overview - stm32mpuBut in reference no module talks about CRC also OpenSSL does not support CRC.So how it can be used?TIA
Hi ,We are using stm32mp157a processor in our custom board.We want to configure Spi1 to Ethernet Switch(ksz9893rnxia) (Note : we have 2 slaves for Spi1 at Uboot level(Source code ver 2018.11). I have done Pin control and node creations in dts files.1) we are using spi_setup_slave(unsigned int bus, unsigned int cs,unsigned int max_hz, unsigned int mode) (In my case we gave parameters as follows spi_setup_slave(1,0,1000,0) for slave setup but We are getting 0 as return value.We confused about bus,cs,max_hz,mode parameters in spi_setup_slave() function.path for spi_setup_slave Function :"https://elixir.bootlin.com/u-boot/v2018.11/source/drivers/spi/spi-uclass.c#L103".2.if we have more than 1 slave how do we differentiate the cs numbers for spi.3.which driver function is used for spi transmitting and receiving data.Our spi related dts as follows. board_level dts:&spi1 { pinctrl-names = "default", "sleep";  
sound { compatible = "audio-graph-card"; label = "STM32MP15-DK"; /* Sound card identified as STM32MP15DK in ALSA */ routing = "Playback" , "MCLK", "Capture" , "MCLK", "MICL" , "Mic Bias"; dais = <&sai2a_port &sai2b_port &i2s2_port>; status = "okay"; };Hi!! Is this correct. Can you please help me to understanding what does the source and sink means in this. How to make a routing.
Hello,I connected USB CN7 of STM32MP157A-DK1 to a PC with MS Windows.Sadly, the PC failed to find an RNDIS driver with:USB\VID_1D6B&PID_0104&MI_00\6&1164AF84&0&0000I tried to search for a driver, but I could not find any good.Both Windows XP and Windows 7 showed this.Where can I get a driver or an .inf for that?Thank you very much for your time.Sincerely.
I would like to configure USB_OTG_HS port as Virtual COM Port(VCP) on stm32mp157f-DK2 board. The board is running STLinux and the host is windows 10. I can see the debug usb port as COM6 on my windows-10 device manager - that works fine. I would like the USB_OTG port work similar as the debug port. Please any help will be appreciated.
We're working with the STM32MP157C SoC, and we're trying to troubleshoot the performance of a custom graphical application, using OpenEGL.It looks like Apitrace might be useful for this task, but I believe a copy is needed to run on the STM32MP157C, itself, in-order to generate the trace (which could then be read by Apitrace on another system). But, I'm under the impression that a special version is needed to be able to work with the GCNano GPU, and I have not been able to find it in Bitbake.Does anybody have experience with this, or know how to use Apitrace for making traces of OpenEGL applications running on the STM32MP157 family of SoCs?Thank you!
HiI try to implement lan9303 switch with stm32mp1.My current achievement is working only one channelMy working dts is&ethernet0{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&eth1_pins_mx>; pinctrl-1 = <&eth1_sleep_pins_mx>; status = "okay"; phy-mode = "rmii"; max-speed = <100>; phy-handle = <&switch>; nvmem-cells = <&ethernet_mac_address>; nvmem-cell-names = "mac-address"; st,eth-ref-clk-sel; clock-names = "stmmaceth", "eth-ck", "mac-clk-tx", "mac-clk-rx", "ethstp"; clocks = <&rcc ETHMAC>, <&rcc ETHCK_K>, <&rcc ETHTX>, <&rcc ETHRX>, <&rcc ETHSTP>; mdio0 { #address-cells = <1>; #size-cells = <0>; compatible = "snps,dwmac-mdio"; switch: switch-phy@0 { compatible = "ethernet-phy-id0007.C0D1","ethernet-phy-ieee802.3-c22"; /*compatible = "smsc,lan9303-mdio";*/ reg = <0>; clocks = <&rcc ETHCK_K>; clock-
Hi, I have been working with the stm32mp157d-dk1, and im trying to keep a circuit on, waiting to a digital signal output produced by a script, but when i put the board on sleep mode, the signal automatically power off because the gpio module turns off too. Is there any way to know, natively, if the system still running, although it is sleep mode?
Hi,i currently trying to interact via shellscript and stm32cubeprog cli with my stm32mp157 board.I can run and load tfa and than uboot. But when i want to read otp, my operations get stuck.What is the correct call for this?In my Script is use the following :.../STM32_Programmer_CLI --connect port=usb1 -tm 20000 serial --verbosity 1 -tm 5000 --write ./tfa_und_uboot_slow.tsv --go 0x03 -otp displThis is my TSV:#Opt Id Name Type IP Offset Binary- 0x01 fsbl1-boot Binary none 0x0 ./tf-a-slow-usb.stm32- 0x03 ssbl-boot Binary none 0x0 ./uboot-slow-usb.stm32${PROGRAMMER_BINARY} --write ./tfa_und_uboot_slow.tsv --go 0x03 -otp displThis is the output: ------------------------------------------------------------------- STM32CubeProgrammer v2.8.0 -------------------------------------------------------------------Warning: Timeout is forc
Hello,I read the STM32MP boot process in this link.And it is a generic Embedded Linux boot process (ROM, SPL, Uboot, Kernel).But, when I read further about STM32MP I figured out that U-boot UEFI commands are enabled, and there is support for PXE network boot which is supported from UEFI environment which is in this case executed from U-boot. Also I found a GPT support on flash memories (eMMC, ..).I'm asking is there a documentation about UEFI on STM32MP ? Like:Is it optional ? (Can it be disabled ?)Is there support for EDK and UEFI application development ?Is UEFI boot process documented ?Thanks,Talel
I am Korean and a developer with less than a year of experience. Please understand the immaturity of inquiring in the official English language. I am using STM32MP157C-EV1 board. The board has the following settings according to the blog link I referenced. The blog link address is : " http://www.emsyslabs.com/how-to-compile-linux-using-yocto-for-stm32mp1/ ". As you can see, the settings are as follows.STM32MP157C-EV1*Linux Image : OpenSTLinux -> st-example-image-qt*DISTRO=openstlinux-eglfs MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.shAs you see the anothe address link : https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_distribution"Image : st-example-image-qt is ST example of image based on QT framework "That's right. I'm doing some development to test a Qt example on that STM32MP157C-EV1 Board. Luckily, referring to the blog link, I was able to test the qt example for the target board, including the toolchain." http://www.emsyslabs.com/how-to-compile-linux-using-yocto-for-
openstlinux-5.10-dunfell-mp1-21-07-21 I am building st-image-core image in a Ubuntu 20 container on Fedora 34.Any ideas? ERROR: u-boot-stm32mp-2020.10.r1-r0 do_packagedata: Can NOT get PRAUTO, exception No module named '_sysconfigdata' NOTE: recipe u-boot-stm32mp-2020.10.r1-r0: task do_packagedata: Failed ERROR: Logfile of failure stored in: /__w/meta-flutter/stm32mp15-dunfell/build-openstlinuxeglfs-stm32mp1-disco/tmp-glibc/work/stm32mp1_disco-ostl-linux-gnueabi/u-boot-stm32mp/2020.10.r1-r0/temp/log.do_packagedata.1303648 ERROR: Task (/__w/meta-flutter/stm32mp15-dunfell/layers/meta-st/meta-st-stm32mp/recipes-bsp/u-boot/u-boot-stm32mp_2020.10.bb:do_packagedata) failed with exit code '1'Searching the line 1 string indicates it may be related to a host contamination issue.I'm trying to get a CI validation job running for my meta-flutter layer.CI job: https://github.com/meta-flutter/meta-flutter/blob/jw/stm32mp15/.github/workflows/stm32mp
..
Hi all, I'm using STM32MP1 and stress it so to understand until the display resolution it can support. I'm using a demo board and the demo SW installed.How can I change the display resolution via shell? Thanks
Hi,We are using Stm32mp157a processor and uboot2018.11 version.We have QSPI interface to NOR flash. We want to write,Read and erase the Data in Qspi Memory(i.e,Nor flash).We want to boot the image from Nor flash,How can we do that ?Thanks in Advance.
Hi,We are using stm32mp157a processor and we are working on uboot-v2018.11 at Linux side. I have an idea on board-debug-uart_init().Path for board_debug_uart_init().Path :board/st/stm32mp1/board.cIn board-debug-uart_init() .We have only UART_TX information i.e They configured only UART_TX pin in board_debug_uart_init() function.I need to know where will we configure UART_RX pin. Refer the below link for uboot-v2018.11 source code Analysis.https://elixir.bootlin.com/u-boot/v2018.11/source
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.