Other Parts Discussed in Thread: TM4C1294NCPDT, TM4C123GH6PM
Ralph/cb1_moble,
I need more clarification of USBVBUS and the TM129ENCPDT based on the new information I just received. For some reason I was not getting email notification on the thread updates so I was unaware that there were updates to my original thread which Darren opened for me. Hopefully now that I am opening this up, I will get future updates.
As for the original post, no worries on misleading me at first with the VBUS. Everyone makes mistakes but I am just glad you caught the error before I went too far. I had my doubts that the Tiva had the ability to output the 5V and thus the reason I asked the question. I also like to take a second to thank you and cb1_mobile for the support and hope to keep tapping that source with the following questions.
Before I ask anything, I need to give you a little more insight to my application/challenges. We are trying to retro-fit a pre-existing design, with very limited space (about 5mm x 5mm), with a secondary communication path, USB. This path will communicate with our radio module. At present, we have one path that is UART based and it is running at 115.2K. The traffic on this new path will be low so USB1.0 will be fine. The first thoughts here, not mine, is just slap something together and I do not agree. I am trying to see what I need to do to make sure I have a stable USB interface and don't have any issues with noise. I am by no mean an expert in this, thus the many questions.
1) First question, is there a way in firmware to lock the USB speed at what you want, in this case USB 1.0?
2) Are there different sub speed classes of USB 1.0 or is it 1.5Mpbs?
If I run at USB 1.0, I assume that the design aspects are far less critical and I might be able to get away with a simpler design which is more forgiving. In early computers I have seen what looks like simple twisted pair wires and headers used to connect USB interface between the front of the tower and the mother boards.
3) Is USB 1.0 so forgiving that simple twisted pair wire and 0.100" center header enough? Is shielding required? If so, where should shield be grounded? One side, both sides?
Assuming this is okay, my radio module is self-powered (it will be the device, Tiva the host) and will be hard wired to the Tiva and thus unable to be disconnected. I was planning on using a cable similar to the old older PC towers, described above, that will be soldered in directly to the board on each side. I expect that cable to be about 6" (or less) and shielded if need be. I could use a 45/90 ohm specific cable if one exists. In the event that this cable is not available and twisted pair is not an option, I could use a small 6" usb cable with connectors of each side but I am not presently set up for this so hopefully the soldered cable option is still viable.
4) Is there a 45/90 ohm specific cable? If so, can you point me to an example?
Now as for VBUS. While I know you are both concerned about VBUS and not being able to reset/shut off, there is more information that I need to provide that may reduce your concerns. The Tiva has the ability to reset the radio chip or totally power down the radio module via two independent GPIOs. One is connected to the radio module reset the other to a switcher enable which can turn off the power to the modules 3.9V power rail. This means that if the Tiva detects a fault on the UART/USB interface or radio communication, it has the ability to reset or totally power down the radio at will. Based on the fact that I can reset or power the entire radio module off, I see function of USB0EPEN as a duplicate and thus the reason I was not planning on using it.
5) Do you agree that USB0EPEN is not needed if I can reset and/or totally power down the radio module itself?
6) Now if I am always connected, not monitoring VBUS, and always have a self-powered device do I really need a connection on VBUS?
7) Is VBUS used to pull the D+ and D- lines up?
9) If so, does it have to be 5V? Can it be an external 3.9V?
10) Under the described conditions above, is it possible to run the Tiva USB interface with four lines, those being, VBUS @ 3.9V, D+, D-, and GND?
Thank you in advance for all your help.
Chris