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
I am using STM32MP157C MPU on my SOM Board and I want to use Boundary scan feature of JTAG to check Manufactured PCB for any short or defects.I have following qs. What JTAG Hardware tool i should use.What software tool I should use to do boundary scan using GUI.What procedure I have to follow to test my board.
Hi,I want to communicate data between two cores i.e,cortex A7and cortex M4.Can anyone share IPCC example code for Both M4 and A7 in stm32mp157A
Is there no driver support for VBAT and VSENSE monitoring via ADC on Linux for STM32MP157C?
Hi,I am working with the STM32MP157c-DK2. All examples are working fine, but now I would like to use custom code. I generated some code using CubeMX for the development board. I used the default settings and enabled FreeRTOS additionally. I compiled the generated device tree file and pushed it to the board. Afterwards, I booted Linux on the A7 processor and launched my compiled FreeRTOS code on the M4 processor using remoteproc. The application crashed. I used the eclipse debugger to locate the problem: The application crashes, while trying to start the first RTOS task, when calling the function prvPortStartFirstTask( void ) in port.c. As an error message the deugger gives meError: stm32mp15x.cpu2 -- clearing lockup after double fault Polling target stm32mp15x.cpu2 failed, trying to reexamineI didn´t change a single line in the code generated from CubeMX. Any suggestions why my application crashes? Thank you for your help.Robin
..
Hello everyone I want to use external power for my STM32MP157A-DK1. I connect 5 volts directly to the Raspberry Connector. But the U-boot in the console tells me that I should use USB Type C. How do I change the U-boot so that I can use more than just USB Type-C
HelloA STM32MP15 deviceif flahs proccess is started with STMCube programmer, the proccess finished inmediatly saying "process sucessfull" so the device is not booting , in eMMC mode or SD mode
Hi All -I was attempting to build the Qt example images for the DK2, following the wiki directions here:https://wiki.st.com/stm32mpu/wiki/How_to_build_and_use_an_SDK_for_QTI got to the step where it's building the SDK, after compiling the image successfully.PC $> bitbake st-example-image-qt -c populate_sdkAnd got a compile error:arm-ostl-linux-gnueabi/9.3.0/ld: .obj/moc_qgeotiledmaplabs_p.o:(.data.rel.ro+0x70): undefined reference to `QGeoTiledMap::setCopyrightVisible(bool)'| /home/mtd/STM32MPU_workspace/STM32MP15-Ecosystem-v3.0.0/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/qtlocation/5.14.2+gitAUTOINC+feb604c326_d9577fdebe-r0/recipe-sysroot-native/usr/bin/arm-ostl-linux-gnueabi/../../libexec/arm-ostl-linux-gnueabi/gcc/arm-ostl-linux-gnueabi/9.3.0/ld: .obj/moc_qgeotiledmaplabs_p.o:(.data.rel.ro+0x80): undefined reference to `QGeoTiledMap::clearScene(int)'| /home/mtd/STM32MPU_wor
hi, I have been working on compiling an openstlinux image with yocto, when compiling the image with bitbake it does not show me any error, but when mounting the image on the SD card it shows me the error that it cannot find "uInitrd", check in the bootfs partition and indeed the file cannot be found, however, if I first mount the partitions using the started package and then mount the generated image ignoring the bootfs partition, the operating system boots.I have not found a reason why the uInitrd file is not generated, I would greatly appreciate the help.
Hi there! I just purchased an STM32MP157D-DK1 discovery board, and noticed that in STM32CubeIDE there are no definition files for this model, only a subset of the other MP1 discovery boards (but curiously not all of them). Is this product unsupported by ST or can I obtain board definition files from elsewhere? Thanks.
Hi all,What is the most correct and easiest way to generate dtb for the STM32MP1?I tried following this : https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_PackageLooks way complicated and I get below error :/opt/st/stm32mp1/3.1-openstlinux-5.10-dunfell-mp1-21-03-31/sysroots/x86_64-ostl_sdk-linux/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so)post that came across workshop video which does it in few steps.https://www.youtube.com/watch?v=XhB0rGLjl_Q&list=PLnMKNibPkDnFeV4sBarnsAtFTg7h6V-9_&index=9I couldn't seem to get it up and compile file in any case? I mean it exists cleanly but not dtb gets generated?What i might be missing here?
Hello,I try to make a simple PWM work on PD15 with TIM4_PWM4, wich normally output the PWM on D6, the 6th pin of CN14. I followed example of https://wiki.st.com/stm32mpu/wiki/PWM_overview as I only need two PWM controlled with sysfs (the first beeing PE9 like in the example).For a reason I don't understand doing the same with TIM4CH4 don't work. Do someone have any idea what is laking in my configuration of TIM4CH4 ?Here is my device tree : stm32mp157c-dk2.dts/* PWM DT provider on TIM1: "pwm1" */ &timers1 { status = "okay"; /* spare all DMA channels since they are not needed for PWM output */ /delete-property/dmas; /delete-property/dma-names; /* define pwm1 label */ pwm1: pwm { /* configure PWM pins on TIM1_CH1 */ pinctrl-0 = <&pwm1_pins_a>; pinctrl-1 = <&pwm1_sleep_pins_a>; pinctrl-names = "default", "sleep"; /* enable PWM on TIM1 */ status = "okay"; }; }; &timers4 { status = "okay"; pwm4: pwm { pinctrl-0 = <&pwm4_pins_a
I am using STM32MP157C and as part of the project i am trying to configure the hardware by enabling and disabling certain security features(tamper detection,trust zones,rd and wr protection etc)I would like to know if there is a way to access the system registers for these features and write to them using the A7 in the Stm32.
i followed the setup procedure described in the youtube video https://www.youtube.com/watch?v=qEzfqKt3exE.i checked the path that is displayed in the error message and it does exist. the file the debug session is trying to write to is the name of the executable and it does exist.any help in understanding what this error means would be appreciated.thanks,vince
HI all,Is it possible to just compile the kernel in yocto environment for stm32mp1 using command : bitbake -C compile virtual/kernelThis command is currently failing with below error message : If not this , then what is the correct way to do it?I have another thread running here , where in if try to build it stand-alone with SDK it is failing due to GLIBC issues.
I'm using a SoM with a STM32MP157C. I've connected a LTE modem to uart7, its connected with a 4-wire uart, going trough a level shifter. The device tree contains the following:uart7_pins_mx: uart7_mx-0 { pins1 { pinmux = <STM32_PINMUX('E', 7, AF7)>, /* UART7_RX */ <STM32_PINMUX('E', 10, AF7)>; /* UART7_CTS */ bias-disable; }; pins2 { pinmux = <STM32_PINMUX('E', 8, AF7)>, /* UART7_TX */ <STM32_PINMUX('E', 9, AF7)>; /* UART7_RTS */ bias-disable; drive-push-pull; slew-rate = <0>; }; }; uart7_sleep_pins_mx: uart7_sleep_mx-0 { pins { pinmux = <STM32_PINMUX('E', 7, ANALOG)>, /* UART7_RX */ <STM32_PINMUX('E', 8, ANALOG)>, /* UART7_TX */ <STM32_PINMUX('E', 9, ANALOG)>, /* UART7_RTS */ <STM32_PINMUX('E', 10, ANALOG)>; /* UART7_CTS */ }; };and &uart7{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart7_pins_mx>; pinctrl-1 = <&uart7_sleep_pins_
as the pictures shows,I use stm32mp157c borad to driver the raspberrypi,7inch-touchscree .when the systen run on,i used "modetest" command to list panel on system,I can see panel,but the connector and crtc is null,I can't understander the reason . ask for help
I am using a custom.board with STM32MP157C.I am not able to connect to it via JLink EDU.It shows that the ST device could not be verified.Also tried using the STM32Cube ide as well as JLink commander.Facing same issue.What should I give in the device name and core selection sections so that device can be connected??Also when selecting M4 the JLink is detecting it as M0Also is there a way to debug the A7
Hi,I have installated postgresql on STM32MP1.I would like to install libpqxx , a C++ based postgresql connector. How can i do that? FYI: apt-cache search returns empty.
Hello, i´d like to change the clock of the M4 and some of the corresponding periphals. To do that i changed the clocks in CubeMx (Stm32CubeIde integrated version). I tried to create and deploy the .dtb as showed in https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_projects_in_STM32CubeIDE but this didn´t change my clock speed at all. So i think i this .dtb doesn´t change the clocks. Can i change the clock tree with the STM32CubeIDE and CubeMx? If yes is there a manual for it ? Thank you in advance.
Im trying to integrate the firmware we have developed into our distribution on yocto. The documentation in the wiki [1] isn't really clear in how we add our own firmware to populate the MP1 coprocessor on boot. And the eample projects that the m4project.bb compiles seem to have a very rigid file structure compliant only with CubeMX. [2]STM32 supports the Keil IDE we are wondering how we can use a project such as that in our yocto layer. If anyone has succeeded in this endeavor please let us know.[1]: https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package#Distribution_Package_for_STM32CubeMP1[2]: https://github.com/STMicroelectronics/meta-st-stm32mp/blob/thud/recipes-extended/m4projects/m4projects-stm32mp1.bb
Hi,I want to interface WM8960 with STM32MP1 using I2S interface. I initialized the WM8960 driver and added the DT entry in device tree file but the drivers fails.Can you please share some pointers on how to interface audio codec with I2S to STM32MP1 ?Regards,Shree
Hi everyone,I want to send messages with L2CAP protocol between two Bluetooth devices. This is my client code:void process_bluetooth () { int bl_buff_it = 0; // global buffer iterator // Code of: https://people.csail.mit.edu/albert/bluez-intro/x559.html struct sockaddr_l2 addr = { 0 }; int s, status; char dest[18] = "24:0A:64:28:71:E6"; // Socket creation s = socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP); // Connection parameters addr.l2_family = AF_BLUETOOTH; addr.l2_psm = htobs(0x1001); str2ba( dest, &addr.l2_bdaddr ); // Establishing connection status = connect(s, (struct sockaddr *)&addr, sizeof(addr)); if (status < 0) exit(0); // Message buffer int tam_bluetooth_buff = DATA_BLUETOOTH_BUFFER * (SIZE_DATA + 1); // DATA_BLUETOOTH_BUFFER = 128, SIZE_DATA = 3 char bluetooth_buff[tam_bluetooth_buff]; strcpy(bluetooth_buff, ""); int msg_to_send = 15, msg_num = 0; char value_string[SIZE_DATA]; &
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.