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,I'm currently designing a custom board using the STM32MP157F MPU, and I'm referencing the schematic of the STM32MP157F-DK2 evaluation board. I'm stuck on identifying a specific component with a 0603 footprint. Is it a 0-ohm resistor? Additionally, what does 'ULO' mean at the end of the footprint? Lastly, what is the component labeled LNK2?
According to the wiki here: ROM_code_overview, the pins to boot from a serial NOR flash chip can be modified by the OTP Register. I understand that I must set the bit 0 of the word 3 to 1, but how do I define which function I move to another pin? which pins can i use?For example, could I move the QUADSPI_CLK signal from pin PF10 to PA7? And how?ThanksVíctor
Hi,tI am trying to understand maximum PTP clock frequency. On page 5122 of the STM32MP2 the maximal frequency defined as 100MHz, but on page 1037 (RCC section) the maximal clock frequency of clk_eth1_ptp_ref is 200MHz. Which one is correct? Can I have 200MHz PTP timer clock? Another question, I am looking for a way to supply external clock for PTP timer, is there some way to do so? Thanks!Alexey.
Good morning,I am trying to send a buffer consisting of 896 elements to a Wi-Fi Chip from STM32MP131. I am trying to use the HAL Driver DMA (which uses interrupt to transfer blocks using IDMA).Although the code has several checks and balances. I am not encountering any failure when that function is processed. I monitored with the logic analyzer, and I am seeing transmission. But I suspect that the transmission did not go through well. I tried to read the set of values with and without writing and the values are same Indicating that the receiver has not responded.If I use polling instead of IDMA. the receive FIFO is empty when trying to receive. I cannot send through polling and receive through interrupt as that would be an interrupt issue.I tried to send the set of elements byte by byte using CMD52. In that case the tests are failing.Kindly suggest and help me here. If possible, point me to a location where I have access to some HAL_SDIO drivers that can be used for STM32MP131.Thanks a
Hi,I am working on STM32MP133FAFx . I have integrated PMIC and getting 1.35V voltage to DDR. I am using bare-metal environment without OSAlso configured required registers for DDR with below values for my hardware,DDR_MSTR 0x00040401DDR_MRCTRL0 0x00000010DDR_MRCTRL1 0x00000000DDR_DERATEEN 0x00000000DDR_DERATEINT 0x00800000DDR_PWRCTL 0x00000000DDR_PWRTMG 0x00400010DDR_HWLPCTL 0x00000000DDR_RFSHCTL0 0x00210000DDR_RFSHCTL3 0x00000000DDR_RFSHTMG 0x0075007DDDR_CRCPARCTL0 0x00000000DDR_DRAMTMG0 0x12182012DDR_DRAMTMG1 0x000A041ADDR_DRAMTMG2 0x0608090FDDR_DRAMTMG3 0x0050400CDDR_DRAMTMG4 0x08040508DDR_DRAMTMG5 0x05050403DDR_DRAMTMG6 0x02020002DDR_DRAMTMG7 0x00000202DDR_DRAMTMG8 0x00001005DDR_DRAMTMG14 0x000000A0DDR_ZQCTL0 0xC2000040DDR_DFITMG0 0x02060105DDR_DFITMG1 0x00000202DDR_DFILPCFG0 0x07000000DDR_DFIUPD0 0xC0400003DDR_DFIUPD1 0x00000000DDR_DFIUPD2 0x00000000DDR_DFIPHYMSTR 0x00000000DDR_ADDRMAP1 0x00080808DDR_ADDRMAP2 0x00000000DDR_ADDRMAP3 0x00000000DDR_ADDRMAP4 0x00001F1FDDR_A
please explain the steps on how to boot the image in sd card for stm32mp157d-dk1 and also which os should i need to use for programming
Hello I got succeed wlan0 connect to my phone just yesterdayPing 8.8.8.8 was worked and etc ok(without booting make 1m30s timeout)But today it is not working at all with just doing same beforeAfter enable and start wireless config with systemctl enable wpa_supplicant@wlan0.service systemctl restart systemd-networkd.servicesystemctl restart wpa_supplicant@wlan0.serviceOr wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.confThe error log is repeating on my console... What should i check? Thanks
I created a qt quick app onqt version 6.7.3 for the stm32mp157f-disco. I was able to test using qt creator and boot 2 qt on the target board and it worked just fine. Now, I'm in process of building the linux image for the target. Since I don't fully understand how to use yocto, and it seems there's no support from st side for qt on stm32mp15, I decided to go the other path, using the boot 2 qt. I created a custom recipe with my qt app and was able to bitbake this recipe. Now, I'm trying to build the entire image but I'm getting the following error: | cd /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/build/src/core && /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/recipe-sysroot-native/usr/bin/ninja -C /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/build/src/
I'm following the starter and distribution package for the stm32mp157f-dk2.A few weeks ago I was able to flash my target board with the starter package and can confirm it initialized the st gui and so on.I also added the usb gadget in my vm as stated on another post.Now, I'm trying to flash the st-image from the distribution package but its not able to reconnect.\I'm using an iphone quick charge that outputs 5v 3A and it worked for the starter package. I tried with another power supply just to confirm that's not the issue and I got the error in st-link. Which means my iphone quick charge is ok ***************** * ERROR USB TYPE-C connection in unattached mode * * Check that USB TYPE-C cable is correctly plugged * * Current too low, use a 3A power supply! * ****************** These are the logs from cubeprogrammer: vboxuser@ubuntu:~/stm-envirionment/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/deploy/images/stm32mp15-disco$ STM32_Programmer
I'm unable to set the clock frequency above 650Mhz, but according to the datasheet, the mpu i selected should be able to reach 1000mhz. What am I doing wrong?
Hello Community, we're trying to debug an STM32 image (kernel-version V6.1.28) on the M4 core using STLINK-V3SET debugger via STM32CubeIDE (V1.16.0) and getting the following error: Error in final launch sequence: Failed pre launch (s. attached screenshot). The directory /lib/firmware has space and is writeable. Does anyone have an idea what the problem is? The content of our local.conf: MACHINE ??= 'txmp-1571'DL_DIR ?= "${BSPDIR}/downloads"SSTATE_DIR ?= "${BSPDIR}/sstate-cache"DISTRO ?= 'karo-wayland'DISTRO_FEATURES:append = " alternatives-symlinks-relative"PACKAGE_CLASSES ?= "package_rpm"EXTRA_IMAGE_FEATURES ?= "debug-tweaks"USER_CLASSES ?= "buildstats"PATCHRESOLVE = "noop"BB_DISKMON_DIRS ??= "\STOPTASKS,${TMPDIR},1G,100K \STOPTASKS,${DL_DIR},1G,100K \STOPTASKS,${SSTATE_DIR},1G,100K \STOPTASKS,/tmp,100M,100K \HALT,${TMPDIR},100M,1K \HALT,${DL_DIR},100M,1K \HALT,${SSTATE_DIR},100M,1K \HALT,/tmp,10M,1K"SSTATE_MIRRORS ?= "\file://.* http://sstate.karo-electronics.de/PATH;downloadfilenam
Hello!If I run the openAMP example I can see the two new devices appear in the linux /dev folder: ttyRPMSG0 and ttyRPMSG1, so that's fine!I would like to give these entries another name, like instead ofttyRPMSG0 --> KEYSttyRPMSG1 --> FRAMQuestion 1: Can I "force" Linux somehow to use specific custom names that I supply via the M4 while creating an endpoint or does Linux name them always in its own way ("like ttyRPMSGxyz")?I tried to use the parameter "name" of the function "rpmsg_create_ept()" but another value than the default "rpms-tty" leads to the strange effect, that the channel is created with the new name (checked with "dmesg") but in the /dev folder the device does not appear at all anymore. It only appears, if the default name "rpmsg-tty" is kept.Question 2: Why does the device no longer appear in the /dev folder, if I give parameter "name" another value than "rpmsg-tty"?
Hi ,I am trying flash the Starter Package of Krikstone and Dunfell branch, but unsuccessful, but the starter package of Mickledore branch successfully flash on sd-card.Note: Mainly Error on Bootfs partition , and got the segmentation fault. SD Card -- 16 GB
Hello, We are evaluating the X-STM32MP-GNSS1 eval board on STM32MP-157F-DK2.The X-STM32MP-GNSS1 has Teseo-LIV3F GPS receiver on it, which does not support NAVIC.Since we want to test receiving signals from NAVIC specifically, can we replace the Teseo-Liv3F chip on X-STM32MP-GNSS1 with Teseo-Liv4F chip? (The pinouts of Liv-3F and Liv4F differ only for reserved pins ( Pin 13 (Ant off), Pin 18(Prg) and Pin 7 (Vcc_IO)
Hello everyone,I'm developing embedded firmware for stm32mp135f-dk board using Yocto/Bitbake (Kirkstone) with meta-st-stm32mp layer. My question is related to SD card partitions, so please find my flash layout .tsv file below:#OptIdNameTypeIPOffsetBinary-0x01fsbl-bootBinarynone0x0arm-trusted-firmware/tf-a-stm32mp135f-dk-usb.stm32-0x03fip-bootFIPnone0x0fip/fip-stm32mp135f-dk-optee.binP0x04fsbl1Binarymmc00x00004400arm-trusted-firmware/tf-a-stm32mp135f-dk-sdcard.stm32P0x05fsbl2Binarymmc00x00044400arm-trusted-firmware/tf-a-stm32mp135f-dk-sdcard.stm32P0x06metadata1Binarymmc00x00084400arm-trusted-firmware/metadata.binP0x07metadata2Binarymmc00x000C4400arm-trusted-firmware/metadata.binP0x08fip-aFIPmmc00x00104400fip/fip-stm32mp135f-dk-optee.binPED0x09fip-bFIPmmc00x00504400nonePED0x0Au-boot-envBinarymmc00x00904400noneP0x10bootfs-aSystemmmc00x00984400st-image-bootfs-poky-stm32mp1.ext4PED0x11bootfs-bSystemmmc00x08984400noneP0x12rootfs-aFileSystemmmc00x10984400custom-image-stm32mp1.ext4PED0x13rootf
EDIT: Sorry I accidentally put this in the wrong topic.Hi,I am trying to bring up a board using a STM32MP135 and 256MB RAM (using one of these). I have followed the Wiki instructions to modify for 256MB RAM, and the project previously worked fine. Then I left it for maybe six months and come back to find the memory mapping has changed and now I am getting TZC errors right at "Starting Kernel ...".I'm using Buildroot with TF-A v2.8-stm32mp-r2, Optee-OS 3.19.0-stm32mp-r2, U-Boot v2022.10-stm32mp-r2, and Linux v6.1-stm32mp-r2. Full Buildroot tree.I have tried modifying CFG_TZDRAM_START in Optee, DDR_NS_, and, DDR_SEC_ properties in TF-A and I can generate even more memory errors, but this is as far as I can get. Can anybody point me in the right direction, or suggest some things to try? What happens right at "Starting Kernel"? As far as I know, U-Boot must be trying to put the Linux kernel in to protected memory but I cannot figure out why or where that is specified?Thanks for a
I'm working with the STM32MP131FAE in a bare-metal environment, and I'm experiencing issues with QuadSPI.I want to use Quad SPI to send 96 bytes of data continuously without any clock interruptions.However, currently, the data is being sent in chunks, with breaks every 4 bytes.Is there a way to resolve this issue?From top to bottom, the signals are CLK, Data1~3.Below is my QuadSPI configuration: sCommand.Instruction = 0; sCommand.InstructionMode = XSPI_INSTRUCTION_NONE; sCommand.AddressMode = XSPI_ADDRESS_NONE; sCommand.AddressWidth = XSPI_ADDRESS_24_BITS; sCommand.Address = 0; sCommand.AlternateByteMode = XSPI_ALT_BYTES_NONE; sCommand.DTRMode = XSPI_DTR_MODE_DISABLE; sCommand.DelayHoldHalfCycle = XSPI_DHHC_ANALOG_DELAY; sCommand.SIOOMode = XSPI_SIOO_INST_EVERY_CMD; sCommand.DataMode = XSPI_DATA_4_LINES; sCommand.DataLength = 96; sCommand.DummyCycles = 0; sCommand.IOSelect = HAL_XSPI_
Hello,I developed a custom board very close to the STM32MP157D-DK1.I use the STM32mp157 and the power manager the STPMIC1AI use "openstlinux-6.1-yocto-mickledore-mpu-v24.06.26"I can't get my card to go into deep low power, I directly get a problem related to vref_ddrhttps://wiki.st.com/stm32mpu/wiki/Power_overviewhere is the error i get on the console :root@stm32mp1-display:~# systemctl suspendroot@stm32mp1-display:~#root@stm32mp1-display:~# [ 149.909535] PM: suspend entry (deep)[ 149.918601] Filesystems sync: 0.006 seconds[ 149.922403] Freezing user space processes[ 149.927460] Freezing user space processes completed (elapsed 0.001 seconds)[ 149.933074] OOM killer disabled.[ 149.936396] Freezing remaining freezable tasks[ 149.942086] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)[ 150.116577] dwc2 49000000.usb-otg: suspending usb gadget configfs-gadget.g1[ 150.141203] Disabling non-boot CPUs ...[ 150.144797] CPU1 killed.E/TC:0 do_pm_callback:75 Suspend vref_
Being relatively new to Yocto, I struggle a bit with some issues.I intend to use ADC channels in my (user space) applications, but the channel names seem confusing.Listing /sys/bus/iio on a live system, I can see two ADC devices, device_0 and device_1 - which I presume to correspond to ADC1 and ADC2.The device 0 contains channels voltage_18_raw and voltage_19_raw, and device 1 contains channels voltage_13_input, voltage_14_raw, voltage_18_raw and voltage_19_raw.In general, do those numbers <nn> refer to ADC1_INP<nn> / ADC2_INP<nn> in the datasheet ?The problem here is, ADC1_INP18 and ADC2_INP18 refer to pin PA4, and ADC1_INP19 and ADC2_INP19 refer to PA5. Which would not be a problem as such , but according to the board schematics, both pins are connected to USB_PWR_CC1 and USB_PWR_CC2, respectively.OTOH, there are 6 pins of the Arduino connector CN17 marked as analog inputs in the schematics of the DK, but the channel numbers liste
Hi,I am unable to see the can0/can1 interface on my brand new STM32MP2 Eval board after re-flashing the Starter-Package(FlashLayout_sdcard_stm32mp257f-ev1-ca35tdcid-ostl-m33-examples-optee.tsv).Previously I was able to see both the interfaces(with ls /sys/class/net) with the preloaded micro-sdcard OS that came with the board and was able to send/receive CAN data to external devices.But after flashing the firmware that came with starter-package: stm32mp2-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26, CAN interface stopped working. I tried modprobe the can driver and also rebuilding/flashing the kernel/DTS using the Developer package but nothing helps.Unfortunately I didn't backup the micro-sd contents before reflashing. I assumed the sdcard was loaded with starter-package contents when the board arrived.Any help would be highly appreciated.Thanks,Satish
Hi i tried to compile python3-pyqt5 , in my stm32mp157f-dk2 board but failed to compile. in my local.conf file i added this line but again fail.IMAGE_INSTALL:append = " python3-pyqt5"Note: i want any browser just i want to check that URL is working or not with GUI .please check the logs and please let me know where i am missing. bitbake st-image-qtNOTE: Started PRServer with DBfile: /home/md/Workspace/Demo_file_fr/MPU_EDS_V1.0/build-openstlinuxweston-stm32mp1/cache/prserv.sqlite3, Address: 127.0.0.1:41977, PID: 4196Loading cache: 100% |###########################################################################################################| Time: 0:00:00Loaded 4738 entries from dependency cache.Parsing recipes: 100% |#########################################################################################################| Time: 0:00:02Parsing of 2990 .bb files complete (2987 cached, 3 parsed). 4741 targets, 536 skipped, 0 masked, 0 errors.NOTE: Resolving any miss
Hi,I am trying to boot a signed TF-A image on my STM32m257f compiled with TRUSTED_BOARD_BOOT support (Compiled in f-a-stm32mp.inc recipe from meta-st-stm32mp, mickledore branche).When the board is powered up, i got this error: NOTICE: CPU: STM32MP257FAI Rev.B NOTICE: Model: STMicroelectronics STM32MP257F-EV1 Evaluation Board NOTICE: Board: MB1936 Var1.0 Rev.C-01 NOTICE: BL2: v2.8-stm32mp2-r2.0(release):lts-v2.8.15-dirty(567af710) NOTICE: BL2: Built : 00:51:33, Jan 26 2024 NOTICE: TRUSTED_BOARD_BOOT support enabled ERROR: BL2: Failed to load image id 1 (-80) I've already fuse my PKHTH with the stm32key command and my binary is signed with the right key. The board boots normally when I install a TF-A binary without TRUSTED_BOARD_BOOT support.Do you have any idea please?Thanks
Hi there ST team!I'm asking this because I'm overwhelmed with all the different process and I'm not sure what's the correct way to do this. I have a qt quick app developed in qt creator for the stm32mp157. I already tested it in my target using the QT creator and it works as expected. Now, I would like to build an embedded Linux image and add this qt application into it. As far as I understand, I need to install the starter package on my target because that will configure some stuff. Then...I'm lost. If someone can explain a high level overview of how to do this it would be really nice. Thanks a lot in advance
I'm trying to build a linux image for this target. I had successfully(after a lot of trial & error) flashed the target with the Starter package.For some strange reasons when doing the distribution package, I had to reinstall my VM and now I'm trying again this process. This is the data before downloadingThe problem is that the download process fails at this stage:It happens the same with the distribution package with an image I already built I can confirm the "usb gadget" is forwarded to the VM. Thanks a lot in advance :)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.