Hi
I want to get the accelrometer data from the eZ430 Chronos access point to TM4C123GXL launchpad USB host mode without the use of PC. Is it possible?
If yes, suggest me how to get started.....
Bala
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.
Hi
I want to get the accelrometer data from the eZ430 Chronos access point to TM4C123GXL launchpad USB host mode without the use of PC. Is it possible?
If yes, suggest me how to get started.....
Bala
Hi Bala.
I would first advise you to check out this link in order to know the UART data sequence that has to be sent to the USB transceiver that connects to the PC - http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/32714.aspx
Next, you need to implement USB-to-UART bridge on your Tiva controller. This should not be a tall task as TivaWare already has CDC USB-to-UART examples (device). You only need to make changes to use the Tiva controller as host. To do that, you need to understand what the host driver (PC-side driver) does and implement its functionality on the Tiva controller.
In order to do that, you need to have a basic knowledge of USB - how it works, the role and structure of a driver. Once done, you will need to implement this driver on Tiva - if you are thorough with what the driver does, the implementation should be a simple task for you.
Following links will give you a good working knowledge of USB and drivers:
http://www.beyondlogic.org/usbnutshell/usb1.shtml
http://msdn.microsoft.com/en-us/library/windows/hardware/hh770893(v=vs.85).aspx
The first link should get you started well on USB. There are many good resources as well online. You can google and pace yourself.
Regards,
Shashank
Thank You so much for the useful information Shashank!!!
Actually i am very new to this USB in tiva ware. I am having a couple of questions.
1. How to get the Access point powered by the launchpad in Host mode?
2. I could not find a single USB Host example for the TM4C123GXL launchpad. Is there any host examples i could find?
Bala
Bala,
You can find a number of examples for host implementation in TivaWare/examples/boards/ek-lm4f232/<example>
You will have to port these to the TM4C123 controller you want.
As for the access point powering - the USB protocol will take care of that. The material in the first link is the previous post shall explain these concepts to you.
Regards,
Shashank