AnsweredAssumed Answered

STM32F429I USB Pendrive + FATFS

Question asked by Jorge Calatayud Maeso on Feb 18, 2018

STM32F429IDISCOVERY USB MASS STORAGE DEVICE CLASS - YouTube

 

Hi there, i just wanna build an application to log some sensor mesures to an USB drive attached to board user USB, using an usb-otg plug. I can't get working the usb device.

I setted up in cubeMx USB_OTG_FS to work as host_Only in USB_HOST i selectec Mass Storage Host Classes, and i've enabled FATFS support for USB_Disk.

After some debugging i realized that USBH_Process, is stuck in HOST_IDLE State. Also phost->device.is_connected value is stuck to 0.

Outcomes