STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F746G‑DISCO | SDMMC + DMA + D‑Cache – hangs at state 5, FR_DISK_ERR / empty files → root‑cause & minimal fixes

Subject: STM32F746G‑DISCO | SDMMC + DMA + D‑Cache – hangs at state 5, FR_DISK_ERR / empty files → root‑cause & minimal fixesCube / HAL versionsCubeF7: v1.28.0CubeMX: 6.11Board: STM32F746G‑DISCOMiddleware: FatFs R0.14, _USE_LFN = 3, _MAX_SS = 512Cache...

anejati by Visitor
  • 12 Views
  • 1 replies
  • 0 kudos

eMMC init stalls during boot

Hi all,I have a strange issue that I can't wrap my head around.I have an eMMC chip connected to a STM32U5G9The .IOC file is all standard: with the clock config as follows: However, when I start a debugging session I get stuck in the init function lik...

HP_1-1753010866216.png HP_2-1753010894702.png HP_0-1753010772449.png
HP by Senior III
  • 12 Views
  • 0 replies
  • 0 kudos

Resolved! Timer PWM with DMA stops too early on STM32G431

Hi there,I would like to control WS2812B LEDs with a PWM timer and DMA.There are various tutorials on this, but they have not helped me and I am now asking you. Because it requires slightly different configurations depending on the model (F3, F4, G4,...

tim1_mode.png tim1_conf1.png tim1_conf2.png dma_settings.png
ABach.4 by Associate II
  • 125 Views
  • 12 replies
  • 0 kudos

STM32 USB CDC not working for F0, F4 boards

I have tried USB examples for Stm32F070, F401, F407 Black board and calling a single "CDC_Transmit_FS" function to print a string but none is working. The hcdc->TxState value is some garbage big value so it always stay busy and also not getting inter...

Lakshay by Associate
  • 45 Views
  • 0 replies
  • 0 kudos

STM32F103C6T6 USB Bootloader Flash Issue

I've been previously programming the STM32F103C6T6 blue pill with an FTDI via UART and am now trying to flash a USB bootloader binary to program it directly via USB.I've closely followed the guide on https://www.electrosoftcloud.com/en/stm32f103-boot...

Kartik1004_0-1695959768385.png Kartik1004_1-1695959829733.png Kartik1004_2-1695959884237.png Kartik1004_3-1695959973802.png