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 all I have a new board of STM32MP157C, But I found the eMMC's pin in board is not the default pin. If I want to boot from eMMC what I should do? write the otp to set pin of eMMC and set the device tree. is that enough ?
we are using stm32mp157f-ev1 and we build the weston image for this board.We want to enable the SPI-1 on this boardwe had applied the following patch to enable the SPI-1+&spi1 { + status = "okay"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&spi1_pins_a>; + pinctrl-1 = <&spi1_sleep_pins_a>; + cs-gpios = <&gpioz 3 O>; + timeouts = <3>; + + spidev@0 { + status = "okay"; + com
I ask because I'm starting the project of a converter that receives the video signal via optical fiber and converts it to an SDI output.
On the default image provided from ST, is there any way to check what color depth is running on it.I think it is 24bit but not sure. I ran modetest but no option to show this information.
..
Dear STM32 MPU Community, We are please to announce that New MP1 Ecosystem V4.0.0 is available.It contains :openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15STM32CubeMP1-v1.6.0STM32CubeIDE-v1.10.0STM32CubeMX-v6.6.0STM32CubeProgrammer v2.11.0Please check out the STM32_MPU_ecosystem_release_note_-_v4.0.0 on STM32 Wiki to get complete description of content and new features.*** Main NEW features of the STM32MP1-ecosystem-v4.0.0 release ***OP-TEE by default (updated driver model based on DT)New OTP structure exchange between U-Boot / cube ProgrammerADC calibration in U-BootFirmware (FIP) A/B Update (TF-A BL2 only)STM32MP15x lines updatesSTM32MP15-EVAL boards: LCD Rocktech RK055MHD042A0-CTG supportOf course, the Wiki for previous ecosystems are still available :Ecosystem-V3-WikiEcosystem-V2-WikiEcosystem-V1-Wiki Hope you will enjoy this new release.In case any questions, issues .. this Community is made for you !
How to setup a dhcp server on STM32 MP1?
I use ubuntu22.04 and stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15. When compiling TF-A, I can't get STM32 files. Here are the details
I have a custom board based on stm32mp157c which is working with arm-trusted-firmware version v2.2-stm32mp.I updated tf-a to version v2.4-stm32mp version keeping the same DTS file but the problem is that tf-a is starting and hangs at loading sp min as follow, no u-boot is showing:NOTICE: CPU: STM32MP157CAA Rev.Z NOTICE: Model: XYZ Variant 3 NOTICE: BL2: v2.4-r2.1-nofip(release):v2.4-stm32mp-r2-37-gaaa0ea904-dirty NOTICE: BL2: Built : 17:56:47, Aug 25 2022 NOTICE: BL2: Booting BL32 NOTICE: SP_MIN: v2.4-r2.1-nofip(release):v2.4-stm32mp-r2-37-gaaa0ea904-dirty NOTICE: SP_MIN: Built : 17:56:54, Aug 25 2022u-boot.stm32 is perfeclty loading and woking if I revert to v2.2-stm32mp.I have no idea where to look !
Hi,Because dotnet core supports ARMv7, but it doesn't say much clear about ARMv7M. So, I tried to port uCLinux from STM32F7 on my custom STM32H7 board. The OS boots fine but when I ran "dotnet --version", response is "sh: ./dotnet: No such file or directory".I run directly from the folder that contain dotnet SDK so no PATH needed, and the execute file "dotnet" is exist, with execution mode as well.Seems dotnet is not happy with ARMv7M which is not surprised us. But if anyone is already success, or any suggestion are welcome.
Hallo everybody,I have a problem with flashing a data into GP0 partition of eMMC. I have added 2 General Purpose Partitions to our eMMC and left 32MB free userspace. Now a STM32Programmer can see only a 32MB of the userspace and i can not flash an image into GP-Partition. STM32Programmer say: mmc0 max address is 0x1f80000 and mmc1 and mmc2 are not available. Are there some special options to recognize another 2 GP-Partitions I added with linux mmc-tool?Thanks in advance.
When I'm working on configuring devicetree for a new board, adding new nodes and tweaking values, I often run into a un-bootable system. What I would like is that there is a bit more information of what goes wrong.Like now it just quits booting if some node in the references some unitialized hardware. like if vrefbuf perihperal is not activated, and I reference a voltage from there *Crash*.Is there any ways to make the workflow more tolerable?
I have several questions first one is what is the max clock for I2C, minimum is pointed at this sheet but what is the max?Again for the same sheet for the LCD-TFT controller, I will be using 1.8V LVDS display so fclk frequency will be 45 MHz max right? If so would be the affect for the display having 45 MHz instead of 90 MHz?For SAI and SPI conditions are between 1.71<Vdd<3.6 and 2.7<Vdd<3.6 so shouldn't it the first one should be 1.71<Vdd<2.7 ? What happens if Vdd=1.8V?For USART max frequency is 27 MHz on the sheet, however for the stm32mp157a-ev1 board it is 60 MHz default. Does not it cause problem?Thank you in advance.
I am asking this question after using the the Developer package of the STM32 Echosystem in orfer to recompile the kernel drivers of the ADC to activate the ADC, how ever i can't figure out how to modify the device tree. i was trying to get this example "3.3 How to perform multiple ADC conversions in triggered buffer mode using libiio" provided by st to work (https://wiki.st.com/stm32mpu/wiki/How_to_use_the_IIO_user_space_interface) how ever when i reach this example to test it doesn't work since i don't have the trigger0 showing up after using the iio_info command$ iio_readdev -t trigger0 -s 8 -b 8 iio:device0 voltage0 voltage1 | hexdumpin that case my question is how to get this example working by changing the device tree and the developement echosystem's method ? this is my device tree configuration &adc { vdd-supply = <&vdd>; vdda-supply = <&vdda>; vref-supply = <&vdda>; status = "okay"; adc1: adc@0 { st,min-sample-time-nsecs = <5000>;
Hi all,I followed the instructions described on the wiki, page ADC_device_tree_configuration.Changing the sampling_frequency, I can achieve a sampling rate of about 10k. Going higher crashes the system. Reducing the parameter 'min-sample-time-nsecs' in the device tree did not solve the issue.Is it not possible to go higher with the sampling rate when using the iio interface? Would I option higher sampling rates writing a C Program accessing the ADC via mmap()?Any hint is appreciated.Denise
My eMMC for my custom board support HS200 so I/O should be 1.8V, does STM32MP15 supports this speed and what is the max data rate?I will be only using eMMC for booting (no SD card or any kind of boot device) so should I go with STPMIC1A or STPMIC1B?Which output should I use of the PMIC's for the eMMC since it is going to be the only booting device it should be powered up properly at the start?
I have the connection on the image from AN5031 for my custom board and I my clock configuration can be seen on the other picture. Is my clock configuration correct and how its device tree code should be?
Can someone do me a favor?I need some help.I'm using the board of the stm32mp157 chip.When I try to restart the board, he occasionally prompts for some errors.[drm] ltdc fifo underrun: please verify display modeAnd at the same time, my hdmi monitor doesn't work.How do I solve this problem?
EVAL BOARD (stm32mp15-ddr.dtsi) #define DDR_PCFGR_0 0x00010000 #define DDR_PCFGR_1 0x00010001 My Board (TF-A/stm32mp15-mx-dtsi) #define DDR_PCFGR_0 0x00000000 #define DDR_PCFGR_1 0x00000000Why are these registers different even though I have the same configuration?
Actually, we are trying to reset the MAC registers by using DMA mode register (bit 0) in Ethernet section.As per reference manual, we are set the bit(swr bit) to 1 in ETH_DMAMR_REG register. but it is not reset automatically. In software we done // Enable eth clocks __HAL_RCC_ETH1CK_CLK_ENABLE(); __HAL_RCC_ETH1TX_CLK_ENABLE(); __HAL_RCC_ETH1RX_CLK_ENABLE(); __HAL_RCC_ETH1MAC_CLK_ENABLE();// Provide a software reset to reset all MAC internal registerswriteptr = (uint32_t*)(ETH_BASE_ADDRESS + ETH_DMAMR_REG);SET_BIT(*writeptr,ETH_DMAMR_SWR); // make 0 bit to 1 for sw resetreadptr = (uint32_t*)(ETH_BASE_ADDRESS + ETH_DMAMR_REG);while(READ_BIT(*readptr,ETH_DMAMR_SWR)); // checking the 0 bit till software reset has done( bit is reset).In this writing has completed but we are unable to read 0 from this register. May be what is the issue ? can help me in this regards.regardssrikanth
For my custom board, I will be using emmc on the sdmmc2 and wireless on sdmmc3 so according to this article I have to change linux kernel boot command. Since I am not going to have anything on the sdmmc1 (SD Card) isn't it suppose to boot from emmc without any commands?
I would like to bring up the openocd and gdb debugger on a custom board with STM32MP157D processor with 1 GB (2x512MB 16 bit DDR3 chips) x 32 bit. The modified device-tree and SPL gives me the following issue:U-Boot SPL 2022.01-rc3 (Sep 07 2022 - 16:35:59 +0200) RAM: EK470 DDR3-DDR3L 32bits 533000kHz stm32mp1_clk rcc@50000000: stm32mp1_clk_disable: id clock 228 has been disabled stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 220 has been enabled stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 222 has been enabled stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 226 has been enabled stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 229 has been enabled stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 224 has been enabled id=15 clock = 1fc4ef40 : 533000 kHz stm32mp1_clk rcc@50000000: computed rate for id clock 224 is 533000000 (parent is PLL2_R) stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 228 has been enabled get_ram_size(c0000000, 4
Hello,I am trying to bring up a custom board based on the STM32MP157D MPU via SDCard.I am using u-boot 2022-01-rc3 as bootloader and the boot is using SPL (I have an SDCard with a GPT Partition table with fsbl1, fsbl2 and ssbl named partitions).This is the 2nd time I am using this u-boot to bring up a custom STM32MP15x board.The first time was using a STM32MP151a and I needed to activate the clock tree for the USART1 and modified the low level setup in the stm32mp1_clk source code to enable the USART1 clocks and to activate the serial port #1 to have the SPL ready to print as soon it starts.But now, something goes wrong. I am using a DDR3 layout as the ED1 evaluation kit as 2x4GB (2x16 bit) 533Mhz DDR RAM. Using the same clk initialization stuff in the ddr3-1066-888-bin-g-2x4gb-533mhz device tree file, and the rcc configuration as follow:&rcc { status = "okay"; st,clksrc = < CLK_MPU_PLL1P CLK_AXI_PLL2P CLK_MCU_PLL3P CLK_PLL12_HSE CLK_PLL3_HSE CLK_PLL4_HSE CLK_RTC
Hi. Some examples use ltdc_ep0_out / reg 0, while others use ltdc_ep1_out / reg 1.e.g.https://community.st.com/s/question/0D50X0000BG0RAWSQ3/stm32mp1-ltdc-device-tree-for-rgb-displayWhere can I find more details on when to use reg 0 vs reg 1?&ltdc { port { ltdc_ep1_out: endpoint@1 { reg = <1>; remote-endpoint = <&panel_rgb_in>; }; }; };Thank you-- Peter
Hi, the image provided by ST, usb0 ethernet show up as well when try 'ifconfig'.We would like to try with buildroot. We pick kernel from ST: linux-5.15-stm32mp-r1.tar.gzWe pick config from ST: en.SOURCES-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz (inside the zip has config-5.15.24.txt file) Building and boot are success. We expected to see "usb_gadget" in folder /sys/kernel/config to run "stm32_usbotg_eth_config.sh". But "usb_gadget" folder doesn't appear.But we tried:```mkdir -p /configmount -t configfs none /config```"usb_gadget" does appear inside /config as well.So, we change path in script "stm32_usbotg_eth_config.sh", instead of "/sys/kernel/config/usb_gadget" become "/config/usb_gadget".Script run look fine but all we see just:[ 45.084215] using random self ethernet address[ 45.087218] using random host ethernet addressAnyone know what we are missing or any hint?And why "usb_gadget" only appears when use mount, instead of default "/
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.