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
Sorry if I have come to the wrong group. I am searching for information on why a font would work with some code that already exists and what if the best way to visualise this. Tried a number of softwares and sites but none provide the array that I'm looking for.What sizes are commonly the best way to go?I have tried this font http://www.suwa-koubou.jp/micom/NtpClock/source/font16x24.hIt works in my application, but I am looking for the next sizes up that would work. Is there an EXCEL sheet that would work, Or one that I can input the array and view the result?I need it for my project.I found a 16x24 font that can replace the one above ------ http://www.longlandclan.yi.org/~stuartl/stm32f10x_stdperiph_lib_um/fonts_8c_source.htmlBut it is smaller. Can you help?Rosalin
Only the power supply via USB C CN6 allows booting with detection of the presence of voltage on GPIO PA5 and PA4. Is there a way to modify this control mode and be able to boot with a CN2 power supply? Is it possible to modify the FW so as not to read the two GPIOs ? Thank for help.
I am evaluate the STM32MP157C-DV2 board.I have disabled the weston service by referring to the link below.https://community.st.com/s/question/0D53W00000cSKmXSAW/disable-weston-autostart-in-stm32mp157cdv2When boot with the weston service disabledThe two images below appear sequentially.I want to customize the boot screen to the image I want.I found the above images in the path below.layers/meta-st/meta-st-openstlinux/recipes-graphics/wayland/weston-init/Although I did find the path of the default boot images, I think it has nothing to do with weston-init because the weston service is inactive.The psplash recipe exists in the path below.layers/meta-st/meta-st-openstlinux/recipes-core/psplash/psplash-drm layers/openembedded-core/meta/recipes-core/psplashWhat recipe do I have to override in my custom layer to change the boot screen?
�?러메시지 입니다.Can not connect to target!Please select "Connect Under Reset" mode from Target->Settings menu and try again.If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.연결�?관한 좀�?� �?세한 정보는 알수없는지요?
Hi,AN5122 in paragraph 3.2 recommends to use 33 ohm serial resistor for every A/C of the DDR chip, but the STM32MP1_SeriesDDRmemory_routing_guidelines_examples.zip in STM32MP15XXAA_1DDR3Lx16 example there are NO serial resistor. Can I use this layout example? Is it tested? or it is better to add 33 ohm resistors. In the latter case A/C includes all addresses plus bank addresses, CKE, CASN, CSN, RASN, WEN and ODT?Thank you for any suggestions.
I've been using the Windows version of STM32CubeIDE for a while but had to switch to the Linux version to work with the STM32MP157A chip (since it has an MPU to work with). I am currently working with V1.6.0 on Debian. Currently, I'm trying to organize it a bit so it's a bit more usable but I'm having trouble resizing any of the windows. It doesn't seem to allow me to make changes to, say, the divider between the project explorer and the code window. it just feels like everything is locked into place. If I detach and try and drag it to one side, it doesn't appear to "dock" correctly and, instead, just blocks other windows. Maybe this is just because Linux doesn't work well with the interface and there's nothing that can be done but I wanted to check and see if there's a way to resize windows so it's usable. It's kind of a mess to work with right now. Any help you can give me would be greatly appreciated. Thanks!
I am using STM32CubeIDE in Ubuntu20.04.If you create the STM32MP1 project in STM32CubeIDE for Ubuntu, it asks if you want to install the OpenSTLinux SDK. And I have installed it and am using it.However, in STM32CubeIDE for Windows, if you ask if you want to install the OpenSTLinux SDK, it indicates that the installation can only be installed on Linux, and installation is not possible.If you look at the attached picture, you can see the OpenSTLinux SDK Manager menu in STM32CubeIDE for Ubuntu, but there is no that menu in STM32CubeIDE for Windows.I want to develop STM32MP1 Firmware in STM32CubeIDE for Windows because it is inconvenient and slow to use the virtual machine, but I wonder if there is any problem even if I do not install the OpenSTLinux SDK and develop the firmware.
Hello everyone!I had an application that was originally designed to run on a STM32WB55 but found it didn't have the resources we needed for it. The STM32MP1 seems like it has the potential to be a good fit for us as we could do the sensor processing on the M4 and some of the higher level calculations on the A7.Our plan was to have the chip asleep until it received a wakeup signal from a sensor and then most the code was running from the M4. Once it had completed its data collection, it would do the processing from the A7. We're still in the planning phase (to determine if this is the right processor for this application) but the issue I'm having trouble navigating is the low power modes. Below are some of the questions I have:1) If I'm having code running on the M4, is it possible to put the A7 into a low power mode (like standby or stop)? I believe this would be possible according to page 134 of the datasheet (which seems to show this capability). 2) What is the recommended mode to ru
I tried to probe g_multi to make sure that USB Composite was available.modprobe g_multi file=/dev/mmcblk0The log of the probe is as follows[ 501.458553] using random self ethernet address [ 501.461560] using random host ethernet address [ 501.480605] Mass Storage Function, version: 2009/09/11 [ 501.484304] LUN: removable file: (no medium) [ 501.515744] LUN: file: /dev/mmcblk0 [ 501.517783] Number of LUNs=1 [ 501.560034] usb0: HOST MAC 96:65:3d:8e:f3:8b [ 501.568658] usb0: MAC 26:dd:85:00:0d:0b [ 501.574102] g_multi gadget: Multifunction Composite Gadget [ 501.584802] g_multi gadget: userspace failed to provide iSerialNumber [ 501.589796] g_multi gadget: g_multi ready [ 501.593808] dwc2 49000000.usb-otg: bound driver g_multAfter that, when I connect the usb, the following message appears and I cannot use it. [ 514.697458] dwc2 49000000.usb-otg: new device is high-speed [ 514.730608] dwc2 49000000.usb-otg: new address 29 [ 514.915961] g_multi gadget: high-speed config #1: Multifunction w
I noticed that even if I create a new project using STM32CubeMX IDE for STM32MP157F-EV1 board, in the clock configuration, the MPUSS_CK is 650MHz. In Linux, I can see the CPU frequency is 650MHz only. How can I clock the CPU to 800MHz as supported by the SoC?
Hello everyone,I am currently working with phyCORE-STM32MP1 which has a STM32MP157C mounted.It runs with OpenSTLinux, but it is a modified distribution by Phytec.I have very little experience with handling Device Tree and drivers and my problem is that I am trying to connect an STEVAL-STWINMAV1 to the I2S pins of the STM32MP157C, including the I2C port to control it, but I am having serious problems with being able to make it work with the modifications that I do in the "Device Tree".By default in this I2S port comes the configuration to connect a TLV320AIC3007 from Texas Instruments, I am commenting on the code that configures it and trying to get it to take the ADAU1978 drivers, which I think are compiled in the OpenSTLinux image.I attach the portion of code that I am editing in the ".dtsi" file and just to corroborate the portion of code in which Phytec configures the pins in their respective ".dtsi" fileThe pinout configuration, I hope someone can guide me to the solution bec
I have found many tutorials for how to import the example projects into stmcubeide but have not seen much information on how to set up a new M4 project? I have been able to import the OpenAMP_TTY_echo example into stm32cubeide and debug fine but I am having issues setting up a new project. I want to setup a new project because I want a .ioc project file in order to easily setup timers and interrupts and the OpenAMP_TTY_echo example is missing some of the HAL driver libraries. I was able to create a new project selecting the board as STM32MP157c-DK2 but the build button is grayed out for the project? I am using the distribution package, specifically the st-example-image-qt image.
I am teaching a course in real-time embedded systems and in the past have used the STM32F4 MCUs running FreeRTOS, but would like to move to a microprocessor, specifially an STM32 MPU starter kit for students. So, does the STM32 MPUs support for a Real-time OS such as FreeRTOS. I see where the STM32MPU starters already provide embedded Linux but trying to find out if we could run FreeRTOS instead without too much difficulty, since it will be the students who will be configuring their own boards.Any tips/hints would be greatly appreciated.
I want to control defined GPIO in DT in Applicatoin code. But I can't control this, please let me know how to control gpio with DT in applicatoin. 1) I can control GPIO in Application without DT . (unused at gpioinfo)2) I can't control GPIO in application with DT, like below. gpioinfo line 14: unnamed "stm32mp:green:user" output active-low [used] occurred error massage when running application code Failed to issue GET LINEHANDLE IOCTL (-25)Failed to issue GPIOHANDLE_SET_LINE_VALUES_IOCTL (-25)Failed to issue GPIOHANDLE_SET_LINE_VALUES_IOCTL (-25)Failed to issue GPIOHANDLE_SET_LINE_VALUES_IOCTL (-25) reference code https://wiki.st.com/stm32mpu/wiki/How_to_control_a_GPIO_in_userspaceDevice Tree - add green led led { compatible = "gpio-leds"; blue { label = "heartbeat"; gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; green { label = "stm32mp:green:user"; gpios = <&am
Hi,we have a custom board based on the stm32mp151c. It has on sdmmc3 a Silicon Labs WF200 Wifi Card attached. We tested this setup with the stm32mp157c-dk2 and it worked fine. Now, we do not see the message during bootup:mmc0: new high speed MMC card at address 0001Which we should and which triggers the loading of the silicon labs driver. If I reset the sdmmc with: echo 48004000.sdmmc > /sys/bus/amba/drivers/mmci-pl18x/unbind && sleep 2 && echo 48004000.sdmmc > /sys/bus/amba/drivers/mmci-pl18x/bindThe card is found. This is the bootup, yellow is the reset GPIO, green is the sdmmc3 D2 pin, which must be high for the wf200 card to go into SDIO mode instead of SPI. Orange is clock. This happens at boot:And this is the behavior on manual reset after bootup:Thanks and Regards, Matthias
Dear Community,we are bringing up our own HW platform based on the STM32MP151A MPU. The use-case currently is that we obtain data permanently over several hours and store it on a sd card at a speed of max. 15MByte/sec. After the data acquisition we want to read out the data from the system as fast as possible without removal of the SD Card (not possible) via Gigabit Ethernet. The problem is that we just learned in the latest errata sheet that SDR104 mode should be avoided (Errata Link 2.3.19) . This would mean that we need to fall back to SDR50/DDR50 with 50MByte/sec max which would mean that the effective read out speed is theoretically limited by the SD Card interface at around 400Mbit at SDR50 instead of 832Mbit at SDR104.Is there any way to enable SDR104 mode (for 104MByte/sec datarate) or is there aplan to e.g. update the silicon to solve this issue?BR,Bernhard
..
I see below that an OpenAmpFreeRtos_Echo sample for STM32Cube was created which loads FreeRtos on the M4 and communicates via OpenAmp:https://community.st.com/s/question/0D50X0000BI0vctSQB/freertos-does-not-run-on-stm32mp1-m4-core?t=1615759904082 Does a similar demo exist for NuttX? Or, is a similar demo coming for OpenAmp and NuttX on the M4?https://cwiki.apache.org/confluence/display/NUTTX/NuttX+And+OpenAMP?preview=/152112290/152112291/OpenAMP.pdf
This is might save someone the few hours I spent tracking this down. I am wondering if this is a bug. It would seem like a reason that you have m4 sections in the device tree. So linux can be aware not to touch an M4 resource. Linux shuts off the vdda shortly after booting thinking no one is using vdda and then it seems like the DAC is not working as we control it from M4.So I am not sure if this is considered a bug or not. The solution is to set vdda as "regulator-always-on"&m4_dac{ pinctrl-names = "default"; pinctrl-0 = <&m4_dac1_pins_mx>; status = "okay"; vref-supply = <&vdda>; // Does not prevent vdda from being shut off. };vdda:ldo5{ regulator-name = "vdda"; regulator-min-microvolt = <2900000>; regulator-max-microvolt = <2900000>; interrupts = <IT_CURLIM_LDO5 0>; regulator-always-on; // <--added };
I am evaluate the STM32MP157C-DV2 board.I tried to disable the automatic start of the weston service by referring to the wiki below.https://wiki.st.com/stm32mpu/wiki/How_to_stop_and_start_Westonroot@stm32mp1:~# systemctl disable weston@root.serviceroot@stm32mp1:~# rebootbut it does not work properly.Still the weston service will run automatically and a demo application will appear.Status is static after disable as shown below.root@stm32mp1:~# systemctl disable weston@root.serviceroot@stm32mp1:~# systemctl status weston@root.service[[0;1;32m*[[0m weston@root.service - Weston Wayland Compositor (on tty7) Loaded: loaded (/lib/systemd/system/weston@.service; static; vendor preset: disabled) Active: [[0;1;32mactive (running)[[0m since Fri 2021-03-05 06:00:23 UTC; 16min ago Main PID: 3884 (weston) Memory: 792.0K CGroup: /system.slice/system-weston.slice/weston@root.service &nbs
Hello,My app running on M4 uses adc. It starting at kernel boot process using systemd. After some time kernel poweroff vdda and vref while my app is running[ 14.173564] remoteproc remoteproc0: powering up m4[ 14.308543] remoteproc remoteproc0: Booting fw image OpenAMP_TTY_echo_CM4.elf, size 2541404[ 14.361095] virtio_rpmsg_bus virtio0: rpmsg host is online[ 14.370223] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty-channel addr 0x0[ 14.389900] mlahb:m4@10000000#vdev0buffer: registered virtio0 (type 7)[ 14.399505] rpmsg_tty virtio0.rpmsg-tty-channel.-1.0: new channel: 0x400 -> 0x0 : ttyRPMSG0[ 14.408052] remoteproc remoteproc0: remote processor m4 is now up[ 14.422284] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty-channel addr 0x1[ 14.455735] rpmsg_tty virtio0.rpmsg-tty-channel.-1.1: new channel: 0x401 -> 0x1 : ttyRPMSG1[ 34.411305] vref: disabling[ &
Hi,i have done some Benchmarktest via Rpmsg and iam getting following results:Maximal datarate sending data from M4 to A7 4.359 MB/s.Maximal datarate sending data from A7 to M4 9.16 MB/s.Now iam not sure why reading from A7 side is so much slower than writing, because you always get an interrupt back doesnt matter if you are sending or reading data. I have following thougths about that and also a question:If Linux receives an Interrupt from IPCC, is Linux handling the Interrupt directly or will the functions executed later from a worker-thread? This would be nice to know.The reading function seems to be more complicated and needs more ecextuion time than just writing?!Maybe someone already have some thoughs or answers to that.
Hello everybody,i have a problem booting the SD card. The problem occurred after I copied the device tree (.dtb) from my project from STM32CubeMx to the STM32MP157A under / boot. When booting, the U-Boot and the start kernel run endlessly. How can I solve the problem?Thanks a lotHere is the output from the board:U-Boot 2018.11-stm32mp-r2 (Nov 14 2018 - 16:10:06 +0000)CPU: STM32MP157AAC Rev.BModel: STMicroelectronics STM32MP157A-DK1 Discovery BoardBoard: stm32mp1 in trusted mode (st,stm32mp157a-dk1)Board: MB1272 Var1 Rev.C-01 Watchdog enabledDRAM: 512 MiBClocks:- MPU : 650 MHz- MCU : 208.878 MHz- AXI : 266.500 MHz- PER : 24 MHz- DDR : 533 MHz******************************************** WARNING 500mA power supply detected ** Current too low, use a 3A power supply! ********************************************NAND: 0 MiBMMC: STM32 SDMMC2: 0In: serialOut: serialErr: serialNet
I see that the OpenAMP_TTY_echo example uses the stm32mp15xx_retram.icf file in the EWARM. But thereis also an stm32mp15xx_sram.icf file. Can someone please point out the differences between the two ic files and why the OpenAMP example used the retram and not the sram location?
After importing from the repo (1.3) the application example FreeRTOS_CreateThread_CM4 when loaded for debugging, the debugger fails to set breakpoints complaining that there are already too many break points set. I only set one. It looks like the application is running as I can pause the debugger and see where the code is currently executing. I can resume the application as well. Also the LEDS do not come on which is why I am trying to break point the code. Is there something special about FreeRTOS running on CM4 that precludes the use of breakpoints? I am using:STM32MP157-DK2STM32CubeIDE on Linux
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.