I am trying to use the USBFS on my K65 as a Host and communication over endpoint 0 looks good.
But I have no success on transmitting or receiving data over endpoint 1.
I saw this line in de reference manual:
" When HOST_MODE is enabled, only endpoint zero is used. All
other endpoints should be disabled by software."
Do I understand this correct? It is NOT possible to use endpoint 1 in host mode?
So I cannot connect with devices sending IN transactions on endpoint 1?
Isnt this very limiting of the USB peripherial?
FS USB host interface uses only Endpoint 0. This is not a restriction since it can still communicate with any device endpoint - it simply does it over the controller's endpoint 0 hardware because the host has a different endpoint concept to the device, where the endpoint is simply a parameter and not a physical address.
Run the uTasker Open Source Kinetis project in Visual Studio with its FS Host stack in operation and it will emulate the USB host controller so that also the internal working details of the controller can be monitored and understood.