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
..
hello,I'm a new member here so if i am uploading this question in a wrong way please notify me.i am working at the moment with octavo board OSD32MP15x that integrates the STM32MP15x dual core Arm cortex A7 and an arm cortex m4.i am trying to run a simple example with HAL_SPI_TransmitReceive_DMA() just to transmit and receive the same byte every time. the code is not showing me any errors when building but when i use the logic analyser there is no data transmission or reception. i added the dma_rx and dma_tx requests using the the ioc file and working with the circular mode in both cases. is there any suggestions as to what might be the reason behind it ?PS: the same example with HAL_SPI_TransmitReceive() worked just fine.thank you in advance!
Hi,We are using stm32mp157a processor in my custom board.I need to select SPI2_NSS for PB9 But when i configure PB9 as SPI2_NSS it is not configured as SPI2_NSS.We are unable to enable Hardware NSS signal Option in Stm32 cube MX but it is mentioned in Data Sheet.How can i come out of this?Thank You.
On the host computer, i try to connect the terminal to the STM32MP157F-EV1 board using ssh with Ethernet cable but I can't access I use STM32MP157F-EV1 board. I set manually the IP adress of board with Board $> ifconfig eth0 uuu.***.yyy.zzzthen I try connect ssh root of board with this command on my Terminal:ssh root@xx.xx.xx.xxand then I get ssh: connect to host xx.xx.xx.xx port 22: Connection timed out error. How i can fix this issue. Can anyone help me?Kind regards
I followed the guide from the following ST's video: https://www.youtube.com/watch?v=PsiFDHH87vo&t=407s In the guide, the A7 core is initiating the communication. I have been playing with the code to make M4 the one to initiate the communication, but still no luck.Any guidance would greatly be appreciated.
I was generate key-pair (privateKey.pem, publicKey.pem) by STM32MP_KeyGen_CLI and also got publicKeyhash.bin. After this i was sign FSBL TF-A bootloader and then make FIP (OP-TEE, U-Boot, configs) with "TRUSTED_BOARD_BOOT=1" option, kernel, rootfs. At now i have a question: is any easy way to put publicKeyhash.bin on device OTP (about hundred devices)?Usage "STM32_Programmer_CLI -c port=usb1 -otp program wordID=0xNNNN value=0xMMMM" command is not easy way, because absent command to read OPT. How to check programmed value after write, before lock device? And also need some script to convert "publicKeyhash.bin" to STM32_Programmer_CLI commands.How was solved this case on mass production?
Hi,I have a small problem during stm32mp1xxx bring up. The Uart4 is debug console and is connected to stlink v2.1 on virtual serial. The problem is that this stlink makes all the time interrupt U-Boot and stack in it (stlink not connected to USB). To go system father I need to connect stlink to USB and type 'boot'. I tried to addCONFIG_BOOTDELAY=-2 CONFIG_SILENT_CONSOLE=y CONFIG_SYS_DEVICE_NULLDEV=y CONFIG_SILENT_CONSOLE_UPDATE_ON_SET=y CONFIG_SILENT_U_BOOT_ONLY=ybut without success.In the hardware, I added pull up resistorsTo prove my theory I make a shortcut on resistor R58 and the system boot-up all the time.How to correctly resolve this problemThanks in advancedBR Michal
HiI try to implement a virtual UART communication between the A7 and the M4 on a STM32MP157 device based on OpenAMP. I used the OpenAMP_TTY_echo example from the cube firmware package and adapted it to my own board. The virtual UART is working. But there are log commands in the example like " log_info("Virtual UART0 OpenAMP-rpmsg channel creation\r\n");" and this messages are not printed.Is there a way to print this logs on the Linux terminal that is connected to the A7 or to forward it to an additional UART or something similar?Thanks.
Hi.... there Hope you all are doing well From past few days, I'm playing with STM32MP1I need to integrate the Quectel EG25G module with the image having ppp functionality To do so, i have enable ppp support at Make-menuconfig and build the image Now the problem is, after building the image from scratch, i haven't found the directory /etc/pppEven i have also try with the installation from apt-get But unfortunately, it's not working Any suggestions ?Thanks
Hi,I am using an official STM32MP157C-DK2 board.I tested to build OP-TEE 3.17.0 for stm32mp1 however the boot hangs.I am building OP-TEE OS using:make PLATFORM=stm32mp1 \ CROSS_COMPILE_core=arm-linux-gnueabihf- \ CROSS_COMPILE_ta_arm64=arm-linux-gnueabihf- \ CFG_ARM32_core=y \ CROSS_COMPILE_ta_arm32=arm-linux-gnueabihf- \ CFG_TEE_CORE_LOG_LEVEL=2 \ CFG_TEE_CORE_DEBUG=n \ CFG_EMBED_DTB_SOURCE_FILE=stm32mp157c-dk2.dtsThe full image (st-image-core) I am using is based on meta-st-stm32mp and open-stlinux (dunfell branch)The kernel is the one present in the meta layer: kernel (5.10.61)I am aware that an existing version of OP-TEE is present in the build however it's from version 3.12.0.I tried to build OP-TEE OS version 3.16.0 apart and include it in the final image and it works as expected.I investigated and the issue comes from the linux-stm32mp kernel patches because when I built the stable kernel based on the same version 5.10.61 without patches, it works with OP-TEE 3.17.0 without issu
Hi everyone,I'm new to using STM32MP1, in particular I bought a STM32MP157A-DK1 and I wanted to know if it was feasible to load Linux with the classic GUI, open a TCP-IP server and run some python code that I had already developed.Thank you all
Same situation as before - using a STM32MP157C based design + KSZ9021GN PHY but now actually wired for MII mode. Previous board was wired for GMII mode, even verified by Microchip/Micrel, not realizing the MPU did not support that mode (should have checked with CubeMX!) . So, we made the change to actually MII wiring into a different but similar board being designed at the time. That board is now being brought up. Again, PHY issue, but different this time and I hope its not another design error. I suppose there could be an assembly problem of course. I only have one board currently to test. Here is the TL;DR of the bootup relating to ethernet. Note "device missing", and we are at address 3. ... [ 2.510008] stm32-dwmac 5800a000.ethernet: PTP uses main clock [ 2.514391] stm32-dwmac 5800a000.ethernet: no reset control found [ 2.520607] stm32-dwmac 5800a000.ethernet: No phy clock provided... [ 2.527384] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42 [ 2.533753] stm32-dwmac
I am debugging a STM32MP1 boot but the bootrom does not manage to boot the FSBL from the SDMMC interface.I extracted the traces and ran the bootrom trace analyzer script. However, some of the error messages contain error codes for which I could not find an explanation.The relevant lines are:< @ 00981105 | [ERR ] - SD_OverallRetryCnt ( 0x00000003 ) > < @ 00981491 | [ERR ] - SD_InitDetailedErrorDesc ( 0x00000029 ) > < @ 00981907 | [ERR ] - SD_InitFailed >What do the hexadecimal codes mean (the 0x00000003 and 0x00000029)?In case it is needed, the full output from the script is attached.Thank you for your help
Hi,I want to perform the SSP process as detailed at:https://www.st.com/resource/en/application_note/an5510-overview-of-the-secure-secret-provisioning-ssp-on-stm32mp1-series-stmicroelectronics.pdf(I also went over the STM32_prog documents)I am now trying to program my HSMv2 card and I don't understand which file I need to provide in "Personalization data file"(Trusted Package Creator - HSM Tab)There are 2 options:STM32MP1_5000200A_SSP_01000000_00000000.enc.binSTM32MP1_5000300A_SSP_01000000_00000000.enc.binI don't understand which one I need to pickmy MPU is "STM32MP157CAB3" (Rev Z)is it 5000300 because of the "3" after the "CAB" ?The "5000" part I understand, I can see this value in the DFU device infoThe "200" vs "300" I don't understandAccording to the Docs, I need to know the product ID of my MPUAnd they suggest using "STM32_Programmer_CLI –c port=swd –gc "certificate.bin"" to find out this valuebut this command is failing:"an error occurred while uploading data from the virtual part
Our board is similar to STM32MP157C-DK2 Disco board - All the Developer packages has been installed, At the initial FSBL stage itself board is not booting whereas required power supply is provided, In which the Voltage (VDDCORE_1V2) value related to DDR circuit has fallen below Threshold voltage to 0.88V , so the voltages related to it has also went down to 0v. What is the solution to wake up the MPU ?
I’m new to the stm32mp1, I’m struggling to figure out how to get SDL2 working with OpenGL on the platform. I can create a window with SDL, but if I try to create an opengl window, I get a runtime error that GTX is not supported.I should note that my goal is actually to get an opengl context for drawing, SDL is not a hard requirement.Are there any existing examples to get something like that working?
Hello. I've been trying to make the ADC work in my stm32mp157f-ev1 board. It is my understanding that I need BSP to make it work because when I disabled BSP in the ADC example code I noticed receiving the same result as my code. When I try to add the BSP files provided in the mp1 package I get errors saying that the I2C_HandleTypeDef is not defined. I tried to work around the issue but to no avail. Is there something I'm missing that I should do or what? Thanks for any help provided
I want to ensure I've used the most optimized code. I'm using gcc on linux. I have 4 values to store. If I use an array, I can for() loop as a convenience and shorter code, but is there added overhead compared to just using separate variables and having a few more lines of repetitive code? Will using the for() loop use up more ticks? Sorry if I'm splitting hairs as I am not sure.So I am wondering if using:uint8_t varA1;uint8_t varA2;uint8_t varA3;uint8_t varA4;is faster than using:uint8_t varA[4]
[ 0.056781] Serial: AMBA PL011 UART driver[ 2.010824] stm32-usart 40010000.serial: interrupt mode for rx (no dma)[ 2.010858] stm32-usart 40010000.serial: interrupt mode for tx (no dma)[ 2.010901] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 56, base_baud = 4000000) is a stm32-usart[ 3.202640] stm32-usart 5c000000.serial: interrupt mode for rx (no dma)[ 3.207831] stm32-usart 5c000000.serial: interrupt mode for tx (no dma)[ 3.214512] 5c000000.serial: ttySTM1 at MMIO 0x5c000000 (irq = 57, base_baud = 4000000) is a stm32-usart[ 3.224238] serial serial0: tty port ttySTM1 registered
Hi!I use buildroot - NOT openstlinux.My M4 code works fine in engineering mode, but fails in production mode.I suspect that it is due to the device tree file.The DTS file generated by STM32CubeIDE has some pinmux assignments to "RSVD", which fails in my Linux build. It doesn't know the RSVD keyword.E.g. "pinmux = <STM32_PINMUX('Z', 0, RSVD)>, /* SPI1_SCK */"Is there another way to reserve these pins?Also, what is the difference between pinctrl and pinctrl_z sections?Best regards,Mogens
Hello, I have a problem with programming EMMC through USB. Everything seems to be ok but when in U-Boot USB change from DFU to Gadget on Linux side everything stack (lsusb - stack). Of course, programming processes interrupt as well. I'm not sure where I should look for a malfunction. After the system boot-up USB gadget works normally I'm able to login to the board through USB. So from a hardware point of view, it seems to be correct or maybe not. When kernel boot-up and the system starts there is no switching activity on USB just load the Gadget driver and start USB and it works. I'm not sure how the switching process on USB in U-Boot works. Part of my schematic is very simple So USB-C-ID is connected to PA13, with no connection to VBUS on the processor site. Maybe this VBUS is a problem or maybe the problem is in dts. Please suggest to me something where I should start. Thanks
The four wire interface from the ST-LINK V2 has no clock.Where does it say that ST devices do not require a clock for SWD ?Also why is it seemingly impossible to work through a hub ? This makes life very difficult.
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.