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
Hi,I am using a STM32MP157f-DK2 platform with Linux distribution software downloaded from ST download link for the platform. Can you please help to understand what is the interrupt that CPU will get when a data block is read from the SD card? Is it SDMMC Global interrupt or some DMA interrupt? I thought it would be SDMMC global interrupt, and then CPU need to read SDMMC registers to find out what is the actual cause of the interrupt. Not sure if this is the correct understand. Can you please help to clarify or point me to some document or code path for this. Regards,debashis
I'm trying to enter standby (DDR off or on) on my custom board, containing a STM32MP151 and a STPMIC1B. This is my STPMIC/suspend entry in the device tree of OPTEE: &i2c4 { compatible = "st,stm32mp15-i2c-non-secure"; pinctrl-names = "default"; pinctrl-0 = <&i2c4_pins_z_mx>; //pinctrl-1 = <&i2c4_sleep_pins_a>; i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; clock-frequency = <400000>; status = "okay"; /* spare dmas for other usage */ /delete-property/dmas; /delete-property/dma-names; pmic: stpmic@33 { compatible = "st,stpmic1"; reg = <0x33>; interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; status = "okay"; regulators { compatible = "st,stpmic1-regulators"; buck1-supply = <&vin>; buck2-supply = <&vin>; buck3-supply = <&vin>; ldo3-supply = <&vdd>; ldo2-supply = &l
Hi, I am using STM32MP1F157-DK2 focusing on the ARM Cortex M4 chip and I am facing some issues while wanting to read ADC values from my sensors. I am relatively new to this and any advise or help would be greatly appreciated. I flashed the starter package into the STM32 discovery board initially based on documentation here. The following is the code performed on Arduino that I wanted to perform on the STM32 discovery board. void setup() { // initialize the serial communication: Serial.begin(9600); pinMode(10, INPUT); // Setup for leads off detection LO + pinMode(11, INPUT); // Setup for leads off detection LO - } void loop() { if((digitalRead(10) == 1)||(digitalRead(11) == 1)){ Serial.println('!'); } else{ // send the value of analog input 0: Serial.println(analogRead(A0)); } //Wait for a bit to keep serial data from saturating delay(1); } Based on the schematic of the STM32MP157F-DK2, I found out that the STLINK RX and TX is connected to PA2 a
Hello, I get the following error when trying to run bitbake -k -v core-image-minimal Build Configuration:BB_VERSION = "2.6.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "universal"TARGET_SYS = "arm-poky-linux-gnueabi"MACHINE = "stm32mp1"DISTRO = "poky"DISTRO_VERSION = "4.3.1"TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"TARGET_FPU = "hard"meta meta-poky meta-yocto-bsp = "nanbield:bf9f2f6f60387b3a7cd570919cef6c4570edcb82"meta-oe meta-python = "nanbield:1750c66ae8e4268c472c0b2b94748a59d6ef866d"meta-st-stm32mp = "nanbield:eccd561ae8dc9c942491ef772b2d5385a64f66ae"Initialising tasks...NOTE: Marking Active TasksNOTE: Pruned 13989 inactive tasks, 5116 leftNOTE: Assign WeightingsNOTE: Compute totals (have 1 endpoint(s))done.Sstate summary: Wanted 14 Local 0 Mirrors 0 Missed 14 Current 2380 (0% match, 99% complete)NOTE: Executing TasksNOTE: Setscene tasks completedNOTE: Running task 4801 of 5116 (virtual:native:/home/user/dev/yocto/yocto/meta-st-stm32mp/recip
optee-stm32mp-addons repository is not available in github. Seems to be deleted or cant be accesed.URL:https://github.com/STMicroelectronics/optee-stm32mp-addons
Hello everyone, I am trying to run examples of the new STM32CubeMP13 repository. Unfortunately, without any success, The flash procedure always breaks with an error (please see the attachments below). Nevertheless, it is possible to finish. After that, the SD card remains empty. Did you encounter similar difficulties? I am trying to run: https://github.com/STMicroelectronics/STM32CubeMP13/tree/main/Projects/STM32MP135C-DK/External_Loader/SD_Ext_Loader
Hi,I have an STM32MP157d-dk1 board, which I am flashing with a Yocto Kirkstone, core-image-minimal image.I am trying to enable production mode debugging of the M4 through STM32CubeIDE, but so far without success.I have added ssh and sftp to my local.conf file:IMAGE_INSTALL:append = " module-init-tools openssh " EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-debug eclipse-debug ssh-server-openssh" CORE_IMAGE_EXTRA_INSTALL += "openssh-sftp openssh-sftp-server"and I have loaded the USB Gadget Ethernet module on the MP1:modprobe g_ether dev_addr=12:34:56:78:9a:bc host_addr=12:34:56:78:9a:bd ifconfig usb0 192.168.7.1 netmask 255.255.255.0I have configured my debugging profile to use "thru Linux Core" and set it up with the proper IP.When trying to connect to the board from CubeIDE, it stays in yellow light, with either status "Status: Idle" or "Status: Busy", but never gets a green light.If I start the debugger, it says "Configured inet address '192.168.7.1' not reachable"Everything works as e
Using MP135F-DK board.Setup the environment and rebuild kernel.After I use openocd and gdb success connect to linux system, try to debug linux kernel, then run some simple gdb command like "bt" or do nothing, then system get reset.I did not get much useful info from console (minicom).if I don't pause system and let gdb "continue", then no reset.Is it because watchdog ? how to disable it.
Experiencing a 'Connection timed out' error (Failed to execute MI command) in STM32Cube IDE when launching. Looking for assistance with debugger configuration and troubleshooting steps. Any advice appreciated. Thanks!
Hello..We are using STM32MP157A-DK1 Kit.We have quarry that can we access ddr memory from CM4.As there no proper information in reference manual that how to access ddr memory from CM4.Please help us in accessing DDR memory from CM4. regards,Navaneeth kumar
Trying to merge a custom stm32mp153c board to the new BSP (6.1-yocto-mickledore), OP-TEE panics: F/TC:0 0 probe_driver_node:391 Probing stm32mp1-cpu-opp on node cpu0-opp-table F/TC:0 0 get_supply_phandle:114 cpu: supplied by 4 F/TC:0 0 __clk_enable:1174 Clock 140 has been enabled F/TC:0 0 __clk_disable:1187 Clock 140 has been disabled F/TC:0 0 pmic_get_voltage:220 buck1: get volt F/TC:0 0 __clk_enable:1174 Clock 140 has been enabled F/TC:0 0 __clk_disable:1187 Clock 140 has been disabled F/TC:0 0 __clk_enable:1174 Clock 140 has been enabled F/TC:0 0 __clk_disable:1187 Clock 140 has been disabled D/TC:0 0 stm32_bsec_find_otp_in_nvmem_layout:644 nvmem part_number_otp = 1: 1 bit offset: 0, length: 8 D/TC:0 0 stm32mp1_cpu_opp_get_dt_subnode:291 Found OPP 0 (650000kHz/1200mV) from DT F/TC:0 0 regulator_set_voltage:299 buck1 1200mV F/TC:0 0 __clk_enable:1174 Clock 140 has been enabled F/TC:0 0 __clk_disable:1187 Clock 140 has been disabled F/TC:0 0 pmic_set_voltage:233 buck1: set volt F
Hello,We are using STM32157AAA3 Processor in our custom board and Microchip Ksz9893 switch for ethernet and the switch is configured using i2c.when we are trying to ping ethernet in RGMII mode in U-Boot v2022.10-stm32mp-r1 we are getting the Rx-clock frequency 125MHz but the Tx clock is configuring for 2.5Mhz and we are getting ping is not alive.when we try to ping ethernet in RMII Mode with auto negotiation it works fine.And we are able to ping ethernet in linux(v5.13) with fixed-link property in rgmii and rmii but when we are trying to use fixed-link in ubootV2022.10 we are getting cpu reset issue.Please find the below attached screen shots for our processor specific and board specific configurations and output log with out fixed-link we are getting without fixed-link propertywith fixed-link we are gettingWith fixed-link property please help us in this regards.regards,Srikanth.
Hello everyone,I've installed STM32CubeIDE and I've created a new STM32 project with STM32MP1x (in this case STM32MP131AAE3) as target but in the project there are only two directories (DeviceTree and Drivers).There isn't a source directory ("src") with C files where I can write my code. So... where can I write the code? What can I do?
STM32CubeIDE 1.14.0 was released today on st.com as well as an in-tool update patch. What is new in 1.14.0? Added the support for new microcontrollers in the STM32WB series Added the support for two new boards related to the STM32WB series: NUCLEO-WBA55CG and STM32WBA55G-DK1 Added the support for a new board related to the STM32U5 series: STEVAL-MKBOXPRO Added the support for STM32CubeMP13: bare-metal firmware for the STM32MP13xxmicroprocessors Updated to Eclipse® 2023-09 GCC 12 is available on the Eclipse® p2 update site Main fixed issues: Refer to the STM32 microcontrollers wiki at STM32CubeIDE:STM32CubeIDE errata 1.14.0 - stm32mcu Known issues fixed and problems and limitations Refer to the STM32 microcontrollers wiki at Category:STM32CubeIDE errata - stm32mcu Where do I obtain STM32CubeIDE 1.14.0? https://www.st.com/stm32cubeide … Or update your current installation of STM32CubeIDE using: Help > Check for updates
STM32CubeProgrammer v2.15.0 release informationNew features:• Added the NOR flash memory and OTP fuse programming via USB and UART using OpenBootloader for the STM32MP13xx microprocessors• Added the support for the PMIC programming via UART for the STM32MP15xx microprocessors• Added limited FASTROM support• Added the automatic determination of the stack install address for the STM32WB series and STM32WB0 seriesRefer to the STM32CubeProgrammer software description user manual (UM2237) for details.Fixed issues:110598 [STM32CubeProg][STM32WB] Incorrect installation address when the RF stack is already in place.124075 [GUI][Device memory] Request to remove the partitions view from Device memory.140915 [STM32L0][EEPROM] Error message when erasing the EEPROM via the ST-LINK interface.145199 [STM32CubeProg-FUS] [STM32WB15xx] Missing the wireless stack version.150022 [STM32F0][STM32CubeProg] Confusing naming and use of nWRP.150428 [STM32WB][DFU] The [Start Wireless Stack] button is grayed in D
Hello, I am working on STM32MP135-dk board.i am running make command but its not working, it shows fatal error: XDisplayInfoHeader.h: No such file or directory, this error. How to solve it ? i am sharing some screenshots below.
I have a simple recipes, which used to install certain files to rootfs, as below:DESCRIPTION = "A hello world example"SECTION = "appauto"DEPENDS = ""LICENSE = "CLOSED"FILESEXTRAPATHS:append := ":${THISDIR}/file"SRC_URI = "file://hello.service \"do_install() {install -d ${D}${systemd_unitdir}/systeminstall -m 0644 ${WORKDIR}/hello.service ${D}${systemd_unitdir}/system}FILES_${PN} += "${systemd_unitdir}/system"When bitbake this recipes, it will generate error message as:NOTE: Executing TasksERROR: appauto-1.0-r0 do_package: QA Issue: appauto: Files/directories were installed but not shipped in any package:/lib/lib/systemd/lib/systemd/system/lib/systemd/system/hello.servicePlease set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.However, if I change directories installation variables from "systemd_unitdir" to "base_bindir", then everything is OK.Then I try many different directory variable, then I see "
Hello everyone,I have to convert a neural network into optimized C code for STM32MP1x. Is it necessary using OpenSTLinux (so X-Linux-AI) or is there an other way to get it?
Hi,Using own custom board based on stm32mp151I'm using STM32CubeProgrammer to program to nand, but I'm getting errorError: ssbl1 (0x6): Bad size for partition 2 (ssbl1) at 0x200000 = 0xfe00000 <> 0x200000 expected my .tsv file is#Opt Id Name Type IP Offset Binary- 0x01 fsbl1-boot Binary none 0x0 tf-a-stm32mp15xc-ya151c-256d-t-serialboot.stm32- 0x03 ssbl-boot Binary none 0x0 u-boot-stm32mp15xc-ya151c-256d-t-trusted.stm32P 0x04 fsbl Binary(2) nand0 0x00000000 tf-a-stm32mp15xc-ya151c-256d-t-serialboot.stm32P 0x06 ssbl1 Binary nand0 0x00200000 u-boot-stm32mp15xc-ya151c-256d-t-trusted.stm32P 0x07 ssbl2 Binary nand0 0x00400000 u-boot-stm32mp15xc-ya151c-256d-t-trusted.stm32 And the mtdparts command on u-bootSTM32MP> mtdparts---mtdparts_init---last_ids : nand0=nand0env_ids : nand0=nand0last_parts: mtdparts=nand0:2m(fsbl),2m(ssbl1),2m(ssbl2),-(UBI)env_parts : mtdparts=nand0:2m(fsbl),2m(ssbl1),2m(ssbl2),-(UBI)last_partition : nand0,0env_partition : nand0,0---list_partitions---
Hello all,I currently have to deal with a display which has an inactive zone in the middle. Its "interface" resolution is 540x1280px, but the 140px columns in the middle are not connected to the screen. That is, the display is of 400x1280px of resolution but the whole 540 columns have to be provided through its interface. In order to display a 400x1280px image, I need to split it into two 200x1280px regions and send them with the dead zone in the middle.Here is a diagram about how this is working (active are in red):I wonder if there is a way to use the LTDC peripheral to do this in an efficient way. I am thinking about using layers and/or windows to achieve this. Currently I am using QT to generate the content on-screen.Does anybody have a clue on how to deal with this kind of component?Thank you very much in advance!
I am trying to setup the developer package on my system and had an issue with the following line when going through the README.HOW_TO.txt file in the developer package:$ make ARCH=arm O="${OUTPUT_BUILD_DIR}" multi_v7_defconfig fragment*.config make: *** No rule to make target 'multi_v7_defconfig'. Stop.For context, it had me do the following to prepare the kernel source (to apply the patches to the kernal source directory, ~/STM32MPU-Ecosystem-v5.0.0/Developer-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.1.28-stm32mp-r1-r0:(tar xf linux-6.1.28.tar.xz cd linux-6.1.28 for p in `ls -1 ../*.patch`; do patch -p1 < $p; doneThis had no issues and had me move on to section 5 which had me run the following from the same folder (~/STM32MPU-Ecosystem-v5.0.0/Developer-Package/stm32mp1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21/sources/arm-ostl-linux-gnueabi/linux-stm32mp-6.1.28-stm32mp-r1-r0, maybe that is the source of the i
We are using Murata LBEE5HY1MW WiFi/BT module with a STM32MP157F based custom board, running OSD32MP1 Debian SDK v3.0 (Linux Kernel v5.10-stm32mp)LBEE5HY1MW module is connected to STM32MP157F via sdmmc3 (WiFi) and usart2 (Bluetooth) interface.Due to some limitations, we have to set the IO voltage to 3.3V (we can not use 1.8V on board).We are not getting the recommended throughput when we run WiFi throughput tests via iperf3.On average we got ...5GHz throughput around 40 Mbits/sec2.4GHz throughput around 30 Mbits/secWe tried different configurations but the WiFi throughput does not go beyond 54Mbps.The command wl status returns that the supported rate is 54Mbps at most.We tried changing the sdio bus speed parameter in device tree to different values (SDR104, SDR50, DDR50), but it has no effect, sdio bus speed remains fixed at 49.5 MHz and DDR52. Not sure if this is due to 3.3v supply.Below are some of the commands showing wifi status followed by Kernel device-tree excerp
I realize this is probably a pretty basic question but I haven't found a way to have the M4 portion of the firmware startup when the STM32MP1 is powered up. I'm currently using an STM32MP157D-DK1 board, if that helps. I was able to debug the code of the OpenAMP_TTY_echo_wakeup_CM4 example and all was working except trying to put the A7 to sleep (which made sense in my head. Putting it to sleep could be problematic if I'm still debugging. That said, it's still an issue when not in debug mode but I might save this for a separate thread). When I end debug mode and reset the device, the program stops (which also makes sense as I assume either the M4 is not actually programmed or the program is not setup to start on reset). I found a video (https://www.youtube.com/watch?v=PsiFDHH87vo&t=600s) that shows how to load the firmware by moving the elf file via a flash drive and placing it in that folder (though apparently, putting it in debug mode essentially
Hi! I am working with stm32mp157c-dk2 and trying to establish communication between m4 and a7 cores. I analyze standard examples for this purpose, namely OpenAMP_TTY_echo. VIRT_UART initialization is presented here for m4 core: log_info("Virtual UART0 OpenAMP-rpmsg channel creation\r\n"); if (VIRT_UART_Init(&huart0) != VIRT_UART_OK) { log_err("VIRT_UART_Init UART0 failed.\r\n"); Error_Handler(); } log_info("Virtual UART1 OpenAMP-rpmsg channel creation\r\n"); if (VIRT_UART_Init(&huart1) != VIRT_UART_OK) { log_err("VIRT_UART_Init UART1 failed.\r\n"); Error_Handler(); } /*Need to register callback for message reception by channels*/ if(VIRT_UART_RegisterCallback(&huart0, VIRT_UART_RXCPLT_CB_ID, VIRT_UART0_RxCpltCallback) != VIRT_UART_OK) { Error_Handler(); } if(VIRT_UART_RegisterCallback(&huart1, VIRT_UART_RXCPLT_CB_ID, VIRT_UART1_RxCpltCallback) != VIRT_UART_OK) { Error_Handler(); } After flashing is issued: [ 111.672943] virtio_rp
Hello, I've tried measure period of GPS PPS which is very high accuracy. I'm using TIM5 input capture mode, reset slave mode. The TIM5 CCR1 gives value 208877646 that is wrong because I use high accurate generator for sys clock. The right value is about 209000000. So maybe anyone meet the problem? Thanks,Alex.
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.