Path: EDN Asia >> Product Centre >> Computing/Peripherals >> Flexible port switching, role swapping come to USB
Computing/Peripherals Share print

Flexible port switching, role swapping come to USB

07 Jul 2015  | Bernard Cole

Share this page with your friends

The Universal Serial Bus (USB) protocol holds one weakness despite its pervasiveness across consumer and personal electronic devices, and it is about port switching and host/device role swapping. The original USB specification took on a one host (the PC) and one device link (such as a printer or an external memory storage device), and this is quite understandable since it was conceived during the time of desktop and laptop computers. USB-On-The-Go enables limited role swapping but only on a one-device/one-host connection.

But current popular applications in smart phones, wearables, MP3 players, etc. make things much more complicated. Now end users want to do more: depending on the application environment, a host may have several devices connected to it, each of which is capable of also being a host; or the user may want several hosts to talk to and control several devices.

"Currently, to do any of this with either USB 2.0 or USB 3.0 requires human intervention to physically go and make the swaps and switches," Mark Gordon, Microchip USB/Networking Product Marketing Manager, told EE Times. The USB 3.0 Type C connector, which replaces the older USB form factors, makes the process less confusing, but it is still the user who has to physically make the right connections.

To make such flexible USB connections easier and remove the human user from the middle of the transaction, Microchip Technologies Inc. has just begun deploying FlexConnect, a proprietary state-machine-based algorithm, in many of its new USB-based circuit designs. The most recent device into which the company has incorporated FlexConnect is the USB5734 Smart Hub, which enables host and device role swapping and port switching, I/O bridging, and various other serial communication interface functions.

Smart Hub

The USB5734 Smart Hub incorporates circuitry that allows a wide range of port switching and role swapping as well as I/O capabilities.

"With FlexConnect, a mobile device can plug into a standard USB host and take control of system functions, along with other USB connected devices and peripherals whose access was previously only available via the host controller or root hub," said Gordon.

The state machine incorporated into the Smart Hub contains a FlexConnect algorithm that initiates and then directs a set of protocols that make it possible for a device to dynamically change physical settings to allow it to perform upstream and downstream ports, but remain compatible with the USB spec. In conjunction with an on-chip MCU, the FlexConnect state machine can also dynamically change whether an exposed port acts as a host or a device through low-level software commands.

By means of the FlexConnect capabilities, the Smart Hub has the ability to dynamically swap between a USB host and a USB device through hardware and/or software system commands giving the new USB host access to downstream resources. This same technology can also switch common downstream resources between two different USB hosts. Incorporating FlexConnect into a system simplifies the overall software requirements of the primary host, as class drivers and application software stay local to the device-turned-host.


1 • 2 Next Page Last Page


Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.


Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming


News | Products | Design Features | Regional Roundup | Tech Impact