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

sTM32H7 USB HS DMA didnt work

Good day!I am using stm32h7 with USB3300. For firm use CUBE MX 5.6.1. USB HS CDC VPC class USB with USB DMA Disable - everything works.As soon as I turn on USB DMA Enable, the device is no longer detected by the PC enumerating failed. Please tell me ...

VIvan.1 by Associate II
  • 1637 Views
  • 5 replies
  • 0 kudos

WB55 Systick Sometimes Doesn't work

Our Project uses the STM32WB55 with FreeRTOS, using the Systick to context switch. We use both IWDG and WWDG.To power down the unit we set a flag in non-volatile RAM and then force a WWDG reset. At reset, the NV RAM is checked and if it indicates a p...

TWood.4 by Associate III
  • 736 Views
  • 1 replies
  • 0 kudos

How do I know the .txt file size with FatFS?

Hello everyone,Thanks in advance.I create a .txt file and write data in it. When this .txt file reaches 1GB, I want it to open a new .txt file and write the data to the new .txt file. It should continue from where it left off...I have 2 folders, one ...

Macun by Associate II
  • 936 Views
  • 1 replies
  • 3 kudos

Resolved! slave Interrupt in SPI

hey every one .I'm working on SPI and configuring a slave which should answer to the master request . slave reception process work with interrupt after 2 successful reception. THIS IS MY CODE :   /* USER CODE BEGIN Header */ /** *******************...

image.png image.png shayangh_1-1714914231663.png
shayangh by Associate II
  • 2507 Views
  • 6 replies
  • 3 kudos

Resolved! USBFS not enumerating as VCP

Hello, I m using an STM32F249I DISC1 board. I'm trying to start-off with a basic USB VCP loopback functionality. I generated the code for USBFS as a CDC Device (VCP) using CubeMx. I set the clock to 168MHz (so that USBFS is clocked at 48 MHz). I ha...

PShri.1 by Associate
  • 596 Views
  • 1 replies
  • 0 kudos

STM32H745 SDMMC block reads returning empty

Hello, I am working on trying to get the SDMMC1 on the stm32h745 to function properly. Currently I have this for my current initialization of the SDMMC and it does not return any errors. hsd1.Instance = SDMMC1;hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_R...

Matt__ by Associate II
  • 2206 Views
  • 12 replies
  • 0 kudos