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

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
  • 1385 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
  • 3473 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
  • 777 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
  • 3045 Views
  • 12 replies
  • 0 kudos

Resolved! Flash erase operation fail CMSIS STM32L4

Hello,I am trying to implement a flash erase function, which is based on the reference manual. I am using the STM32L476RG nucleo board. From there the instructions are: To erase a page (2 Kbyte), follow the procedure below: Check that no Flash memory...