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'm trying to connect the MP157c-DK2 board in Engineering board. The st link is connected on the CN11 connector.On the st link utility it says detection failed and does not recognize the device.
I want to exchange large data buffers with the coprocessorI have tried following wiki page.https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_principle#User_space_interfaceI tried to bitbake, but I have an error.= Steps =$ cd [my Distribution Package Directory Path]/layers/meta-st/$ git clone https://github.com/STMicroelectronics/meta-st-stm32mpu-app-logicanalyser.git -b dunfell$ DISTRO=openstlinux-weston MACHINE=stm32mp1-demo-logicanalyser source [my Distribution Package Directory Path]/layers/meta-st/scripts/envsetup.sh$ bitbake st-image-weston= Error =ERROR: Layer stm-st-stm32mp-app-logicanalyzer is not compatible with the core layer which only supports these seriesAre there missing something in my steps?Best Regards.H Masuda
I am getting the following error when trying to build tf-a, u-boot, or the linux kernel (the following is when trying to bitbake tf-a-stm32mp):make: *** No rule to make target 'fdts/stm32mp153a-raichu-cubemx-mx.dts', needed by 'build-openstlinuxtkrt-stm32mp1-raichu-cubemx/tmp-glibc/work/stm32mp1_raichu_cubemx-ostl-linux-gnueabi/tf-a-stm32mp/2.2.r1-r0/build/trusted/fdts/stm32mp153a-raichu-cubemx-mx.dtb'. Stop.It seems that the variable CUBEMX_PROJECT is being ignored in my machine conf file, because it is searching in the tf-a source folder for my DTS files. How do I tell yocto to use the DTS files in my layer's "mx" folder?Here's the directory listing of my layer:meta-raichu ├── conf │ ├── layer.conf │ └── machine │ └── stm32mp1-raichu-cubemx.conf ├── mx │ └── raichu-cubemx │ ├── CA7 │ │ └── DeviceTree │ │ └── raichu-cubemx │ │ ├── kernel │ │&n
hi, I need to stop some peripherals within m4 core before linux stop command:echo -n stop > /sys/class/remoteproc/remoteproc0/statehow can I manage that ?tnx.
Hi ST Teams,I'm building successfuly an image "st-image-core", for stm32mp1 machine.I'm able to add python package and remove some package too.But unfortunately, My team who works on M4 copro can't connect anymore on it.If i made a sd card with starter kit on it, M4 can connect (ie debug run & so on)If i made my st-image-core, it can't.Is there any special "append" to add to my distro in order to get things works?I'm using SDK 1.2Thanks in advance.
..
Hi, I'm porting ADC on M4, but some how the converting result is odd value always, seems the DR bit-0 is always '1'. I tested it by VR, range from 0v to 3.3v, the ADC suppose to convert it from 0 to 255, but I don't know why, I just get odd value back, like 1, 3,5....197,199,201....255. No even number at all.---------------------------------------------H/W configuration:ADC Input: ANA0Vref+ = 3.3V---------------------------------------------Here are the ADC configuration...int SensorAdc_Init(void){ ADC_ChannelConfTypeDef channel_cfg; hSensorAdc.Instance = ADC1; hSensorAdc.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2; hSensorAdc.Init.Resolution = ADC_RESOLUTION_8B; hSensorAdc.Init.ScanConvMode = ADC_SCAN_DISABLE; /* Sequencer disabled (ADC conversion on only 1 channel: channel set on rank 1) */
I want to do audio recording an cm4,but dont know how to config the codec, Is there an audio recorder example?
Hi, All.Program fuses values is a delicate task. I would like to confirm that it is possible to program PKH(Public Key Hash) using STM32_Programmer_CLI.The PKH is stored in OTP WORD 24 to 31For example: Set the value 0x9ffd3d2f into the word 24 (0x18) [pkh0]STM32_Programmer_CLI -c port=usb1 -otp program wordID=0x18 value=0x9ffd3d2fIs this right?Is there a specific command to close the device from STM32_Programmer_CLI?Thanks!
After opening the https://github.com/STMicroelectronics/meta-st-stm32mp/tags page, there are no links that download a meta-st-stm32mp tar.gz file. Instead, the links point to openstlinux-***.tar.gz, which does not contain any meta-st-stm32mp content. The openstlinux-***.tar.gz links are the same links found on the https://github.com/STMicroelectronics/meta-st-openstlinux/tags page.
Hi everyone,STM32MP1 ROM Code has default AF mux for SPI_NOR/NAND like this:QUADSPI_CLK -> PF10 (AF9)QUADSPI_BK1_NCS -> PB6 (AF10)QUADSPI_BK1_IO0 -> PF8 (AF10)QUADSPI_BK1_IO1 -> PF9 (AF10)I want to remap to the new pins using the OTP CFG5..7The poinst is, what is the order of usage.Which part of which word should be assigned to which function.My used pins like this:QUADSPI_CLK -> PG7 (AF9)QUADSPI_BK1_NCS -> PB10 (AF9)QUADSPI_BK1_IO0 -> PD11 (AF9)QUADSPI_BK1_IO1 -> PF9 (AF10)so how should be seen the OTG Word 5 .. 7? My decision is like that. but i want to make sure it is true.CFG5: 0x77912A97CFG6: 0x4B9169A1
My device tree configuration { spdif_out: spdif-out { #sound-dai-cells = <0>; compatible = "linux,spdif-dit"; status = "okay"; spdif_out_port: port { spdif_out_endpoint: endpoint { remote-endpoint = <&sai4a_endpoint>; }; }; }; spdif_in: spdif-in { #sound-dai-cells = <0>; compatible = "linux,spdif-dir"; status = "okay"; spdif_in_port: port { spdif_in_endpoint: endpoint { remote-endpoint = <&spdifrx_endpoint>; }; }; }; sound: sound { compatible = "audio-graph-card"; label = "STM32MP1-DK"; routing = "Playback" , "MCLK", "Capture" , "MCLK", "MICL" , "Mic Bias"; dais = <&sai2a_port &sai2b_port &sai4a_port &spdifrx_port &i2s2_port>; status = "okay"; }; }; &i2c4 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c4_pins_a>; pinctrl-1 = <&i2c4_pins_sleep_a>; i2c-scl-rising-time-ns = <185>; i2c-scl-falling-time-ns = <20>; status = "okay"; /de
Hi, I try upload Openstlinux-5.4-dunfell-mp1-20-06-24 in a stm32mp157c-ev1(Nand).I used STM32_Programmer_CLI version 2.3.0 and I get the next error:------------------------STM32_Programmer_CLI ---------------------------------reconnecting the device ...USB speed : High Speed (480MBit/s)Manuf. ID : STMicroelectronicsProduct ID : USB download gadget@Device ID /0x500, @Revision ID /0x2000, @Name /STM32MP157CAA Rev.B,SN : 0026003D3338510439303435FW version : 0x0110Device ID : unknownStart operation done successfully at partition 0x03Memory Programming ...Opening and parsing file: tf-a-stm32mp157c-ev1-trusted.stm32 File : tf-a-stm32mp157c-ev1-trusted.stm32 Size : 241984 Bytes Partition ID : 0x04 Download in Progress:Error: failed to download Segment[0]Error: failed to download the FileTime elapsed during download operation: 00:00:30.005Er
The debugger returns an error Failed to execute MI command target temote 3333
hi everyoneI'm trying to search for a certain char array(say char Temp[]) within a lager array in this case, char Rcv[500]. here is my codeint scanRcv(char *Temp){ int ii=0; for(int i=0;i<RcvLength;i++){ while(Rcv[i]==Temp[ii]){ ii++; if(ii==strlen(Temp)) { return 1;} else {return 0;} ii=0; } }but I don't know why it doesn't work and does not return 1, though I think the code works....I also tried this code too but it didn't work eitherint scanRcv(char *Temp){ if(strstr(Rcv,Temp)!=0) { return 1; } else { return 0; } }please help
Linux kernel version is "stm32mp1 5.4.31 "
I want to know the memory size of STM32MP151CAA3 that Coprocessor(Cortex-M4) can use.https://wiki.st.com/stm32mpu/wiki/Boot_chains_overview#STM32MP15_boot_chainthis wiki page says that coprocessor(Cortex-M4) program loaded in MCUSRAM(384kB).Does this means that the maximum size of "program and using data" of Coprocessor(Cortex-M4) program is up to 384kB?In this case, If I want to run a program with a size larger than 384kB on coprocessor(Cortex-M4), is there workaround such as using external memory?Best regards.H. Masuda
I'm bringing up a custom STM32MP15x-based design, and I'm encountering what looks like stack corruption issues in U-Boot (and I can't get a kernel to boot).Symptoms:I've enabled early debug printing, and get the following output:U-Boot SPL 2020.04-stm32mp-r1 (Aug 15 2020 - 13:11:31 -0500) Model: STMicroelectronics STM32MP157A-DK1 Discovery Board RAM: DDR3-1066/888 bin G 1x4Gb 533MHz v1.45 Trying to boot from MMC1At this point, the console hangs for a really long time. Looking at the UART on a logic analyzer, I see that during this time, it's printing seemingly gibberish characters at 1750 baud (which my USB-to-serial converter is ignoring due to the framing errors caused by the wrong baud). I did some brief JTAG investigations, and somewhere along the way, something calls printf() on a character buffer that's corrupted (so it doesn't encounter a null-terminating character for a very, very, very long time).Eventually, it will print something like this:▒▒*aQ▒rrr▒In: serial Out: serial Er
Hi The terminal printing information is as follows. This TF-A will start properly in EMMC. In the docs/plat/stm32mp1.rst file, I saw that USB is not supported. May I ask how to modify it so that it can be burned via USB Regards User.44
Hi All.I am currently using STM32MP15-Ecosystem-v1.2.0. for DK2. At the moment I don't plan to completely upgrade to v2.0.0 but I would like to test the new kernel version (5.4.31). I have compiled the new kernel version and a new device tree but once the kernel is loaded into memory, no trace of the kernel log is shown and the system doesn't start.Is there any dependency between kernel and u-boot (and maybe TF-a) that makes it necessary to upgrade both?
Hi: I'm testing the host mode.I follow the wiki steps to configure hostspot:https://wiki.st.com/stm32mpu/wiki/How_to_configure_a_wlan_interface_on_hotspot_mode.This was giving me the following out-put . I couldn't find what makesthis problem. I am thankful if you can help me to sort out this.# hostapd /etc/hostapd.conf -BConfiguration file: /etc/hostapd.confwlan0: Could not connect to kernel driverUsing interface wlan0 with hwaddr c0:84:7d:b6:6b:3e and ssid "test"[ 9014.137503] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes readywlan0: interface state UNINITIALIZED->ENABLEDwlan0: AP-ENABLED
hi i am using stm32mp157caa3, there is a i2c slave operating at 3v3, while design, we have not connected( "forget")pull up line on i2c clk and data line, so i tried enabling open-drain internal pull up in dtsi , but i2cdetect is not able to find the slave devicedtsi : pins { pinmux = <STM32_PINMUX('H', 11, AF5)>, /* I2C1_SCL */ <STM32_PINMUX('B', 9, AF4)>; /* I2C1_SDA */ bias-pull-up; drive-open-drain; slew-rate = <1>; &n
I have a problem with running the software on the Cortex-M4. Probably the default device tree configuration does not start the m4 core. Has anyone used a SoMlabs board and tried to run software on the Cortex-M4 core?
I know that to get PPS output on the Ethernet PPS Pin PG8 that the device tree has to configure the pin for AF11. I also believe that PPS has to be enabled somehow? On some embedded Linux systems there is a /sys/class/ptp/ptp0/pps_enable variable to enable the PPS output with PTP but I am not seeing it. I also see PPS code such as the dwmac5_flex_pps_config function in the stmmac Ethernet driver. What tells OpenSTLinux to enable PPS? Is there a variable that needs to be set using setvar at boot? I have utilized the LinuxPTP recipe and can run ptp4l in OpenSTLinux. If we can get it working on the STM32MP1 we desire to use the PTP PPS signal synchronized to a PTP master. We are using the STM32MP157C-DK2 for evaluation.
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.