STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 529 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
  • 823 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
  • 2262 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
  • 547 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
  • 2052 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...