I’ve finished the workaround I mentioned in my last post, for USB devices which take longer than the standard 300mS to signal a connection to the host. I’ve yet again gone with the same approach as Atmel for the workaround, as I don’t want to re-invent the (square, in this case) wheel. By using a manually controlled VBUS and listening for the OTG session start request flag, I can ensure that a connected device receives as much time as it needs to get ready for connection before switching to automatic VBUS control. This simplifies the change somewhat, as it can be focused in the Unattached host state rather than spread out through the whole codebase.
I’m open to suggestions and comments for V1.1.0, which will be released very shortly. If you have any input for the project, please don’t hesitate to contact me, or leave a comment on this post.
Recent Comments