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 am trying to associate the DMA1 in M4 context with USART2 but whenever I click "add" on the right pane, I see no USART2 on that, on the contrary, I see UART4 it on DMA2 as shown below. If I try to put DMA2 in M4 context, UART4 now appears in DMA1 and I cannot Assign both of them to M4 No uart/usart when i click add , please see below image : My aim is to associate the USART2 with the DMA1 if it is possible. Please guide. Regards, D
Hi, We are using Stm32mp157a Processor in Our custom board. We are configuring PA5 as DAC1_OUT2.We want to configure DMA for DAC. But we didnot get an DMA setting tab in DAC configuration in stm32 Cube mx.How do i enable DMA for DAC? You can see in below Attachment.
i have following yocto build configurationBuild Configuration:BB_VERSION = "1.42.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "universal"TARGET_SYS = "arm-openstlinux_weston-linux-gnueabi"DISTRO = "openstlinux-weston"DISTRO_VERSION = "2.7-snapshot-20200721"TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"TARGET_FPU = "hard"DISTRO_CODENAME = "warrior"GCCVERSION = "8.%"need to what are the simple way to populate /dev/fb0, and draw a simple image RGB888 imag
Hello guys, I am working with STM32MP157C-DK2 board and Tapo C200 camera(ONVIF). I would like to display the IP camera live feed through the LCD screen.How can I do that? I'm still a newbie, so step-by-step process or any link towards a good documentation regarding this would be nice :)
Hi,Can anyone provide dac sine wave genearation Example using stm32mp1 processor.
I loaded my custom built yocto image into my SD card using the STM32CubeProgrammer and the process was completed successfully.However, when I toggled the boot switches to boot from SD card, I was not able to connect my host computer (a Ubuntu 20.04 desktop PC) to STM32MP1 board via CN11. When I plugged the micro USB cable from my host computer into CN11 on the STM32MP1 board, my host computer did not detect any new USB device. Can you please advise the steps to troubleshoot this?
HiWe are using stm32mp157a processor in my custom board.We want to configure DAC in cortex M4.In stm32h745xi DAC has Default Timer for interrupt.Where as in stm32mp157a we dont have that timer configuration for DAC .you can see the difference in below attachments.
Hi,I'm trying to bring up a custom board based on STM32MP151C MPU. The design is widely taken from the devkit.I'm booting from SDCARD and bootpins are set accordingly (b101).One thing that is changing is the I2C4 pins for PMIC interface (still on I2C4 but different pins). So we changed the device tree of TF-A for that.Concerning the HSE, we keep the same configuration (external crystal, 24MHz).From this post;https://community.st.com/s/question/0D53W000005qRjZSAU/cannot-boot-up-custom-board-which-based-on-stm32mp157cdk2-only-get-message-from-uart-panic-at-pc-0x2ffdc323-exception-mode0x00000016-at-0x2ffda000?t=1652971830558We confirmed that I2C and HSE should be configured correctly.We have tried to check the configuration for I2C and clocks. We didn't see anything wrong for now.In our case, PC is at a different address (0x2ffdaa77). Does it mean something different?Also, I don't have an exception as the post explain (Exception mode=0x00000016 at: 0x2ffda000), only the PANIC line.Do you
Hi,I've finally reached the stage where I can test the SSP flowI burned a debug AES128GCM key on my ST-HSM-v2 cardI created a 148 bytes secrets file and passed it through TrustedPackageCreator tool to get the 244 bytes fileI created a signed ssp-tf-a binAnd I have a stm32mp157f-ev1 board to sacrificeI am following commands inhttps://www.st.com/resource/en/application_note/an5510-overview-of-the-secure-secret-provisioning-ssp-on-stm32mp1-series-stmicroelectronics.pdfandhttps://www.st.com/resource/en/user_manual/dm00403500-stm32cubeprogrammer-software-description-stmicroelectronics.pdfHere is where I am currently stuck at:The command: "STM32_Programmer_CLI.exe -c port=USB1 -ssp .\secrets.ssp .\tf-a-ssp-stm32mp157f-ev1-ssp-signed.stm32 hsm=1 slot=2" always failsscenario #1:board is started into DFU mode -> I execute the command (as suggested by the first doc as a valid method)I get:USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in HS Mode @Device ID
Hi community,I'm facing problems to upload the flash layout on a custom board with the STM32CubeProgrammer. I tried with the last version (v2.10.0) but also older ones. The USB communication seems to be working fine as there are not checksum errors or alike. However, for some reason UBoot can still not parse the uploaded layout.Any idea how this problem can happen even if the USB communication is correct? Could this be a RAM misconfiguration problem even if UBoot can run from RAM and the basic UBoot RAM tests are successful?For more information, I attach the STM32CubeProgrammer log and the UART4 log.Thank you in advance for any insight!Bests,Moises
Could you explain to me what is the purpose of the different bits associated to the tampers?I am mainly focus on using the passive tampers of the STM32MP1 and I have seen the following configuration bits I don't fully understand:What I understand:Register CR1 - TAMPxE = Enables/Disables the tamperRegister CR2 - TAMPxTRG = In PASSIVE mode determines if the tamper is triggered in logic level 0 or 1.Register CR2 - TAMPxNOER = Does not erase the backup register/does not block reading of the BCKSRAM.Register SR - TAMPxF = Flag set when the tamper is triggered.Register CSR - CTAMPxF = Bit to clear the SR tamper flag.What I am confused about:Register CR2 - TAMPxMSK = Does this bit stops the system to execute the interrupt and stops the backup register erasure? What is the difference between setting this to 1 and setting TAMPxIE to 0 + TAMPxNOER to 1?Register IER - TAMPxIE = I do understand this enables/disables the interrupt generated by the tamper triggered but I do not understand the relati
HI,I'm not able to get the FDCAN filter working on a STM32MP157C-DT2. I'm able to receive valid ID' with no problem, however, invalid ID's are getting through.Would someone be kind enough to take a quick look at my setup to make sure I did not miss anything. Please see attached code.Thank you!
Hello, I am working on a custom Boot Loader (SSBL) for the STM32MP157F-EV1 board to replace U-Boot in the boot chain (BL33), this is a requirement for my project. As I understand, to boot the Linux Kernel it is needed to provide 3 values through the first 3 registers as follows: R0 = constant 0 R1 = Machine Type R2 = Address of loaded DTB What would be the MACH_TYPE needed to pass to the linux kernel to boot through the register R1? The list of MACH_TYPES can be found in https://elixir.bootlin.com/linux/v5.17-rc6/source/arch/arm/tools/mach-types. But I do not find an specific one for this board or any stm MPU. Thank you, Andrés Gamboa
I was working on the STM32MP157A-DK1 board which has Cortex-A7 + Cortex-M4 processors. I wanted to configure the watchpoints present specifically on the Cortex-A7 processor via C code. The Cortex-A7 technical reference manual indicates the use of MRC and MCR instructions for the same, which I think should be inlined into my C code. But I am not completely sure about this. If I try to configure using MCR instruction, it would involve configuring the general-purpose register first(R0-R14) first to move some value into the debug register, which I was not able to do. Kindly someone help me with some required documentation.
Hello, I am currently working on bringing up a production board design with the OSD32MP157C-512M-BAA. The board design is very similar to the octavo systems osd32mp1-red boardSdcard is located on SDMMC1 with the same pinout.EMMC is located on SDMMC2 with the same pinout.The board can boot all the way into Linux if I use the provided development kit sd card image from octavo. This indicates to me that the core of the PCB is functioning correctly.A requirement of our project is to use buildroot. For testing, I am using the following setup: github. com / bootlin/buildroot-external-stThis (with the st_stm32mp157c_dk2_defconfig) builds a STM32mp1-DK2 development board compatible image with the following repository versions:TF-A: v2.4-stm32mp-r1U-Boot: v2020.10-stm32mp-r1.1Linux: v5.10-stm32mp-r1This buildroot image works on the DK2 development board without issue. However, I cannot get it to work on the OSD32MP157C SIP even with device tree updates based on the
Hi all,I was wondering whether we can achieve a PWM frequence of 1-3Hz with the existing timer which we have. I am targeting to generate a PWM signal within the same frequency range but using A7 as primary.How can we achieve that ?? I do have some idea looking at the blog here : https://wiki.st.com/stm32mpu/wiki/PWM_overviewWhat shall be the reference period value here? How can we perform calculation for any period value?
Hello,I am having a hard time setting the DDR clock at pll2 for an stm32mp157.The clock has been configured to 528MHz using CubeMX. I checked cfg for pll2 in the DeviceTree against the Datasheet / Referance Manual and all settings seem correct.Yet /sys/kernel/debug/clk/clk_summary returns 533MHz for pll2_r.PLL2 gets 24MHz from HSE. My current configuration for tf-a:&rcc { ... pll2:st,pll@1 { compatible = "st,stm32mp1-pll"; reg = <1>; cfg = < 2 65 1 1 0 PQR(1,0,1) >; frac = < 0x1400 >; }; ...PLL2 gets configured in the dts-file for tf-a only. For kernel and u-boot there are only empty rcc-nodes:&rcc{ u-boot,dm-pre-reloc; status = "okay"; /* USER CODE BEGIN rcc */ /* USER CODE END rcc */ };Any ideas?
Does ST-Linux run for any configuration of eMMC pins, i.e. if it is connected to SDMMC1/SDMMC2/SDMMC3 . or do we need to fix as per reference design / Dev kits.
Hello , I have a few queries related to assignments of GPIO wrt to Cortex M4 and Cotex A7 . Task is to add a I2C peripheral to a GPIO and access it using Cortex M4.But I cant see the cortex assignment options ? I see on few but not on some on which I actually want.(like PA12) Also I see pin locking on some GPIO? Does that mean I can’t connect anything to these GPIOS? Also on the I2C1 , to which context it is assigned by default? Both Cortex M4 and A7 or to one of them? please advise!Thanks in advance!D
Hi all,I am trying to debug an C++ user space application on A7using STM32CubeIDE.Build happens fine. But when i try to debug it i run into following errors.I can confirm the toolchain is installed both on system as well as embedded in CUBEIDE.How can i get past these errors?Any idea as to what this might be related to?
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.