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 have a STM32MP15X-EVAL board MB1262C-01 with a MB1263B-04 CPU-board on it (MP157AAA3). I'm following the instructions from 'STM32MP15_Evaluation_boards_-_Starter_Package'Boot 0,1,2 jumpers are OFF, JP1 is removed. USB connected to CN4 (ST-Link) and CN16 (USB_OTG).I've tried both from Linux and Windows, and with different SD cards.This is the Windows log:In en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23:STM32_Programmer_CLI.exe -c port=usb1 -w flashlayout_st-image-weston\trusted\FlashLayout_sdcard_stm32mp157a-ev1-trusted.tsvUSB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000SN : 000000000000DFU protocol: 1.1Board : --Device ID : 0x0500Device name : STM32MP15xxDevice type : MPURevision ID : --Device CPU : Cortex-A7Start Embedded Flashing serviceMemory Programming ...Opening and parsing file:
I would like to program a STM32MP157 using STM32CuneIDE. So by cofiguring the peripherals, generating some interfacing code and make everything work using interrupt driver routines. I do not want to use some operating system. Just writing code for each core.Is that possible?
Hi,I am trying to set build configurations for baseline build but getting below error while running envsetup.sh script."Error: TEMPLATECONF value points to nonexistent directory '../../layers/meta-st/meta-st-openstlinux/conf/template"but the above directory exists and contains bblayers.conf.sample, local.conf.sample files (required to generate bblayer.conf and local.conf in build directory).templateconf.cfg is also generated in /$BUILD_DIR/conf/ directory containing '../../layers/meta-st/meta-st-openstlinux/conf/template" path.Machine Details:OS: Ubuntu 22.04 LTS VM: Virtual Box 7.0
I generated the device tree for the STM32MP135-DK to include the tlv320aic31xx audio codec connected to the sai1a port, but during the boot I get the following errors. [ 90.094282] st,stm32-sai 4400a000.sai: missing x8k parent clock: -2[ 90.155023] st,stm32-sai: probe of 4400a000.sai failed with error -2The audio codec is connected to one speaker without microphones.How can I solve the problem?Below is an excerpt from the device tree:sound: sound { compatible = "audio-graph-card"; label = "STM32MP135F-DK"; routing = "Playback", "MCLK1"; dais = <&sai1a_port>; status = "okay"; }; &i2c1{ tlv320aic31xx: tlv320aic31xx@18 { compatible = "ti,tlv320aic3120"; reg = <0x18>; ai31xx-micbias-vg = <MICBIAS_2_5V>; reset-gpios = <&gpioe 5 GPIO_ACTIVE_LOW>; HPVDD-supply = <&scmi_vdd>; SPRVDD-supply = <&scmi_vdd>; SPLVDD-supply = <&scmi_vdd>; AVDD-supply = <&scmi_vdd>; IOVDD-supply = <&a
Than try to use this board with Debian Linux + Xorg happened strange behaviour: after one hour screen disabled forever. No any warnings or errors in dmesg. This issue reproduce on kernel from STLinux (5.15.67). Also these steps make same behaviour: echo 1 > /sys/class/graphics/fb0/blank echo 0 > /sys/class/graphics/fb0/blank
Hi,I am interested in using the STM32MP157F for the following tasks:Receiving data from USB 2.0.Encrypting the received data using AES 256.Storing the encrypted data in an external eMMC.Preferably utilizing DMA for efficient data transfers.I would like to know if it is possible to configure DMA channels to enable direct peripheral-to-peripheral communication, such as USB 2.0 -> CRYPTO (AES 256) -> eMMC.Additionally, it would be greatly appreciated if you could provide an example or reference on how to utilize DMA with USB, cryptographic operations, and eMMC.Thank you.Best regards,Alessandro
Trying to load TF-A and uboot into NOR flash, but I always get this error.SF: Detected w25q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiBmtdids=nor0=nor0 & mtdparts=mtdparts=nor0:256k(fsbl1),256k(fsbl2),2m(ssbl),512k(u-boot-env),-(nor_user)MTD device nor0: size=33554432 erasesize=65536 available address = 0x0..0x2000000 erase size = 0x10000 full_update = 1id : Opt Phase Name target.n dev.n addr size part_off part_size01 : 1 04 fsbl1 00.1 03.00 00000000 02000000 00000000 00040000Error: fsbl1 (0x4): Bad size for partition 1 (fsbl1) at 0x0 = 0x2000000 <> 0x40000 expectedIt looks like no mtd partition table loaded but the mtdparts seems correct.
..
Hi,We are working on STM32MP151, with custom linux, no PMIC.We have a reset button connect to NRST line, it works fine in Uboot or during linux boots. But right after the login prompt occurs, the reset button is nolonger work. When we hit the button, system seems crashed, no response from command prompt. We have to disconnect power and reconnect again.Does anyone have experience with it?many thanks.
Hi everyone,I write a function to start all other functions without any parameter like Start(); in while, but in this funciton I write different function like thisvoid Start() { if(huart->Instance == USART1) measure(tx1_buffer); else if(huart->Instance == USART2) measure(tx2_buffer_buffer); }so I want to know in this function which UART is return to function, bcs It is a parameter of measure function. Can I use flags to specify which uart is? What would you recommend?
Hi, I want to debug OP-TEE on STM32 MPU board.Using 'st_stm32mp157f_dk2_demo_defconfig' configuration of STM32MP1 Buildroot external tree(buildroot-external-st), We indirectly confirmed that OP-TEE is built and ran normally on the board with Buildroot.I would like to customize the code in optee-os using the APIs provided by OP-TEE. Before I do that, I'd like to try to print out whether the code works at a certain point in time and the results of the modified code using the OP-TEE API and track the function calls.I followed the OP-TEE official document, but the debug log is not captured. In addition, the document only guides you on how to track function calls.Then, while reading the [How to debug OP-TEE] page on the STM32MP1 Wiki(wiki/How_to_debug_OP-TEE), I realized that the debug log is printed on the OP-TEE console(Marked by the cursor in the attached picture). So what I'm curious about are two things.1) Where do the OP-TEE debug results go? (What is an OP-TEE console?)2) Is the
STM32MP157C-dk2I am trying to update the Board using SUART3 (Pins PB10, PB12) over STM32CubeProgrammer. The connection to STM32CubeProgrammer is established successfully. Unfortently after downloading the fdbl-boot (tf-a-stm32mp157c-dk2-uart.stm32) the failure appears while system tries to start from downloaded part.See console:------------- 19:25:00 : File : tf-a-stm32mp157c-dk2-uart.stm32 19:25:00 : Size : 216.38 KB 19:25:00 : Partition ID : 0x01 19:25:00 : Download in Progress: 19:26:23 : File download complete 19:26:23 : Time elapsed during download operation: 00:01:23.074 19:26:23 : RUNNING Program ... 19:26:23 : PartID: :0x01 19:26:23 : Start operation done successfully at partition 0x01 19:26:54 : Timeout error occured while waiting for acknowle
Product: STM32MP153CAA3we are trying to debug the Cortex M4 over the SWD Interface. The setup of the Bank0,1,2 is configured correct (Engineering Mode) . During the analysis of SWD we see that Debugger fails to access ROM Table (Address: 0xE00FFFE4, CM4ROM_PIDR1) Expected alue is 0x004. Read value is 0x7310F507The IDCODE and the settings of registers before are matching the expectation.What are the reasons for failing to access those registers ? (clocks, voltage ...)
Hello,we are using STM32MP157AAA for our custom board.we are trying to boot from uboot 2021-10 version facing an issue like MMC card not found. But in the same board from uboot 2018 version it is working fine.Please help us in this regards.please find the image for reference. Regards..Navaneeth
We have a custom board based on STM32MP157 MPU and running AOSP, with AUO G101EVN010 LCD-TFT panel using an LVDS to LTDC converter for interface.Setup of the system is done using the STM32MP1 distribution for Android. I am able to get the panel to display the Android UI, but the issue is the colors on the UI.Below is an image of the Android home screen:Observation: RGB appears to be BRG.When I pull down the notification panel from the top, the notification overlay shows and it is observed that colors in the background appear correct as seen below: Not getting where the issue is.Using the MEDIA_BUS_FMT_RGB666_1X18 format for DRM and LTDC DT node settings as follows:&ltdc { /* compatible = "simple-panel"; */ status = "okay"; bits-per-pixel = <16>; bus-width = <18>; display-timings { timing { clock-frequency = <68930000>;
Using the STM32MP157 development kit, I have configured two "GPIO Analog" lines that are exposed through CN13 (pins 1 and 2).I am trying to set these up as such. From going down the rabbit trail of documentation:https://wiki.st.com/stm32mpu/wiki/GPIO_internal_peripheral#Software_frameworkshttps://wiki.stmicroelectronics.cn/stm32mpu/wiki/GPIOLib_overviewand then:https://wiki.stmicroelectronics.cn/stm32mpu/wiki/Overview_of_GPIO_pinshttps://wiki.stmicroelectronics.cn/stm32mpu/wiki/Pinctrl_overviewIt seems to confirm that I need to use "pinctrl" technique to set these. Okay. I have configured them with CubeMX. However, my DTS file doesn't reference these pins at all. I've gone through the exported DTS and I do not see anything referencing PG3, or PH6.So, I feel like this has failed at the outset. Is there a trick to this? I assume once I get these configured I can read the value using libgpio API functions.
I am using stm32mp157f-dk2 and followed https://wiki.st.com/stm32mpu/wiki/Getting_started with help of stmcubeIDE. I am able to debug M4 core and also see SWV prints with ST A7 image and M4 image. Both images are available through above ST web site. I want to try same thing with my Linux image but I am struggling because M4.elf is not getting transferred with default STMcube debug configuration as default debug configuration expects "root" and do not allow to modify username. Is there any way to modify username or is there any way to change debug launch configuration As User name field is "READ ONLY" thus I am not able to modify. Is there any way to modify these debug configuration
We are using ST32MP153 running mainline linux on the A7 cores. And we want to use the M4 for realtime processing and output. Therefore some resources shall be used by Linux at the A7 cores. Some by the M4. If we get it right, ST's solution for that is the resource manager https://wiki.st.com/stm32mpu/wiki/Resource_manager_for_coprocessing. But this driver is not available at kernel.org. What's the reason for that? Is it planned to add it? And what are the alternatives for mainline linux?
Hi Team,We are trying to boot the STM32MP157A-EV1 board with our eMMC device, but it is booting intermittently.As per our debugging the failure case, eMMC device will respond ACK within ~15ms but ROM code disable the CLK in ~50ms(before downloading the data).Is there any OTP configuration required for ROM code to wait more than 50ms.
I have a Ubuntu 22.04 server I use for building Yocto distros for the STM32 MPUs. I would like to install the programmer on that so I could run some automated tests and flashing on my build images. Is it possible to install the software without the GUI installer?
Board: STM32MP157F-DK2Distro: st-image-weston with kernel 5.15.67 (Starter Package)root@stm32mp1:~# modprobe rpmsg_tty root@stm32mp1:~# modprobe rpmsg_char root@stm32mp1:~# lsmod | grep rpm rpmsg_char 16384 0 rpmsg_tty 16384 0 root@stm32mp1:~# stty -onlcr -echo -F /dev/ttyRPMSG0 stty: /dev/ttyRPMSG0: No such file or directory uImage is recompiled and my own dtb file is in use.Why is the device file not created and how can I achieve the creation?Thank you.
Hi,my situation is this:We want to use a "liveSD" image and boot from emmc by default if "liveSD" isn't found.The SD card should be inserted even if it is not a "liveSD" card, boot eMMC should be running.I know we could override the OTP boot sequence, but can BootROM detect this from the "partition table" or device?
Hi All.I'm attempting to build an OpenSTLinux based software using a virtual machine VMWARE UBUNTU 16.2.5 build-20904516Using the command "bitbake -v -k <my_recipe_bb_name_file>" i have the error message: " ERROR: Nothing PROVIDES '–v' "Using the command "bitbake -k <my_recipe_bb_name_file>" i have the error message: " ERROR: Nothing PROVIDES '–k' "Using the command "bitbake <my_recipe_bb_name_file>" i have not errors but the compilation after many houres fails Using the command "bitbake -c cleanall <my_recipe_bb_name_file>" i have the error message: " ERROR: Nothing PROVIDES '–c' "If I use another PC with the same virtual machine and the same "layers" folder, I have no errorsWhy? Thanks
I am testing lan by connecting usb ethernet (LAN7850) to stm32mp157f-dk2 board.Drivers microchip.ko and lan78xx.ko are loaded automatically and device eth1 appears normally.But when I connect or remove the cable to the lan port it doesn't recognize it.It appears to be registered as an interrupt, but the log is 0.$cat /proc/interrupts92: 0 0 lan78xx-irqs 17 Edge usb-001:005:01However, once the cable is connected and rebooted, the ip is normal and the communication is normal.Connecting usb LAN7850 to ubuntu x86 works fine.When the cable is disconnected, the usb interrupt does not seem to be transmitted normally. What is the problem?Any solution?Fix lan78xx.c or microchip.c
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.