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
Hello STM-Team,I am working with STM32MP157F-Eval board. The SD card and NAND booting are working fine. But, getting issues while booting with eMMC.I have tried a workaround which seems to be working and I want to make sure if it is the right way of doing.Please see below error. ------------------------------------------------------------------------Boot over mmc1!Saving Environment to MMC... Writing to redundant MMC(1)... OKswitch to partitions #0, OKmmc1(part 0) is current deviceScanning mmc 1:5...Found U-Boot script /boot.scr.uimg2943 bytes read in 29 ms (98.6 KiB/s)## Executing script at c4100000Executing SCRIPT on target=mmc1Saving Environment to MMC... Writing to MMC(1)... OKswitch to partitions #0, OKmmc1(part 0) is current deviceScanning mmc 1:5...77087 bytes read in 30 ms (2.4 MiB/s)SCRIPT FAILED... /mmc1_extlinux/extlinux.conf not found !Saving Environment to MMC... Writing to redundant MMC(1)... OKSCRIPT FAILED: continuing...77087 bytes read in 31 ms (2.4 MiB/s)STM32MP&
Hi,I want to play a video from mounted USB stick. Once USB plugged the host, I mount it with "mount /dev/sda1 /mnt" and than quit the psplash screen with "psplash-drm-quit" on target. After that, trying to play a video with "gst-launch-1.0 playbin uri=file:///media/aaa.mp4" but there is nothing screen on TFT. Also, I have tried this "gst-launch-1.0 v4l2src ! "video/x-raw, width=1280, Height=720, framerate=(fraction)15/1" ! queue ! autovideosink -e" command but there is nothing again. Console Output;Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Could not open DRM module (NULL) Additional debug info: ../../../gst-plugins-bad-1.14.2/sys/kms/gstkmssink.c(709): gst_kms_sink_start (): /GstKMSSink:autovideosink0-actual-sink-kms: reason: No such file or directory (2) Setting pipeline to PLAYING ... New clock: GstSystemClockFurthermore, I have tried camera examples
Hi,We want to use a KSZ8851SNL SPI ethernet phy as second eth interface on a custom board. The implementation was according to https://www.kernel.org/doc/Documentation/devicetree/bindings/net/micrel%2Cks8851.yamlThe eth0 interface is initialised with success, but while loading the driver, the kernel is complaining about the interrupt pin, which is not configurable::~# dmesg | grep irq [ 7.495488] genirq: Setting trigger mode 8 for irq 78 failed (gic_set_type+0x0/0x4c) [ 7.516176] ks8851 spi1.0 eth0: failed to get irqAlso the pin is not shown usingcat /proc/interruptsI attached the device tree section and another dmesg log showing the interface initialization. I tried different configurations following ST suggestions.Does anyone know, why Pin PE1 is not configurable as interrupt using the device tree? When using Sysfs in userspace the pin gets configured as interrupt.Or is the problem a different one?Thanks in Advance!Kai
Hi all,Referring to previous discussion I had.I just want understand what are the PWM limits for STM32MP1.I can't seem to generate PWM signal below 100ms. Any inputs will be appreciated.My target frequency is 1KHz.https://community.st.com/s/question/0D53W000014y9ZzSAI/maximum-value-of-pwm-period
Hi all,I have configured TIM1_CH3N as a pwm channel.I am trying to do some PWM functionality here.I am following current tutorial here. When i tried to provide a period of 10 sec it fails to take up the value. I get following error :root@stm32mp157a-visionsom-rgb-emmc-mx:/usr/local/firmware_demos# echo 10000000000 > /sys/class/pwm/pwmchip4/pwm2/duty_cycle pwm2 sh: write error: Invalid argument100000000Is there some limit to what value we can provide here?
Hi AllI have disabled the second core to validate one of old product, which runs on single core,and same application cpu usage i have seen is 90-95 %and same application runs and does the same spi transaction, i am seeing the cpu usage is 57%all constraint are same except the corefollowing is the top of stm32mp1top - 04:18:53 up 37 min, 1 user, load average: 1.70, 1.65, 1.51Tasks: 107 total, 4 running, 103 sleeping, 0 stopped, 0 zombie%Cpu(s): 4.5 us, 93.4 sy, 0.0 ni, 1.5 id, 0.3 wa, 0.0 hi, 0.3 si, 0.0 st 9 root 20 0 0 0 0 S 2.3 0.0 0:05.56 ksoftirqd/0
I want to use part of the SRAM3 shared memory for data transfer between the A7 cores and the M4 core. On the A7 core I used mmap on /dev/mem to remap the sram to user space and copy the data to/from the SRAM3 buffers. The result is however not stable.When reading the data at the M4 side the data sometimes seems to be changed.On the M4 side I did add an extra memory area (RAM3_ipc_shm):MEMORY{ RETRAM_interrupts (xrw) : ORIGIN = 0x00000000, LENGTH = 0x00000298 FLASH_text (rx) : ORIGIN = 0x10000000, LENGTH = 128K RAM1_data (xrw) : ORIGIN = 0x10020000, LENGTH = 128K RAM2_ipc_shm (xrw) : ORIGIN = 0x10040000, LENGTH = 0x00008000 RAM3_ipc_shm (xrw) : ORIGIN = 0x10048000, LENGTH = 0x00004000}And just read /write to this area like: volatile uint16_t *data_in = 0x10048000; volatile uint16_t *data_out = 0x1004A000;nof_write_bits = 16 * data_in[0];// set output datafor (int i = 0; .....{ // DO0-DO3 & clear data clock & clear la
Recompiling Linux kernel I have to rebuild the whole image because of kernel-modules, that are dependent on kernel version. After that I have to upload the whole image into STM development board via CubeMX Programmer which takes quiet a lot time. How can I recompile only kernel modules package so that I can deploy it into target with kernel itself, install (via package manager) and get new kernel without building and uploading the whole image ?
Hello STM-Team,We are developing a custom board based on STM32MP157C-Eval board.In that, we are planning to have MLC NAND Part number #MT29F16G08CBACAWP:C instead of SLC NAND.For Software point of view, I want to understand that if the existing NAND drivers will work for MLC NAND devices or any changes/support required in exiting kernel driver?Thank you.Regards,Pratik Manvar
Is it possible to use AI frameworks like ONNX and / or Openvino (and related accelerators like movidius, GPU) on STM32MP1? I took a look but I found only examples with tensorflow lite and Coral devices (i.e. https://github.com/STMicroelectronics/meta-st-stm32mpu-ai)
Hi,My evaluation kit is stm32mp157c-ev1, I can flash code to eMMC or SD via STM32CubeProgrammer successfully, and it can work expectedly.We need to running program on eMMC without SD card. Flash the eMMC code via STM32CubeProgrammer is very slow and is not suitable for mass production.Please support a script that flash eMMC code "stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31" via SD card.Thanks,QiZhang
I have a problem. My application should use port 8888. I wrote an application in Python 3.5 that uses the address and port 8888 that I need. But Linux issues a diagnosis that port 8888 is already occupied by another task. How to release port 8888.? The Netstat program gives a diagnosis that port 8888 is busy application. Sincerely, Alexander.
..
On azure-iot-sdk-c github there are two examples on how to crosscompile:1) https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/SDK_cross_compile_example.md2) https://github.com/Azure/azure-iot-sdk-c/blob/master/doc/Docker_SDK_Cross_Compile.mdUnfortunately, i cannot set the proper variables so I can't crosscompile.Any Help?thank you
Hi all,How can I create swap partition in STM32MP1?Previously I did get an answer to how to increase the rootfs size. Any guidance on this will be highly appreciated.TIA
Hi all,Our team was brainstorming around a feature which we want to provide in our product.However to achieve the same we would like to understand if we can perform the video capture via camera and stream the same over the network to some node. Or do some kind of screen share and stream the screen capture over the network. Is it possible to achieve this capability on STM32MP1?
Have been struggling to get SPI to work. I have been working in the engineering boot mode to try and trouble shoot my issues. I have configured PLL3 to run the MCU at 48MHz and the SPI peripheral kernel clk to run at 108MHz and selected the clock sources in the RCC regs accordingly, I have implemented the procedure for configuring SPI in the related section in the reference manual. The GPIO have been configured to their appropriate modes and alternate functions. I have enabled the peripheral bus in RCC.I am able to confirm the register setting via the debugger.However, when I try to send data, I see nothing on the GPIO. I also don't see any flags reported when attempting to overfill the TXFIFO to elicit a response from the peripheral.I am not using the HAL library directly, though I have looked through it to see what I may have missed to no avail.Can anyone let me know if there is another enable bit, power bit or otherwise that I may be overlooking?
Hello, I don't know what happened but suddenly on putting the board in boot mode( boot switches ON) , I cant detect the board on the stm32cube programmer and I see a green led ( PWR_IN) continuously blinking!attached is the image.Please assist.Br,D
I'm build an image for Azure IOT on STM32MP157C-DK2, following this tutorial: https://wiki.st.com/stm32mpu/wiki/How_to_integrate_Azure_IoT_Edge_on_OpenSTLinuxbut I have follow error:| error: attributes are not yet allowed on `if` expressions| --> /usr/src/debug/iotedge-daemon/1.1.6-r0/iotedge-1.1.6/vendor/sysinfo/src/utils.rs:27:5| || 27 | #[allow(clippy::identity_conversion)]| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^| | error: aborting due to previous error| | error: could not compile `sysinfo`.There is a possible solution?Looking a similar issues, it seem a problem of version of Rust: https://github.com/Frederick888/git-credential-keepassxc/issues/12There is a way to udate the Rust version used for build?
I created an image of openstlinux using this tutorial:https://wiki.st.com/stm32mpu/wiki/How_to_integrate_Azure_IoT_Edge_on_OpenSTLinuxthe virtualitation install correctly the docker, but not docker-compose. Is it possible to add it?
Hi everyone, hope you are having a good day/night. We are planning to have the STM32MP157-DK1 board with a battery working. If there is an unexpected shutdown or forced one on this board, the memory could be corrupted? or damaged? or is better to implement an external circuit to make a "soft" shutdown, like, turn off the switch and it continues working until the shutdown is complete.Thank you.
Hi again, hope you are having a good day. We are trying to record audio with the integrated audio codec with a python script, but it starts with an abrupt peak every time like the image below.We have tried to configure the alsamixer and nothing changes. Thanks.
Hello.I'm making custom board with stm32mp157AAA.lcd works nomally, but i want rotate this to 90.Please help me.thanks
I am using 2 virtual UARTs as described in STM32MP1Cube Applications/OpenAMP/OpenAMP_TTY_echo example and watchdog for M4 core.Problem occurs when I using select or poll syscall to read from the device. Kernel panic occurs with following on dmesg log:[ 930.513060] remoteproc remoteproc0: crash detected in m4: type watchdog [ 930.518272] remoteproc remoteproc0: handling crash #5 in m4 [ 930.523785] remoteproc remoteproc0: recovering m4 [ 930.531138] rpmsg_tty virtio0.rpmsg-tty-channel.-1.0: rpmsg tty device 0 is removed [ 930.542605] Unable to handle kernel NULL pointer dereference at virtual address 00000018 [ 930.552002] rpmsg_tty virtio0.rpmsg-tty-channel.-1.1: rpmsg tty device 1 is removed [ 930.558402] pgd = a2d2820b [ 930.560889] [00000018] *pgd=d1832835, *pte=00000000, *ppte=00000000 [ 930.570663] Unable to handle kernel NULL pointer dereference at virtual address 00000018 [ 930.578406] rpmsg_tty virtio0.rpmsg-tty-channel.-1.2: rpmsg tty device 2 is removed [ 930.586506] pgd = a2
Hello!I have an issue on a custom board with STM32MP153CAB and KSZ8081RNB.TF-A, FIP and kernel were built in Developer package. Linux distribution was built as startard configuration st-image-core in Distribution package.Clocks and device trees are configured like specified in https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration#RMII_with_25MHz_on_ETH_CLK_-28no_PHY_Crystal-29-2C_REF_CLK_from_PHY_-28Reference_clock_-28standard_RMII_clock_name-29_is_provided_by_a_RCC_SoC_internal_clock-29Here are fragments of device tree for U-Boot and kernel (generated by STM32CubeIDE and manually edited):eth1_pins_mx: eth1_mx-0 { pins1 { pinmux = <STM32_PINMUX('A', 1, AF11)>, /* ETH1_REF_CLK */ <STM32_PINMUX('C', 1, AF11)>, /* ETH1_MDC */ <STM32_PINMUX('G', 8, AF2)>, /* ETH1_CLK */ <STM32_PINMUX('G', 13, AF11)>, /* ETH1_TXD0 */ <STM32_PINMUX('G', 14, AF11)>; /* ETH1_TXD1 */ bias-disable; drive-push-pull; slew-rate = <
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.