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
Hello CommunityI'm trying to bring up a new architecture board based over STM32MP151aaa core.From what I see from the serial the u-boot prompts leaving the following trace:NOTICE: CPU: STM32MP151AAA Rev.BNOTICE: Model: STMicroelectronics custom STM32CubeMX boardINFO: Reset reason (0x15):INFO: Power-on Reset (rst_por)INFO: Using SDMMCINFO: Instance 1INFO: Boot used partition fsbl1NOTICE: BL2: v2.0-r1.5(debug):NOTICE: BL2: Built : 13:13:37, Oct 2 2018INFO: BL2: Doing platform setupINFO: RAM: DDR3-DDR3L 16bits 533000KhzINFO: Memory size = 0x20000000 (512 MB)INFO: BL2 runs SP_MIN setupINFO: BL2: Loading image id 4INFO: Loading image id=4 at address 0x2fff0000INFO: Image id=4 loaded: 0x2fff0000 - 0x30000000INFO: BL2: Loading image id 5INFO: Loading image id=5 at address 0xc0100000INFO: STM32
I am trying to flash a 32gb sd card with stlinux for STM32MP157C-DK2 using the guide at https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Let%27s_start/Populate_the_target_and_boot_the_image The SD card that came with the kit boot perfectly, I just want to flash another sd card.I am using Ubuntu 16.04 LTS on my laptop details about my STM32MP157C-DK2Serial number(below pcb) : DK32MP157C2$AU1These are the commands I ran and the output I got on console :$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv ------------------------------------------------------------------- STM32CubeProgrammer v2.2.0 ------------------------------------------------------------------- USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000 SN : 002900333338510939303435 FW version : 0x0110 Device ID : 0x0500 Device
Hi All,I've been running into an issue when trying to activate and run the DFSDM peripheral for the M4 Core to sample a single digital Mic:Source code and device tree generated using STMCubeIDE V1.1.10. The compiled device tree is loaded into the image running in the A7 core of the unit being used for testing.DFSDM1 Clock Configured using: System clock (208.87793 MHz) Divider 104 for DFSDM Clk -> ~2 MHz Fosr: 125 samples -> Sampling frec of ~16 kHz Channel 5 being used for regular conversions on Filter 0, set in Continuous Mode and Software TriggerThe DFSDM application code was coded based on the STM32L4 - Hands-on DFSDM Tutorial, and was successfully run on a F412ZG Nucleo using a MP34DT05 coupon board to provide the microphone.This application was then ported to an MP1.M4 project targetting the DK2 Eval board.After calling HAL_DFSDM_FilterRegularStart_DMA(), the regular half and full conversion callbacks that will be used to process the samples, HAL_DFSDM_FilterRegConvHalfCpltC
Hi, I have STM32MP157C-DK2 board and I am running Linux Yocto on it.Now I want to run my own BMP files on the board but I am not getting how to do this. Can anyone help me the procedure to run this.RegardsSrikanth.
Hello,We would like to setup the STM32MP157C-DK2 board. But we couldn't find any information related to the recommended power supply. Could you please suggest us that which Power Supply 5V/3A adapter or connector should we use? It would be great if you can provide us link to purchase the power supply adapter or connector because the power supply is not delivered.We tried to use HUAWEI superfast power supply adapter but we faced this problem: https://community.st.com/s/question/0D50X0000Bftpj3SQA/cant-able-to-populate-the-target-and-boot-the-image-on-stm32mp157cdk2Thanking you!
During startup I read the following on the console:INFO: Loading image id=4 at address 0x2fff0000 INFO: Image id=4 loaded: 0x2fff0000 - 0x30000000 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: STM32 Image size : 801160But those addresses are different than the ones reported into the tsv file:#Opt Id Name Type IP Offset Binary - 0x01 fsbl1-boot Binary none 0x0 tf-a-stm32mp151a-myprj-mx-trusted.stm32 - 0x03 ssbl-boot Binary none 0x0 u-boot-stm32mp151a-myprj-mx-trusted.stm32 P 0x04 fsbl1 Binary mmc0 0x00004400 tf-a-stm32mp151a-myprj-mx-trusted.stm32 P 0x05 fsbl2 Binary mmc0 0x00044400 tf-a-stm32mp151a-myprj-mx-trusted.stm32How they are defined?How to check they are correct?
Using STM32CubeMX, how to generate the code that goes inside the USER CODE BEGIN/END root sections?
Hello, I try to push the linux Kernel to STM32MP157C-DK2 board. I have made the reboot of my board. After the reboot I don't know why the screen of my board turns on then I can see the logo of ST and then my screen turns off. How can I correct that. Thanks for help
Any one can tell me if there are ST products which integreted ARM A5x core? Thanks a lot!
Hi,I want to use the mp157 sdmmc3 feature, but it seems he didn't turn it on, because my wifi device doesn't work, do I need to turn on the clock elsewhere?:loudly_crying_face: :loudly_crying_face: :loudly_crying_face:
I'm able to compile a custom image from the Distribution Package for an evaluation board, adding my own layers and applications. I don't find a complete procedure to adapt it to a new target (i.e. STM32MP151A). I found a very short wiki that doesn't cover all the necessary steps.Is there a complete step-by-step procedure about this topic?
STM32CubeIDE: Version: 1.1.0STM32MP1 FW Package: I built a custom and default device tree for A7, and fails to compile because of a syntax error (same line in both cases)| NOTE: make -j 12 HOSTCC=gcc -isystem/repo/build-openstlinuxweston-stm32mp1-m4_afe/tmp-glibc/work/stm32mp1_m4_afe-openstlinux_weston-linux-gnueabi/linux-stm32mp/4.19-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/repo/build-openstlinuxweston-stm32mp1-m4_afe/tmp-glibc/work/stm32mp1_m4_afe-openstlinux_weston-linux-gnueabi/linux-stm32mp/4.19-r0/recipe-sysroot-native/usr/lib -L/repo/build-openstlinuxweston-stm32mp1-m4_afe/tmp-glibc/work/stm32mp1_m4_afe-openstlinux_weston-linux-gnueabi/linux-stm32mp/4.19-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/repo/build-openstlinuxweston-stm32mp1-m4_afe/tmp-glibc/work/stm32mp1_m4_afe-openstlinux_weston-linux-gnueabi/linux-stm32mp/4.19-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/repo/build-openstlinuxweston-stm32mp1-m4_afe/tmp-glibc/work/stm32mp1_m4_afe-openstlinux_weston-li
If you try to generate code for, say, STM32MP151AAA you will find inside the dts files, some includes related to another MPU (like STM32MP157C):#include "stm32mp157c.dtsi" #include "stm32mp157caa-pinctrl.dtsi" #include "stm32mp157c-security.dtsi"And no one for the desired target. Is it correct? Why?
..
Hi all,I am using a STM32MP157C-EV1 and testing the digital microphones with ALSA. For testing purposes I am just using the arecord command. All works fine if I use the S32_LE sample format:$ arecord -D hw:0,4 -f S32_LE /tmp/rec.wav Recording WAVE '/tmp/rec.wav' : Signed 32 bit Little Endian, Rate 8000 Hz, Mono For my application I need to use S16_LE. Since this is not natively supported by the driver, I try to use an ALSA "plughw" device to do the conversion, but that fails:$ arecord -D plughw:0,4 -f S16_LE /tmp/rec.wav Recording WAVE '/tmp/rec.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono arecord: set_params:1361: Unable to install hw params: ACCESS: RW_INTERLEAVED &nbs
Used device: STM32MP157C-DK2 I am trying to install several debian packages like dirmngr and apt-transport-https, however apt-get does not provide it. Apt-get update does not show any results, because sources.list.d is empty. I tried to dial in a path manually, but in that case apt-get update will skip every found package. Am I ment to install debian packages in a different way?
Hello, I am using the ST32MP157c-dk2. I want to adapt the mcp2518xxfd driver the bsp. The driver uses a level sensitive irq on a gpio. Since I have not been able to configure a level sensitive irq, I tried it edge sensitive. But this configuration fails after a while. I guess because the mcp2518 does not assert its irq line again (stays low). Is there a way to configure a level sensitive on a gpio?regards Florian Hillen
Hi,I have to use the spread spectrum on PLL4 on STM32MP1I have set the pll4 in tfa and u-boot as followstfa pll4:st,pll@3 { cfg = < 1 49 11 10 1 3>; csg = < 80 80 SSCG_MODE_CENTER_SPREAD >; };u-boot pll4:st,pll@3 { cfg = < 1 49 11 10 1 7>; csg = < 16000 16000 SSCG_MODE_CENTER_SPREAD >; u-boot,dm-pre-reloc;}When I check the register (on linux) RCC_PPLL4CSGR the settings seems ok, but when I write SSCG_CTRL=1 on RCC_PLL4CR nothing happened.Where I am wrong?
HI, All.I would like use speaker output in STM32MP157C-EV1. I revised the wiki but there aren't references about how play audio with speaker output. Is it enable speaker output to this board? Is it possible enable this output to play audio?Regards!Alex.
i want to increase the RPMsg buffer size as suggested in this thread:https://community.st.com/s/question/0D50X0000AnuE1XSQU/what-is-the-maximum-transmission-interprocessor-bandwidth-on-stm32mp1i already tried the following:On the M4:Changing RPMSG_BUFFER_SIZE in rpmsg_virtio.h to 2048 (from 512)On the A7:Changing MAX_RPMSG_BUF_SIZE in virtio_rpmsg_bus.h to 2048 (from 512)But if i start the M4 i get the following error from dmesg:[ 88.176478] remoteproc remoteproc0: powering up m4 [ 88.180656] remoteproc remoteproc0: Booting fw image A96_CAC_RPMsg2048.elf, size 229920 [ 88.193631] stm32-rproc m4@0: iommu not present [ 88.193670] stm32-rproc m4@0: pa 0x38000000 to da 0 [ 88.193689] stm32-rproc m4@0: pa 0x30000000 to da 30000000 [ 88.193704] stm32-rproc m4@0: pa 0x10000000 to da 10000000 [ 88.193719] stm32-rproc m4@0: pa 0x10040000 to da 10040000 [ 88.193738] stm32-rproc m4@0: pa 0x10042000 to da 10042000 [ 88.193754] stm32-rproc m4@0: pa 0x10044000 to da 10044000 [ 88.193777] remoteproc
While I'm modifying the code of OpenAMP Echo, I found that VIRT_UART_Transmit() fails until host Linux sends any message (like $ echo "A" > /dev/ttyRPMSG0).After Linux send a message everything works as expected.After digging into it a little bit, I found that OPENAMP_send() returns RPMSG_ERR_ADDR, because huart->ept.dest_addr is set to RPMSG_ADDR_ANY when initialized in OPENAMP_create_endpoint().When the first message received ept->dest_addr is corrected and VIRT_UART_Transmit() starts working fine: https://github.com/STMicroelectronics/STM32CubeMP1/blob/3739122ec3281ffe18356774ffc06a7fbcf6df98/Middlewares/Third_Party/OpenAMP/open-amp/lib/rpmsg/rpmsg_virtio.c#L423I'm not sure if OpenAMP is designed like that, or a bug though. Does anyone know about this issue? If it is expected, I would like to know a proper way to send data from M4 first.
ST is please to announce the st-android-9.0.0-2019-09-27 tag compatible with Android 9.0.0 (Pie).Main software component versions : · Android version v9.0.0 (AOSP android-9.0.0_r46 tag)· Kernel version v4.19.49 (AOSP common kernel) + updates for STM32MP1 and associated boards (waiting upstream finalization)· TF-A version v2.0 + updates for STM32MP1 and associated boards (waiting upstream finalization)· U-Boot version v2018.11 + updates for STM32MP1 and associated boards (waiting upstream finalization)· OP-TEE version v3.3.0 + updates for STM32MP1 and associated boards (waiting upstream finalization)· STM32CubeMP1 FW v1.1.0· GCC version v8.2· &nbs
I designed a PCB using LPDDR3 and STM32MP157AAA3 MPU, but I accidentally found that u does not support, this is not a pit man? Why is this diagram on the DDR instruction manual AN5122, I'm designing it accordingto this. But now pcb has produced how to solve this problem?@st
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.