-
Notifications
You must be signed in to change notification settings - Fork 69
Description
I noticed that a little less than a month ago @MiloradCvjetkovic supplied a USB Host driver package. Specifically the EHCI driver.
I would appreciate some details on how to use this. I would like to determine if it would be a good fit for the SAMV71Q21B processor, but I don't see any examples to understand how this code is used, and how I might possibly target it to my processor.
I see there is an Interface layer, where I could supply customized code to initialize my hardware, but I only see such things as initialize, un-initialize, and power control. It isn't clear to me how the Transaction Translator is intended to interact with the USB hardware. I presume it is through the TT_Regs, and the microcontroller is supposed to glue these registers to the actual hardware through customized code in the microcontroller interrupts.
It seems this glue code is supposed to be laid out in the manner loosely described by the header "Driver_USBH.h", which appears to be a file in the ARM-software/CMSIS directory. Does it matter which CMSIS I use? (ARM-software/CMSIS_5 or ARM-software/CMSIS_6, etc).
Is there a working example of this driver in use on any processor/board that I can review?
Finally, the TT project also calls for the header "cmsis_os2.h" which presumably means the TT relies upon the RTOS in some manner. It would be nice to have a high level understanding of the expected interactions with the RTOS, threads, mutexes, timers, etc.
Thanks!