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, I'm investigating DDR routing and for practice training to make 6 layer board with STM32MP135 and DDR - NT5CC256M16ER-EK, the similar to STM32MP135F-DK. Into the "DDR memory routing guidelines for STM32MP13x" everywhere recommend to use VDD_DDR polygon before Bottom layer, the same I have saw in "MB1635 Board design project files".Could someone explain, why is important to use VDD DDR polygon before bottom layer under DDR chip?Can I use GND layer here?
Moved from a previous thread. @mƎALLEmunfortunately appear next problem .CAN works grate !The display connected by MIPI DSI it goes wrong when a lot of frames in CAN interface arrive. Like the display slowed down a lot ... @xchenreading this thread , I noticed that you had a similar problem with work CAN and DSI display on STM32MP1? did you solve the problem?
openstLinux version: 1. en.SOURCES-stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.062. en.SDK-x86_64-stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06command: $ cd tf-a-stm32mp-v2.10.5-stm32mp-r1 $ export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts $ make -f $PWD/../Makefile.sdk TF_A_DEVICETREE=stm32mp157d-openedv DEPLOYDIR=$FIP_DEPLOYDIR_ROOT/arm-trusted-firmware stm32 -j2 $ cd optee-os-stm32mp-4.0.0-stm32mp-r1 $ export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts $ make -f $PWD/../Makefile.sdk CFG_EMBED_DTB_SOURCE_FILE=stm32mp157d-openedv DEPLOYDIR=$FIP_DEPLOYDIR_ROOT/optee optee -j2 $ cd u-boot-stm32mp-v2023.10-stm32mp-r1 $ make -f $PWD/../Makefile.sdk ARCH=arm CROSS_COMPILE=arm-ostl-linux-gnueabi- DEVICE_TREE=stm32mp157d-openedv all -j2 tvs: #Opt Id Name Type IP Offset Binary - 0x01 fsbl-boot Binary none 0x00000000 arm-trusted-firmware/tf-a-stm32mp157d-openedv-optee-programmer-usb.stm32 - 0x03 fip-boot FIP none 0x00000000 fip/fip-
Hello,I am trying to setup CANbus on the STM32MP157f-dk2 board, but I am unable to get any CAN interface to appear. I have installed the STM32MP1 OpenSTLinux Developer-Package onto the board, and I am using an SN65HVD230 transceiver.First I tried enabling pins PB12 and PB13 for FDCAN2, and connecting the transceiver to GPIO pins 10 and 36 on the board.For device tree configuration, I generated a device tree source file with STM32CubeMX and copied the pinctrl and m_can2 bindings from the generated file into "stm32mp157f-dk2.dts" located in the kernel sources. I then compiled the device tree using "make ARCH=arm dtbs". I then copy stm32mp157f-dk2.dtb to the board.I attached the exact dts file I am using.For driver configuration, I believe the BOSCH M_CAN driver is enabled by default, so I did not change anything in Menuconfig. Although I doubled checked that the selections were correct. The can0 interface does not appear as an available network interface:root@stm32mp1:~# ls /s
I'm using minimal device tree files to get a custom (MYIR MYC-YF135) board to boot. At the moment I'm stuck when OP-TEE should give the control to u-boot. The boot stops on error message: No serial driver found .... F/TC:0 0 _regulator_enable:150 vdd F/TC:0 0 _regulator_enable:188 vdd refcount: 1 F/TC:0 0 _regulator_enable:150 v3v3 F/TC:0 0 _regulator_enable:188 v3v3 refcount: 1 F/TC:0 0 _regulator_enable:150 vddcore F/TC:0 0 _regulator_enable:188 vddcore refcount: 1 F/TC:0 0 regulator_core_dump:920 Dump Regulators F/TC:0 0 regulator_core_dump:921 reg name use en mV min max flags supply F/TC:0 0 regulator_core_dump:941 usb33 usb33 0 0 3300 3300 3300 0 F/TC:0 0 regulator_core_dump:941 reg18 reg18 0 1 1800 1800 1800 0 vdd F/TC:0 0 regulator_core_dump:941 reg11 reg11 0 1 1100 1100 1100 0 vdd F/TC:0 0 iod_get_voltage:115 sdmmc1_io: get volt F/TC:0 0 iod_get_state:104 sdmmc1_io: get state F/TC:0 0 regulator_core_dump:941 sdmmc1_i sdmmc1_i 1 1 3300 0 65535 0x1 vdd F/TC:
i am developing custom board using STM32MP157FAC1.Please review the schematic of the custom board and verify the connections.
HiI'm new to embedded software development and STM32 too.I'm just wanna learn and explore everything about the STM32 MPU. I have STM32MP157A-DK1 board with me. So i planned to do this one as first.I want to make a custom u-boot compilation for the STM32MP157A-DK1 board. Only using the U-boot i want to run a small application.(without OS) if anyone guide me to get in that.before this what are the possible way to connect this board with my system. I tried through USART GPIO14 tx pin no 8 and GPIO15 rx pin 10 not able to connect.(I have OS)
Hi,Does STM32MP235A has ONVIF compatibility when used in camera applications?Thanks,Preethi
Hi everyone! I'm here with my devkit and trying to have FDCAN working properly! I compiled the Yocto distribution for the board and I followed all the tutorials in the wiki ( https://wiki.st.com/stm32mpu/wiki/Category:CAN ) and here's what I came up with: I initialized m_can1 &m_can1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&m_can1_pins_b>; pinctrl-1 = <&m_can1_sleep_pins_b>; status = "okay"; };I used the pins_b configuration because looking at the datasheet they were the only possible exposed pins on the PI_GPIO extender (CN2) on the board (overwriting I2C5 pins for the Arduino). I also removed the pullup resistors for i2c (R166 and R167). On the kernel side I tried the loopback and seems to work fine: root@stm32mp1:~# ip link set can0 up type can bitrate 1000000 dbitrate 2000000 fd on[ 1602.982564] m_can_platform 4400e000.can can0: bitrate error 0.3%[ 1602.988958] m_can_platform 4400e000.can can0: bitrate error 0.3%[ 1602.994593] IPv6: ADDRCONF(
I have a STM32MP257F-DK board and am using the OpenSTLinux image. I want to use the USB C connector on the board, but I noticed that the USB3DR internal peripheral page says that the peripheral can be assigned to the given runtime context, but it is not supported in OpenSTLinux BSP.What would be the easiest way to enable and use the USB C connector? I am somewhat familiar with Yocto, but I am not sure what I should change.
Hello,I am trying to get my ADC using DMA working in my freertos program running on the M33 core of the stm32mp257 processor. I set up ADC1 on HPDMA3 using cube MX see config below.I am getting a few issues.1. If I used the generated code I get a runtime crash because the HAL layer was trying to access of null object hacd->DMA_Handle. I got around that issue by adding this line to HAL_ADC_MspInit() hadc->DMA_Handle = &handle_HPDMA3_Channel11; Not sure why this was not getting generated by MX. 2. I was getting another crash because of another reference to null variable pQueueLinkList. MX generated this in HAL_ADC_MspInit(). pQueueLinkList was defined but never initialized to anything. I needed to remove this piece of code as well. if (HAL_DMAEx_List_SetCircularMode(&pQueueLinkList_HPDMACH11) != HAL_OK) { Error_Handler(); } Once I got past these issues I was able to start
We have built a SBC using the 257EV as a reference in Altium. We are trying to use debug. We have created a ST14 connector to connect to a STLink3 using UART 2 as the debug serial port.Is this possible, and should we use SWD or JTAG to debug the processor.At present we are stuck at a flashing red led1. At present the DDR & GPU supplies haven't started on the PMIC, the remaining supplies are all present, as is the HSE clock.Any thoughts would be appreciated.
Hi there,I am currently working on upgrading our EV charging solution from OpenSTLinux Ecosystem v4 (Linux kernel 5.15) to Ecosystem v6 (Linux kernel 6.6).As part of the process to ensure we are on the right track, I have successfully upgraded to the minor release: OpenSTLinux release v4.1.0 (Linux 5.15-stm32mp-r2.2), and it is functioning as expected. The next step is to proceed with the upgrade to Ecosystem v6 (Linux kernel 6.6).In preparation for this, I regenerated the DTS files using STM32CubeMX_6.13.0 and loaded the existing .ioc file. While regenerating the DTS files using STM32CubeMX_6.1.3 and loading the existing .ioc file, I selected the Migrate option when prompted by the tool. Could you please confirm if this is the correct choice, or would selecting Continue be more appropriate in this case?Current Setup:I am now attempting to recompile the following components with updated versions:TF-A: v2.8-stm32mpOP-TEE: 3.19.0-stm32mpU-Boot: v2023.10-stm32mp Issue Encountere
When trying to attach to M4 upon Linux boot (autoboot=1), it fails to bind resources:Remoteproc driver attempts to probe m4 resources, but all are waiting for pinctrl@50002000 which does not appear before remoteproc probe has timed out. I can see in the logs that pinctrl is itself waiting for other suppliers to initialize.This issue appear only when M4 has been started from U-boot, which makes me thinking that something is not cleared properly when M4 detaches. Would appreciate any hints.
Hi Team We are looking for Processor or Controller which supports EtherCAT G and SPIAwaiting Your Reply ..
I am working with the STM32MP1 and using the STM32MP1 Ecosystem v6.0.0, Developer Package. have successfully enabled and configured the tamper detection feature using OP-TEE and the device tree. The tamper detection works as expected when the device is powered on. However, I am facing difficulties in detecting tamper events while the device is powered off.I want to detect tamper events even when the device is powered off. From my understanding, the TAMP (Tamper) unit and RTC can operate from the VBAT domain, allowing tamper detection in power-off states. However, I have not been able to achieve this functionality. Enabled the TAMP unit and configured the tamper pins in the device tree.stm32mp135f-dk.dts: &tamp {st,tamp-passive-nb-sample = <4>;st,tamp-passive-sample-clk-div = <16384>;st,tamp-passive-precharge = <4>; //wakeup-source;//wakeup-parent = <&exti>; /* Tamper button */tamp-button {tamper-gpios = <&gpioc 3 GPIO_PULL_UP&g
Hi,In Vbat mode (No Vdd), is it possible to pull up the tamper pins and detect tamper in High-Level.We did it in run mode. We enabled the pullups on the tamper pins which are connected to a detect switch. We detect tamper and erase backup registers when the switch released.But in VBat mode. We couldnt succedded.We are runing Passive tamper with precharge enable and trig on. Only PC3,PF10 and PI2 pins are available on the board for tamper inputs. We configure the tamp block both in Optee and TFA with same configuration.Below is our device tree for both Op-tee and TFA configuration. &tamp { st,tamp-passive-nb-sample = <4>; st,tamp-passive-sample-clk-div = <16384>; st,tamp-passive-precharge = <4>; wakeup-source; wakeup-parent = <&exti>; /* Tamper button */ tamp-button { tamper-gpios = &l
Hello,We are trying to run Tamper block in VBat (Vsw) mode. When we powered off the device, Vbat pin consumes 3 - 5uA from the battery as specified in device user manual.As we understood from the documentation, the source of Vsw domain (either Vbat or VDD) is switched automatically by internal switch harware, so zero power consumtion is expected from battery when VDD is on. In our custom board, when the board is powerd-up, VDD is on, VBat pin's power consumtion from battery increases up to 50-60uA. Any recomendation about hardware or software would be very helpfull. -The PDRON pin is pulled-up to VDD on the schematics. - Battery is CR1216 - 3V Lithium Manganese Dioxide- Battery is connected to the Vbat pin directly, no serial diode,resistor, etc...- Battery cahrging feature is not enabled form device tree.
Hello everybody,i use "meta-st-x-linux-qt" with "meta-qt6" on STM32MP157https://github.com/STMicroelectronics/meta-st-x-linux-qtwhen I use "QMediaPlayer" to play an audio file it gives me the following error: could not load multimedia backend "ffmpeg" QtMultimedia is not currently supported on this platform or compiler. Aborted (core dumped) if I understand correctly, "ffmpeg" would be missing on my platform, how can I add it to yocto when generating it?Thank you very muchLoupi
I am developing a new board and would like to know if the STPMIC25 is recommended over the STPMIC1 as a PMIC for STM32MP157 MPU.Which one should I choose?Thanks.
While reviewing the schematic of the STM32MP157 EVAL development board, I came up with the following questions:I apologize in advance if the translation isn’t perfectly accurate as I used a translator.The Line Out JACK (CN4) outputs via coupling capacitors from SPKOUTLP (A2, B3). Why are the Line Out pins (B5, B4) not used instead?The codec supports differential audio output, but why is the negative pin not connected? (Wouldn’t it prevent distortion if the signal is converted to single-ended using an op-amp before connecting to the audio jack?)Why are the Speaker Out pins used instead of the Line Out pins? (Is it because of the built-in amplifier, or is there another specific reason?)I have some additional questions regarding the microphone circuit. (Sorry if these are silly questions!)If I am using a digital microphone (IMP34DT05TR), can I apply a different power supply (3.3V) to the microphone module instead of the MIC bias voltage from the audio codec (A7, B6), and leave the bias pi
I am trying a simple CM33 ELF test. This one just has the STM32CubeMX boilerplate for the CM33 (non secure). I added a toggle on GPIOJ[6]. I stripped out a ton of the inits leaving just the GPIOJ[6] and pin toggle. after the seq below LED3 *does* toggle.But... the system watchdogs after ~30secs. How to kick off a CM33 program and not have start hang?Is there some way the CM33 can tell the CA35s to keep going and leave the CM33 running?echo -n /home/hedley > /sys/module/firmware_class/parameters/pathecho start >/sys/class/remoteproc/remoteproc0/state <<<<<<<< this will not return to the prompt... hang./home/hedleylrwxrwxrwx 1 hedley hedley 27 Jan 20 16:50 rproc-m33-fw -> test_mp2_CM33_NonSecure.elf-rwxr-xr-x 1 hedley hedley 3216664 Jan 20 16:51 test_mp2_CM33_NonSecure.elftnxHedley
Hello, I would like to know if it is possible from a stm32mp135-dk1 card to put a game emulator for example NES games, gameboy,... if so how to do it? Can we start from the image that we can generate on stm32mpu ecosystem (openstlinux under yocto)How can i do it ?
There is a problem about PLL3 while using engineering mode on STM32MP157A-DK1 board. By STM32CubeMX, I configed the clock of M4 core, using PLL3P to get 209MHz, generated code, rebuild it and entered the debug mode. But it shut down and get into an Error. I debuged it bt step, found that it failed in the intial function HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct). When it get to configure PLL3, failed and enter the error. So what I missed? May someone can help me. Thanks!
Hello, I'm trying to remove the packages which is not required to free up the memory.I tried modifying the layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb file with the below code, But it couldn't help.Here i tried to remove the alsa packag.#To Disable the ALSA PackageIMAGE_INSTALL:remove = "\alsa-conf \alsa-plugins \alsa-state \alsa-state-script \alsa-state-stm32mp1 \alsa-states \alsa-topology-conf \alsa-ucm-conf \alsa-utils \alsa-utils-aconnect \alsa-utils-alsabat \alsa-utils-alsactl \alsa-utils-alsaloop \alsa-utils-alsamixer \alsa-utils-alsatplg \alsa-utils-alsaucm \alsa-utils-amixer \alsa-utils-aplay \alsa-utils-aseqdump \alsa-utils-aseqnet \alsa-utils-iecset \alsa-utils-midi \alsa-utils-scripts \alsa-utils-speakertest \"How can I remove the package. Thanks and Regards,Ezvan.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.