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
Datasheet shows Port I,J,KBut on the design schematic show only max PI11 plus PZ0...PZ7Is there no Pork J/K?
I have a custom Board based on STM32MP157CAC3 MPU. I am connecting MURATA 1DX WiFi+BT Module to SDMMC1 (4bits mode). The connection is exactly similar to stm32mp157c-dk2 board. The device tree is also similar. But the device is not being recognised.Do I have to enable some special flags during kernel compilation?Does Latest Kernel version has support for this 1DX Module.If someone wants to add a similar module AP6236, what will be the process of adding such module in baord.
st-image-resize-initrd-1.0-r0 do_rootfs: Unable to update the package index filesst-image-vendorfs-1.0-r0 do_rootfs: Unable to update the package index filesAnyone know how to fix this. Already have applied clean build. Build Configuration:BB_VERSION = "2.0.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "universal"TARGET_SYS = "arm-ostl-linux-gnueabi"MACHINE = "stm32mp15-disco"DISTRO = "openstlinux-weston"DISTRO_VERSION = "4.0.1-snapshot-20220805"TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"TARGET_FPU &nb
..
I did a repo sync to see if there are new version but did not worked after I stopped compiling, started again and it began where it left but moving really slow that particular task.
We are having issues getting USB to work as both ethernet and gadget serial.In kernel configuration, We have the CONFIG_USB_ETH configured as inbuilt and CONFIG_USB_G_SERIAL as inbuilt as shown below. ## USB Gadget precomposed configurations#CONFIG_USB_ETH=yCONFIG_USB_ETH_RNDIS=yCONFIG_USB_G_SERIAL=y# end of USB Gadget precomposed configurationsInitially we do not see the dev/ttyGS0 appearing, however when we do ifconfig -a we see usb0 appear. Now we run the stm32_usbotg_eth_config.sh script which assigned it an IP address and we are able to ssh into the target device. The script also bring up /dev/ttyGS0. The windows PC shows the VCOM port enumerated, but when the PC application tries to open the COM port it throws up "A device attached to the system is not functioning. Operating system error code 31".Also when we disconnect the USB cable and connect it back the windows cannot recognize it and the console in target logs the following statement"[ 6858.235935] dwc2 49000000.us
When we tried the shutdown command ( shutdown -hP now ) from the debug console, all the PMIC regulators are turned off, except for the BUCK3 VDD regulator used for IO.Both our custom board which uses STPMIC1E and the STM32MP157F-eval board which has STPMIC1A have the same behavior.Is there any configuration which is not letting it to be turned off?Any help is much appreciated.
Hello,I try to install the distribution package usingrepo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15as described in the wiki, before that made sure to install all packages mentioned in the prerequisites page.The command fails with: File "/home/steffen/Kirkstone/Distribution-Package/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/.repo/repo/main.py", line 79 file=sys.stderr) ^SyntaxError: invalid syntaxI am using Ubuntu 20.1, my python version is 3.8.10Does anyone know what I am missing?Thanks!
Is there a walk-through or example of how to setup secure boot using a custom device tree?As a side note, the following page returns "Permission Error", is that expected behaviour?https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot
Hello,When I tried using fseek and getc functions for my project the MP1 failed to execute their code. The execution stops at lines that contain __IO_acquire_lock(fp) and __IO_need_lock(fp) macros and then terminates in the fseek and getc functions respectively. I also tried other file handling functions such as fread and fwrite and they also fail. Is there anyway to solve this issue?thanks for any answers
Is HAL_UARTEx_ReceiveToIdle_DMA supported on STM32MP15 products? If so is there an example for using it?
We created the project for the M4 with CubeMX. We use FreeRTOS with CMSIS_V2 and OpenAMP as Middleware.We assigned TIM1, TIM2 and TIM3 to the M4 and use TIM1 as SYS Timebase Source.The program runs fine if started with fw_cortex_m4.sh or with the SW4STM32 menu "Run As".But if we try to debug with "Debug As", osKernelStart returns osErrorISR in both Engineering and Production mode. But osKernelStart is in the main function. Also if we create a Mutex it returns NULL. Both functions "fail" on IS_IRQ.This is a very similar question. From there i used the code to read the IPSR, it is already 41 at the beginning of the main function.If i don't initialize TIM1 so that no interrupts from TIM1 can occur IPSR is 14 at the start of main.If i apply the "patch" from this question IPSR is 0 but the creation of RPMsg channels with VIRT_UART_Init fails with:[ 3044.562749] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty-channel addr 0x0 [ 3044.568797] virtio_rpmsg_bus virtio0: channel rpmsg-tty-ch
I have the M4 core using a UART core to send and receive data using DMA. This works just fine but over time after 30-60min the core crashes/locks up and reinitializing the UART channel does not help at all it actually crashes the sytem. Under normal operation the reinitialization sequence works properly. The only thing I can get debug-wise is the gState which shows up as 0x21, and the state never changes after the lock-up. Reloading the m4 firmware from a7 side does not help and the UART core is broken until I do a system reboot.Under normal operation, I do get the UART error callback triggered and the error code is 0x10, but the tx and rx continue to work without any action required.Is there any sequence for resetting the UART physical core to recover without a reboot? Are there any known reasons why the UART core would lock up after extended use?
I am trying to configure a DMA stream to capture the RX channel of a UART core on the m4, however, I get very undesirable behaviour.I am trying to set up a circular rx buffer that is of size 10 since the data coming back is of multiples of 5. Unfortunately, I don't get the trigger at half full for many seconds, and when I finally deinit the uart and DMA and abort any tx or rx the half transfer complete callback finally comes.If I change the dma receive size to 8 I get the trigger at half full (4), so is there a limitation or alignment problem?static void MX_USART3_UART_Init(void) { /* USER CODE BEGIN USART3_Init 0 */ /* USER CODE END USART3_Init 0 */ /* USER CODE BEGIN USART3_Init 1 */ /* USER CODE END USART3_Init 1 */ huart3.Instance = USART3; huart3.Init.BaudRate = 2500000; huart3.Init.WordLength = UART_WORDLENGTH_9B; huart3.Init.StopBits = UART_STOPBITS_1; huart3.Init.Parity = UART_PARITY_NONE; huart3.Init.Mode = UART_MODE_TX_RX; huart3.Init.Hw
I've changed the ownership of the /usr/lib/python3.8 file from root to <myname> but did not solved the problem. Here is the whole error:ERROR: Command execution failed: Traceback (most recent call last): File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/command.py", line 126, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/command.py", line 607, in buildTargets command.cooker.buildTargets(pkgs_to_build, task) File "/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/bitbake/lib/bb/cooker.py", line 1581, in buildTargets rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist) File "/home/gencay/STM32MPU_workspace/openstlinu
Using hexdump /dev/input/event1, you can see the data changes. when I use ts_ test command, "open fbdevice: no such file or directory" will appear. Please help me, I really don't know how to configure it.I am sure that the touch screen monitoring is correct and the data is uploaded correctly.
Hi! I am trying to enable PTP on STM32F157 DK2 evaluation board. From my understanding, pps_available should return 1, (if configured correctly). root@stm32mp1:~# cat /sys/class/ptp/ptp0/pps_available 0 I added "linuxptp" to the image: IMAGE_INSTALL_append += " \ linuxptp \ " I tried to follow the instructions for kernel 4.14: https://community.st.com/s/question/0D50X0000BMG2RoSQL/how-do-i-enable-linuxptp-pps-output To enable PPS Out, I also patched stm32mp-mp15-pinctrl.dtsi diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 236d77e..1e74905 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -160,6 +160,7 @@ ethernet0_rgmii_pins_a: rgmii-0 { pins1 { pinmux = <STM32_PINMUX('G', 5, AF11)>, /* ETH_RGMII_CLK125 */ + <STM32_PINMUX('G', 8, AF11)>, /* ETH_PPS_OUT */ <STM32_PINMUX('G', 4, AF11)>, /* ETH_RGMII_GTX_CLK */
Hi,We are using stm32mp157c MCU/board and it has DSI output built-in. Now we want to add display port support via DSI to eDP bridge SN65DSI86. It seems that stm32 does not support Displayport output or it has never been done. At least the driver dw_mipi_dsi-stm.c should be updated not to require a panel. Any idea how this can be achieved please?
I'd try to follow a step of Installing the SDK in Ubuntu (which is on Raspberry pi 4 Model B 4GB using 26GB SD card)in step 4 Run the SDK installation script I get an Error Error: incompatible SDK installer! your host is aarch64 and this SDK was built for x86_64 hosts.What does it mean and how can I fix itThe main goal of this project is to try to run python (with the library) on STM32MP157F-DK, I have two ideas 1. Follow the step and put it with .py instead of .c (no idea with install a library)2. Install Linux in STM32MP157F-DK and run python on it (need some guild also)So here I have 3 questionThank STM for letting me ask a question here.
Hi there. I'm a professor of computer science at a university in Germany. Our main focus is cyber security. I'm currently looking into exploring options with STM for teaching various security mechanisms and, in particular, interested in using the STM32MP157F-DK2 in classrooms. However, I failed to find any information of how to establish an official contact to STM to discuss various details. If someone could help me out, it'd be greatly appreciated. Thanks a bunch! Regards, JB
Good morning,I am trying to setup STM32CubeIDE to work on an offline computer, I do not have the option to connect it to the internet. Installing the SDK through the IDE works fine and I am able to import the OpenSTLinux source projects (Linux, U-Boot, TF-A/SP-Min and Op-TEE). but this is not what I need.What I really need is to have the same result in an offline environment, this is what I do:1) Install OpenSTLinux SDK via script as explained in the Developer Package instructions.2) Install STM32CubeIDE 1.8.0/1.9.03) Configure STM32CubeIDE Preferences menu for "STM32Cube->OpenSTLinux SDK Manager" to point to my SDK installed in step 1 4) Install FW Package for stm32mp1From this point I am able to create projects and compile for stm32mp1But I am not able to import the OpenSTLinux Source projectsI am working with the stm32mp1 MPU (stm32mp157f-ev1 board) and I tried using STMCubeIDE 1.8.0 and 1.9.0 versions with the same results.How can I install offline the SDK so the STM32CubeIDE is
https://github.com/meta-flutter/meta-flutter.git Here is the link for meta-flutter.
Hi, we using the STM32MP157 custom board in this we are developing the bare metal drivers for the all the peripherals. Now we are able to send and receive the character on UART4 perfectly. But when we are configuring for the interrupt mode it's only forwarding the Rx event till GICD (pending state). But i had seen the Linux drivers for the UART4 in that wakeup event is activated i think this may be the issue. To activate wakeup event in the UART4 we need to enable the EVENT30. To enable the event30 what is the procedure. please let us know.
I was trying to install OpenSTLinux distribution. I am using ubuntu 20.04 for my host machine. Firstly I init repo with this command:repo init -u <LINK FOR GIT ST OE MANIFEST > -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 then when I try to repo sync. I get following error for almost everythingerror: garbage at end of loose object '543a1d1527d04f297b90ec25658f8dc71f3d0782'fatal: loose object 543a1d1527d04f297b90ec25658f8dc71f3d0782 (stored in /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/.repo/project-objects/openembedded-core.git/objects/54/3a1d1527d04f297b90ec25658f8dc71f3d0782) is corruptopenembedded-core: sleeping 4.0 seconds before retrying
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.