STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_SD_ERROR_TX_UNDERRUN when using FATFS

I'm trying to use FATFS on NUCLEO-F401RE to write a file into the SD Card.I generated the project into cube MX and added thi code before the while(1) loop: /* USER CODE BEGIN 2 */ temp = f_mount(&StrutturaCtrFS,"",1); if(FR_OK != temp){ while(...

ABatt.1 by Senior
  • 555 Views
  • 1 replies
  • 1 kudos

USB Device Descriptor Request Failed

Dear Customer SupportI'm using the USB CDC class (Virtual COM Port) on STM32H7.When I unplug and plug the USB cable during comport communication, occasionally, the device manager display shows "Unknown USB device (device descriptor request failed)".I...

KKado.1 by Associate II
  • 1191 Views
  • 4 replies
  • 1 kudos

Resolved! STM32H7 USB custom class

Hi,I want to use my own custom usb device class base on usb core provided by ST. Inspecting the code, I found that "DataIn" and "DataOut" callback functions provided by the class to usb core are called at the END of the data in or out stage... Callin...

Confused about F407 USB OTG FS

I wanted to implement a simple USB device only on a STM32F407. When I enable it in CubeMX under USB_OTG_FS I get a DP and DM line and there is an option to activate the VBUS line. Is activate VBUS absolutely necessary? It is after a simple device onl...