STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USB host MSC read sector count

Hello everyone.I am working on a project which needs low level access to USB mass storage class such as reading sector size/count of an attached storage device but thus far I could not get anything out of my board which is nucleo-f446re.I have initia...

STM32F4 Usb fails to work only when in debug mode

I am working on a basic USB FS HID device on an STM32F411 Discovery Board, the USB code is the only code on the board. When I run the code from the STM32CubeIDE, the device fails to enumerate and Windows says "Device Not Recognized". I have no breakp...

MB.2 by Associate III
  • 2536 Views
  • 8 replies
  • 0 kudos

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
  • 1516 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
  • 550 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
  • 860 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
  • 2320 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
  • 558 Views
  • 1 replies
  • 0 kudos