Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
K64F USB Host SOF Issue
Hello,
I'm using a modified version of the F401RE-USBHost (modified by me to get it to work with the K64F).
I'm having a problem when I'm communicating with a USB display when I'm in USBHost mode with my K64F. The problem is that every 10 seconds or so I'll see a pause or hiccup in processing.
I hooked up a USB Analyzer and found out I'm getting SOF errors occasionally, I believe it's showing me the missing frame id, like:
(GOOD) [5 SOF] [Frames: 338-342] (BAD) [1 SOF] [Frame: 344] (GOOD) [8 SOF] [Frames: 345-352]
Even when there's no data being sent back-n-forth it looks like this...
(GOOD) [2000 SOF] [Frames: 770-721] [Periodic Timeout] (GOOD) [1200 IN-NAK] [Periodic Timeout] (GOOD) [1988 SOF] [Frames: 722-661] (BAD) [1 SOF] [Frame: 663] (GOOD) [8 SOF] [Frames: 664-671]
So, I think it must be some timing issue maybe? Anyone have any clues what I can look for or look at? I'm really lost, but I need to figure this out.
Kind Regards, Jeff