Ask questions and find answers on STM32 microprocessors and dedicated embedded software solutions, such as Yocto SDK, Qt, and OP-TEE.
Most recent activity
Hi,The display is always on with the eval-board. I would like to know how to let it off.Kernel Version : openstlinux-5.10-dunfell-mp1-21-03-31Best Regards,Sun
Hi everyone,I'm not sure if the following questions depends on OpenSTLinux - drivers for example - or STM32MP1 hardware.I have the STM32MP157F MPU and I would like to integrate Bluetooth 5.0 . My main idea was to connect a Bluetooth 5.0 dongle into my MPU, but a question crossed my mind: Does any dongle work for STM32MP157F or should it have any specific feature? Until now, I had found this kind of dongles <link>, will it work?Besides, I would like to integrate another dongle, in this case a SD card dongle - as I would like to have the main SD mounted with OpenSTLinux, which occupies the SDMMC port, and a secondary SD card exclusively dedicated to storage. I have the same question, does any dongle work? This time, I had found this one <link>.I don't know if incorporating dongles is the best option to solve my problem, anyway I am open-minded to new ideas ;)Thank you,Oscar
Hello,I'm searching for a yocto package which is using the USB DFU protocol in connection to a stm32 microntroller to do a fimrware update. Is there something around? Wasn't successfull on my search so far.BRNico
Hi.. thereHope all are doing well We have designed our own custom board by taking the reference of the DK2 board, in which we're using the LBEE5KL1DX-883 WiFi/BT module from Murata at SDMMC3 somehow, the module is unable to detect!after dmesg of the MMC log, I got to know that the SDMMC 3 is not initializedhere is the mmc dmesg logs [ 0.000000] Kernel command line: console=ttySTM0,115200n8 quiet hw_dispid=6 hw_code=143 fastboot=n board_name=ns02_ek435 touch_type= root=/dev/mmcblk0p2 rootfstype=ext4 rootwait [ 0.678302] mmci-pl18x: probe of 48004000.sdmmc failed with error -22 [ 0.679283] mmci-pl18x 58005000.sdmmc: Linked as a consumer to regulator.3 [ 0.679417] mmci-pl18x 58005000.sdmmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 63,0 (pio) [ 0.708451] mmci-pl18x 58007000.sdmmc: Linked as a consumer to regulator.2 [ 0.708585] mmci-pl18x 58007000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 64,0 (pio) [ 0.743212] mmc0: host does not support reading read-only switch, assuming write-
Hi,How can i install and develop around amazon AWS SDK for an custom IoT solution?
Hello! I use STM32CubeIDE for STM32MP157A-DK1 board. I want to deploy the kernel directly from the development environment. To do this, I set up local and remote paths for the device tree and for the uImage file (see the screenshot). At first, I tried to update only the device tree - I changed the heartbeat LED from blue to yellow - everything works correctly, the extlinux.conf file is changed automatically. But when I tried to update not only the device tree but also the uImage file, SSH stopped working for me. In the UART console, I see the message "disagrees about version of symbol module_layout". My kernel version has been updated. The cat /proc/version command gives this result: "Linux version 5.10.10 (ubuntu@ubuntu-H410M-H) (arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP PREEMPT Thu Jun 17 17: 59:33 MSK 2021". In the wiki (https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm ® _Cortex ® -A7/Modify,
Hi all,I am currently using VisionSoM board : STM32MP157AAB3 board.I am trying to drive an LVDS display via a RGB to LVDS converter. Here is the datasheet link for it.The panel settings are as follows : panel { u-boot,dm-pre-reloc; status = "okay"; display-timings { timing0: timing0 { clock-frequency = <72400000>; hactive = <1280>; vactive = <800>; hfront-porch = <22>; hback-porch = <150>; hsync-len = <160>; vback-porch = <32>; vfront-porch = <22>; vsync-len = <38>; hsync-active = <0>; vsync-active = <0>; de-active = <0>; pixelclk-active = <1>; }; }; };I also modified the driver : panel-simple.c file in kernel/drivers/gpu/drm/panel and added support for this custom display there.When i run qt demo for playing video on the RGB out i can see on oscilloscope that the clock signal frequency is not going beyond 66.6Mhz . Earlier I was stuck at clock generation frequency of 33.3Mhz since my ch
I've been having this problem for a while now. I open one of the trusted flashlayout (.tsv) files in STM32CubeProgrammer. I can connect to the target board over USB without issue. I click "Download" and it successfully downloads tf-a-stm32mp-serialboot and also successfully downloads u-boot-stm32mp.However, when U-Boot is executed, the target board fails to reconnect over USB. Here is the dmesg output:Eventually, STM32CubeProgrammer times out because it is unable to connect to the target to download the kernel.What could the cause for this be? I have looked at the USB configuration in the u-boot device tree many times and have followed the wiki, and it all looks correct.
HiI'm designing a custom PCB with a STM32MP157F and a DP83867 PHY connected over MDIO and RGMII. The problem is, the communication between the two is completely dead. No data or clock can be measured on either the MDIO or MDC line, MDIO is constant HIGH and MDC is constant LOW, even when explicitly reading/writing data using the mii or mdio u-boot subsystem.The following code is my u-boot device tree configuration:&ethernet0 { status = "okay"; pinctrl-0 = <&ethernet0_rgmii_pins_a>; pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>; pinctrl-names = "default", "sleep"; phy-mode = "rgmii-id"; max-speed = <1000>; phy-handle = <&phy0>; mdio0 { compatible = "snps,dwmac-mdio"; #address-cells = <1>; #size-cells = <0>; phy0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>; ti,fifo-depth = <DP83867_PHYC
..
Has the RT_preempt Patch been tested with OpenSTLinux on a STM32MP1 device? Are there any instructions on how to apply it?
Hi,I am using the STM32MP157F-DK2 MPU for a Linux project. Exactly, I am interested in Linux-RT. Browsing in the Internet, it is said that only is necessary applying a patch in the kernel. The patch file uses the command "git diff", but is not installed in the kernel.My goal is install it, however, "apt" is not either installed, so I have to make the install with "dpkg" - something completely caotic.HELP! Is there any way to install "apt" or "yum"? If not, how can I install "git" command so that applying the patch?Thanks,Oscar
Hi all, I'm trying to customize the device tree of the stm board, but I'm stuck early on. I'm trying to follow stm32mp157c-dk2 tutorial to flash Starter Package (https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package), however, when I reach the step PC $> STM32_Programmer_CLI -l usb I get the following output~/stm32mpu-workspace/stm32mpu-tools/stm32-cube-programmer-240/bin/STM32_Programmer_CLI -l usb ------------------------------------------------------------------- STM32CubeProgrammer v2.4.0 ------------------------------------------------------------------- ===== DFU Interface ===== No STM32 device in DFU mode connected my host kernel version: 4.4.0-174-generic
Hello ST Teams!I'd like to know if someone have ever tried to get 1920*1080*30fps with the configuration above (STM32MP157C-EV1 and MB1379 board). We'd like to achieve this performance, OV5640 datasheet camera says "ok for me"v4l2 listing capabilities says "ok for me" : Size: Discrete 1920x1080 Interval: Discrete 0.067s (15.000 fps) Interval: Discrete 0.033s (30.000 fps)But if we try with dev board (OSD32BRK) and flying wires with camera(OV5640), fps is limited to 13fps.My question is: Is it possible to achieve 30fps in this configuration?we will reproduce schematics of (STM32MP157C-EV1 and MB1379 board) camera part(dcmi + ext cl
Hello, We are upgrading from BSP 2.1.0 to 3.0.0. With BSP 2.1.0 we had implemented a Secure Boot mechanism as described here, i.e. both TF-A and u-boot were signed with the STM32 Signing Tool and had a stm32 header added. Now with BSP 3.0.0 we see that u-boot is instead encapsulated in a FIP binary which is loaded by TF-A. The problem with this is that this seems to increase boot time by about 1 second (measured with grabserial). The difference seem to be related to TF-A; see the following traces measuring time from boot until the first u-boot trace is printed: For 2.1.0: [0.000001 0.000001] INFO: Software access to all debug components is disabled [0.479875 0.479874] INFO: Cannot get CPU version, debug disabled [0.483940 0.004065] NOTICE: CPU: STM32MP157CAC Rev.? [0.003018 0.003018] NOTICE: Model: STMicroelectronics STM32MP157C-DK2 Discovery Board [0.010905 0.007887] NOTICE: Board: MB1272 Var2.0 Rev.C-01 [0.014942 0.004037] NOTICE: Bootrom authentication su
I want to populate the distribution to an SD-card and mount it in STM32MP157A-DK1 according to this link: https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer#How_to_populate_a_microSD_card_inserted_in_a_Linux_host_PCMy host PC is a virtual machine and it seems like there is a problem with STM32CubeProgrammer reconnecting to the device (see uploaded image). I have changed the USB settings on my virtual machine to automatically attach the device to it. This works fine when I press the reset button on STM32MP157A-DK1, it unmounts and mounts directly to the virtual machine again.How can I solve the reconnecting problem with STM32CubeProgrammer? Is there another way to populate an SD card by copying files from the deploy folder in the built distribution folder?
I created a project using CUBEIDE for STM32MP157C-DK2 and set all peripherals to initialize. I enabled FreeRTOS and then started porting over the example code in in the Projects folder for the OpenAMP_FreeRTOS_echo application. It is all compiling OK but the code is not executing correctly. Comparing the application example code to the CUBEIDE project I find that the code to init the IPCC and OpenAMP in the example is : /* Configure the system clock */ if (IS_ENGINEERING_BOOT_MODE()) { /* Configure the system clock */ SystemClock_Config(); } /* IPCC initialisation */ MX_IPCC_Init(); /* OpenAmp initialisation ---------------------------------*/ MX_OPENAMP_Init(RPMSG_REMOTE, NULL);But the CUBEIDE generated code looks like this: if(IS_ENGINEERING_BOOT_MODE()) { /* Configure the peripherals common clocks */ PeriphCommonClock_Config(); } else { &nbs
Hello,I can't use the "ums" command via terminalprog (minicom)Message is always"STM32MP> ums 0 mmc 0UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00Please connect USB cable. "After 60 seconds: "USB cable not detected. Command exit."Communication via minicom/ST-Link and ETH works.STM32MP> usb startstarting USB...USB0: USB EHCI 1.00scanning bus 0 for devices... 2 USB Device(s) foundscanning usb for storage devices... 0 Storage Device(s) foundSystem is buildroot, an older one and a version with kernel 5.8. No difference.I can't find the mistake.Marc
HiIn my project the root filesystem is read-only, so I need to have a writeable partition mounted on /home. I first tried doing this in my machine conf (conf/machine/stm32mp1-raichu.conf) with the following lines:ST_VENDORFS = "0" ST_USERFS = "1" STM32MP_USERFS_MOUNTPOINT = "/home"But it doesn't mount on /home, it still mounts on /usr/localAny help?
Hello, I have a question.What are some ways to control GPIO from python?I want to do that with a starter package.Best Regards!
We use the STM32MP157CA and the STM32CubeIDE and let the code generator generate a confiuration with the required modules. In our case the SPI1 on the pins (PZ0,PZ1,PZ2). The generated functions provide the initializations for the SPI1. Unfortunately the SPI1 does not work for us in normal operation mode. If we call the HAL_SPI_Transmit(...) function after the initialization we get a SPI timeout. On the oscilloscope we see no clock on the spi clock line. We also noticed that when we use the engineering mode for the M4 the SPI1 works. If we change the SPI to the SPI5 (also generated with the code generator) everything works in normal operation mode and in engineering mode. How can we use the SPI1 in normal operation mode on the M4?
When exiting out of standby mode through RTC,Wakeup pins or PON Key in all the cases System stops at : INFO: SP_MIN: Preparing exit to normal world.Here is the complete log :[ 32.488278] usb33: supplied by vdd_usb#echo mem > /sys/power/state [ 37.576569] PM: suspend entry (deep)[ 37.587289] Filesystems sync: 0.008 seconds[ 37.591188] Freezing user space processes ... (elapsed 0.001 seconds) done.[ 37.597870] OOM killer disabled.[ 37.601128] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.[ 37.608535] printk: Suspending console(s) (use no_console_suspend to debug)NOTICE: CPU: STM32MP157C?? Rev.ZNOTICE: Model: SBS MOBIOINFO: Reset reason (0x810):INFO: System exits from STANDBYNOTICE: BL2: v2.2-r2.0(release):NOTICE: BL2: Built : 10:03:06, Apr 15 2021INFO: Using crypto library 'stm32_crypto_lib'INFO: BL2: Doing platfo
Hello on my serdev when i set it up the transmition complete is not set:stm32-usart 4000f000.serial: transmission complete not setI configurated my device tree like this:&usart3 { compatible = "st,stm32-uart", "st,stm32f7-uart", "st,stm32h7-uart"; pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&usart3_pins_b>; pinctrl-1 = <&usart3_sleep_pins_b>; pinctrl-2 = <&usart3_idle_pins_b>; uart-has-rtscts; status = "okay"; ethernet { compatible = "st,stm32_usart_net"; local-mac-address = [ A0 B0 C0 D0 E0 F0 ]; current-speed = <38400>; };};So in my system it shows up like this:/sys/devices/platform/soc/4000f000.serial/serial0/serial0-0drivermodaliasof_nodepowersubsystemueventThe probe methode of my serdev_device_driver looks like this:struct stmuart *stm;u32 speed = 115200;int ret;stm = devm_kzalloc(&serdev->dev, sizeof(*stm), GFP_KERNEL);stm->serdev = serdev;spin_lock_init(&stm->lock);INIT_WORK(&stm->tx_work, stmuart_tran
Hello, my EVB is based on STM32MP151A SoC. The situation we are facing is that sometimes, the FSBL gets stuck and we would like to recover from it. i.e. reflash some Known Good FSBL. As the FSBL in that situation is kinda functional, the device will not fallback to boot from Serial. On the other hand, as the FSBL is itself stuck, any SW based solution to do so is irrelevant. Ideally, we need some external mean to force a serial boot, either from the STCube programmer, or the JTAG, or the like. As this seems like a very likely problem to appear during dev, there must be some classical solution to it, unfortunately, i couldn't find out a way from all the docs I could read. Is that known to anybody ? Thanks, Jacques
I need some clock synchronization between M4 and A7 cores. So I need steady clock values from A7 and M4 for single time point
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.