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
I’m new to the stm32mp1, I’m struggling to figure out how to get SDL2 working with OpenGL on the platform. I can create a window with SDL, but if I try to create an opengl window, I get a runtime error that GTX is not supported.I should note that my goal is actually to get an opengl context for drawing, SDL is not a hard requirement.Are there any existing examples to get something like that working?
Hello. I've been trying to make the ADC work in my stm32mp157f-ev1 board. It is my understanding that I need BSP to make it work because when I disabled BSP in the ADC example code I noticed receiving the same result as my code. When I try to add the BSP files provided in the mp1 package I get errors saying that the I2C_HandleTypeDef is not defined. I tried to work around the issue but to no avail. Is there something I'm missing that I should do or what? Thanks for any help provided
I want to ensure I've used the most optimized code. I'm using gcc on linux. I have 4 values to store. If I use an array, I can for() loop as a convenience and shorter code, but is there added overhead compared to just using separate variables and having a few more lines of repetitive code? Will using the for() loop use up more ticks? Sorry if I'm splitting hairs as I am not sure.So I am wondering if using:uint8_t varA1;uint8_t varA2;uint8_t varA3;uint8_t varA4;is faster than using:uint8_t varA[4]
[ 0.056781] Serial: AMBA PL011 UART driver[ 2.010824] stm32-usart 40010000.serial: interrupt mode for rx (no dma)[ 2.010858] stm32-usart 40010000.serial: interrupt mode for tx (no dma)[ 2.010901] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 56, base_baud = 4000000) is a stm32-usart[ 3.202640] stm32-usart 5c000000.serial: interrupt mode for rx (no dma)[ 3.207831] stm32-usart 5c000000.serial: interrupt mode for tx (no dma)[ 3.214512] 5c000000.serial: ttySTM1 at MMIO 0x5c000000 (irq = 57, base_baud = 4000000) is a stm32-usart[ 3.224238] serial serial0: tty port ttySTM1 registered
Hi!I use buildroot - NOT openstlinux.My M4 code works fine in engineering mode, but fails in production mode.I suspect that it is due to the device tree file.The DTS file generated by STM32CubeIDE has some pinmux assignments to "RSVD", which fails in my Linux build. It doesn't know the RSVD keyword.E.g. "pinmux = <STM32_PINMUX('Z', 0, RSVD)>, /* SPI1_SCK */"Is there another way to reserve these pins?Also, what is the difference between pinctrl and pinctrl_z sections?Best regards,Mogens
Hello, I have a problem with programming EMMC through USB. Everything seems to be ok but when in U-Boot USB change from DFU to Gadget on Linux side everything stack (lsusb - stack). Of course, programming processes interrupt as well. I'm not sure where I should look for a malfunction. After the system boot-up USB gadget works normally I'm able to login to the board through USB. So from a hardware point of view, it seems to be correct or maybe not. When kernel boot-up and the system starts there is no switching activity on USB just load the Gadget driver and start USB and it works. I'm not sure how the switching process on USB in U-Boot works. Part of my schematic is very simple So USB-C-ID is connected to PA13, with no connection to VBUS on the processor site. Maybe this VBUS is a problem or maybe the problem is in dts. Please suggest to me something where I should start. Thanks
..
The four wire interface from the ST-LINK V2 has no clock.Where does it say that ST devices do not require a clock for SWD ?Also why is it seemingly impossible to work through a hub ? This makes life very difficult.
What is the capacitance IO of HSE and LSE?
We have a custom board with and STM32MP153CAA processor and are trying to get it to boot from an SMCC card on SDMMC2 interface. If I loaded the tf and fip files via a UART I am able to get u-boot running and then use the "run bootcmd_mmc0" to boot the linux kernel from the SDMMC2 car from there. So I know that the electrical connection to the SD card is correct. However we'd like to have the whole boot process read from the card at power up.I have an SD card laid out with the partition scheme used to boot the discovery boards from SDMMC1 and have written the boot loaders to the card. I have tried setting the OTP word 3 to 0x10 which from ST's documentation I would believe should set up the boot from the SDMMC2 card and have set the boot pins to 101 binary which should tell the processor that the primary boot should be from SDMMC card, but if will not boot. I get nothing at all output to UART-4 which I have set up as console nor any indication that the board is trying to read from
Hi all,I have been trying to build a custom machine based on STM32MP157C MPU. Right now I am facing a weird issue.Defconfig file is attached. However upon giving build , i cannot see the stm32-crc module , built added and loaded. Is there something which i am missing? TIA
Hello,When trying to access this page: https://wiki.st.com/stm32mpu/wiki/Bring-up_troubleshooting_grid I get a permission error.This page is found by the search function.Is this page not available to everyone ?Thansk in advance for your reply
I loaded STM32MP157D-DK1 board configuration in STM32CubeIDE and used the generated device tree files for U-Boot and TF-A compilation. The file MYPROJECT/CA7/DeviceTree/MYPROJECT/tf-a/stm32mp157d-myproject-mx-fw-config.dts contains this line:#include "stm32mp15-ddr-512m-fw-config.dts"This causes a fatal error during tf-a compilation due to "No such file or directory".I searched the internet for this missing file but only found a dead link here: https://wiki.st.com/stm32mpu/wiki/How_to_configure_TF-A_FW_CONFIGThanks for any help in advance.
Loading Environment from MMC... OK In: serial Out: serial Err: serial stm32 vrefbuf timed out: -110 adc@0: can't enable vdd-supply!adc_measurement: single shot failed for adc@0[18]! Net: eth0: ethernet@5800a000 Hit any key to stop autoboot: 0 Boot over usb0! DSI version 0x0 not supported Invalid or missing layout file.DFU alt info setting: doneWe can successfully load the StarterPackage FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv, but when we try creating from Developer Package, we get this error. Our board has a STM32MP151CAC. We have been testing on the STM32MP157F-DEV2, on which there has been no problem. Is there a default for booting over USB, and not the SD?Thanks in advance,George
I managed to make the M4 WWDOG to work.I got on Linux cmd line:remoteproc remoteproc0: crash detected in m4: type watchdogHow can I catch and handle this events programmatically on a shell script, C or Python ?
This is a problem that has bothered me for months.I hope someboby could give me some help.Firstly I use STM32Programmer to flash the STM32MP157F-DK2, it runs really fun.After I rebuild the kernel V3.1.0 followed by Wiki and use "scp arch/arm/boot/uImage root@192.168.7.1:/boot" many modules can't be probed successfully.The complete boot log is in boot1.txt.So I have to compile the modules and use "scp -r install_artifact/lib/modules/* root@192.168.7.1:/lib/modules" to replace the original.There're still some problems.The complete boot log is in boot2.txt.Only the following problemsWhat's the galcore and how to solve it?Now the board can't launch the default applications automatically and I can't clicke to started them manually.
I'm trying to figure out how to add OpenCV to my STM32MP157-DK2 Discovery Board. I am not new to ST Microcontrollers, but I am new to the MP1 and Cortex A processors. I'm also not new to Linux but am completely new to embedded Linux and Yocto.I can see that there is a recipe for OpenCV included in the Ecosystem V1.2 release distribution package, but when I build the release and flash, OpenCV is not present on the DK2 board. I was able build OpenCV specifically with the bitbake command, but again, it is not present in the image. I have seen a few references to installing OpenCV in the wiki but not enough details to get to the next step.I am wondering what the correct or preferred method for getting OpenCV included in the image. Preferably, enough information or pointers to documentation that I can understand the bigger picture and know how to do this in general and not simply how just to add OpenCV in this case.
Please excuse my ignorance in this matter. We develop a custom board based on STM32MP15f-DK2. We would like to use Segger's J-link devices for initial codeloads.I understand that mmc/sd card are not memory-mapped flash types, so j-link will not work without some sort of intermediate booting software downloaded to DDR.Are there any sample projects available that would realize such functionality?Programming the device using DFU is not an option in this case.--Best regards,Tomasz
we are using M28W320ECT 3V Supply Flash Memory for more than 10 years wo any problems in our MCU units now, suddenly in new production this part is gone defect several times- drawing current on the 12V programming Voltage Input, no read /write operation anymore, design wasn't changed, Voltages aso also checked( Especially 12V is OK), everything correct,Any experience or hint what else could be a root cause for thisany comment appreciated, thks&rgds, Thomas
Hello,I am desing with reference STM32MP153 and I would like connect two devices to through of MAC to MAC ports without PHY layer, Is it possible?, In attach figure connection shonw as I should do the connection between devices without phy layer:Is it posible? could you help me?
Hi,I am using stm32mp157c and fixed pll4p (125MHz) clock in dtb.st,pll@3 { reg = <3>; cfg = <3 124 5 5 5 PQR(1,0,0)>; };I see that pll4p is fixed (125MHZ )in clk_summury. But i want to change clock speed in run time if my condition become true. Searching this situation in google, i found common clock framework API. But i didn't find any example on stm32mp1. I don't understand stm32mp1 support this framework. How can i dynamically change pll clock speed? Any suggestion?Best Regards.Ali Mesut Ince
Any recommendations on how to install Node.js on OpenSTLinux / OpenEmbedded?I want to run some node.js applications on the A7 processor.I found this repository but there has been no activity for a few years.https://github.com/imyller/meta-nodejs
Hello!Board: STM32MP157F using STM32MP15-Ecosystem-v3.1.0We are using SPI4 to interface and control a FPGA by a custom SPI protocol driver.This works great!To get faster data transfer the QSPI interface should be used. The FPGA will deliver data with up to 200MBit/s.This is how we currently configured SPI4:/* SPI */ &spi4 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&spi4_pins_b>; pinctrl-1 = <&spi4_sleep_pins_b>; cs-gpios = <&gpioe 11 0>; /* PE11 : SPI4,NSS */ status = "okay"; dspi@0 { compatible = "dspi4"; reg = <0>; /* CS #0 */ spi-max-frequency = <4500000>; }; };https://wiki.st.com/stm32mpu/wiki/QUADSPI_device_tree_configurationonly talks about memory and the MTD framework.Can I use something like this to access QSPI by a custom SPI protocol driver?This is completely untested and should only serve to show what I want to achieve:/* QUADSPI */ &qspi { pinctrl-names = "default", "sleep"; pinctrl-0 = <&
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.