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 All!! I am currently using openstlinux-5.10-dunfell-mp1-21-11-17 for EV1. My idea is upgrade kernel version to 5.15 and keep u-boot-2020.10 and tf-a-2.4. My problem is that only upgrading the kernel and dtb, the kernel crashes and doesn't show any log traces (added boot.log). Is there any dependency (or API break) between kernel and bootloaders(U-boot/Tf-a)? I would like to know if it have fix
I want the cortex-m4 to do pwmget data from sensors and transfer to cortex-A7So, I write simple code to do PWM and find out the RCC in stm32cubeIDE not work because linux take control the clock config.My question is, What is the best way to configure clock In my situation.Is it better to modify clock on linux command? or would it better to modity it in device tree?and where can I find the manual to modify it on devicetree?Thanks
Hi,I try to connect ADC channels with libiio for my custom board based on the stm32mp157caa3. I followed the instructions from the linkhttps://wiki.st.com/stm32mpu/wiki/IIO_libiiohttps://wiki.st.com/stm32mpu/wiki/ADC_device_tree_configuration#DT_configuration_examplesbut without success. After issuing the consoleiio_infoI getLibrary version: 0.23 (git tag: 92d6a35) Compiled with backends: local xml ip usb serial IIO context created with local backend. Backend version: 0.23 (git tag: 92d6a35) Backend description string: Linux stm32mp1-connect-bridge 5.15.67 #1 SMP PREEMPT Thu Sep 8 10:32:54 UTC 2022 armv7l IIO context has 2 attributes: local,kernel: 5.15.67 uri: local: IIO context has 0 devices:The same is in /sys/bus/iio/devices/empty, with no devices.Part of my dts looks&adc{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&adc_pins_mx>; pinctrl-1 = <&adc_sleep_pins_mx>; status = "okay"; /* USER CODE BEGIN adc */ vdda-supply = <&vdda>;
Hi,I upgraded the image for our custom board to 4.1 last week. After fixing the sw issuesconcerning the recipe syntax changes i have now problems to boot the new image.Info: Our board does not use PMIC but static voltage configuration:/ { model = "DEWETRON NEXDAQ tf-a"; compatible = "st,stm32mp157f-nexio", "st,stm32mp157"; aliases { serial0 = &uart4; serial1 = &usart1; serial2 = &usart2; }; chosen { stdout-path = "serial0:115200n8"; }; /* Supply Voltages */ vddcore: vddcore { regulator-name = "vddcore"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1350000>; regulator-always-on; }; vdd: vdd { regulator-name = "vdd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; }; v3v3: v3v3 { regulator-name = "v3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-o
Can ST please provide a guide for bringing up a custom board without using the STPMIC? We are extremely space constrained and unable to fit the PMIC. For our use case we just want simple LDO's with bucks as required.There is no material I can find that outlines what the device tree should look like for TF-A, U-Boot and Kernel when STPMIC is omitted.
I have a small project under GPL v2 license which will not necessarily be used on STM device (maybe, but most likely not). There is a "Design Tip (DT0085)" which have some reference source code and I want to use it in my project (esp. page 7). I can't figure out which license is used in this document for the source code. Can I use the source code or it parts from DT0085 in my project?
We are bringing up a custom board with LPDDR2 and no STPMIC. I have been following the bring up guide and have gotten past disabling I2C4 and fixing the HSE clock issue in the device tree. I have merged in quite a few things from dev kit 'working' devicetrees as well.I am stuck at the following TF-A error though.Data Abort at: 0x2fff3e20 DFSR = 0x00000206 DFAR = 0x3664647fAbort at: 0x2ffe93a0I have used devtool to modify the tf-a recipe and increase the DEBUG level but nothing I do makes any difference. I just get this error.Attached is the flattened ftd from the TF-A build dir along with the cubemx generated set of devicetrees for tf-a.
I am puzzled with a curious build problem:The recipe gcc-arm-none-eabi-native downloads gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 but the download finishes to early (at 100MB instead of 150MB). Therefore the checksum check fails.BUT:If I copy the SRC_URL:SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2;name=gcc-arm-x86"into a browser or use wget the download completes successfully. Also the sha256 sum is correct then.Anyone experienced similar problems? Currently I will try to add a bbappend recipe to inject the archive as local file.My systems:Ubuntu 22.04 LTSAlternatively docker container with 22.04BB_NUMBER_THREADS="16" PARALLEL_MAKE="-j 16" bitbake gcc-arm-none-eabi-native NOTE: Started PRServer with DBfile: /home/glaure/Development/SW_APP/nexio_tmp/ost-5.15/build/cache/prserv.sqlite3, Address: 127.0.0.1:41099, PID: 1439493 Loading cache: 100% |#############################################
Datasheet says STM32MP15xx has ADC but here seem no ADC.I am not sure if I am missing something.
In my device tree, we config 400KHz, but on scope we see only ~ 50Hz, and the clock seems weird. Anyone know why? &i2c1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c1_pins_a>; pinctrl-1 = <&i2c1_sleep_pins_a>; i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; clock-frequency = <400000>; status = "okay"; /delete-property/dmas; /delete-property/dma-names;};
We can use devmem to read/write all gpio port registers except for portZ.We know this port relates to secure. is there any way to remove secure feature on this port so we can use devmem on this port?Thanks
gtk-launch: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory.
Hey,I was able to successfully flash the Starter Package following this article and after building the OpenSTLinux distribution following this, I'm having trouble with flashing it. After completeing the build process, inside the flashlayout_st-image-weston, there are 3 folders optee, extensible and deleteall. I was looking for trusted folder like in starter package but it is not available. Then I tried to follow article found here with cube programmer interface and through terminal with FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv but i'm getting following error.Error: failed to download Segment[0] Error: failed to download the File Error: Download partition 0x05 failed Error: TSV flashing service failedAfter that I tried to flash with FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv in Starter Package but it also showed the same issue. I have attached the cube programmer terminal output. Apreciate if anyone can help me with this.Thanks.
I'm using a custom stm32mp157a board with a DSI display.If I enable uart8 using pins J8 (UART8_TX) and J9 (UART8_RX) the display driver (panel-sitronix-st7701.c) doesnt load properly and the display stays blank. uart8 does work properly. If I disable uart8 the display works again.
Noob here..I'm aware I can to access the Cortex-M4 as STMCubeIDE generates both a project and code for it. But the generated project for the A7 is empty. I am only able to access the A7 using Linux? I am currently using Windows.
We recently udated from OpenSTLinux v2.1 to v4.1. The boot chain is solid, but occasionally we are getting TEE aborts (trace listed below). I am not sure exactly how to debug this, any help would be appreciated. E/TC:1 E/TC:1 Core data-abort at address 0x2fff8805 (translation fault) E/TC:1 fsr 0x00000207 ttbr0 0x2ffd8020 ttbr1 0x00000000 cidr 0x0 E/TC:1 cpu #1 cpsr 0x000001f3 E/TC:1 r0 0x2fff8805 r4 0x2ffda889 r8 0x2ffda889 r12 0xffffffe0 E/TC:1 r1 0x2ffcda91 r5 0x000000f7 r9 0x00000000 sp 0x2ffda788 E/TC:1 r2 0x2fff8805 r6 0x00000000 r10 0x2fff8805 lr 0x2ffcb297 E/TC:1 r3 0x2fff8806 r7 0x2ffda870 &n
Hi there, I am building custom board with openstlinux distribution package with following configBuild Configuration:BB_VERSION = "2.0.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "universal"TARGET_SYS = "arm-ostl-linux-gnueabi"MACHINE = "stm32mp1-silico"DISTRO = "openstlinux-weston"DISTRO_VERSION = "4.0.4-snapshot-20230428"TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"TARGET_FPU = "hard"DISTRO_CODENAME = "kirkstone"ACCEPT_EULA_st
Hello ,I want to build android distribution for STM32MP157F-dk2.ST-Android delivery only support STM32MP157C-EV1 and STM32MP157F-EV1 Evaluation board (aosp_eval).how can i create my own distribution for STM32MP157F-dk2 target
Hello,I would like to setup environment for STM32MPU according this instruction:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Install_the_SDKso I downloaded the SDK .tar https://www.st.com/en/embedded-software/stm32mp1dev.html#get-software/SDK-x86_64-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xzand run the script and got an error ./st-image-weston-openstlinux-weston-stm32mp1-x86_64-toolchain-4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.sh Extracting SDK............................................................................................................................................................................................................................done Setting it up...xargs: file: No such file or directory sed: no input files Failed to replace perl. Relocate script failed. Abort!I run this script in docker based on ubuntu. All necessary packet installed. FROM u
Hello,I’m using an ST MP1 Development Kit STM32MP157C-DK2 to develop and deploy projects involving Machine Learning on an SoC.I need to perform some pre-processing operations on data coming from different sensors and to do so I have at my disposal Python scripts with dependencies from libraries like NumPy, Pandas, SciPy, and Librosa.While the first ones can be easily resolved by installing them via apt, (python3-numpy and python3-pandas), I’m encountering difficulties with the other ones (scipy and librosa), which are not available on ST repositories.I tried installing them via pip3, but it requires a compiler to build both libraries and dependencies from scratch, and the current Linux image I’m using doesn’t include it.Do you have any ideas on how to proceed, to help me?Thank you,Andrea.
I could not find any information relates to vbat battery charging in user manual or datasheet.Is this feature supported in STM32MP15x?Thanks,
I have two boards stm32mp157f-dk2 and my custum board(embedded stm32mp157d).I know that the difference stm32mp157f and stm32mp157d is simply security part.And my custom board don't have C-type connector because of issues in parts supply.So, After plugging the sd card into the stm32mp157f-dk2, I flashed the flashlayout dedicated to stm32mp157d via the stm32cubeprogrammer.And then, does it boot if I put the sd card back on the custom board?I've been looking for a reason why my custom board hasn't booted for weeks...What we've seen so far from the cmd and DAT0 signals on the sd card is that the initial cmd signal has the same logical level, and the DAT0 signal is slightly different.I'd appreciate it if you could let me know.Thank you
The two graphs above are the data obtained from different cores. The left side is the MCU method start, the sampling rate is 1.6M, the acquisition of 1KHz signal, the acquisition of 1600 points is correct; the right side is the EMMC from the A7 core start ADC in M4, the acquisition of only about 600 points, the sampling rate is obviously wrong. The output of the data in the above two ways is the same, both are serial printouts Translated with DeepL
We are using LPDDR2 and have wired the data bits as per the ST provided example STM32MP15XXAD_LPDDR2x16-Example-A01_Schematic.PDF (attached)We have swapped the same bits in the DQ15:8 byte as per the PDF but I can't find anything to tell me how to perform this swapping in the devicetree or otherwise.Below is the screenshot from the Application Note detailing that bit swapping is possible.
Hello,when configuring a binary semaphore with CubeIDE the parameter initial_count defaults to 1. Is there a way to tell CubeIDE to always initialize this with value 0 for my projects?regardsHerbert
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.