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
If the board power supply does not supply enough current (3A), the red LED indicates the issue following the rules below:LED blinking mode Console message Boot processTwiceWARNING 500mA power supply detectedCurrent too low, use a 3A power supply!Continue and red LED stays ON3 timesWARNING 1500mA power supply detectedCurrent too low, use a 3A power supply!Continue and red LED stays ONforeverERROR USB TYPE-C connection in unattached modeCheck that USB TYPE-C cable is correctly pluggedstopforeverUSB TYPE-C charger not compliant with USB specificationstopI confirm that my power supply supports 5V3A.my log as follow:Previous ADC measurements was not the one expected, retry in 20ms********************************************************* WARNING 500mA power supply detected ** Current too low, use a 3A power supply! ******************************************************** &nbs
Hi,I have a small problem with the RTC on STM32MP153. From hardware point of view I'm able to see sine waveform on the resonator 32.768kHz which is connected to PC14, PC15.I use the Openstlinux - kirkstone (openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23).I configure rtc section only in tfa file clocks { /* USER CODE BEGIN clocks */ clk_lsi: clk-lsi { clock-frequency = <32000>; }; clk_hsi: clk-hsi { clock-frequency = <64000000>; }; clk_csi: clk-csi { clock-frequency = <4000000>; }; clk_hse: clk-hse { clock-frequency = <24000000>; }; /* USER CODE END clocks */ /* USER CODE BEGIN clk_lse */ clk_lse: clk-lse { st,drive = < LSEDRV_MEDIUM_HIGH >; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32768>; }; /* USER CODE END clk_lse */ /* USER CODE BEGIN clk_hse */ /* USER CODE END clk_hse */ }; ... &rcc{ status = "okay"; /* USER CODE BEGIN rcc */ /* USER CODE E
There's a problem enabling QuadSPI in CubeIDE. After enabling QSPI and generating the code, compile errors occur.Here are the issues I've identified:XSPI_HandleTypeDef is not defined.There's no define related to QSPI (or XSPI) Enable in the stm32mp13xx_hal_conf.h file.Declarations for HAL_XSPI_MspInit and HAL_XSPI_MspDeInit functions' code are missing in the stm32mp13xx_hal_msp.c file.HAL_XSPI_MODULE_ENABLED is not present in stm32mp13xx_hal_conf.h. Thank you for your help.
hello,my custom board using stm32mpa35faf7 i2c1, but I forget add externel pull-up resitors.PD12--->I2C1_SCLPE8 ---->I2C1_SDANow ths i2c seems don't work.please help me
Hi Team, We're currently facing challenges enabling HS200 mode for the eMMC in our STM32MP135 project. We'd appreciate your assistance in resolving these issues: Clock Speed Discrepancy: In CubeMX, we've configured the SDMMC1 and SDMMC2 clocks to 200 MHz. However, the observed output clock for the SDMMC (eMMC) interface is only 130 MHz. Delay Block Implementation: The reference manual mentions the use of a delay block. Could you please elaborate on how to implement this block to achieve the desired HS200 mode? If I set vmmc and vqmmc to 3.3V and 1.8V in the DTS, I encounter errors during the flashing process. Error messages are displayed while flashing. For your reference, we've attached screenshots of our current Device Tree Source (DTS) configuration and the terminal output. Please review these and advise if there are any missing elements or configurations. Thank youRaj
Currently, I am testing QuadSPI.Is it correct for the output to include Command / Address / Data?I want to output only Data. While I can remove the Address through settings, I couldn't remove the Command.Is it possible to output only Data?
Hi,I am using an STM32MP157_SOM interfaced with an LCD-OLinuXino-7TS screen. I have activated the splash screen for U-Boot and psplash in the kernel. The U-Boot splash screen works correctly. However, after the 'Starting kernel...' message, the screen goes black until the psplash is launched (17 seconds with the splash screen). I have included parts of the DTS for U-Boot and the kernel. Is there a way to keep the U-Boot screen displayed until the psplash launches? LCD power enable and backlight stay enabled. u-boot dts : backlight: backlight {compatible = "gpio-backlight";gpios = <&gpiod 13 GPIO_ACTIVE_LOW>;default-on;status = "okay";power-supply = <&vdd>;};panel-rgb@0 {compatible = "simple-panel";backlight = <&backlight>;reset-gpios = <&gpioa 14 GPIO_ACTIVE_HIGH>;enable-gpios = <&gpiof 13 GPIO_ACTIVE_HIGH>;status = "okay";port {lcd_panel_in: endpoint {remote-endpoint = <&lcd_display_out>;};};display-timings {ti
Hello everyone,I made a yocto based build using stm32mp1. After compiling, I followed these steps: I created 5 different partitions in the SD card. These are as follows. I uploaded the following files to the partitions I created, respectively.sudo dd if=arm-trusted-firmware/tf-a-stm32mp157d-dk1-sdcard.stm32 of=/dev/sdb1sudo dd if=arm-trusted-firmware/tf-a-stm32mp157d-dk1-sdcard.stm32 of=/dev/sdb2sudo dd if=fip/fip-stm32mp157d-dk1-fastboot-sdcard.bin of=/dev/sdb3sudo dd if=st-image-bootfs-poky-stm32mp1.ext4 of=/dev/sdb4 bs=1Msudo dd if=core-image-minimal-stm32mp1.ext4 of=/dev/sdb5 bs=1MLater, when I connect to the DK1 board, I get the following error.When I examine the Flash layout files, I think it does this because it cannot find the FWU_MDATA files. But I don't know the size of the partitions I allocated for FWU_DATA and what type they will be (Linux file system or microsoft basic data). Can you help me with this? Which partitions are missing and what should their file typ
Hello,How to clean all demo applications from OpenSTLinux, which came with the starter-package?
Hello,I am currently working on a project with the STM32MP131FA.We are testing various peripherals and modules on our board.When creating a project with STM32CubeMX, we encounter some issues. Therefore, we sometimes download and test DK examples on our board for comparison.For instance, we have successfully tested DDR initialization by modifying the PMIC I2C part.However, when running the USB example UX_Device_CDC_ACM, it does not work correctly at the Vector table.Could you help identify where I might need to make modifications?void Vectors(void) {__asm__ volatile(".align 7 \n""LDR PC, =Reset_Handler \n""LDR PC, =Undef_Handler \n""LDR PC, =SVC_Handler \n""LDR PC, =PAbt_Handler \n""LDR PC, =DAbt_Handler \n""LDR PC, =Rsvd_Handler \n""LDR PC, =IRQ_Handler \n""LDR PC, =FIQ_Handler \n");
Hello all,I'm working with STM32MP135F-DK board and GC2145 camera that comes with it. My main purpose is to get the image and save it. I tried to use the following documents for this:https://wiki.st.com/stm32mpu/wiki/STM32MP13_V4L2_camera_overview#Grab_a_raw_framehttps://www.st.com/resource/en/application_note/an5478-stm32mp13x-lines-interfacing-with-a-mipi-csi2-camera-stmicroelectronics.pdfI didn't know how to do the "3.1-kernel configuration" step in the first link. So I followed the links below:https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernelAfter this link, I went to the following link:https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_PackageAfter installing some packages here, I went back to the "menuconfig-how to configure kernel" link, and here I got stuck on the following step:I have the specified files but I don't know in which directory I should run the make config or make menuconfig commands.To be honest, I am new to embedded Linux and my ma
HiI have the same problem as described in the topic below:https://community.st.com/t5/stm32-mpus-products/usb-composite-in-stm32mp157c/td-p/142734I tried the solution from the above link. I see that I can set up several USB gadget devices, like NCM Ethernet + multiple ACM serial. But it doesn't work, e.g. I can set the 'usb0' interface link to 'up' and set the IP address to it, but I can't ping it from my laptop. At the same time, I can ping it when I have ONLY NCM Ethernet (without ACM devices).The same situation with ACM devices, it works only if I have only one. If I have more than one USB gadget device (at least 2), serial port either is always busy or transfer works only in one side (from device to laptop).I'm working on STM32MP135 Discovery kit (STM32MP135F-DK) with mickledore yocto provided by ST (https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package).My otg config:usbotg_hs: usb@49000000 {compatible = "st,stm32mp15-hsotg", "snps,dwc2";reg = <0x49000000 0x40000
Hi everyone, I have been trying to get Docker running on the STM32MP135F-DK for quite some time now and have been running into some issues. I originally built an image for the STM32MP135F-DK with the Mickledore release by following this tutorial: Link. However, I kept running into issues trying to get Docker to run correctly. I was able to create an image successfully and install Docker-CE, however it seems the meta-virtualization layer is no longer supported for Mickledore so getting Docker to run correctly with Mickledore does not seem to be possible anymore. I can install Docker-CE and run docker commands, however starting the Docker "hello-world" container I get an error saying "ERROR: http: invalid Host header" after downloading the container. I know we have configured the kernel correctly (we have created images with the Dunfell branch on the STM32MP157 series and got docker to run containers correctly) so I do not think that is the issue. I saw that Kirkstone was still
Dear All,I want to add some packages like zip, nmap, net-snmp, gdb and apache2 to default package.Could you guide how to add some packages to default package to build kernel?
Will you also review the newly designed stm32mp157 artwork file?
os: Ubuntu (wsl)I am trying to follow the steps as below:https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package#Installing_the_toolsHowever, step 6.2 Image flashing cannot be completed.When I entered the command below, it iterated only for the tf-a-stm32mp157c-dk2-usb.stm32 file.Here are printed messages.root@jesong:/home/STM32MP157C-DK2/STM32MPU_workspace/STM32MP1-Ecosystem-v5.0.0/Starter-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/images/stm32mp1# STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv-------------------------------------------------------------------STM32CubeProgrammer v2.16.0-------------------------------------------------------------------USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000SN : 0049002E3338510939303435DFU protocol: 1.1Board : --Device ID : 0x0500Device name : STM3
Hi,Since Ecosystem 5 OP_TEE is mandatory.We have previously used SP_MIN which is not supported anymore.The change from SP_MIN to OP_TEE costs us approximately an extra second in boot time, we need to limit this as much as possible.I came across in the wiki here - "STMicroelectronics provides OP-TEE support that also embeds a secure monitor on Armv7. It can be replaced with a trusted OS or another trusted environment execution (TEE).".I was wondering, is it possible to change OP-TEE to a different lighter vendor? If so, is there a document describing the steps necessary?Thanks in advance
Hi, "I'm using an STM32MP157F-DK2. I'm struggling with the serial connection between my Linux host and my target board (STM32MP157). I'm using the command 'minicom -D /dev/ttyACM0', but I've been waiting for more than 2 hours for the connection to be established, yet it's still not connected.What can I do to connect to the target device?"
hello@SL2 I am configuring with QuadSPI Dual and encountering an issue where it remains in a busy state and does not resolve.The circuit is not properly connected yet, so I am currently only testing the pin output.I want to output to Bank2 IO. I initialized it as follows: static void MX_QUADSPI_Init(void){ hxspi.Instance = QUADSPI;hxspi.Init.ClockPrescaler = 255;hxspi.Init.FifoThresholdByte = 1;hxspi.Init.SampleShifting = XSPI_SAMPLE_SHIFTING_NONE;hxspi.Init.MemorySize = 0;hxspi.Init.ChipSelectHighTimeCycle = 1;//XSPI_CS_HIGH_TIME_1_CYCLE;hxspi.Init.ClockMode = XSPI_CLOCK_MODE_3;hxspi.Init.MemoryMode = HAL_XSPI_DUAL_MEM;//XSPI_DUALFLASH_ENABLE;if (HAL_XSPI_Init(&hxspi) != HAL_OK){Error_Handler();} } XSPI_ResetChip();HAL_Delay(2);XSPI_AutoPollingMemReady();XSPI_WriteEnable();HAL_XSPI_Command(&hxspi, &sCommand, HAL_XSPI_TIMEOUT_DEFAULT_VALUE);XSPI_Configuration();XSPI_AutoPollingMemReady(); while (1){  
Dear STM32 Forum Community, I am currently working with the STM32MP157F-DK2 development kit and have encountered an issue while trying to run a QT project that includes graphical elements. Issue Description: When attempting to execute the QT project, I receive the following error: root@stm32mp1:/usr/local# ./demo_current_project./demo_current_project: error while loading shared libraries: libQt5Charts.so.5: cannot open shared object file: No such file or directory Steps Taken: Successfully ran QT projects without graphical components. Ensured that all necessary QT libraries are installed on the system. I have followed https://wiki.st.com/stm32mpu/wiki/How_to_build_and_use_an_SDK_for_QT for QT Implemetation Despite these efforts, the problem persists. I suspect that there might be an issue related to the library path or an incomplete library installation. Request: Could anyone provide guidance or suggest steps to resolve this issue? Specifically, I need assistance with: Confirming th
Hello, I create new STM32 project for STM32MP131AAG3 with baremetal. I encounter the following errors when to build the codes of DMA generated by STM32CubeMX.undefined reference to `HAL_NVIC_SetPriority'undefined reference to `HAL_NVIC_EnableIRQ'static void MX_DMA_Init(void){ /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA2_CLK_ENABLE(); /* DMA interrupt init */ /* DMA2_Stream1_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA2_Stream1_IRQn, 0, 0); HAL_NVIC_EnableIRQ(DMA2_Stream1_IRQn);}I fixed the code as follows.static void MX_DMA_Init(void){ /* DMA controller clock enable */ __HAL_RCC_DMAMUX1_CLK_ENABLE(); __HAL_RCC_DMA2_CLK_ENABLE(); /* DMA interrupt init */ /* DMA2_Stream1_IRQn interrupt configuration */ IRQ_SetPriority(DMA2_Stream1_IRQn, 0); IRQ_Enable(DMA2_Stream1_IRQn);}Is this bug? Or is there possibility that I took mistake MX settings or else?I
hello my board usb stm32mp135faf7 cpu. and the display part change to hdmi (refer to stm32mp157c-dk discovery kit,sii9022). as demesg bellow.but I down know how to display a picture on my TV screen(to test the hdmi can worky)log:# echo 6 > /sys/module/drm/parameters/debug### dmesg[ 868.768386] stm32-display 5a001000.display-controller: [drm:check_connector_changed] [CONNECTOR:32:HDMI-A-1] status updated from disconnected to connected[ 868.768467] stm32-display 5a001000.display-controller: [drm:check_connector_changed] [CONNECTOR:32:HDMI-A-1] Changed epoch counter 6 => 7[ 868.768509] stm32-display 5a001000.display-controller: [drm:drm_sysfs_connector_hotplug_event] [CONNECTOR:32:HDMI-A-1] generating connector hotplug event[ 868.768665] stm32-display 5a001000.display-controller: [drm:drm_fb_helper_hotplug_event][ 868.768700] [drm:drm_client_modeset_probe][ 868.768732] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1][ 868.785066] [drm:update_display_info]
Hi, We have a custom board based on the STM32MP151C CPU and we found that after migration to stm32mpu-ecosystem-v4 (linux-stm32mp 5.15) provided by the meta-st-stm32mp yocto layer (langdale) there are some errors during MMC writing procedure:[ 3358.815661] blk_update_request: I/O error, dev mmcblk0, sector 1199146 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 [ 3358.815720] EXT4-fs warning (device mmcblk0p12): ext4_end_bio:342: I/O error 10 writing to inode 229382 starting block 599574) [ 3358.815754] Buffer I/O error on device mmcblk0p12, logical block 15893We observe the same behavior on all of our boards, so we have eliminated MMC corruption. The fsck.ext4 doesn't help and the errors still occur.In the previous ecosystem based on linux-stm32mp 5.10 everything was fine and we've never noticed any problems with MMC.Have you faced such an error and know any solution for it? How should we proceed with it?Thank you in advance
I think my problem is almost same with jlrstm's one. https://community.st.com/t5/stm32cubeprogrammer-mpus/stm32cubeprogrammerlauncher-won-t-launch-on-ubuntu-machine/td-p/665195 but I cannot get a solution about it. I have a STM32MP157C-DK2 board. please help me. root@jesong:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin# ./STM32CubeProgrammer./STM32CubeProgrammer: line 4: cd: /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin : No such file or directoryException in thread "main" java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:893)Caused by: java.lang.UnsupportedOperationException: Internal Errorat c
See debug out for details.CA7 : Forward efd info for buf7 with mFdSdbRpmsg:7 and efd:15CA7 : DBG mmappedData[7]:0xb4d00000CM4 : SDB0_RxCpltCallback: B7Ae8800000L00100000CM4 : treatSDBEvent OK physAddr=0xe8800000 physSize=1048576 mArrayDdrBuffCount=7According to the reference manual this area is only accessible by the A7 (DDR Extension).I am using the /dev/rpmg-sdb driver to map the memory.How do I get mmap to map in the proper space? Not sure why it is mapping in the upper range of DDR.I have been using the logic analyzer example.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.