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
I am generating device tree and compiled it by stm32cudeide and upload to my board. So, baiscally I am following this link:https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_projects_in_STM32CubeIDEMy issue is that no matter what I do, nothing seems to affect my pins. I type to check them:cat /sys/kernel/debug/pinctrl/soc\:pin-controller@50002000/pinconf-pinsI can confirm that .dtb is uploaded successfully, and also extlinux.conf is changed
Hello,We are using stm32mp157A processer in my custom board.We need to change voltage values in Arm trusted firmware (TFA 2.5) dtsi file .For that we changed voltages as per our custom board but it is not effected.vdd: buck3 { regulator-name = "vdd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; st,mask-reset; regulator-initial-mode = <0>; regulator-over-current-protection; }; we need 1.8v for this buck3 so we changed above node to 1.8v using below node.vdd: buck3 { regulator-name = "vdd"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; st,mask-reset; regulator-initial-mode = <0>; regulator-over-current-protection; };After changing also we are getting 3.3 volts. So how can we change voltage from3.3 to 1.8 volts?please help us in this regards..
Hey I found a strange documentation on your wiki pagehttps://wiki.st.com/stm32mpu/wiki/STM32MP15_OTP_mapping 3: 14-7 (8 bits)UART instances disablingIf it is different from zero, then each bit disables an UART instance.Collapse0b00000001: reserved0b00000010: disable USART20b00000100: disable USART30b00001000: disable UART40b00010000: disable UART50b00100000: disable UART60b01000000: disable UART70b10000000: disable USART80b11111111: all UART instances are enabled.Why is all enabled when all UARTS are 1?I set everything to 1 but I get messages on the serial console.Do you have a hint for me?Greetings
I guess there is a typo on the following page (and i couldn't find the proper place to report that)wiki.st.com/stm32mpu/wiki/SPI_device_tree_configuration"Both /delete-property/dma-names and /delete-property/dma have to be inserted to get rid of DMAs."This sould be."Both /delete-property/dma-names and /delete-property/dmas have to be inserted to get rid of DMAs."Thank you for taking care.Best regardstsc
What does the OTP 9 Bit 0 do?There is nothing in the ref manual.
What does the OTP 3 Bit 15 do?Can I disable the boot cache for more security? Or does it have more impact on the system?
The flashing process of our STM32MP1 SoM is very slow, it took about 3 and 1/2 hours to flash to whole 8GB eMMC. We use the STM32_Programmer_CLI and have a usb connection which shows up in DFU mode. How can we speed up the flashing process? How could we debug this? Can we flash multiple devives in parallel?How we use the STM32_Programmer_CLI ( v2.12) with Ubuntu 22.10:sudo STM32_Programmer_CLI -c port=USB1 -tm 30000 -w flashlayout_device-image/flashlayout_device.tsvOur tsv file #Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-phycore-stm32mp1-4-serialboot.stm32 - 0x03 ssbl-boot Binary none 0x0 u-boot/u-boot-phycore-stm32mp1-4-trusted.stm32 P 0x04 fsbl1 Binary mmc1 boot1 arm-trusted-firmware/tf-a-phycore-stm32mp1-4-trusted.stm32 P 0x05 fsbl2 Binary mmc1 boot2 arm-trusted-firmware/tf-a-phycore-stm32mp1-4-trusted.stm32 PD 0x06 ssbl Binary mmc1 0x00080000 u-boot/u-boot-phycore-stm32mp1-4-trusted.stm32 P 0x10 bootA System mmc1 0x00180000 st-imag
I've written a script that basically builds everything based on this wiki - wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package#Updating_the_kernel_device_treeWith the script I can successfully build from the existing DK2 DTS files but not my custom DTS files.
Hi,how to compile fsbl to test ddr3 purposes. Unfortunately, I can't use the official one due to different UART4 debug pins and I2C4 PMIC. I can't find a good link with simple instructions. Maybe someone gives me a link or short instructions on how to compile U-Boot SPL to test/tune ddr3.ThanksBR Michal
I have to read ADC readings from 4 channels on both ADC1 and ADC2. In production mode, when OPENAMP isn't enabled, everything works as expected; however, when it's enabled, two channels are getting garbage readings. I do not know why or how to fix it.P.S I am using starter package from ST and I have updated the device tree
Hello,We are working on stm32mp157A processor.we are using uboot-2021-10 version, while booting we are getting invalid MAC address. as in below image.we tried to set the MAC address by using following commandssetenv .flags ethaddrsetenv ethaddr 11:22:33:44:55:66 as given in below linkhttps://community.st.com/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guideBut after setting through this commands it not get effected, we are facing same issue again.please give any suggestion to solve this issue.
Hi,When I power on my STM32MP157A-DK1 board, ST-LINK LED (LD4) is always red. On my Linux system when I connect the board through ST-LINK micro usb port (CN11), it is only detected as 'STM32 Virtual ComPort', and not detected as StLink device. And when I boot Linux, no activity on STM32 Virtual ComPort (/dev/ttyACM0).It seems that there is an issue with on-board StLink.Do you think this is a firmware issue that can be fixed or a hw issue?Thanks,Fatih
Is there any STM MCU/MPU which can be used for computer vision applications such as face recognition, Object detection/tracking? If so, how much flash memory required to process video with 5MP camera at 30FPS?Is there any STM MCU/MPU which can be used for AR/VR applications?
Can some one help me to know what would be the default factory OTP settings on the processor - STM32MP157FAA1 - or should it be set by the User? Does the Default Comes with SDMMC1 set for the Boot?If I need to change from SDMMC1 to SDMMC2 as the Primary boot what is the procedure and which tool has to be used for it?I need the secondary boot as USB how to set this.
Hi,We want to boot cortex M4 from cortex A7 in baremetal in RETRAM. We have followed below steps 1.we are setting BOOT MCU bit in RCC global control register(Offset :0x10C). 2.I am restting MCURST bit in RCC global reset control set register(offset:0x404).3.setting MCU Boot enable bit in RCC boot control register.am i doing in correct way or not? if not can you tell the procedure of waking up the cortex M4 from cortex A7 in RETRAM.
Hi all ~I'm going to use proftpd to support FTP server.first, I installed proftpd package from OpenSTLinux repository. apt-get install proftpd And I tried to run proftpd with my configuration file.but I got some error like below. proftpd[5128]: fatal: unknown configuration directive 'AuthUserFile' As far as I know, proftpd has several modules related each features.And the module I need is mod_auth_file. so I checked proftpd's module list like below.But there is no mod_auth_file module I want. root@stm32mp1-prox-mx670:/home/hantas# proftpd -vv ProFTPD Version: 1.3.7c (maint) Scoreboard Version: 01040003 Built: Mon Aug 30 2021 00:22:56 UTC Loaded modules: mod_auth_pam/1.2 mod_facts/0.6 mod_delay/0.7 mod_site.c mod_log/1.0 mod_ls.c mod_auth.c mod_auth_unix.c mod_rlimit/1.0 mod_xfer.c mod_core.cproftpd man page is described that mod_auth_file module is compiled by default.But there is option to disable mod_auth_file module at compile time. (--disable
Hi all ~I'm using ProFTP and try to use ftpasswd perl script to manage AuthUserFiles. But when I run ftpasswd command on my system I get the following error Can't locate Fcntl.pm in @INC (you may need to install the Fcntl module) (@INC contains: /usr/lib/perl5/site_perl/5.34.1/arm-linux /usr/lib/perl5/site_perl/5.34.1 /usr/lib/perl5/vendor_perl/5.34.1/arm-linux /usr/lib/perl5/vendor_perl/5.34.1 /usr/lib/perl5/5.34.1/arm-linux /usr/lib/perl5/5.34.1) at ./ftpasswd line 29. BEGIN failed--compilation aborted at ./ftpasswd line 29. 2022-12-23 00:31:06,788 stm32mp1-prox-mx670 proftpd[3800]: fatal: unknown configuration directive 'AuthUserFile' on line 13 of '/home/hantas/remoteprox_ftpconf'How can I add perl module on distribution package?Thanks in advanced.
Hi,I encounter an extraordinary problem with STPMIC1APQR. When powering on the board without loading any images voltages on each section are as described in the PMIC documentation. When I start fsbl the voltages change, and increase not as described in the dts.My dts configuration is as follows&i2c4{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c4_pins_mx &i2c4_pins_z_mx>; pinctrl-1 = <&i2c4_sleep_pins_mx &i2c4_sleep_pins_z_mx>; status = "okay"; /* USER CODE BEGIN i2c4 */ i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; clock-frequency = <400000>; /delete-property/ dmas; /delete-property/ dma-names; pmic:stpmic@33{ compatible = "st,stpmic1"; reg = <0x33>; interrupts-extended = <&exti_pwr 55 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; status = "okay"; regulators{ compatible = "st,stpmic1-regulators"; buck1-supply = &l
I'm trying to get PWM running on an STM32MP157-DK1.When i run the example code "TIM_DMABurst" there is a PWM (had oscilloscope on Pin). Then I configured TIM1 on Channel 1 and the DMA on Stream2 with CubeMX. The generated code looks exactly the same like in the example, but there is no PWM output. Is there a problem with the HAL driver, or maybe clock configuration? Spent hours in debugging this, but i need PWM to drive a WS2812 LED Strip.I recognized that the example jumps over SystemClock_Config() (works without ENGENEERING_MODE).The code shows the beginning of main.c.I'm thankful for every advise!#include "main.h" #include "openamp.h" /* Private variables ---------------------------------------------------------*/ IPCC_HandleTypeDef hipcc; TIM_HandleTypeDef htim1; DMA_HandleTypeDef hdma_tim1_up; uint32_t Prescaler ; /* Capture Compare buffer */ uint32_t aSRC_Buffer[3] = {0x0FFF, 0x0000, 0x0555}; /* Private function prototypes ---------------
I have a custom board with a STM32MP157AAB3 and I am trying to boot it with the SD card. I have tested the SD card on a STM32MP157C-DK2 and it boots to Linux fine. When I probe the SD card lines, I can see the clock is toggling for a long time and the CMD pins is also toggling however nothing happens on the D0 pin, it is held high (3V3)
I want to load a bootloader and then the firmware to my board via ST Link in one pass in an automatic mode.
we are developing the application by using STM32MP1 processor in bare metal.we are able to wake up Cortex A7-1 from Cortex A7-0 both are working fine. Now we tried to wake up Cortex M4 from Cortex A7-0,But we are unable to wakeup Cortex M4 from Cortex A7-0.Individually Cortex M4 is working fine with JTAG .and we can able to wake up Cortex M4 from UBOOT By using RPROC commands .But in our application we need to wake up Cortex M4 from cortex A7-0 in bare metal. Can you give the sequence of waking up cortex-m4 from Cortex-A7-0 in Bare metal.Please help us in this regards..
I try to spi communication between my board with STM32MP157AACx microprocessor and STM32F429 disco board. I write code using bare metal for master side(my board), using HAL library for slave board(STM32F429). My problem is that I can't receive data from master side. There is my sample code piece from master side below:int enable = 1; uint8_t data; uint8_t someval = 0x40; void spi_init(void) { RCC->MC_AHB4ENSETR |= (1 << 1); //GPIOB peripheral clocks enable RCC->MC_AHB4ENSETR |= (1 << 8); //GPIOI peripheral clocks enable RCC->MC_APB1ENSETR |= (1<<11); //spi2 peripheral clocks enable GPIOI->MODER &= ~(1<<2); GPIOI->MODER |= (1<<3); //PI1 Alternate function GPIOI->PUPDR &= ~(1<<2); GPIOI->PUPDR &= ~(1<<3); //PI1 no pull up no pull down GPIOI->MODER &= ~(1<<4); GPIOI->MODER |= (1<<5); //PI2 Alternate function GPIOI->PUPDR &= ~(1<<4); GPIOI->PUPDR
I have custom board based on STM32MP153C.This board has 7 serial ports. I configuring these ports with STM32MP1Cube.After linux boot 4 of these serial ports become disabled Driver doesn't probe them and they are in "disabled" state in /sys/firmware/devicetree. Enabled only serial0, serial 3 and serial5 portsi tried to make a devicetree dump with dd if=/dev/mem at adress in which devicetree was loaded by uboot and in this dump these ports are disabled as well.DTB If I convert my DTB file (which is loading by UBOOT I see my correct devicetree, but in memory dump is edited and I don't know why.Also my board has I2C and SPI interfaces and they have the same behavior.Below I give part of my device tree in terms of serial ports:#include <dt-bindings/pinctrl/stm32-pinfunc.h> #include "stm32mp153.dtsi" #include "stm32mp15xc.dtsi" #include "stm32mp15xxab-pinctrl.dtsi" #include "stm32mp15-m4-srm.dtsi" / { aliases { serial0 = &usart6; serial1 = &uart8; serial2 = &
Hi,I am doing "4.Adding an external out-of-tree Linux kernel module" at the below link.https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Distribution_PackageI am suffering from a module building problem and got the message below. I don't have much knowledge about Linux so it looks pretty hard to fix the issue by myself. Could you kind help me how to solve this issue? Thanks!| DEBUG: Python function extend_recipe_sysroot finished| DEBUG: Executing shell function do_install| install: cannot stat '/home/ckim/STM32MPU_workspace/STM32MP1-Ecosystem-v4.0.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/kernel_module_example/kernel_module_example.ko': No such file or directory| WARNING: exit code 1 from a shell command.ERROR: Task (/home/ckim/STM32MPU_workspace/STM32MP1-Ecosystem-v4.0.0/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/workspace/recipes/mymodule/mymodule.bb:do_install) failed with exit code '1'
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.