This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: USBOTG or USBHCD ?

Part Number: TM4C123GH6PM
 
I want to make USB Host Keyboard project with TM4C123GH6PM. But I did not find such an example in the Resource Explorer. Would it be better to use USB0HostIntHandler (in while USBHCDMain ()) in such a project or USB0OTGIntHandler (in while USBOTGMain (GetTickms ()))?
  • I would go with host mode as it is simpler than OTG. Have you seen the TivaWare example:
    C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\dk-tm4c123g\usb_host_keyboard
    You may need to ignore all of the display part of this example, but the USB keyboard part might be helpful.