Get ready for the STM32 Summit 2026 | Online, November 3
Ask questions and find answers on STM32 microprocessors, including hardware, power, DRAM, flashing, interfacing, device tree, and peripherals.
Most recent activity
Hi ~I'm using my custom board with STM32MP157C MPU. I'm currently trying to adjust the LCD brightness using PWM.And I was able to implement it by referring to the link below.https://community.st.com/s/question/0D50X0000AvgWuGSQU/how-to-use-timers2-as-pwmbacklightHowever, Linux boots with the backlight turned off.I have to manually turn on the backlight by entering the following command.# echo 0 > /sys/class/backlight/panel-backlight/bl_powerHow can I boot with the backlight turned on?I have attached my device tree file.I'm using Timer2 CH4 for pwm-backlight
Hi, I'm getting error "(gtk_hello_world:1474): Gtk-WARNING **: 18:09:46.325: cannot open display: " while executing "hello-world" sample application with STM32MP157F-DK2. Expected a GTK window is NOT displayed on display screenI have followed steps as mentioned in Create a simple hello-world application - stm32mpuI'm using Ubuntu 22.04.2 LTS installed on Windows 11 laptop with Oracle VM VirtualBox Manager 7.0.6Error/Warning message screenshot attached
I'd like to play a FHD video 1920x1080 25 fps on a FHD monitor.There is some hardware codec inside MPU I can use?On other platform (like imx6 I used it own codec h264), but reading datasheet I don'r find anything about codecs video on thi MPU.I suppose MPU has not usable hardare video codec.Thanks all MZ
..
Hello,I am having trouble booting OPTEE on a custom platform with 256MB of DDR3. The boot log is attached. I added some debug printfs and I can see that OPTEE freezes on 454 in core/arch/arm/kernel/boot.c. I believe this is the first time OPTEE starts paging so I am wondering if there is a minimum size that the DDR3 must be to work correctly? Any help would be greatly appreciated :) Thanks!
I am trying to exchange data in an indirect way using the rpmsg_sdb driver.The memory in the cma area (0xe800000) was allocated through mmap in Linux. When accessing the 0xe8000000 area in m4, a HardFault occurs and the program stops.However, there is no problem in accessing areas below 0xe0000000, such as 0xd8000000.Is there a limit to the ddr memory access area of the m4 processor?Or is there a way to access areas above 0xe0000000?
I cannot load the image into the SD card of the STM32MP157F-DK2 board.I set the switches to OFFI start the board that starts in BOOT FOR FLASCHING (only the LD4 led is on steady red)Through the terminal or graphical STMProgrammer I start the download of the image (file: FlashLayout_sdcard_stm32mp157f-dk2-trusted.tsv)It loads Partition ID 0x001 correctly, finishes loading Partition ID 0x003, then the board exits the BOOT FOR FLASHING mode (the blue LD8 LED lights up and the LD6 LED flashes red) and the software returns to me Reconnecting the device ...
Hello,my system is based on an STM32MP151x, running embedded Linux (Buildroot generated + all the ST patches, v5.3.56). I am suing an SPI connection to an external hardware but so far, i am not able to set the SPI clock to 20MHz and higher.Looking at the code (spidev, spi) it looks like the controller is just picking the default value (12 MHz) whatever the value i am using in my IOCTL call (i am using user space spidev ioctl to setup the SPI).Is there a specific DTS section i might have omitted which would allow me to setup these higher SPI speeds ?Thanks,Jacques
Hi,I want to know how to configure Wi-Fi in STM32MP157F-DK2 from MP157 console port. 1) How to scan the Wi-Fi network and check scan results2) How to connect to a Wi-Fi network3) How to get information about the status of the Wi-Fi interfaces4) How to get a list of Wi-Fi link capabilities
Hi,I would like to read the timestamp value of the RTC. I see that only the Cortex A7 have access to it and the documentation on the wiki does not give any clue to how we can read the timestamp from the m4.On the linux side i can easily obtain it:I know i can make a small service that gets the timestamp and sends it to the M4 using the rpmsg channels, but i would like to know if there is a better way to do it?Thanks
Hello We are trying to implementing IPCC in STM32MP1-DK1 evolution kit and facing following issues. We generated cortex-M4 code in CUBE MX (Activate IPCC,NVIC IPCC RX1,IPCC TX1 and debug UART) then run in CUBE IDE and generating .bin file. We developed cortex-A7 BareMetal code and initialize the IPCC registers (refer doc RM0436 Rev 5 page No 1052). 1. As per this document , what is processor A , processor B ? Now we thought processor A is Cortex-A7 and processor B is Cortex-M4. 2. While set the IPCC_C1CR.TXFIE bit ,IPCC_C1MR.CHnFM unmasked and set the channels IPCC_C1SCR.CHnS in A7_0 processor , Not getting any interrupt (Rx/Tx) in cortex-M4. 3. While set the IPCC_C2CR.TXFIE bit in A7_0 processor , getting interrupt in both A7_0 and Cortex-M4 cores. 4. We selected channels in IPCC_C2SCR.CHnS and reading IPCC_C1TOC2SR.CHnF in cortex-A7 code 
Hello,I have rather a simple question. In my project, I have 16 discrete inputs. I need to test all but only if works or not. From a hardware engineer's point of view, it is sufficient. For the test, I try to use a simple console syntaxgpiomon --silent --num-events=1 gpiochip7 2Unfortunately, I have 3 discrete inputs which not working and after the issue above I getgpiomon: error waiting for events: No such deviceI also checked using gpiomon and this particular gpio port is free. line 2: "PH2" unused input active-highThanks for the hints.BRMichal
Hello.There is a problem flashing the system image to the board.I use MYD-YA157C-V3 board of Myir company. The board contains a 'MYC-YA157C' CPU, which is based on the STM32MP157 processor (STM32MP157AAC3).I mounted an SD card on this board and attempted to flash the 'FlashLayout_emmc_stm32mp157 x-ev1-optee.tsv' file in the Window environment, but the contents of the warning and error messages were not printed. So I tried again in the (VMware) Linux environment, and the result was the same as downloading partition 0x01 and outputting the error message window after failure, but the message content was printed as below.* warning : Connection to device 0x500 is lost* Error : TSV flashing service failed* Error : Start operation failed at partition 0x01The firmware file I tried is... FlashLayout_emmc_stm32mp157a-ev1-optee.tsvFlashLayout_emmc_stm32mp157c-ed1-optee.tsvFlashLayout_emmc_stm32mp157c-ev1-optee.tsvFlashLayout_emmc_stm32mp157d-ev1-optee.tsvFlashLayout_emmc_stm32mp157f-ed1-opte
Hi!Our custom board sometimes halts instead of rebooting. Has anyone already seen something like this?Connect to device by terminal or ssh:$ rebootThe terminal then logs all shutdown messages, but sometimes (every third?)it stops with this:[ 4253.287388] reboot: Restarting system INFO: PSCI Power Domain Map: INFO: Domain Node : Level 1, parent_node -1, State ON (0x0) INFO: Domain Node : Level 0, parent_node 0, State ON (0x0) INFO: CPU Node : MPID 0x0, parent_node 0, State ON (0x0) INFO: CPU Node : MPID 0x1, parent_node 0, State ON (0x0)System halts and does not rebootNo idea how to fix that ....Bye Gunther
On STM32MP1, how to use the internal temperature sensor, ADC2_INP12 and internal factory calibration?Any example?Is it possible to access these data via A7 or just on M4 ?
We have selected FC-12M 32.7680KA-A3 for our new project and we wre in proto 0 , as per datasheet & previous design , load capacitance selected as 11 pF ( 2 X 22 pF) but RTC init is failed in STM32.we tried multiple value and its init is successful at 2.2 pF.Can you please explain for below questionwhy init is failed at 22 pFwhy init passed only at 2.2 pFhow its working in previous projectHow to ensure this 2.2pF will work in Proto 1 design
Hi all ~I'm using our custom board with STM32MP157c MPU. I'm almost done with everything, and finally I'm going to change the u-boot and kernel splash images.I referred to the link for changing the u-boot splash image and I think it's very simple.https://community.st.com/s/question/0D53W000011v9OxSAI/custom-uboot-splash-screenBefore customizing the uboot splash as my own,First, the point I want to check is that the default ST u-boot splash doesn't appear.Our board uses the Parallel(RGB) display interface and has 1280x800 resolution.default kernel splash work fine. Is there anything I need to change in u-boot regarding the RGB interface and resolution?
Hello,we (me and @Daniel Laszlo Sitzer ) and are working with a product based on the STM32MP157A and using TF-A, U-Boot (but not OPTEE).We are in the process for transitioning from TF-A v2.4 to v2.6 and are tryingto understand how we are supposed to transfer the flash layout to TF-A via DFU.In TF-A v2.4 we used to transfer the flash layout as a STM32 image via DFU to TF-A BL2, then we would transfer a FIP containing another TF-A and U-Boot which would parse the flash layout and expose the correct DFU interfaces to allow for flashing individual partitions.We noticed that in TF-A v2.6 support for STM32 images was dropped but more importantly support for transferring the flash layout in plat/st/common/stm32cubeprog*_usb.c was removed.We have understood that by now only FIP is the supported image format for DFU file transfers to TF-A. So we would like to understand if we are supposed to pack the flash layout in to the FIP file that we upload (currently only containing TF-A and U-Boot
Please can you specify camera module for my application and please suggest any camera module that i can use according to the below mentioned camera specifications1)Camera should be of 5MP/2MP.2)Camera interface should be of DCMI protocol.3)Camera should have a night vision.
Hi STM32 MPUs Community, Gald to announce that STM32MP13x is out! These product lines will help optimize the energy consumption and reduce costs while offering certified security for entry level Linux, bare metal, or RTOS-based systemsCheck-out the press release : STMicroelectronics’ new STM32 microprocessors balance performance, power, and cost for advanced connected devices - ST NewsVisit product page and wiki to know more ! Looking forward to read your projects, questions and ideas about this product in this Community soon.
I have a strange problem booting from eMMC (Kingstone EMMC04G-M627-X03U) on STM32MP153CAA Rev.Z.By boot failure I mean fallback to serial boot (DFU over USB). Situation is as follows:Cold start never fails (Power-on Reset).Reset pin (Pad Reset from NRST) - have noticed issue maybe just once - not 100% sure.System reset generated by MPU or IWDG2 Reset - fails very often but not always. Haven't noticed any system in this behaviour.Setting both primary and secondary boot sources to eMMC greatly reduces chances of failure but does not eliminate the issue completely.Attached Boot ROM traces (without and with primary/secondary sources set) and current OTP values. Any help appreciated, thank you!
hi st expertWhen i use pip3 install some package on board, i get some error as follew:running build_extbuilding '_cffi_backend' extensioncreating build/temp.linux-armv7l-3.8creating build/temp.linux-armv7l-3.8/c arm-ostl-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.2-r1=/usr/src/debug/python3/3.8.2-r1 -fdebug-prefix-map=/python3/3.8.2-r1=/usr/src/debug/python3/3.8.2-r1 -fdebug-prefix-map== -fdebug-prefix-map== -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.2-r1=/usr/src/debug/python3/3.8.2-r1 -fdebug-prefix-map=/python3/3.8.2-r1=/usr/src/debug/python3/3.8.2-r1 -fdebug-prefix-map== -fdebug-prefix-map== -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-armv
Hi,I am trying to flash the Starter_Package to SD card in accordance with the following wiki("6.2 Image flashing"). But fail.https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package#Image_flashingUnfortunately i am a complete beginner on these tools and don't understand what is happened.Thank you by advance for any help or advices.error log are...Error: failed to download Segment[0]Error: failed to download the FileError: Download partition 0x06 failedError: TSV flashing service failedMy environments are below,Bord:STM32MPU157F-DK2.Host PC: Windows10 64 bitSD card: ADATA 16GB[Full log] ------------------------------------------------------------------- STM32CubeProgrammer v2.7.0 -------------------------------------------------------------------USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : DF
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.