Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Hi st frends: Yestarday I fuse the OTP PKHTH as followBut today I found the key I fuse is not the correct one. So I want to re-fuse the OTP ,it seems that can't no fuse again. is there any way to fuse the OTP this situation?
Hello!I'm currently working with a stm32mp157f-dk2 development kit and designing a custom PCB with a STM32MP153A. I have working with the Developer/Distribution package of openST. I want to enable the TimeStamp function of the RTC, and be able to read the TimeStamp Time Register (RTC_TSTR) and Date Register (RTC_TSDR). I have been looking information for some time and I didn't found any support in the RTC linux driver bindings (<linux/rtc.h>), or in the stm32-rtc linux driver (<linux/drivers/rtc/rtc-stm32.c>). Also in the wiki I have not been able to find information about it's integration with the device tree. I have already check this post about reading from the M4: https://community.st.com/t5/stm32-mpus-products/how-can-the-cortex-m4-access-to-rtc-timestamp/td-p/276948 . But for reading the timestamp I have to enable it from the linux core.Does anyone have any suggestions on how this situation can be addressed?I have been modifying the linux driver,
Hi,I want to send and receive data using Ethernet.I tried this Linux version code, but it didn't works. https://gist.github.com/austinmarton/1922600 After I failed to try, I found this header code, STMMAC.https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/stmicro/stmmac/stmmac.h Should I make a program based on this code?? I've searched a lot, but I couldn't find any related cases.I'm not good enough to make the whole program code.If you have any relevant content or examples, please let me know....
I want to ask about realise date of STM32MP257F-EV1?Today, I see a local shop sell this board with price 800$. I guess this is contraband board from China and the price too expensive with my expect.
Hi Team, In the DTS node property mwifiex mentioned below, the default operating frequency is 25 MHz. I would like to update my SDMMC1 clock to 50 MHz and require assistance with configuring it accordingly. Could you please provide me with details or reference documents? &sdmmc1 {pinctrl-names = "default", "opendrain", "sleep";pinctrl-0 = <&sdmmc1_pins_mx>;pinctrl-1 = <&sdmmc1_opendrain_pins_mx>;pinctrl-2 = <&sdmmc1_sleep_pins_mx>;non-removable;st,neg-edge;bus-width = <4>;vmmc-supply = <&scmi_vdd_sd>;mmc-pwrseq = <&wifi_pwrseq>;mmc-ddr-3_3v;#address-cells = <1>;#size-cells = <0>;status = "okay"; mwifiex: mwifiex@1 {compatible = "marvell,sd8978";reg = <1>;interrupt-parent = <&gpiof>;interrupts = <3 IRQ_TYPE_LEVEL_LOW>;//marvell,wakeup-pin = <3>; /* FIXME: check */};};
Hello everyone,for the board TXMP1570 in Fast boot mode I am looking for the corresponding driver "USB download gadget" Win 11, VID_0483&PID_5720. Thanks in advance Marko
Hello,I am trying to configure a PWM in the boot process. I followed the steps in the documentation https://wiki.st.com/stm32mpu/wiki/TIM_device_tree_configuration .I configured the pwmleds nodepwmleds { compatible = "pwm-leds"; example { label = "stm32-pwm-leds-example"; /* Use pwm1 channel 0 (e.g. TIM1_CH1) */ /* period in nanoseconds (500000), normal polarity (0) */ pwms = <&pwm1 0 30518 0>; max-brightness = <255>; }; };/* PWM DT provider on TIM1: "pwm1" */ &timers1 { status = "okay"; /* spare all DMA channels since they are not needed for PWM output */ /delete-property/dmas; /delete-property/dma-names; /* define pwm1 label */ pwm1: pwm { /* configure PWM pins on TIM1_CH1 */ pinctrl-0 = <&pwm1_pins_a>; pinctrl-1 = <&pwm1_sleep_pins_a>; pinctrl-names = "default", "sleep"; /* enable PWM on TIM1 */ status = "okay"; }; };I run the command cat /sys/kernel/debug/pwmI see the next linepwm-0 &nb
Hello: Looking for a BSDL file for a STM32MP135FAF7. Les
I am currently working on bringing up a production board design with the OSD32MP157C-512M-IAA. The board is by design very similar to the Octavo systems osd32mp1-red board and the USB part is very similar to ST STM32MP157-EVAL where VBUS pin in uUSB connector through a bead is connected directly to VBUS_OTG on PMIC and to OTG_VBUS on MPU. The board use I2C, SPI, CAN, GPIO's. If I without any power, plug the board in to my PC the board burn so PMIC VDD3V3_USB (LDO4) and VDD (Buck3) are shorted afterwards. I have found a solution that seems to work. The zero ohm resistor towards OTG_VBUS is changed to 10k and the pull-down is changed from 10k to 100k ohm (47+10k on EVAL board) then the board survive. I belive that the 5V try to lift all internal powerQuestion is: have anyone seen similar problem first of all on the EVAL board but also on your own design? And have you found other solutions or root cause to the problem?
Hello everyone,For some time I have been trying to launch at least some kind of browser on this platform, better than the one in the example with QtWebKitWidgets.Now I am trying to run Qt Kiosk Browser on my STM32MP157F-DK2 running OpenSTLinux Mickledore with EGLFS backend. It was compiled with: DISTRO=openstlinux-eglfs MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh Then this line IMAGE_INSTALL:append = " qt-kiosk-browser" was apppended at the end of conf/local.conf. In conf/bblayers.conf, after ${OEROOT}/layers/meta-openembedded/meta-perl \ I added this line: ${OEROOT}/layers/meta-openembedded/meta-python2 \ Then I installed g++-multilib on the host machine: sudo apt-get install g++-multilib And than bitbaked the entire image: bitbake st-example-image-qt The problem is that the browser starts, then I see a white screen for 5-10 seconds, then it terminates. The launching script is in the attached kiosk_sh.txt.
Hello, I'm trying modify device tree following this website :STM32MPU Developer Package - stm32mputhan now Im working on :meta-st-stm32mp/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt at mickledore · STMicroelectronics/meta-st-stm32mp · GitHubMy problem is in the kernel source directory (STM32MPU-Ecosystem-v5.1.0/Developer-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.1.82-stm32mp-r2-r0$) I have 0001-v6.1-stm32mp-r2.patch linux-6.1.82.tar.xzbuild8 optional-fragment-05-signature.config optional-fragment-06-nosmp.config optional-fragment-07-efi.configfragment-03-systemd.config README.HOW_TO.txtfragment-04-modules.config &nbs
Hi!We are planning a product and have considered the STM32MP157 as a basis. Our test platform is the STM32MP157F-DK2 running a locally built Yocto Project image (openstlinux-eglfs distro, st-example-image-qt image) based on meta-st-stm32mp, meta-st-openstlinux, and meta-qt5 layers. The goal is to run a Qt application containing an OpenGL widget mixed with Qt UI elements at 60 Hz frame rate, but on a display bigger than the one shipped with the Discovery Kit.We are currently testing with two different 480x1280 panels with custom drivers. The displays are actually running at 60 Hz as confirmed by hardware measurements. We also see 60 frames with watch -n 2 "grep user_updates /sys/kernel/debug/dri/*/state" while running glmark2-es2-drm (for the first two benchmarks at least).This all seems good, still we are unable to achieve full frame rate with even the simplest Qt5 application (a plain QOpenGLWidget (showing a black screen) embedded into a QWidget, where the QOpenGLWidget gets update()
Hello everyone,We are at the beginning of the development phase for creating FPV-drones.I would like to transmit the video signal (FPV) of a camera, e.g. the RPI-22 camera, via radio over a distance of 2 km or more from the STM32MP25x-EV1 evaluation board (STM32MP257F-EV1). The received video signal should be displayed on the screen of a laptop. Unfortunately my research didn't lead to any results. Can you please describe to me which development boards I can use for the following operations:Decoding the video signal: STM32MP25x-EV1 Evaluation board (STM32MP257F-EV1)Board for the radio transmission of the video signalAntenna for transmittingBoard for receiving the video signalAntenna for transmittingDecoding the video signal and outputting the video on the laptopThank you for the service.Best regardsThomas Hollander
I have carefully followed the getting started guide for the STM32MP157x-EV1 board. All the steps I took were successful until I reached the "Execute basic commands" section where I am instructed to run the following command:ls /dev/ttyACM*The expected output is/dev/ttyACM0but when I tried running it, no such file was found. With the evaluation board recently connected to my PC through the board's ST-LINK/V2-1 port, the "sudo dmesg" command reveals the following issues: [ 2144.431929] usb 5-1: new full-speed USB device number 9 using xhci_hcd [ 2144.563977] usb 5-1: device descriptor read/64, error -71 [ 2144.803980] usb 5-1: device descriptor read/64, error -71 [ 2145.039934] usb 5-1: new full-speed USB device number 10 using xhci_hcd [ 2145.171984] usb 5-1: device descriptor read/64, error -71 [ 2145.411986] usb 5-1: device descriptor read/64, error -71 [ 2145.524053] usb usb5-port1: attempt power cycle [ 2145.935943] usb 5-1: new full-speed USB device numb
I followed the instructions on https://wiki.st.com/stm32mpu/index.php?title=STM32MPU_Distribution_Package&sfr=stm32mpu to flash my build image on my STM32MP15. After step 6: Where I build the image with the command "bitbake st-image-weston" I go to "STM32MPU-Ecosystem-v5.0.0/Distribution-Package/build-openstlinux-weston-stm32mp15-disco/tmp-glibc/deploy/images/stm32mp15-disco/flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv" (From Developer Package (SDK) have been built for this st-image-weston image in the documentation). When I tried to flash it to the board with "STM32_Programmer_CLI -c port=usb1 -w FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv" I received "Error: File does not exist: /home/nesnes/STM32MPU-Ecosystem-v5.0.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/deploy/images/stm32mp15-disco/flashlayout_st-image-weston/optee/st-image-bootfs-openstlinux-weston-stm32mp15-disco.ext4 Error: TSV flashing service failed" Even
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?
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!
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
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>;};}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.