Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
I have a new STM32MP157C-DK2, it stops (hangs) very often.Especially when I run a demo.The 3D GPU demo runs no longer than 30 seconds.The Video playback doesn't finish mostly and then the system crashes again.Is this a known problem. Are there updates needed?I have used several power sources and cables, but no luck.Any ideas how to solve this, or do I need to have it replaced?
I'm currently working with the Seed STM32MP1 SoM which has STPMIC1 attached to I2C2. I've been working on setting up a device tree for it, but I've been hitting some bugs. When booting the mainline ATF with my device tree (modified DK2 board, just with the PMIC on I2C2) it worked fine, but I wanted to use UART and the cube programmer so I did the same with the ST v2.2-stm32mp-r1 ATF branch. I hit this error:PANIC at PC : 0x2ffdd907 Exception mode=0x00000016 at: 0x0000d8c3I narrowed the issue down to a commit which disables clocks based on the boot mode. This code seems to fix it:diff --git a/drivers/st/clk/stm32mp1_clk.c b/drivers/st/clk/stm32mp1_clk.c index 5efe343b8..f99c72922 100644 --- a/drivers/st/clk/stm32mp1_clk.c +++ b/drivers/st/clk/stm32mp1_clk.c @@ -390,6 +390,10 @@ static const struct stm32mp1_clk_gate stm32mp1_clk_gate[] = { _CLK_SC_SELEC(N_S, RCC_MP_APB1ENSETR, 18, UART7_K, _UART78_SEL), _CLK_SC_SELEC(N_S, RCC_MP_APB1ENSETR, 19, UART8_K, _UART78_SEL), #endif + _
..
Hi,I'm trying to have some accurate perf measurements with the STM32MP1 for my program on Linux. I've tried several things, among them to use perf Linux tool.The number of cycles does not match the time elapsed, i.e. the freq processor is at 650Mhz and doing nbre_of_cyles/freq, I 'm quite far way from time elapsed (ratio around 3).I've tried with freq scaling activated and desactivated, I've the same results.Any clue ?
any document is welcome.
Hello dear.I try change touch driver so i try refer "https://wiki.st.com/stm32mpu/wiki/Touchscreens_hardware_components" page.But The page said "permission error".What can i do solve it?Thank you.
Hello,i'm currently trying to attach a TI DP83848CVV phy to the STM32MP157. We have an external 50MHZ clock which is supplied to the PHY and PA1 (ETH1_REF_CLK).These are the pinctrl values (generated by CubeMX):ethernet0_rmii_pins: rmii-0 { pins1 { pinmux = <STM32_PINMUX('A', 1, AF11)>, /* ETH1_REF_CLK */ <STM32_PINMUX('B', 12, AF11)>, /* ETH1_TXD0 */ <STM32_PINMUX('C', 1, AF11)>, /* ETH1_MDC */ <STM32_PINMUX('G', 14, AF11)>; /* ETH1_TXD1 */ bias-disable; drive-push-pull; slew-rate = <1>; }; pins2 { pinmux = <STM32_PINMUX('A', 2, AF11)>; /* ETH1_MDIO */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins3 { pinmux = <STM32_PINMUX('A', 7, AF11)>, /* ETH1_CRS_DV */ <STM32_PINMUX('C', 4, AF11)>, /* ETH1_RXD0 */ <STM32_PINMUX('C', 5, AF11)>, /* ETH1_RXD1 */ <STM32_PINMUX('G', 12, AF11)>; /* ETH1_PHY_INTN */ bias-disable; }; pi
I'm trying to connect to my DK2 from STM32CubeIDE but the ST LInk port doesn't seem to work. In Device Manager I see "Unknown USB Device (Device Descriptor Request Failed)". I tried several cables and ports on my PC.I should mention that I'm running a minimal Ubuntu but used the kernel from the ST build process, I just swapped out the rootfs with the Ubuntu version.When I switch back to the stock SD card image the port shows up as VID/PID 0x1D6B/0x0104 but I can't install any drivers for it.How does whatever I program into the SD card affect how the ST Link USB port shows up?Thanks,ANdrew
Greetings everyoneThere is a wiki article (closed to the public) about enabling Jailhouse on STM32MP1x that lead me to believe that the STM32MP15x 's Dual Cortex-A7 cores implement the Virtualization Extensions.To my understanding, the reference manuals do not state anything about its implementation, apart from its support reported in the GIC and Debug sections.I need some clarity about this matter: Does anybody know if the Virtualization Extensions are implemented on the STM32MP15x's cores but not (yet?) documented in the ST reference manuals?Link to the referenced article: https://wiki.st.com/stm32mpu/wiki/How_to_enable_Jailhouse
Dear STM32 MPU Community,We are please to announce that New MP1 Ecosystem V1.2.0 ! is available since the 25th of February 2020. This is version of each component of this release and features to be highlighted ( most expected in this community ) :Openstlinux-20-02-19 : Added support for STM32MP15x Rev.Z fixing a bug preventing to boot from some eMMC parts. Added support for new 800 MHz part numbers (D and F) Configured access to pre-build package repository with "apt-get" see https://wiki.st.com/stm32mpu/wiki/Package_repository_for_OpenSTLinux_distributionSTM32CubeMP1-v1.2.0 : Added Keil® Project examples on STM32MP157C-DK2Added IAR™ Project examples on STM32MP157C-DK2Added CubeIDE Project examples on STM32MP157C-DK2Added new FreeRTOS + OpenAMP exampleSTM32CubeProgrammer-v2.4.0 : Flashload speed improvement over USB on Windows PCParallel programming on several targetsSTM32CubeMX-v5.6 : DDRAdded support for LPDDR on 18x18, 16x16 packagesDDR tuning parameters saving:
Hello, I'm doing an example of heterogeneous communication, refer to Wiki:https://wiki.st.com/stm32mpu/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_example.but I have encountered difficulties.When I generate the KO file and load it.However, the /dev/rpmsg-sdb device node was not generated, and you are required to help.
STM32MP157A is this processor eligible in Automotive products does the product have any certification of SIL 3 and TÜV certifications . Can the STM32MP157A be used for SIL3 level certification product .
Hello,I'm new to the linux stuff, so i folowed the tutorial : create hello world application to the key.At the end of:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_applicationI try to run the program on the board but i get the 'error: Cannot execute binary file: exec format error' . I don't know if i forget something or something is missing. When i tried to make the file it was missing gtk3 so i install that myself but i couldn't find that anywhere in the tutorial.Any help would be appreciated.Thanks in advance :)
Can I use ST-LINK/V2 for debug and program STM32MP1 chip series?
Hi, all.I use STM32MP151CAA3.I want to transmit USART data by DMA with HAL Driver.I’m trying to use HAL_USART_Transmit_DMA () function to transmit data.In the case of STM32F437ZI(using STM32F4xx HAL Driver), when calling HAL_USART_Transmit_DMA(), USART_DMATransmitCplt() were called after USART transmission completed, and husart->State changed to HAL_USART_STATE_READY (stm32f4xx_hal_usart.c Line 1331).However, in the case of STM32MP151(using STM32mp1xx HAL Driver), when to called HAL_USART_Transmit_DMA(), USART_DMATransmitCplt() were also called after transmission completed, but husart->State doesn't changed to HAL_USART_STATE_READY.So, next time I try to call HAL_USART_Transmit_DMA(), I cannot transmit data because if statement (if (husart->State == HAL_USART_STATE_READY)) excludes to transmit USART data. (stm32mp1xx_hal_usart.c Line 1375).Has the usage of the USART HAL driver changed compared to STM32F4xx HAL Driver?Do I need to change the variable husart->State myself any
I follow the instruction of Building the OpenSTLinux distribution to build the distribution image, /etc/version in the image is 20180309123456. Furthermore, the years of most of the directories and files of root filesystem are 2008. If I am correct, it should be the date/time when I built the image.Why do I ask this? When I tried the built image with the SD card and saw the year of directories and files are 2008, I wondered whether I flashed correct image to the SD card.
I'm running the STM32MP157A-DK Discovery board through HyperLynx and I'm getting some pretty horrible ringing on the address lines, along with timing violations when I use the DDRx Batch Simulation, and I'd like to verify my setup is good.First, I exported the board from Altium using the HyperLynx exporter, and then opened it up in HyperLynx, added my IBIS models, set my pins to MSD_D3RP3L_48, set all the address / command termination resistors to 56 ohms as indicated in the schematic, and ran an eye diagram, as seen at the memory chip die:There's substantial ringing on the bus, which appears to be caused by the long stubs that run off to termination resistors.To check that theory out, let's focus on the yellow DDR_A7 signal (one of the shortest stubs on the PCB), and DDR_A12 in blue (one of the longest):Clearly, the stubs off to the VTT resistors appear to be causing the problem, as the longer-stub signal is much worse. I reran the simulation with very very large values of resistors,
I am trying to use the GPU with an application where using X display is a prerequisite. I have successfully used GPU previously with Qt5 and simple kms applications like kmscube, but cannot get it working with X. Mesa is always used as the renderer with 0% load on GPU. My question is that is this at all supported with the binaries packed in the gcnano repo? https://github.com/STMicroelectronics/gcnano-binariesThe Yocto recipes point out the following (meta-st-stm32mp/conf/machine/include/gpu_vivante.inc) :GPU_USERLAND_LIBRARIES_X11 ?= "mesa"My doubt arises because of the following:1) In mesa there is no *_dri.so binary available for the particular GPU to support h/w acceleration.2) If I look for suitable hardware drivers *_drv.so files in xorg, there is no support for Vivante. I could not find these anywhere in the ST resources as well.I have tried using "etnaviv" too, but not much luck there.The last point is that ST wiki doesn't have much documentation on the GPU.htt
I made a simple widget example with label but the font size in STM32MP157C-DK2 is biggest than Ubuntu PC. How can I fix this?Thank you for any help.
Hi, I want to make a backup of the SD-card with the linux image. I tried it with Win32 Disk Imager (like on the raspberryPi: https://thepihut.com/blogs/raspberry-pi-tutorials/17789160-backing-up-and-restoring-your-raspberry-pis-sd-card). Windows detects the SD-card, but it is not accessible in the file manager. There is no drive letter assigned :(How can I save the image?thanks in advanceregards, Lukas
Now that I managed to create an 'SPP profile', I have another question. We plan to use a number of those kits. But, I noticed all of them have the same BDA address. Obviously we need to change them. The command 'hciconfig hci0 lerandaddr ..' does not seem to do the trick. Is there any other way of doing it, either permanently or temporarily during the life of the program?
Hello, I am developing CAN, but during the test process, I found that part of frames would be lost when setting the classic CAN of ST to be received. The specific test is as follows:1)Connect NXP's 6ULL to my own board(STM32mp157AAC) and set the baud rate of the two boards to 50K.2)Send 1 byte of data from 6ull every 10ms(program set) :./can_send -d can0-i 1 66,Then set my development board to receive:candump -L can0 -d, the board receives data normally, as follows:2)Send 1 byte of data from 6ull every 1ms(program set),./can_send -d can0-I 1 66,Then set my development board to receive:candump -L can0 -d,it will dropped CAN frames,can you give me some advice? Thanks
I tried downloading the 2.0 SDK but the link goes to the "sources" tarball., not the SDK. I tried to get there various ways but can't find the download.Thanks,Andrew
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.