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
Hello all,I'm using STM32MP135F-DK, taking picture with GC2145 camera and converting 1600x1200 raw image to png/jpeg formats to use later. I'm doing these according to the document at below link:https://wiki.st.com/stm32mpu/wiki/STM32MP13_V4L2_camera_overviewI calculated how much time spent for below script:##### 2 MP Setup media-ctl -d /dev/media0 --set-v4l2 "'gc2145 1-003c':0[fmt:RGB565_2X8_BE/1600x1200@1/20 field:none]" media-ctl -d /dev/media0 --set-v4l2 "'gc2145 1-003c':0[fmt:RGB565_2X8_BE/1600x1200@1/20 field:none]" media-ctl -d /dev/media0 --set-v4l2 "'dcmipp_parallel':0[fmt:RGB565_2X8_BE/1600x1200]" media-ctl -d /dev/media0 --set-v4l2 "'dcmipp_parallel':1[fmt:RGB565_2X8_LE/1600x1200]" media-ctl -d /dev/media0 --set-v4l2 "'dcmipp_dump_postproc':0[fmt:RGB565_2X8_LE/1600x1200]" ##### 2 MP Capture v4l2-ctl --set-fmt-video=width=1600,height=1200,pixelformat=RGBP --stream-mmap --stream-count=1 --stream-to=grab-1600x1200-rgb565.raw ##### 2 MP Convert gst-launch-1.0
Hello,I am trying to capture images from OV5640 on STM32MP135F-DK.When I connect GC2145 camera, I succesfully list devices like below:I removed GC2145 on the ST camera board and connected OV5640, like below image: But when i try to list devices, /dev/media0 is not visible. How can i get images from OV5640?
Dear. All. I have one problem. until now, I used well to connect with USB OTG interface. I've been using USB C to USB A cable. and then, we have no problem. but, I found a problem at using USB C to USB C connectivity. the PC & my MP151C board didn't recognize each other. I'll use my device for slave. our circuit as bellow. thank you.
As I find that the qt layer has been removed from the ditribution package, and no qt ducumentation on wiki is available, does that mean qt is not supported for the stm32mp series?
I'm using the Board STM32MP157F-DK2 on a Linux Ubuntu 22.04I was trying to follow the 1.3.1 step at 'https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_Starter_package#Install_all_X-LINUX-AI_packages', when this happened: ~ apt-get install ./apt-openstlinux-ai_1.0_armhf.deb Reading package lists... Done Building dependency tree... Done Note, selecting 'apt-openstlinux-ai' instead of './apt-openstlinux-ai_1.0_armhf' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: apt-openstlinux-ai : Depends: apt-openstlinux (>= 5.0-r0) but 4.0-r0.4 is to bd E: Unable to correct problems, you have held broken packages. How can i update the apt-openstlin
Dear STM: We have the following questions to consult: ①Does the PA10 of STM32MP157AAD3T have a pull-up resistance inside the OTG_ID pin function?Do I need an external pull resistor when doing OTG ID function at the same time?If so, what is the resistance value of the external pull-up resistor? ②What is the maximum capacity supported by the emmc chip attached to the EMMC interface of STM32MP157AAD3T? ③When the emmc interface of STM32MP157AAD3T supports the speed of HS200, what is the power supply mode of the external EMMC chip? Our power supply method is shown in the attached picture, please help evaluate whether it can be satisfied. If not, could you recommend the design schematic diagram of EMMC supporting HS200 speed? ④Could you provide the reference design of STM32MP157AAD3T? &
Hello. I am desperately trying to connect a St Link (V2 and V3) to a news card. The chip is an STM32MP135. This component is equipped with lines allowing connection via the SWD protocol. However, the STM is not recognised. How can I hope to contact the chip via SWD?Thank you very much!
Hi, can someone help with ADS124S08 SPI ADC and its linux driver? I think the driver is correctly probed. I see /sys/devices/platform/soc/44004000.spi/spi_master/spi0/spi0.0/iio.device0/in_voltage0raw ...etc but it seems the device does not reply.This is my device tree configuration:&spi1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins_a>; cs-gpios = <&gpioz 3 GPIO_ACTIVE_LOW>; #address-cells = <1>; #size-cells = <0>; adc@0 { compatible = "ti,ads124s08"; reg = <0>; /* CS #0 */ spi-max-frequency = <1000000>; spi-cpha; reset-gpios = <&gpioi 2 GPIO_ACTIVE_LOW>; }; };First, i don't see the cs going low when i try to read the voltages. Should the driver do that?Second, the driver ti-ads124s08.c itself seems a bit incoherent with the datasheet. it defines the start conversion command as in the datasheet but then never uses it and instead it uses a made-up command.#define ADS124S08_CMD_START 0x08 #def
Hello everyone,I want to develop a project for STM32MP1 using stm32cubeIDE Version: 1.15.1. In the yocto-related part of the topic, I successfully compiled a kernel and produced an SDK for the relevant kernel. I want to import this SDK into the cubeide environment and start with a ledBlinky application. But I couldn't import the SDK.I have reviewed what is explained in forums and blogs, but I constantly encounter error messages. Below is the location of the .sh file of the SDK I produced. And I keep getting the following error. What I want to do is to use my own SDK for mickledore, not the SDK offered by ST.Sinceley
I'm starting to check the documentation for the STM32MP1 MPU and I'm reading the Install the SDK guide. Everything in the instructions works perfectly fine except this:$CC --version Which is the second to last instruction to verify if the environment is correctly setup. The article says I should see this:arm-ostl-linux-gnueabi-gcc (GCC) 12.3.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.But I see this:no such file or directory: arm-ostl-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/user/Projects/STM32MPU-Ecosystem-v5.1.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi Is there something missing in the instructions? Or did I do something wrong? I just followed all the steps exactly as mentioned in the article.
I just received my STM32MP135F-DK in the mail today. I was able to use STM32CubeProgrammer v2.16.0 to populate the device using the Starter Package, which I downloaded from here:https://www.st.com/en/embedded-software/stm32mp1starter.html#st-get-softwareThe file I downloaded was named:en.flash-stm32mp1-openstlinux-6-1-yocto-mickledore-mp1-v23-06-21.tar.gzAnd the file that I used in the STM32CubeProgrammer to download the firmware to the device was named:FlashLayout_sdcard_stm32mp135f-dk-optee.tsvAfter downloading the firmware to the device and toggling the switches to the correct mode, I powered up the device and the display never turned on. However, I was able to open a terminal on the device through the serial connection.Everything seems to be working fine as far as the terminal is concerned. I even managed to connect the device to my home network and SSH into it.The LCD display shows no signs of life. I've never seen the splash screen, or even a flicker out of it. There i
Hello everyone, if you can help me it's urgent.Here I have a powerful Linux board development platform STM32MP157-MINI,SOM board 1GB RAM + 8GB eMMC + integrated MCU from Alientek:https://www.bilibili.com/video/BV15U4y1E7Bh/https://detail.tmall.com/item.htm?id=652298605967&last_time=1717185641&scm=1007.13982.82927.0&spm=a1z2k.11010449ALIENTEK released src to build image fast:I have these scripts in the src folder but I don't understand how to build an image with the mapping of the analog IO and PWM IO on the board,Is there a script to quickly map Analog and PWM pins on the board from an analog device tree or other quick technique? GPIO PinOut - STM32MP157-Mini - LINUX ARM I downloaded the electrical diagram of the STM32MP157 MINI board the core Board has ADC1 and ADC2 but no reference to mapped GPIO pins: Analog_0, Analog_1, Analog_2, Analog_3, Analog_4, Analog_5, PWM_0,PWM_1,PWM_2.Can software calls on multiple analog IO channel addresses be concurrent or non-conc
Hello, I am trying to create a new STM32 baremetal project for STM32MP131Axx. Errors occurred when to build the project that ADC2 is enabled by using STM32CubeMX.'ADC1' undeclared (first use in this function); did you mean 'ADC2'? stm32mp13xx_hal_adc.c line 2786'ADC1_COMMON' undeclared (first use in this function); did you mean 'ADC2_COMMON'? stm32mp13xx_ll_adc.h line 1970 STM31MP131Axx has only ADC2 but the FW package seems to expect the definition of ADC1 exists. I avoid these errors by modifying "stm32mp131axx_ca7.h" as below since I though it is better not to change "stm32mp13xx_hal_adc.c" and "stm32mp13xx_ll_adc.h" because they are common files for STM32MP13 series.#define ADC1 ((ADC_TypeDef *) ADC2_BASE) #define ADC1_COMMON ((ADC_Common_TypeDef *) ADC2_COMMON_BASE) #define ADC2 ((ADC_TypeDef *) ADC2_BASE) #define ADC2_COMMON ((ADC_Common_TypeDef *) ADC2_COMMON_BASE) I would be appreciated if you could explain the better way to avoid these erro
hi, I found stm32mp135faf7 MPU's i2c3 is not be probed1、"ovti,ov5640" probe() function no enter2、not found i2c3 in /sys/class/i2c-dev/here is my dtsi:&i2c3 {pinctrl-names = "default", "sleep";pinctrl-0 = <&i2c3_pins_mx>;pinctrl-1 = <&i2c3_sleep_pins_mx>;status = "okay";i2c-scl-rising-time-ns = <170>;i2c-scl-falling-time-ns = <5>;clock-frequency = <100000>;/delete-property/ dmas;/delete-property/ dma-names;ov5640: ov5640@3c{compatible = "ovti,ov5640";reg = <0x3c>;clocks = <&clk_ext_camera>;clock-names = "xclk";DOVDD-sup = <&vdd>;//reset-gpios = <&gpioh 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;rotation = <180>;status = "okay";port {ov5640_0: endpoint {remote-endpoint = <&dcmipp_0>;bus-width = <8>;bus-type = <5>;data-shift = <2>;hsync-active = <0>;vsync-active = <0>;pclk-sample = <1>;pclk-max-frequency = <77000000>;};}
Hello , We have built OpenSTLinux(Openstlinux-6.1-yocto-mickledore-mp1-v23.06.21) for stm32mp157d-dk1 Board.Now moving forward we would like to Work with latest the version of u-boot instead U-Boot 2022.10-stm32mp-r1. So we would like to know how we could change the u-boot version.We have followed the below link as our reference.https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution Thanks in Advance Best regardsSrikanth
I am trying to update my distribution (dated ecosystem v.5.0.0) to ecosystem v.5.1.0 ,As repoted inhttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Building_the_OpenSTLinux_distributionI ran :` repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mpu-v24.06.26`followed by `repo sync`, but I get the following error:error: Cannot fetch meta-st-openstlinux from https://github.com/STMicroelectronics/meta-st-openstlinux Fetching: 100% (1/1), done in 3m14.826s fatal: failed to unpack tree object HEAD error.GitError: Cannot checkout meta-st-openstlinux: Cannot initialize work tree for meta-st-openstlinux error: Cannot checkout meta-st-openstlinux Checking out: 85% (6/7), done in 1.078s error: Unable to fully sync the tree error: Downloading network changes failed. error: Checking out local projects failed. Failing repos: layers/meta-st/meta-st-openstlinux Try re-running with "-j1 --fail-fast" to exit at the first error
Custom board using MYC-YA157C, with Ubuntu 18 on itI'm using RS485 serial communication using python, it communicates well at first, but after a few hours tx stopsUart7 is in use and TX is stopped at tx:2875680I checked that the Python file is still runningCan I see where the problem is?
I'm attempting to run a critical process on Core 1 (A7 processor) while keeping all other processes on Core 0. I've had success with 'taskset' to get my critical process assigned to Core 1. I'm struggling with how to default all other processes to run on Core 0. Can someone show me how to do this on the supplied OpenSTLinux platform for this processor? The internet mentions isolcpus a lot but I'm not finding support for that command on this processor. How can it be done?
I am working on building a Yocto-based Linux distribution for the STM32MP157D SoC. I have already set up the process to build the Linux image successfully. However, I need guidance on the following:Deploying Firmware on M4 CoreWhat is the correct procedure to deploy firmware on the M4 coprocessor core of the STM32MP157D?Are there any best practices or considerations I should keep in mind while deploying firmware on the M4 core?Communication between A7 and M4 CoresHow can I establish communication between the main A7 core (running Linux) and the M4 coprocessor core?Are there any examples or sample code available to demonstrate the communication between the two cores?I would greatly appreciate any guidance, documentation references, or code examples that could help me accomplish these tasks efficiently. Thank you in advance for your assistance.
hi,I use SAI interface for reading data by M4 core in stm32mp157Only in debug M4 mode(M4 is running and A7 isn't running),the read can success.When A7 core is running, the read will be failed(A7 is running ,but SAI is used by M4). when a7 is running.Using HAL_SAI_Receive , time out will bu return .Using HAL_SAI_Receive_DMA ,busy will be return .in device tree ,sai is disable
Hello, I recently purchased the STM32MPU135F-DK and is having an issue with connecting to the discovery kit using the STM32CubeProgrammer Version 2.16.0. It looks like when i try to connect the STM32MPU135F-DK, I get this "Cannot Access Port 0!!!" (Please see picture attached). I have never seen this issue before with any of my STM32 discovery kits.Can you please tell me how to fix this issue?
Hello everyone,I got a yocto build from scratch using yocto/open-embedded/meta-st-stm32mp. Everything is smooth. I can root the kernel while standing. I can establish an ssh connection. Everything is perfect.But I want to create an SDK after the kernel compilation I received. In the next step, I will integrate the SDK I created into cubeide and start developing code. But when I say "bitbake -c populate_sdk core-image-minimal" I get the following error. I've been struggling with this error all day and couldn't solve it. Does anyone have an idea? Sincelery
We are pleased to announce you that the official release of STM32CubeMX V6.12.0 is available. What is new in STM32CubeMX V6.12.0? New MCUs/MPUs series : STM32WB0 ,STM32MP25XX and STM32C071XX Add support new CPNs STM32G4: Add support STM32G4 'Z’ and STM32G414 New Boards are supported: NUCLEO-C071RB , NUCLEO-WB09KE ,NUCLEO-WB07CC ,NUCLEO-WB05KZ ,STM32MP257F-DK , STM32MP257F-EV1 Remove STM32MP15 obsolete boards from CubeMX board selector ( STM32MP157A-DK1 , STM32MP157A-EV1, STM32MP157C-DK2, STM32MP157C-EV1) New Boards are supported by the Start from Board feature: Nucleo-WB09xx Nucleo-WB07xx ,Nucleo-WB05xx ,Nucleo-C0 , NUCLEO-G431RB ,NUCLEO-G474RE ,NUCLEO-G491RE ,NUCLEO-H503RB ,NUCLEO-U545RE ,NUCLEO-WB15CC ,NUCLEO-WB55RG ,P-NUCLEO-WB55 ,P-NUCLEO-WB55 ,NUCLEO-WL55JC1 ,NUCLEO-WL55JC2 ,NUCLEO-WBA52CG ,NUCLEO-WBA55CG Add CMake support for multicontext projects (Multi-Context ,Trust zone , Multi-core) Add the support of the memo
Hello everyone, I am trying to debug a custom board with STM32MP151 with WM8988 connected with SAI2, the connection is just as STM32MP15x-DK with except that there is no I2S to HDMI. The device tree configuration is a mimic of STM32MP15xx-dkx.dtsi. After bootup, the soundcard was created, and I can run alsamixer.The problem is whenever I try to play a sound, the driver complains about cannot get MCLK because the freq passed to wm8988_set_dai_sysclk() is zero. The log messages shown that the asoc try to configure the dai, but it passed the wrong MCLK freq to wm8988 dai. I don't know why? Is there something I am missing in the device tree? Also, I tried to enable DEBUG in stm32_sai_sub.c and find that stm32_sai_mclk_enable() may not be called because I cannot find “Enable master clock” in dmesg. I am using openstlinux eco system 4, the distro version is 4.0.11. Here is the snipet of the device tree. &i2c4{ pinctrl-names = "default", "sle
Hi, I am working on an Azure RTOS project, which requires jumbo frames capability. My current devkit is a MYD-YF13X to utilize 1 gigabit ethernet PHYs. My goal is to receive 9000-byte packets, but I am not able to receive any bigger than ~2000 bytes.Packets with size over 2kB are simply being ignored, as they wouldn't be transferred. The eth interrupts and respective receive complete callbacks are not being activated for them. I performed the following configuration:I have also configured the YT8521-SH ethernet PHY to work with jumbo framesI have also adapted the size of the buffers respectively. At the end I worked with the OpenSTLinux with both STM32MP13-Devkit and MYD-YF13X. I wanted to resize the MTU of eth interface. With the ifconfig tool I wasn't able to set the MTU to 9000 bytes. Once again, it was constrained to 2000 bytes.Why is the constraint set to ~2000? I would be thankful for any advice and help. Best,J.Schneider
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.