I currently support USB devices and have wrtten some exploritory code to detail the root hubs and detect different types of devices. I am interested in continuing on with this code.
@gongji, the A and B connectors are to distinguish a host from an endpoint. The A connector plugs into a host and the B connector plugs into an endpoint. So, the cable between your PC and your printer has an A connector on the end going to the PC and a B connector going to the printer. This helps keep the signal polarities correct as well as preventing someone from trying to use the printer as a USB host.
In fact, I dont think any USB cable has the A connector on both ends. If it did, somone could really mess things up by trying to connect two hosts together.
Your flash drives have only an A connector because, in essence, the functional equivalent of the cable with its B-end is an integral part of the flash drive, so only the A end of the "cable" is actually used.
why did the USB committee define A and B connectors? I don't see the B connector that much anymore. In fact, I have only seen the A connector on all my USB external drives.
One of the slides mentions that USB cables are made with wires size 28 AWG. This is the minimal size, but the actual configuration of the cable depends on the current consumption of the load and the overall length of the cable.
You say that I need a CPU in my FPGA controller because I need to implement a "stack". But a stack is nothing more than a bunch of registers. I can very simply build a bunch of registers in my FPGA. Also, I can construct finite state machines of virtually any complexity. So, what also am I missing? I really would like to think about using USB, but I would like to keep the implementation in my FPGA-based controller as simple as possible. Thanks, Christian.
Great. All the equipment is going into a 19" rack so it would be nice to have just one hub. Is the maximum cable length per device? from the host or hub? or total length of all cables as in the IEEE-488 spec.?
I want to make sure I answer your question correctly. There can be as many downstream devices from a Hub if there are other hubs downstream. A Hub port is one connection, an extension of the bus.
The limit on a bus is 127 devices because of the addres field (7 bits).
If you have a hub with enough hardware and mechanical resources to have 126 ports (1 address will be used by the Hub to identify itself to the Host), then it is possible.
Can I implement the protocol without the need for a CPU in my controller's FPGA?
You need a CPU, the Software stack for a Device is fairly simple but require a CPU. A USB Device stack can be implemented with the requirement for a kernel ( in a SuperLoop model).
I was wondering about the USB ports embedded in laptops. It appears that the front USB ports aren't the same as the rear USB ports. One set will show a modem folder in Device Manager while the other set will not. Is there a hierarchy in USB? Is this a Host Controller issue?
Yes, in this case the front ports are driven by one USB Host controller and the rear ports by a different (second) one.
It is a capability issues. There is not hierarchy.
I am interested in having a cpu communticate with a "smart" power supply controller, or controllers. I am interested in using USB for interconnections between host and "device" rather than use boards communicate using ISA bus, or even PCI bus--using the PC104 format. This would drastically reduce the number of I/O connections to the FPGA on the "device" which must communicate with the host. I need to know if the protocol is simpiler to implement that the alternative protocols. I don't know the USB protocol AT ALL. So, would I gain anything using USB bus rather than ISA? What is required in the "device" to communicate over USB? Can I implement the protocol without the need for a CPU in my controller's FPGA? This question is particularly of interest to me. I imagine the host (PC104 CPU) has plenty of software support already to communicate, but what do I need in my smart controller ("device") to communicate over USB?
Thank you Christian. Unfortunately I was experiencing audio issues, so I missed the beginning part where you spoke of Host Controller speed. I was wondering about the USB ports embedded in laptops. It appears that the front USB ports aren't the same as the rear USB ports. One set will show a modem folder in Device Manager while the other set will not. Is there a hierarchy in USB? Is this a Host Controller issue?
When you connect a hub to a host port. the hub is reconized as a HUB device and will report the number of ports it has. The Host will know. We will see tomorrow how electrically the host is made aware of the existence of a device
Telling me the device only uses the B connector tells me I bought the wrong connectors for my projects. Looking for one with Ethernet and USB in the same connector housing. Won't find similar for IEEE-488.2.
From the perspectiv eof slide #9, if you plug a 4-port USB extender into a USB por on your computer (to turn 1 port into 4) where would each of the 4 extended ports fall?
Thanks for the presentation Christian. Do you forsee any microcontrollers / microprocessors providing a USB 3.0 device and/or host port in the near future?
@ Admin / Jennifer: For some reason the slide numbers stopped starting in slide 12. Also, the slide numbers are very hard to see since they are buried beneath the "DigiKey Continuing Education Center" banner.
Are there microcontrollers that can have a seperate high-speed clock for the hardware-centric USB 2.0 interface but clock the microcontroller core at a slower speed to save power?
I am interested in investigating USB as the protocol for interfacing a computer to devices, controllers, and sensors in industrial processing equipment. I am finding the environment to be too noisy for reliable USB. What can I do do improve the robustness in this environment?
I would like to learn more about enumeration. I would like to send information to the embedded device while enumerated as an HID device. I woule like to learn how to enumerate as multiple types from, i.e. HID and cdc.
As USB is more and more the hub of today's device interconnectedness, I want to understand how it works to see how I may take better advantage of it in the future.
Our company designs user interfaces for various industries and we typically use USB as the direct interface for standalone modules, or as the communication protocol between our part and the main processor board.
Primary intention for using USB in our embedded products would be focused on transfer speed. Getting data from point A to point B as fast as possible. It would be nice to use USB 3.0 but that doesn't seem likely for low-power embedded devices in the near future.
To anyone having trouble with audio - try refreshing your browser and hitting play again. If that's not working, the class will be available in our archive. We find Firefox works best.
Hi everyone, we are set to begin in less than 2 minutes. If you haven't already, please download today's slide deck, which you will find under Special Educational Materials.
binarybrain-The audio player will apear above at 2pm EST. You may need to refresh at that time, and click the play button, if it does not start automatically.
For 3D printing to make the jump from rapid prototyping to manufacturing, engineers will need to find easier ways to move products from their CAD screens to their printers.
Gigabit and PoE are two networking technologies moving ahead in tandem as industrial users power remote Ethernet devices such as IP security cameras at 1,000 Mbps over existing CAT5 cable.
New versions of BASF's Ecovio line are both compostable and designed for either injection molding or thermoforming. These combinations are becoming more common for the single-use bioplastics used in food service and food packaging applications, but are still not widely available.
From Dell / Intel® New Paradigms in Design Work Scott Hamilton, vertical market strategist for Dell Precision workstations, 5/2/2013 5
Early in my career, I worked as a draftsman and remember the days of drawing on vellum with numbered pencils and Mylar with plastic lead. This was a fun experience in the sense that I ...
I've been using workstations for more than 10 years and love finding ways to get more performance from my system. With demanding professional applications that require more power each ...
A lasting memory from my first job as an engineer in an auto assembly plant is standing on hard concrete at six in the morning, vending-machine coffee clutched in hand, listening to ...
For industrial control applications, or even a simple assembly line, that machine can go almost 24/7 without a break. But what happens when the task is a little more complex? That’s where the “smart” machine would come in. The smart machine is one that has some simple (or complex in some cases) processing capability to be able to adapt to changing conditions. Such machines are suited for a host of applications, including automotive, aerospace, defense, medical, computers and electronics, telecommunications, consumer goods, and so on. This radio show will show what’s possible with smart machines, and what tradeoffs need to be made to implement such a solution.
To save this item to your list of favorite Design News content so you can find it later in your Profile page, click the "Save It" button next to the item.
If you found this interesting or useful, please use the links to the services below to share it with other readers. You will need a free account with each service to share an item via that service.