Jump to content
43oh

Tiva: Can I attach a USB keyboard to the Device USB


Recommended Posts

Is it possible to attach USB devices to the Device USB on a Tiva/Stellaris LaunchPad eval kit board?

I'm planning a game, and rather than scraping up a bunch of switches for a keypad, I've got a USB keypad sitting around which would do the job nicely.

 

Is this do-able?  Is it major effort?

Link to post
Share on other sites

Is it possible to attach USB devices to the Device USB on a Tiva/Stellaris LaunchPad eval kit board?

I'm planning a game, and rather than scraping up a bunch of switches for a keypad, I've got a USB keypad sitting around which would do the job nicely.

 

Is this do-able?  Is it major effort?

Yep. The Tiva is a Slave/Host/OTG USB device, and there is Tiva-ware for a USB Host HID device (Human Interface Device, like standard usb keyboards).

 

See http://www.ti.com/lit/ug/spmu297/spmu297.pdf for details on the Tiva USB software and try checking out http://forum.stellarisiti.com/ for the Stellaris/Tiva forum.

Link to post
Share on other sites

This.

 

The USB Driver docs might have enough info for me to hammer it out... I was hoping to frob somebody else's work.

Something tells me this isn't going to be a cake walk in Energia.

Section 3.8.6 of the Tivaware document spmu297 I linked above. Not just the description, but an actual USB Host Keyboard example.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...