cancel
Showing results for 
Search instead for 
Did you mean: 

USB OTG HS - ULPI (Using FatFs Middleware ) Disk Error issue

Abin
Associate III

Hai All,

I am facing an issue on USB File system accessing. Here I am using ULPI protocol for accessing the USB Drive via USB3300 IC.Here I am using an Interrupt method for detecting the USB drive. When we connect, interrupt is happening and File directory is loading.After few seconds or any other operation, if we try to access the file system in USB DISK ERROR is coming.Files are accessing using FatFs and the same FatFs is using for SD crad.Here using SPI protocol and no issues are facing. After analyzing the ff.c file which is generated by Cube IDE, I am getting the macro SS(fr) ( Sector Size )  as Zero. This is the reason that File directory is unable to fetch.But this problem is not in SD crad .How to rectify this issue.

11 REPLIES 11
Abin
Associate III

Hai @FBL 

This is a GPIO Pin which is dedicated for Start of Frame (SOF) Functionality.

 

FBL
ST Employee

Hi @Abin 

SOF trigger should be useful in audio video streaming applications. I'm not sure it is required in your application. See 30.7 SOF trigger in the reference manual describing the usage.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.