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
We are a connecting a sensor to M4 side and reading the data through UART7. UART7 is enabled for M4 by modifying the Linux Kernel Device tree and TF-A .dtsi files. Device tree file for TF-A is generated through STM32CubeMX. and Placed the generated files in the /fdts folder of TF-A(Which was downloaded from stm git) and built it and loaded to the board using the given procedure.We are able to read the UART data correctly when OPENAMP_Init() is not used. This is blocker for our project and urgent help would be appreciated.Thank you.
Hello, I have a STM32MP157C-DK2 board and I would like to install some packages.But in /etc/apt/sources.list.d there is no sources.list file with repository links to a server.The folder soures.list.d is empty. Where can I get this link to update system and download some packages.Best regards,Marius
I am working on a product. For prototype, I have used Raspberry Pi 3 B+ with Raspbian operating system and firmware in Python 3. For GUI, I used TkInter library. For mass production, I am trying to figure a cost-effective option, and I came across STM32WB series. I am wondering if STM32WB micro controllers (or any ST micro controllers) support the following:Raspberry o/sPython 3TkInter GUI libraryPlease advise.
Hello.recently i get STM32MP1 chips, and i want to use it id devkit with FPGA. But i can't use CUbeMX to get pin definitions, as well as where is no examples that i aware of C code examples, just like with any other chip STM makes. When we get full support on this part ?Also is where 32b connection example for DDR3L ?
Hello,Sorry for the basic question, but i have installed the SDK(en.SDK-x86_64-stm32mp1-openstlinux-4.19-thud-mp1-19-02-20.tar), started it as per this article:https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package#Starting_up_the_SDKI get all the correct responses:echo $ARCH -> armecho $CROSS_COMPILE -> arm-openstlinux_weston-linux-gnueabi-$CC --version -> arm-openstlinux_weston-linux-gnueabi-gcc (GCC) 8.2.0echo $OECORE_SDK_VERSION -> 2.6-openstlinux-4.19-thud-mp1-19-02-20Also installed gtk+ 3.0 on the Ubuntu machine running 16.04 LTS, 64 bit.When i compile the GTK hello_world example:https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_applicationi always get x86 executable, not ARM. Any help please, thank you!K.
Dear Members / ST Employee,I saw :https://hackaday.com/2019/02/27/new-part-day-the-stm32-that-runs-linux/Is there any other variant of STM32 that affordable ?Thanks
I noticed cpufrequtils are installed in the default image. But when you run cpufreq-info you get a message that indicates it is not supported.root@stm32mp1:~# cpufreq-info cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: no or unknown cpufreq driver is active on this CPU analyzing CPU 1: no or unknown cpufreq driver is active on this CPUI then updated the kernel to include the cpu frequency scaling code, but I get the same error.I'm trying to reduce the power consumption of the target platform. So I have done the following:1) Unplugged the LCD2) Switched Ethernet to 10/100 instead of Gigabit Ethernet, this drops the power by 200 mW.3) Trying to reduce core clocks and turn off peripherals.Does anyone have any other suggestions to reduce power?
Hi ST Community,I am trying to install the linux image on STM32MP157x-EVAL (as given in https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Let%27s_start/Populate_the_target_and_boot_the_image ), But i am getting issue related to LCD output after booting from SD-Card. well all steps are ok till flashing SD-Card i.e.Flashing service completed successfullyBut the issue is after booting from SD card, i am getting nothing on LCD, could anyone give me suggestion, what went wrong. Why i am not getting the UBoot splash screen.P.S: b000 was used for flashing and b101 was used for booting from SD Card. and jumper settings are as JP3 [12], JP4[23], JP5[23]. Best Regards
When loading the device tree below, I see the soundcard in alsa. But I don't see any clock out for the microphones, and I can't record from this device. The devices tree is almost a 1 to 1 copy of the example.What small thing do I over look?Arecord -L outputnull Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default Default ALSA Output (currently PulseAudio Sound Server) sysdefault:CARD=smartMic smartMic, Default Audio DeviceArecord --dump-hw-params -f datRecording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo HW Params of device "sysdefault:CARD=smartMic": -------------------- ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U
Hi,I'm following https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot tutorialI'd like to perform a few checks before programming OTP WORD 24 to 31 since, as usual, and as indicated in STM32MP1 reference manual:An OTP word can be written in multiple shuts. The word value is updatable by adding bits to1, but a bit already set to 1, cannot be written back at 0I have generated signing keys.I have TF-A firmware signed with them.I can see TF-A header is indeed updated with a 512 bits signature value and a 512 bits pub key value (so as algorithm value).Is there an existing implemented way to:confirm publicKeyhash.bin is matching public key (and algorithm if I understand well) value embedded in firmware header ?more generically, perform firmware authentication from an external host PC ?This would be for me a way to be 101% sure before programming OTP.Thanks in advance for any useful feedback.Cheers,Alexandre.
I've tried to create a bootable CD card image using both the Starter image as well as a Yocto built image. In both cases the device fails to boot. I've gone into stm32mp1-openstlinux-4.19-thud-mp1-19-02-20/images/stm32mp1 directory and then run:scripts/create_sdcard_from_flashlayout.sh flashlayout_st-image-weston/FlashLayout_sdcard_stm32mp157c-dk2-basic.tsvThis creates a .RAW image and instruction on how to load that onto the SD card. I then run:sudo dd if=flashlayout_st-image-weston/../flashlayout_st-image-weston_FlashLayout_sdcard_stm32mp157c-dk2-basic.raw of=/dev/sdb bs=8M conv=fdatasync status=progressWhen this is done I insert the SD card into the stm32mp157c-dk2 board and set both boot dip switches to on. I then apply power and nothing happens. There is no output on the terminal.Is this method supported?
Hi,I'm going through the wiki to try and solve the issues I'm finding on the bring-up of our board.I found something that could be interesting for me , so from this page I try to access the "How to create a layer with device tree files generated via STM32CubeMX" wiki page, but whe I click on it, I get a "Permission error" and can not see anything.Is this an error or do I need some kind of special permission?Kind regards,j
I have an application that needs to use libusb. Is there a simple way to add this to the system (using STM32MP157C-DK2).
I connected my STM32MP1 via Ethernet to my network and was surprised that I could ssh root@192.168.x.ywithout a password. No password for root is a security risk. I immediately changed the root password to secure the device. Beware!-- John
I'm able to download an image onto STM32MP157C-DK2 according to the wiki. The Cube Programmer indicates success. When I flip the boot switches to ON and reboot, DL8 lights after a few seconds but nothing on the screen. During flashing the LCD does display information. Thanks in advance.
UART7 is not working when configured with same pin numbers as given in the STMCubeMX code.When connected as per schematic pin config, it is working.(Corresponding code also changed)So why is this happening like this? Please help.
I want to why the error and how to solve the error.
Hi, I test the record voice on dk2 board. Using below command to recorded. After recorded, I use aplay to play that file. The sounds volume very low. I had setting some volume through alsamixer command.arecord -f cd -c 2 test.wavDoes it working correct?
I am not using Linux.Is the peripheral set used on the STM32MP1 brand new or imported from another STM32 Family?Tom
Hello,I am building the firmware on the M4 core. I have allready modified the 'demo_launcher.py' script to launch my code via the GUI (for demonstration purposes). As the Linux application will be built by somebody else, i only need to do the M4 firmware and use simple script to send and receive messages. I see a lot of info about on the Wiki about the protocol, but my knowledge of Linux is not that great to code this from scratch.Is there a basic example script that i can use and modify for my purpose ? I see a C app here:https://github.com/STMicroelectronics/meta-st-openstlinux/blob/4e36cf0c7c7bdb24700a990f73afcda84cdcf0cf/recipes-samples/ai-nn-application/ai-hand-char-reco-launcher/ai_char_reco_launcher.cthat is used by the 'demo_launcher.py', but i don't currently have a PC set to build this. Thank you!K.
Hello,I'm currently working into STM32MP157C-DK2 and I have made my own image with the following append:apache2 php phpmyadmin php-cli mysql5But into my internet page (move from //usr/share/.. to another directory) php code didn't work and when I try to configure mysql5 I have this ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)Also I try to add php-modphp but the bitbake fail I try too to install dev-pkgs but I get an error tooDo you have any idea ?
Hello,I would like to start new design with STM32MP157A in next weeks, but various AppNotes topics, usual for STM32 MCUs was not published, but are mentioned in other AppNotes, exactly:AN5275 - STM32MP1 Series: USB DFU/USART protocols used in bootloadersAN5089 - STM32MP1 Series and STPMIC1 hardware and software integrationAN5256 - STM32MP1 Series discrete power supply hardware integrationBesides this, exact description of default boot pins mapping for respective peripherals and their conditions in embedded bootloader, something equal to"AN2606 - STM32 microcontroller system memory boot mode" just for STM32MP1, etc.In what timeframe will be remaining documentation published ?The only remaining issue is still missing STPMIC1 datasheet.Many thanks.
Hello All,I received my MP157C-DK2 kit. How do I download the image on it?Thanks,Gil
Hi, I want to create custom SD card for STM32MP157A-DK1board but I did not find any script for it in SDK available. Could you please let me know the procedure to create SD card and how to flash images in it?Thanks,Deshvir Malik
It seems parallel RGB on the MP151 is supported on the TFBGA361 and 448 package. Is there any manufacturer of SOM modules (preferably DIMM socket based) with a parallel RGB header ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.