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, let us know, for this development kit,1. Linux customization possible.2. support for development
Hello, I built an image with the following configuration by using the ST wiki pages:STM32MP157D-DK1 Evaluation BoardYocto KirkstoneSTM32MP1-Ecosystem-v4.1.0meta-java layer (branch kirkstone)I have used the following command to create an image:./create_sdcard_from_flashlayout.sh ../flashlayout_st-image-weston/extensible/FlashLayout_sdcard_stm32mp157d-dk1-extensible.tsvI burnt the image to SD card (came with the board itself) with dd, using the following command:sudo dd if=../flashlayout_st-image-weston/extensible/../../FlashLayout_sdcard_stm32mp157d-dk1-extensible.raw of=/dev/sdb bs=8M conv=fdatasync status=progressWhen I boot the board kernel panics. Please see the following kernel output:bootfs: Updating bad block inode.Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structure Pass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationbootfs: ***** FILE SYSTEM WAS MODIFIED *****bootfs: 54/16384 files (3.7
Hello, In order to use the non-default QSPI boot locations, my understanding is port0-port3, 4 signals need to be defined in OTP words 3, 5, and 6 based on a similar question about SDMMC1 discussed here:https://community.st.com/t5/stm32-mpu-products/how-to-change-emmc-interface/td-p/344994For QSPI the default signals according to the getting started guide, AN5474, are:PB2 QUADSPI_BK1_NCSQUADSPI_BK1_NCSPF10 QUADSPI_CLKPF8 QUADSPI_BK1_IO0PF9 QUADSPI_BK1_IO1What is the mapping for the OTP ports 0-3 to the functional signal names NCS, CLK, IO0, IO1?i.e. port 0=NCS, CLK, IO0, or IO1? Same for the other three ports.I was not able to find this described or an example for QSPI and OTP.Thanks.
Hi,we're using STM32MP1 for our project. we have connected super cap to VBAT.our expectation is to have VBAT supply power to RTC *alone*. we dont want RAM content to be retained. so that RTC shall remain powered for long time. currently the VBAT is supplying back up power for both RAM contents & also for RTC, so we're experiencing RTC back up for just 5 hours instead of expected 5 days. Kindly help out. should we use RREN/BREN in this case?
Hello,We are using the STM32MP151 custom board microprocessor with an external flash memory (emmc). At start-up the board and linux boot correctly, but when reboot it, the board keeps in uart/usb boot loader mode and doesn't boot. It happen also when we reboot with a push button in rst pin and with software reboot.When we reboot in software reboot, the last traces we get are:Could you help us? Thanks.Regards.
I have done the yocto build, and i used below bitbake command to generated distribution package.bitbake st-image-weston --runall=deploy_archivesBut i have updated the sources now how to clean and rebuild the archives.used board : STM32MP135FEco system: v4.1.0With Regards,Shashi
Hello, I have an interprocessor communication problem using the OpenAMP_TTY_echo example on the STM32MP157C-EV1 board.I am tring example OpenAMP_TTY_echo, to comunicate between M4 and A7 on the STM32MP157C-EV1 board.I can't find the solution, and I need your help.I installed Linux (en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gz) downloaded from:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Let%27s_start/Populate_the_target_and_boot_the_imageand installed to the STM32MP157-EV1 with STM32 Cube Programmer V2.14.0On my PC: I am using Keil V5.36, compiled the example OpenAMP_TTY_echo without error.The example code runs without problem. either with the Tools: STM32MP1 Load and Run command, or from the Debugger.I traced the code and it runs normally in the while(1) loop of app_main (main.c)(without going through an "Error_Handler")When I execute ssh command to connect to the STM32MP157-EV1 board, it seems that none of the devices tt
Hello,I've been trying to boot my STM32MP157F-EV1 evaluation board from the SD card but I get the result that is shown in the image when using minicom. I used to work on the board for a long time with no problem, but recently I tried booting it again and this happened. I'm not sure if it's a hardware or a software problem. I made sure that the SD card is inserted correctly and that the boot switch configuration is set for SD card. I tried ping and ssh commands with the IP address but no connection is visible.Is there a way to fix this problem? Any help would be appreciated.
Hello,I try to connect a popular Arduino board PCM5102a with my board which is base on STM32MP135.I read some documentation from the linkhttps://wiki.st.com/stm32mpu/wiki/ALSA_overviewhttps://wiki.st.com/stm32mpu/wiki/Soundcard_configurationhttps://wiki.st.com/stm32mpu/wiki/SAI_device_tree_configurationhttps://wiki.st.com/stm32mpu/wiki/SAI_Linux_driverbut pcm, i2s and sound topics are something I have only a base knowledge of, so please give some advice and hints.My dts looks like / { sound { compatible = "audio-graph-card"; label = "STM32MP1-audio-test-card"; routing = "Playback" , "MCLK", "Capture" , "MCLK", "MICL" , "Mic Bias"; dais = <&i2s1_port>; status = "okay"; }; codec: pcm5102a-codec { compatible = "ti,pcm5102a"; #sound-dai-cells = <0>; clocks = <&i2s1>; /* The codec is a consumer of I2S2 master clock */ clock-names = "MCLK"; /* Feed MCLK codec clock with I2S2 master clock provider */ codec_port: port { codec_endpoint:
Hi,my question is how to set up resolv.conf with the DNS nameserver not to lose it after reboot.Some of the manuals on the internet want to modify /etc/systemd/resolved.conf by uncomment DNS line and provide a valid ip. Unfortunately, it's not working for Openstlinux.The DNS only works when updated /etc/resolv.conf.Of course, I can update /etc/resolv.conf automatically during the system boot-up, but in my opinion this method is not too elegant.Can You have some solution for my issue?ThanksBRMichał
Hi,what's the state of the S24_LE format support on the STM32MP1 line of boards? It seems that S16_LE and S32_LE formats are supported on the I2S dai, however S24_LE is rather unavailable. Is there a way to somehow enable it (maybe through Cube MX) or is it completely unsupported?When running alsa speaker-test utility with hardware devices (not default) the S24_LE format is being rejected.Thanks!
Hi all.In my openstlinux yocto image has been included the SGTL5000 audio codec management. I have a problem. On the headphone output I heard only a continuous pink noise.These are some information from my system:zcat /proc/config.gz | grep SGTL CONFIG_SND_SOC_SGTL5000=y:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: STM32MP1 [i.Core STM32MP1], device 0: 4400b004.audio-controller-sgtl5000 sgtl5000-0 [4400b004.audio-controller-sgtl5000 sgtl5000-0] Subdevices: 1/1 Subdevice #0: subdevice #0 :~# aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default Default ALSA Output (currently PulseAudio Sound Server) sysdefault:CARD=STM32MP1 i.Core STM32MP1, 4400b004.audio-controller-sgtl5000 sgtl5000-0 Default Audio Device The command:~# speaker-test -c 0 -t sine -f 2500seems to add a "sine" signal on the output but the pink noise always remains.The command:~# amixer -c0 sset Headphone 0switch-off the signal outputHow can
Try to conduct the DDR test to my STM32MP135 customized board, following the instruction in the DDR test util:https://github.com/STMicroelectronics/STM32DDRFW-UTILwhile after successfully download the test binary file, the test code didn't start, I am using serial only for this test (not usb + uart), seems the parameter –-start 0x01 not accepted, anyone has an idea of what is going on with it?following is the full log:xx@ubuntu:~/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ ./STM32_Programmer_CLI -c port=ttyUSB0 -w STM32MP135C-DK_DDR_UTILITIES_A7_signed.stm32 0x01 –-start 0x01-------------------------------------------------------------------STM32CubeProgrammer v2.14.0-------------------------------------------------------------------Serial Port ttyUSB0 is successfully opened.Port configuration: parity = even, baudrate = 115200, data-bit = 8,stop-bit = 1.0, flow-control = offActivating device: OKBoard : --Chip ID: 0x501BootLoader protocol version:
STM32CubeProgrammer v2.14.0 release information New features:• Updated the support for the entire STM32H5 series: – Debug authentication with password or certificate – Authentication key provisioning – Key generation – Firmware encryption and signing – Certificate generation – SFI support, secure manager install, and module install/update• Added support for microcontrollers in the STM32L5 series and STM32WL series: – SFI integrity check• Updated support for the STM32U5 series: – SFI support for the STM32U535/545, STM32U575/585, STM32U595/5A5, and STM32U599/5A9product lines• Added support for the STM32U5Fxxx and STM32U5Gxxx microcontrollers: – SFI support: user interface and command-line interface – SFIx support: ◦ Via debug: user interface and command-line interface ◦ Via bootloader: command-line interface onlyRefer to the STM32CubeProgrammer software description user manual (UM2237) for details Fixed issues:1296
Hey,I am designing a board based on the STM32MP157F using the OSD32MP157F SOM as a base. I want to have a usb-c connector acting as a host and/or as hs_otg. Reviewing the DK boards schematics I see that the STUSB1600 is being used. I also see on the dts that STUSB1600 is used in conjuction with I2C4. I was wondering whether I can use an alternative like the TPS25820 or other USB-C source controller and if there are any recommendations on this manner, preferably with a compatible or easily portable kernel module.Any ideas or suggestions are highly appreciated.
STM32CubeIDE 1.13.0 was released today on st.com as well as an in-tool update patch. What is new in 1.13.0? Added the support for new microcontrollers in the STM32U5 series Added the support for new microcontrollers in the STM32WBA series Added the support for two new boards related to the STM32U5 series: STM32U5G9J-DK1 and STM32U5G9J-DK2 Added the support for one new board related to the STM32L4+ series: STEVAL-SMARTAG2 Added the user authentication interface to permit package download Updated to Eclipse® 2023-03 Updated to GCC 11 support by default Added CMake project support Updated debug: Changed values highlighted in yellow in the SFRs view Debug authentication for STM32H5 products Support for programming using multiple external loaders with OpenOCD Updated for microprocessors: Support for the latest release 5.0.0 of OpenSTLinux Addition of the TCP console for semihosting output Main fixed issues 109036 [UC5-REGENERATE][CubeIDE][Examples]Build failed when changing
Could someone point me to some documentation about how to control the oversampling for ADC1 and ADC2 for the STM32MP157C? Using OpenSTLinux 4.1.0, buildroot. I looked around but couldn't find anything. Thanks!
Hi,My STM32MP157f-DK2 contains the OpenSTLinux image FlashLayout_sdcard_stm32mp157f-dk2-trusted.tsv. The sdcard is 16GB in size. I am unsure whether this is the right OpenSTLinux image to use when i would like to deploy a React / Electron application on the board. Does anyone have experience with running a React / Electron app on this board? The problem i am facing now is that the total free mem shown is 160MB (free -t -m) while my React package is 477MB in size. Help is appreciated.
Hi.I started to play with STM32MP1 micros and have a problem. How can I add so libraries not having "normal" linux tools? I wrote a simple GTK app and I am missing libpcreposix.so.0
Hello,The starter package of STM32MP1-Ecosystem-v4.1.0 is downloaded to the SD card on STM32MP157D-EV1 board and SD booting is fine as attached log file. The tried layout files were FlashLayout_sdcard_stm32mp157d-ev1-trusted.tsv and FlashLayout_sdcard_stm32mp157d-ev1-optee.tsvHowever, I don't see the below menu screen to select the boot mode for M4 examples. How can I enable the menu screen with the starter package?Select the boot mode 1: stm32mp157c-ev1-sdcard 2: stm32mp157c-ev1-a7-examples-sdcard 3: stm32mp157c-ev1-m4-examples-sdcard <- Select stm32mp157c-ev1-m4-examples-sdcard Enter choice: 3 3: stm32mp157c-ev1-m4-examples-sdcard Retrieving file: /uImageThanks.
Hello, I have a board based on the stm32mp153a and I'm trying to get it to boot, unfortunately I can only access USART 6 while it seems that uboot only tries to interact using uart4.In my dbs file I have overridden usart6/status to be "okay" instead of disabled and have set stdout-path in /chosen (though I believe that would only impact the kernel)However this is not working and I think I am missing something, does anyone know how to change the port used for output by uboot?Thank you for your help
Hi,I'm working on creating a simple soundcard with a simple codec called pcm5102a which is a part of the kernel source. My board is the STM32MP135F-DK. I2S seems to be enough for this purpose however if you think that SAI will work better, then I'll take advice on that happily as well.The current configuration is as in the attached audio_test.zip with I2S1 enabled and SPI1 Clock Mux set to PLL3Q instead of the default PLL4P (all set in the STM32CubeMX). The configuration is inserted into the build with a new machine and it does build without any problems. It's only after the boot that aplay -l doesn't list any soundcards, moreover below message is visible in the dmesg output: [ 3.600504] st,stm32-i2s 44004000.audio-controller: Could not get x8k parent clock: -2 [ 3.607136] st,stm32-i2s: probe of 44004000.audio-controller failed with error -2 I read that the x8k is one of the clocks necessary for audio handling, however can't figure out how to fix that.Below are th
Hi there,in order to have an externally generated clock for our LTDC peripheral we decided to use the I2S_CKIN as the reference clock for PLL4 on our customized STM32MP157CAC board. Reference manual and STM32CubeMX are showing that this opportunity exist. But currently the TF-A is crashing with a panic when we change the PLL4 clock source to I2S_CKIN in the device tree.We are using the following softwares:Yocto dunfell v3.1.7CubeMX: 6.1.1TF-A: 2.2Linux: 5.4.56U-Boot: 2020.01What we have done so far is the adaption of the TF-A device tree. We entered a definition of the desired input pin:&pinctrl {rcc_pins_mx: rcc_mx-0 {pins {pinmux = <STM32_PINMUX('I', 11, AF5)>; /* I2S_CKIN */bias-disable;drive-push-pull;slew-rate = <0>;};};};Then we changed the RCC node to have the I2SCKIN clksrc configured for PLL4:&rcc {st,clksrc=<CLK_MPU_PLL1PCLK_AXI_PLL2PCLK_MCU_PLL3PCLK_PLL12_HSECLK_PLL3_HSECLK_PLL4_I2SCKINCLK_RTC_LSECLK_MCO1_DISABLEDCLK_MCO2_DISABLED>;st,clkdiv = <1
Hi,I am working on a custom hardware based on STM32MP1 mpu and also uses some other peripherals too. For our use case, we are using Yocto Linux. I am using the pin PA12 as an input GPIO interrupt, configured to trigger for falling edge. The interrupt works fine and gets triggered whenever the pin level goes low.I need to use an led also as part of the application which is connected on-board to PD12. I opened the /sys/class/gpio/export and write the pin no. to the file and then set the direction as out in direction file.But when the GPIO pin is enabled, the interrupt is not triggering. When we disable the GPIO pin and test, the interrupt works fine. The same happens if I enable the same pin no. on any GPIO port, whether it is PB12 or PC12 or PF12. I checked the registers also but everything is fine.Can anyone help me with this issue. I am really stuck with this problem. REGISTERADDRESS VALUEEXTI_FTSR1 0x5000D004 0x00001000EXTI_RTSR1 0x5000D000 0x0EXTI_
Hello everyone.I'm trying to build an embedded openSTLinux Yocto image but I have the following error"ERROR:.. do_rootfs: No manifest generated from: <my_name_folder> in ..."Why does a similar error appears?I explain better. Previously, the build process worked fine. Then I modified a ".bb" recipe to install new files into the root file system. The new files are contained in <my_name_folder>. After doing this, the build process fails with the message error shown above. I tried to delete the new files from <my_name_folder> folder and restore the old ".bb" recipe version but the errors remain.Any suggestion?Many thanks
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.