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
First acquaintance with STM32mp157FDK2. A couple of weeks ago I bought two sets to try. In a week I figured out how to put together my image with Yocto. And today what was supposed to happen happened. I connected the KIT to the power supply with PD3. KIT is broke. The thermal camera shows strong heating. STPMIC1APQR short circuit STPMIC1APQR. burned out. Unsuccessful test STM32mp1. Andrew.
Hello all, i tried to search for a solution within the STM community but none of the solution helps.Please guideI have using a STM32MP157F board. I have set the dev board according to the manual. I followed the instructions in this guide to get me started on installing the programmer Getting started with STM32MP157x Evaluation boards: However, on launching the STM32CubeProgrammerLauncher I get the following error. /home/STM32MPU_workspace/tmp/en.stm32cubeprg-lin-v2-16-0/jre/bin/java -jar STM32CubeProgrammerLauncher/home/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-x.y.z/binCubeProgrammer version: 2.16.0Path CubeProgrammer version: : /home/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-x.y.z/bin/versionUpdater version:1.1.7/home/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-x.y.z/binAnalytics - Current Software Path: /home/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-x.y.z/CubeProgrammer version: 2.16.0Path CubeProgrammer version: : /home
I am a 100% new to the stm32mp1 series. I have been working with the stm32f3 most recently.I need help with direction on where should I start, down to the selected hardware. (not sure if stm32mp1 is even the right choice)So here is what at trying to accomplish:HTML5 Integration Protocol, Client Application Link:The client (stm32) sends a multicast JSON message containing information. The MFD parses the JSON message and, when appropriate, display the webpage with the icon.I need to know how to send the contents in the .json file, it would be nice if I could upload my .json file to sd card send it the via ethernet.Any direction would be much appreciated!!I am truly sorry for the lack of knowledge.
I have STM32CubeMX Version 6.10, STM32CubeIDE Version: 1.14.1with installed BSP STM32Cube_FW_MP13_V1.0.0When I create new bare project starting from evalboard STM32MP135F-DK as bare metal projectthen select NETXDUO, THREADX in Middleware and Software Packs...but settings related to NETXDUO is grayedThe project can be compiled... but generated code did not have included libraries to use THREADX and NETXDUO (compared to examples from BSP Applications projects)Thanks in advance for any suggestions... how to generate correctly project with MiddlewaresRegardsRadim
I know this is probably a really *** question but how do I actually use the data I send from the A4 to the M7 of the STM32MP1 chips? I ran the examples that are clearly setup to send messages from the M4 to the A7 via the virtual UART, which are then echoed onto the Linux Console. Let's say I wanted to send a command to the A7. If I sent the text "gotosleep" from the M4 to the A7 over the virtual UART, which would then trigger the A7 to run "systemctl suspend" to put the A7 in suspend mode, how would I approach that? I haven't quite figure out how to essentially trigger the A7 to execute a script (such as putting it to sleep) from the A4. It seems like it's probably a pretty simple process, I'm just not sure where to look. Any help you can give me would be greatly appreciated. Thanks!
Hi, I have a STM32MP157F-DK2 with a firmware running with remoteproc and using remoteproc and rpmsg drivers to communicate with userspace through ttyRPMSG0, created at firmware init with libmetal and openAMP libraries. After multiple days of research, I couldn't find any way to implement another ttyRPMSG in order to have, for example, ttyRPMSG0 handling data_0 and ttyRPMSG1 handling data_1. - I tried to create a second endpoint to the existing channels : 2 ttyRPMSG are created but managing ring buffers is a pain as there are only 2 and it seems like they share their mailbox (That's like i have 2 RPMSG but are in fact one). Moreover, the dest_addr of the second endpoint seems to not be set (the first endpoint dest addr value is set to a specific value by the driver, but the second one stays at 0xffffffff : default value).- I tried to add a device managing its own channel and so that he can create endpoints as it wants, but my device tree seems to not handle very well mult
Hi,I have a current project using the M7 that I need to port over to the A7. The goal is to be running bare-metal code on the A7, like we are on the M7. Currently, I am following this open source guide to run bare-metal on the A7 and it seems to work fine. Does ST provide any support for running bare-metal on the A7? Does the stmCubeIDE allow for this? Is there a guide on porting a project from the M7 over to the A7? Any help or information regarding this would be helpful! Thanks!
Hello! I am developing a custom board based on STM32MP151C MPU (TFBGA 361pins) with a RMII Ethernet PHY, and I have a simple question regarding to the PHY interrupt signal -sorry if this is a duplicated question, I haven't found a related topic in the forum-.Is it mandatory to route the PHY interrupt output signal to a ETH1_PHY_INTN pin (any of the pins with this alternate function available) to capture interrupts? I have checked evaluation boards, and:MB1263 board (STM32MP157FAA1) uses PG0, which does not has ETH1_PHY_INTN as an AFMB1272 board (STM32MP157CAC3) uses PA6, which does not has ETH1_PHY_INTN as an AFIf PHY interrupt pin can be routed to any MP1 interrupt-capable pin, what is the purpose of the ETH1_PHY_INTN alternate function?Many thanks in advance. Regards,
STM32CubeIDE 1.15.1 was released on st.com as well as an in-tool update patch aligned with STM32CubeMX v6.11.1 that is available for download. Main issues fixed in this patch: Ticket 177978 : Fixed an issue with ST-LINK firmware upgrade concerning the boards with DFU v2 or older in the version 3.14.5 of ST-LINK GDB server. Ticket 178127 : Fixed an issue with the build settings: The build settings do not save the latest linker modified by the user and select the default linker instead. Check the errata under this link for more details. Where do I obtain STM32CubeIDE 1.15.1? For IDE 1.15.1: STM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics Or update your current installation of STM32CubeIDE using: Help > Check for updates.
Hello,I'd like to setup a DMA transfer to feed a SPI Display with 8192 bytes per DMA cycle. To offload the MP1 I want to do this with the help of the M4 coprocessor. For my tests I am using the CubeIDE and a custom board. As a basis for learning I tried the example "SPI_FullDuplex_ComDMA_Master". The example (FW_MP1_V1.6.0) itself waits for a keypress and then starts exactly one DMA transfer, I can see the clock pulses on the scope.Since I need a peridoc refresh of the display, I tried as an experiment to wrap a simple loop together with a delay around the DMA-Send section but for some reason the DMA does not repeat, it gets stuck in ahspi->State = HAL_SPI_STATE_BUSY_TX_RXstate and the error handler is called. while(1) { if(HAL_SPI_TransmitReceive_DMA(&hspi4, (uint8_t*)aTxBuffer, (uint8_t *)aRxBuffer, BUFFERSIZE) != HAL_OK) { Error_Handler(); } HAL_Delay(50); } Why is the "DMA-in-a-loop" not working?I can increase the time to HAL_Delay(1000) but that makes n
We designed a STM32MP135 based SOM, without using the ST I2C PMIC, I was able to disable the PMIC driver in TF-A by removing the i2c 4 node in TF-A's dts file, while I could not get the same result for optee-os, even I removed the i2c-4 node in optee-os' dts file, I still got message saying panic, following is the full log: NOTICE: CPU: STM32MP135D Rev.YNOTICE: Model: STMicroelectronics STM32MP135F-DK Discovery BoardWARNING: VDD unknownINFO: Reset reason (0x4):INFO: Pad Reset from NRSTINFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000INFO: FCONF: Reading firmware configuration information for: stm32mp_ioINFO: Using SDMMCINFO: Instance 1INFO: Boot used partition fsbl1NOTICE: BL2: v2.6-stm32mp1-r2.0(debug):2021.05-5963-ga40218f3c9(a40218f3)NOTICE: BL2: Built : 09:55:01, Jul 5 2023INFO: BL2: Doing platform setupINFO: RAM: DDR3-1066 bin F 1x4Gb 533MHz v1.53INFO: Memory size = 0x20000000 (512 MB)INFO: BL2: Loading image id 1INFO: Loading image id=1 at a
Hi everyone,i am creating a custom machine on a STM32MP151CAA3T using mickledore as yocto layer.when i flash my image, the falshing stops on the first partition, when uses tf-a-usb.stm32 file.What is this file, how is generated and how i customize it in order to have no more this error during flashing?Thanks.
I'm not good at english I tried using stm32cube programmer uart mode.but "Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again..." returned I'm using stm32mp135 custom board, so i read stm32mp135 datasheet and found this part I'm worried about USART3/6 and UART4/5/7/8 on "default pins"I use uart4, but use another pin set.uart4_TX -> PA9uart4_RX -> PD8 Is the error related to this part?
Hi there, I'm trying to integrate in my linux distribution (custom board based on STM32MP153) a LTE Modem (uBlox Lena R8) which is controllable via USB. At the powerup is see that the device tries to enable the USB (it should bring up 8 virtual COM/ttyUSBx): [ 1168.245519] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 1169.475865] usb 2-1: USB disconnect, device number 2 [ 1171.745516] usb 2-1: new high-speed USB device number 3 using ehci-platform but no ttyUSB is created. I'm pretty sure now that some driver is missing, because if I connect the usb from the module on a physical USB port on a desktop environment, it shows all the ttyUSB endpoint correctly. from lsusb command I can see that the module is recognized hw side: Bus 001 Device 003: ID 1782:4d10 Spreadtrum Communications Inc. UNISOC-8910 So I think that some usb serial / Spreadtrum driver is needed... Does anybody have an idea? H
I'm trying to run QT examples on a build created using st-example-image-qt (Ecosystem v2.1) on our custom board. We have a simple RGB display 800x480 resolution, so I modified the cursor.json on the board as follows{ "device": "/dev/dri/card0", "outputs": [ { "name": "DPI1", "mode": "800x480", "size": "800x480" } ], "hwcursor": falseBut when I try to run any QT example I get the following errorroot@stm32mp1-midmark:/usr/share# psplash-drm-quitroot@stm32mp1-midmark:/usr/share# export QT_QPA_EGLFS_ALWAYS_SET_MODE="1"root@stm32mp1-midmark:/usr/share# examples/opengl/hellowindow/hellowindow[ 1] Failed to open device: No such file or directory, Try again...[ 2] Failed to open device: No such file or directory, Try again...[ 3] Failed to open device: No such file or directory, Try again...[ 4] Failed to open device: No such file or directory, Try again...[ 5] _OpenDevice(
Hello,I am using a STM32MP157C development board from Myirtech and trying to interface the board with a CAN device.I am able to bring up the can0 interface. It can send data, I can see it from oscilloscope over Can Hi and Lo pins. The dmesg output is below: [ 1.687071] can: controller area network core (rev 20170425 abi 9) [ 1.687246] can: raw protocol (rev 20170425) [ 1.687258] can: broadcast manager protocol (rev 20170425 t) [ 1.687277] can: netlink gateway (rev 20190810) max_hops=1 [ 1.846934] stm32-dma 48000000.dma: no dma pool: can't use MDMA: 0 [ 1.849379] stm32-dma 48001000.dma: no dma pool: can't use MDMA: 0 [ 4.300816] m_can_platform 4400e000.can: m_can device registered (irq=54, version=32) ... [ 138.115515] m_can_platform 4400e000.can can0: bitrate error 0.3% [ 138.115550] m_can_platform 4400e000.can can0: bitrate error 0.3% [ 140.445788] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready But when the device on the can bus sends data, the board does not
Hello,we are developing IoT device for which we are planning to use STM32MP135D MPU placed on our custom SoM.To do test before SoM is ready, I have obtained a STM32MP135F-DK. There are some concerns about the 'factory programming' of such device.With the STM32MP135F-DK the method I have tried is to set all Boot switches (BOOT0, BOOT1, BOOT2 pins) to 0. Then the device boots into "Force USB boot for programming" mode, and the firmware can be uploaded using STM32 Programmer CLI running on PC. It works fine.As pic. 1 shows, also USART3 can be used for factory programming and that was the plan for SoM. Of course first I wanted to try it with DK. But unfortunately, the default USART3 TX and RX pins aren't accessible at STM32MP135F-DK GPIO connector. After research I came to conclusion that also USART6, UART4, UART5, UART7, UART8 are not accessible at that STM32MP135F-DK.1. Is my conlusion right? Can I somehow test factory programming using USART instead of USB with STM32MP135F-DK?2. Maybe w
We have made a custom board which uses the STPMIC but it is on I2C2. Unfortunately we do not have time to remake the board to move the STPMIC to I2C4 or I2C6 so I am trying to get Linux to boot with a modified STM32MP157D-DK1. I have connected pins PD7 and PG15 (I2C2_SDA and I2C2_SCL respectively) to I2C pull-up resistors. I made the patch to ARM Trusted Firmware as detailed on the PMIC page: https://wiki.st.com/stm32mpu/wiki/PMIC_hardware_components and ARM Trusted Firmware boots to the point of loading BL32 (OPTEE-OS). My understanding of the log attached is that the driver for the I2C2 is failing (along with the IWDG but I think that is because I haven't specified any timeouts). I am going to continue debugging the driver but if there was any more guidance it would be great? Thank you for your time :)
Good morning, I've been trying to get EFI boot working from emmc. After configuring flash layouts to contain fat32 efi partition and getting through uboot and optee configuration to properly flash using cube programmer, I can't seem to figure out why the uboot fails to load the EFIed kernel during boot process. It would seem as if the kernel image is missing the efi stub, but my kernel config would suggest otherwise.Any ideas on how to get the EFI boot to work?
Hello,I am currently using a STM32MP157C. The OTG controller is used to add a USB device port with the OTG FS PHY transceiver.The signals connected are:OTG_FS_DPOTG_FS_DMOTG_VBUSI made the following configuration in the device tree: usbotg_no_id_pin: usbotg-no-id-pin {}; usbotg_fs_dp_dm_pins_a: usbotg-fs-dp-dm-0 { pins { pinmux = <STM32_PINMUX('A', 11, ANALOG)>, // OTG_FS_DM <STM32_PINMUX('A', 12, ANALOG)>; // OTG_FS_DP }; }; &usbotg_hs{ status = "okay"; compatible = "st,stm32mp15-fsotg", "snps,dwc2"; pinctrl-names = "default"; pinctrl-0 = <&usbotg_no_id_pin &usbotg_fs_dp_dm_pins_a>; dr_mode = "peripheral"; usb-role-switch; snps,need-phy-for-wake role-switch-default-mode = "peripheral"; }; The USB device port is working correctly with the gadget serial driver.Once the board is suspended (with echo mem > /sys/power/state), I would like to wake it up when I plug or unplug an USB host. Or in others words, when a voltage modificati
First time trying to get OPTEE working on custom board. The boot stops when OPTEE 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 NOTICE: BL2: Booting BL32 I/TC: Early console on UART#4 I/TC: I/TC: Pager is enabled. Hashes: 3040 bytes I/TC: Pager pool size: 92kB I/TC: Embedded DTB found I/TC: OP-TEE version: Unknown_3.19 (gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))) #3 Fri Apr 12 07:13:59 UTC 2024 arm I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing E/TC:0 0 regulator_set_flag:484 vdd_usb lacks set_flag handler E/TC:0 0 fixed_regulator_probe:69 regulator_register(vdd_usb) failed with 0xffff000
Hi,How can I install a USB serial adaptateur https://ftdichip.com/products/chipi-x10/When the usb adaptateur is connected there is not ttyS0 or ttyUSB0 !thank you.
Hello, We are currently in the process of bringing up and industrializing an embedded STM32MP1 board with eMMC as main data storage. We would like to flash the eMMC via U-boot using a tsv file. We have a couple of tsv files that are working correctly, but some aren't and it's been really hard (not to say a real pain) to debug precisely the issue of why exactly the file is wrong. Using the following command : ./STM32_Programmer_CLI -c port=usb1 -d board-emmc.tsv, the error I get is the following : Error: TSV file proto-new.tsv not conform: it may miss some columns or fieldsError: TSV flashing service failed This is generic and provides no detailed infos about the actual error.Is there any tools or ways to further debug tsv files ? Sorry if I'm missing something obvious ... Quentin
Hi,How can I install pyserial.py python modul on Discovery kit STM32MP135F.I would like also install pip Thank you for your help.Olivier
DearsI would like to create new project from STM32Cube_FW_MP13_V1.0.0 - based on template "BSP_BasicTemplates"I verified Properties for this project under "Paths and Symbols" - Includes, Libraries, Source ... all looks normal as another project from Application subfolderBut compilation stop on error make -j12 all make: *** No rule to make target 'C:/Users/Drivers/CMSIS/Device/ST/STM32MP13xx/Source/Templates/gcc/startup_stm32mp135c_ca7.c', needed by 'Example/STM32CubeIDE/startup_stm32mp135c_ca7.o'. Stop."make -j12 all" terminated with exit code 2. Build might be incomplete.Where could be problem ? I hope that templates should have all properly configured... Best RegardsRadim
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.