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
Hi all,I would like to design a device with the following features:Dual Gigabit ethernet,Encrypted communication: SNMPv3, HTTPS, SMTPS.I am looking for a SoC that makes it possible to achieve this functionality. After doing some research, I have found the STM32MP135F which seems to be able to achieve this functionality. There is a development board of the mentioned SoC, but it has 2 ethernet ports that run only at 100Mb/s. Regarding the STM32MP135F datasheet, it is able to run two gigabit ports by having two RGMII interfaces.My Concerns are:1) Is it possible to run gigabit ethernet by using the STM32MP135F SoC?2) If yes, then I am wondering if there is an easy way to test it?3) Can I test the GbE link by using the STM32MP135F-DK board? 4) Are there other ICs (that would require less complicated design), that allow to achieve the same functionality?Any help is apprecciated!
I am trying to achieve hard real-time under 100us on the STM32MP157f-eval, specifically, on the Cortex A7 dual core.Note: I specifically target the Cortex A7 cores because the M4 is already taken for other tasks which requires much smaller latency.What I did so far is:Build the Yocto openst-linuxAdd Preempt-RT patchAdded several software: irqbalance, tuna, hiccups... to monitor and tune the system.Isolate one coreTested high-priority process, also IRQ. Tested with internal clock and external oscilloscope.Tried to disable most driversAfter all those efforts, the jitter improved but I still get ~500us jitter when applying load for enough time.------------------------------I found the following text which brings me to think that FIQ (Fast Interrupts reQuests) are available on this hardware and could possibly be a solution to my quest for low latency and low jitter.https://bootlin.com/blog/fiq-handlers-in-the-arm-linux-kernel/Is there some example code about using those FIQ? Ideally under
Hello We are using STM32CUBE ide (Ver 1.9.0) for debugging of stm32mp157a cortex-m4 core by using j-link programmer. In this, while entered into debug every time we need to select stm32mp157a cortex-m4 in j-link target settings. So, any option is available for store this j-link configuration. It May help and save the time.regardssrikanth
I have a running system (based on bootlin buildroot) with kernel 5.10 and I wanted to update it to use the latest 6.1 and now I have a problem that the BL2 panics: NOTICE: CPU: STM32MP157AAC Rev.Z NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21 NOTICE: BL2: v2.8-stm32mp1-r1.0(release):custom() NOTICE: BL2: Built : 12:30:08, Apr 11 2024 ERROR: DDR size: 0x10000000 does not match DT config: 0x20000000 PANIC at PC : 0x2ffeae01 The board is custom and it has 512MB. Any ideas?
Hello Everyone, I am working on a custom board based on STM32MP157F-DK2. Our custom board have two external ADC (AD74413R) connected to the main processor. I have changed the device tree added proper driver for the external ADC. While reading the files from iio folder, i am getting "Connection timeout error". Device tree and error message is shown below.Device tree&spi4 {pinctrl-names = "default", "sleep";pinctrl-0 = <&spi4_pins_b>;pinctrl-1 = <&spi4_sleep_pins_b>;//chip select -> PA10 for ext ADC0cs-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>;//enable SPI4status = "okay";ad74413r@0 {compatible = "adi,ad74413r";//this is chip select address 0reg = <0>;//base address and register size#address-cells = <1>;#size-cells = <0>;//max. frequency 10Mhzspi-max-frequency = <10000000>;spi-cpol;//ADC_READY -> PA5//alert pin - >PA4interrupt-parent = <&gpioa>;interrupts = <5 IRQ_TYPE_EDGE_FALLING>;//add sense resist
Hi, I am encountering some issues while trying to configure the ADC DMA Buffer on the STM32MP135 board , when I execute the following:echo 1000 > /sys/bus/iio/devices/iio:device1/buffer/lengthecho 1 > /sys/bus/iio/devices/iio:device1/scan_elements/in_voltage0_enecho 1 > /sys/bus/iio/devices/iio:device1/buffer/enableI receive the following error after the third command:sh: write error: Invalid argumetBut when reading the ADC's raw output directly via:cat /sys/bus/iio/devices/iio:device1/in_voltage0_rawI am able to obtain a normal reading, which suggests that the basic functionality of the ADC is intact.Operating System: 5.15.24 #1 PREEMPT Sat Apr 13 15:11:38 CST 2024 armv7l GNU/Linux
Hello, I would like to integrate ethernet2 in my bare-metal project. I am aware that not only eth2 pins have to be properly configured, but also a 10th pin of MCP IO expander. However, the eth2 seems to be disabled after all. I am doing the same configuration steps for eth1 and it simply works. The question is, what am I missing? Could it be PMIC? Best,J. Schneider
Hi,I’m new bee to to this processor based development.I’m currently starting with STM32MP1 can someone help me what tools are required to start exploring
Hello.I am on porting STM32MP135F-DK Discovery Board source to STM32MP133D based customizing board.With bitbake build, the firmwares work well with STM32MP135F-DK.But with our developing board, it stuck on BL2 boot with panic. The main difference is like below.1. PMIC is connected to i2c5 not i2c42. DDR ram size is changed from 512MB to 256MB3. There is no display controller. (LCD).4. SDCard is changed to eMMC. I changed tf-a-stm32mp/fdts/stm32mp135f-dk.dts file to match difference.And followed the instruction of the link below.https://wiki.st.com/stm32mpu/wiki/How_to_configure_a_256MB_DDR_mapping_from_STM32_MPU_Distribution_Package#Purpose_of_article When I build after some changes, build commands are like below.bitbake -C compile tf-a-stm32mp optee-os-stm32mpbitbake tf-a-stm32mp optee-os-stm32mp -c deploy I used STM32CubeProgrammer to download the firmware.Boot log was like below. NOTICE: CPU: STM32MP133D Rev.YNOTICE: Model: STMicroelectronics STM32MP135F-DK
Hi,Does exist inside the Discovery kit with STM32MP135F board a text editor like nano or wim ?And if not how can I install it ?Thank you.Olivier.
Hi, Each time I reboot my Discovery kit with STM32MP135F borad I lost the network (IP V4 address). How can I set the IP address, Does exits somewhere a /etc/network/interface file ? Thank you, Olivier.
Hello I would like to interface the STM32MP255F to high-speed ADC like AD8285 or MAX1127 using these ADC's parallel interface. Is it possible to perform such interface while using the STM32MP255F GPIO lines? Thanks.
Hi All.I use discovery board of STM32MP157F-DK2 .So I want t to try read OTP Bits via STM32CubeProgrammer , But I find 2 errs.The err things search ST Community, I fund it. Can't read OTP bits on STM32MP157C-DK2 using STM32CubeProgrammer So I Try to refer Answer,I can't know where wrong.(I reload Flashlayout for OTP exposing ) Sorry for my poor English,Thinks at all. /********************************************************************************************************************/u6326@Prodisk:~/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ ./STM32_Programmer_CLI -c port=usb1 -d FlashLayout.tsv -otp displ-------------------------------------------------------------------STM32CubeProgrammer v2.15.0------------------------------------------------------------------- USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : USB download gadget@Device ID /0x500, @Revision ID /0x2001, @Name /STM32MP157FAC Rev.Z,SN : 003200433132511
Hi, Does myir MYD-YF135 development board support Bare Metal Project?
Hi there, I'm building an ST-Linux distribution with Yocto (ST Distribution package) on a custom board (based on STM32MP153), and, now that I've tested it, I need to optimize the final image.My distribution should be completely headless (so no HMI and no library for graphics) and should be as small as possible.I based my custom image on the st-image-core image, and, for example, I noticed that in the final distribution, there's a complete filesystem dedicated to ST demos, which at this stage is completely unuseful. Is there a way to remove that filesystem? Is there any common way to remove any graphics library (and maybe also the weston user!!)? Thanks a lot!
Hi,The MP157F-DK2 comes with an SD card attached. Weston (ver 5.0.0) with DRM works well.But if I want to run Weston(ver 10.0.1) on Buildroot, it will fail.Do I need to build more packages for Weston?I am using the version of Buildroot.a. buildroot: remotes/origin/st/2023.02.6b. buildroot-external-st: remotes/origin/st/2023.02.2 This is the failure log, and the attachment is the success log of the SD card that comes with the MP157F-DK2.# export XDG_RUNTIME_DIR=/run/user/root # mkdir --parents $XDG_RUNTIME_DIR # chmod 0700 $XDG_RUNTIME_DIR # weston --tty=1 [00:01:34.112] weston 10.0.1 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: 2021.05-10575-gae4a6e0c24 [00:01:34.113] Command line: weston --tty=1 [00:01:34.113] OS: Linux, 6.1.28, #1 SMP PREEMPT Tue Feb 20 15:20:37 CST 2024, armv7l [00:01:34.113] Flight recorder: enabled [00:01:34.113] Starting with no config file. [00:01:34.114] Output repaint window is 7 ms
Hi!Are there any RMGII routing guidelines for the STM32MP151XXX series that are available for use?I have a Realtek RTL8211F-CG Ethernet PHY and I don't know how long the RX and TX lines should be.
Hello,following this wiki article I'm trying to debug the sample user space application, but getting this error:It seems, I have a working serial and SSH connection to the target but the Target Status widget always shows 'Serial console in use':My Debug configuration looks similar to the wiki article: I appreciate any help!
I am using STM32CubeIDE v1.4.2 and experiencing issues with editing IOC files. I am using Ubuntu 18.04.05 as recommended by ST. Often when when I am using the integrated Cube MX editor I experience 100% CPU load and the IDE locks up. I have tried increasing the Java heap size to 4MB. 3 years ago I did a project using the separate Cube MX program and had no issues with it but since ST integrated it into the IDE it seems pretty much unusable. Does anyone have any ideas how to make this software operable?
*I've imported successfully of STM32mp157 dk-1 board 's schematics in altium designer and I don't know whether this processor is over advanced for application or it is must need to use for our product. even though I'm newbie with lesser yr of exp , I was successfully brought 12 lead-ECG wave ..hence, I need to design real custom pcb with 10.3 inch final end product 1980*720 lvds display.. for that, Previously, I was advised to use the i.MX RT1170, but I'm more familiar with STM32 because f7 is used for testing..then for fully prototype, I initially chose the STM32MP157 which is more same as nxp but it is MPU segent. and realized it might be challenging for BGA PCB design. Can experts recommend an STM32 product that's easier to work with for my high-resolution ECG machine application, supporting LTDC-LVDS, Ethernet, FMC, QUADSPI, SDMMC1, USB OTG FS, UART, I2C, and SPI? Thank you..1. can altium designer helps me, for easily develop and modify the mp157 without muc
Hello,I want to enable more uarts on stm32mp157d-dk1 CA7 , the goal is send/receive data over uart using python3-pyserial library Any idea ?
Hi, during Embedded World I got MP135F devkit. I'm not into Yocto, but guy from ST told me, that MP1 can be used with RTOS but with halved max frequency. I have experiance with ThreadX on H735.Can you hint me how to start? Are there any tutorials? I couldn't find any when googling, only some YT videos about Linux.
I am adding the STPMIC1 on our custom board.While configuring device tree, when we are using scmi, how should device tree configuration look like? Should we still need to add i2c4 node? Or just adding scmi_regu entry will be enough?Regards,S
Dear all,on a custom board based on STM32MP157D I successfully managed to configure an LCD display that works perfectly using "modetest -s" and "psplash-drm". But I cannot run the examples in the st-example-image-qt because I always get the same error: # /usr/share/examples/opengl/hellowindow/hellowindowQEGLPlatformContext: Failed to create context: 3005and nothing is shown on the display. Here is the my /usr/share/qt5/cursor.json:{ "device": "/dev/dri/card0", "hwcursor": false, "pbuffers": false, "outputs": [ { "name": "DPI-1", "mode": "640x480", "touchDevice": "/dev/input/event0" } ]} Attached you can find also some verbose logs that could help troubleshooting:- modetest.txt: output of the command "modetest -Mstm"- verbose-hellowindow.txt: output of the command "hellowindow" after setting verbose QPA logs- dmesg.txt: dmesg output running "psplash-drm" and "hellowindow" Do you have any hint?Thank you!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.