04.03.2013 Views

Engineers' Guide to USB Technologies - Subscribe

Engineers' Guide to USB Technologies - Subscribe

Engineers' Guide to USB Technologies - Subscribe

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Engineers’ <strong>Guide</strong> <strong>to</strong><br />

<strong>USB</strong> <strong>Technologies</strong><br />

<strong>USB</strong> Aims for<br />

Truly Universal<br />

Going Native with<br />

SuperSpeed<br />

The Evolving Needs<br />

of the Developer<br />

Community<br />

Gold Sponsors<br />

Annual Industry <strong>Guide</strong><br />

Technology Used in Implementing <strong>USB</strong> Connectivity<br />

www.eecatalog.com/usb<br />

Scan this<br />

QR code<br />

<strong>to</strong> subscribe<br />

No S<strong>to</strong>pping This Bus!


and Top<br />

S<strong>to</strong>ries<br />

Industry<br />

Research<br />

Calendar of<br />

Events


Engineers’ <strong>Guide</strong> <strong>to</strong><br />

<strong>USB</strong> <strong>Technologies</strong> 2012<br />

www.eecatalog.com/usb<br />

VP/Associate Publisher<br />

Clair Bright<br />

cbright@extensionmedia.com<br />

(415) 255-0390 ext. 15<br />

Edi<strong>to</strong>rial<br />

Edi<strong>to</strong>rial Direc<strong>to</strong>r<br />

John Blyler<br />

jblyler@extensionmedia.com<br />

(503) 614-1082<br />

Edi<strong>to</strong>r<br />

Cheryl Coupé<br />

ccoupe@extensionmedia.com<br />

Senior Edi<strong>to</strong>r<br />

Chris A. Ciufo<br />

cciufo@extensionmedia.com<br />

Creative/Production<br />

Production Manager<br />

Spryte Heithecker<br />

Graphic Designers<br />

Keith Kelly - Senior<br />

Nicky Jacobson<br />

Production Assistant<br />

Jenn Burkhardt<br />

Senior Web Developer<br />

Mariam Moattari<br />

Advertising/Reprint Sales<br />

VP/Associate Publisher<br />

Embedded Electronics Media Group<br />

Clair Bright<br />

cbright@extensionmedia.com<br />

(415) 255-0390 ext. 15<br />

Sales Manager<br />

Michael Cloward<br />

mcloward@extensionmedia.com<br />

(415) 255-0390 ext. 17<br />

Marketing/Circulation<br />

Jenna Johnson<br />

To <strong>Subscribe</strong><br />

www.eecatalog.com/subscribe<br />

Extension Media, LLC<br />

Corporate Office<br />

President and Publisher<br />

Vince Ridley<br />

vridley@extensionmedia.com<br />

Vice President, Sales<br />

Embedded Electronics Media Group<br />

Clair Bright<br />

cbright@extensionmedia.com<br />

Vice President, Business Development<br />

Melissa Sterling<br />

msterling@extensionmedia.com<br />

Special Thanks <strong>to</strong> Our Sponsors<br />

The Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012 is published by Extension Media<br />

LLC. Extension Media makes no warranty for the use of its products and assumes<br />

no responsibility for any errors which may appear in this Catalog nor does it make a<br />

commitment <strong>to</strong> update the information contained herein. Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong><br />

<strong>Technologies</strong> 2012 is Copyright ® 2012 Extension Media LLC. No information in this Catalog<br />

may be reproduced without expressed written permission from Extension Media @ 1786<br />

18th Street, San Francisco, CA 94107-2343.All registered trademarks and trademarks<br />

included in this Catalog are held by their respective companies. Every attempt was made <strong>to</strong><br />

include all trademarks and registered trademarks where indicated by their companies.<br />

Welcome <strong>to</strong> the Engineers’ <strong>Guide</strong><br />

<strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012<br />

What a difference a year makes. When we put <strong>to</strong>gether our last <strong>USB</strong> resource guide,<br />

the <strong>USB</strong> Implementers Forum had just announced the first certified SuperSpeed <strong>USB</strong><br />

(<strong>USB</strong> 3.0) chipsets. When I talked <strong>to</strong> embedded companies, most of them <strong>to</strong>ld me that<br />

they were still in watch-and-see mode with respect <strong>to</strong> <strong>USB</strong> 3.0. For many embedded<br />

applications, Hi-Speed <strong>USB</strong> and even <strong>USB</strong> 1.0 met application needs, and developers<br />

loved that the spec was familiar, well-unders<strong>to</strong>od and relatively easy <strong>to</strong> implement.<br />

This time around, SuperSpeed <strong>USB</strong> is definitely in the limelight.<br />

According <strong>to</strong> recent statistics from In-Stat and IDC, the <strong>to</strong>tal <strong>USB</strong> installed base is<br />

10+ billion units – and is growing at a rate of 3+ billion units per year. SuperSpeed<br />

<strong>USB</strong> 3.0-enabled device shipment forecasts are expected <strong>to</strong> grow from 77 million<br />

in 2011, <strong>to</strong> 436 million in 2012, and 902 million in 2013. Longer-range forecasts<br />

expect shipments of these devices <strong>to</strong> exceed two billion units in 2015, coming<br />

close <strong>to</strong> matching expected shipments of Hi-Speed <strong>USB</strong> 2.0-enabled devices.<br />

<strong>USB</strong> seems well on its way <strong>to</strong> earning its “universal” nomenclature. It has become<br />

the standard for battery charging and power delivery as well as data transfer, and<br />

is a preferred connection for field upgrades. And with many embedded systems<br />

becoming more smartphone-like with respect <strong>to</strong> demands for high-end graphics,<br />

sophisticated user interfaces and extensive peripheral support, <strong>USB</strong> 3.0 seems <strong>to</strong><br />

be driving in<strong>to</strong> the embedded space faster than we expected.<br />

If all this sounds a little overwhelming, fear not. This issue – and our corresponding<br />

<strong>USB</strong> technology channel at www.eecatalog.com/usb – are filled with the<br />

product and design resources you need <strong>to</strong> become master of the universe… or at<br />

least the Universal Serial Bus.<br />

Cheryl Berglund Coupé<br />

Edi<strong>to</strong>r, EECatalog.com<br />

P.S. To subscribe <strong>to</strong> our series of Engineers’ <strong>Guide</strong>s for embedded developers<br />

and engineers, visit:<br />

www.eecatalog.com/subscribe<br />

EECatalog<br />

www.eecatalog.com/usb 1


Contents<br />

No S<strong>to</strong>pping This Bus!<br />

By Cheryl Coupé, Edi<strong>to</strong>r ...........................................................................................................................................................3<br />

Advanced <strong>USB</strong> Bridge ICs - Delivering Greater System Value<br />

By Dave Sroka & Gordon Lunn, Future Devices Technology International (FTDI).....................................................................8<br />

Voyager M3i<br />

By LeCroy ............................................................................................................................................................................... 10<br />

Advisor T3<br />

By LeCroy ............................................................................................................................................................................... 11<br />

Low-cost Cortex-MO <strong>USB</strong> solutions with Smart Card interface<br />

By NXP .................................................................................................................................................................................. 12<br />

Total Phase Beagle <strong>USB</strong> Analyzers<br />

By Total Phase ....................................................................................................................................................................... 14<br />

Going Native with SuperSpeed<br />

By Mike Micheletti, LeCroy ...................................................................................................................................................16<br />

<strong>USB</strong> Aims for Truly Universal<br />

By Tim McKee, Intel Corporation...........................................................................................................................................20<br />

The Cohabitation of NAND Flash and <strong>USB</strong> 3.0<br />

By Eric Huang, Synopsys, Inc. ...............................................................................................................................................23<br />

The Way of the Future<br />

By Gregory Quirk, Mouser Electronics...................................................................................................................................26<br />

SuperSpeed <strong>USB</strong> 3.0 for Smarter Phones<br />

By Eric Huang, Sr. Product Marketing Manager for Semiconduc<strong>to</strong>r <strong>USB</strong> Digital IP, Synopsys, Inc. .....................................29<br />

Growth of <strong>USB</strong> in Medical Devices<br />

By Manasi Khare, Microchip Technology Inc. ....................................................................................................................... 31<br />

The Evolving Needs of the Developer Community<br />

By Derek Fung, Total Phase ...................................................................................................................................................40<br />

Products and Services<br />

Hardware<br />

ICs<br />

Microchip Technology Inc.<br />

8-bit <strong>USB</strong> PIC Microcontrollers from Microchip ............35<br />

External <strong>USB</strong> Bridges from Microchip ...........................36<br />

Featured 16-bit PIC® MCU and dsPIC® DSC <strong>USB</strong><br />

devices from Microchip .................................................37<br />

Software<br />

Middleware<br />

Micro Digital Inc<br />

smx<strong>USB</strong>H (Host Stack), smx<strong>USB</strong>D<br />

(Device Stack), smx<strong>USB</strong>O (OTG) .................................38<br />

HCC Embedded<br />

Embedded <strong>USB</strong> ..............................................................39<br />

2 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


No S<strong>to</strong>pping This Bus!<br />

Naming a computer interface “universal” back in the wild<br />

west days of the mid-1990s had over<strong>to</strong>nes of hubris. But<br />

there’s no doubting the standard’s cosmic appeal as <strong>USB</strong><br />

3.0 gains support and traction across the industry. We<br />

talked <strong>to</strong> Gordon Lunn, senior application engineer at<br />

Future Technology Devices International (FTDI); Sukhdeep<br />

Hundal, VP of engineering and technology at Icron<br />

<strong>Technologies</strong> Corporation; Kris Kendall, marketing manager<br />

for NXP’s MCU Interface Products; and Derek Fung,<br />

VP of business for Total Phase <strong>to</strong> learn more.<br />

EECatalog: What trends are you seeing in the implementation<br />

of <strong>USB</strong> in embedded applications? Any surprises<br />

there?<br />

Gordon Lunn, FTDI: A key accelerating<br />

trend for <strong>USB</strong> in embedded systems is the<br />

increasing number of times this is used for<br />

battery charging and power delivery. It has<br />

moved away from simply being a data port.<br />

As part of this new benefit of being able <strong>to</strong><br />

charge devices, the port is now required <strong>to</strong> detect the type<br />

of power source connection that is being made. A standard<br />

downstream port is capable of delivering a maximum of<br />

500 mA while a dedicated charging port is much higher<br />

(1.5 A). Determining what type of host port you are connected<br />

<strong>to</strong> allows for improved and faster charging.<br />

A second growth area is with configurable designs; designs<br />

that require firmware upgrades. Increasingly <strong>USB</strong> is the<br />

preferred connection <strong>to</strong> access a PC port or memory stick<br />

for implementing a field upgrade.<br />

Thirdly we will be seeing a lot more interest in connecting<br />

peripheral hardware <strong>to</strong> phone or tablet devices. This may<br />

be with conventional <strong>USB</strong> host chipsets or with Android’s<br />

unique Open Accessory Mode whereby the host PC or<br />

tablet is actually the <strong>USB</strong> peripheral and the peripheral<br />

accessory is the <strong>USB</strong> host. This has many advantages, such<br />

as simplifying the software required <strong>to</strong> run on the Android<br />

platform (i.e., no drivers). Also, as the accessory provides<br />

power <strong>to</strong> the <strong>USB</strong> port of the Android, there is no battery<br />

drain from the accessory.<br />

EECatalog SPECIAL FEATURE<br />

<strong>USB</strong> has moved beyond a simple data port. New developments mean this<br />

“universal” standard is becoming even more so, especially with shot-inthe-arm<br />

support from Intel and Microsoft.<br />

By Cheryl Coupé, Edi<strong>to</strong>r<br />

Sukhdeep Hundal, Icron: Definitely a shift<br />

from <strong>USB</strong> 1.1 <strong>to</strong> <strong>USB</strong> 2.0. We are seeing more<br />

demand for <strong>USB</strong> as a direct-access s<strong>to</strong>rage<br />

device, thus the need for <strong>USB</strong> 2.0’s higher<br />

throughputs.<br />

Kris Kendall, NXP: On the host PC side, it used <strong>to</strong> be a<br />

“discrete solution” designed on the motherboard. Discrete<br />

solution here means it is a bridge controller from PCIe <strong>to</strong><br />

<strong>USB</strong> 3.0. These discrete solutions can easily be placed very<br />

close <strong>to</strong> the connec<strong>to</strong>r. However, Intel and AMD are now<br />

integrating these <strong>USB</strong> 3.0 controllers (xHCI controllers)<br />

in<strong>to</strong> their chipsets. Intel is integrating FrescoLogic solution,<br />

and AMD is integrating NEC/Renesas solution. This<br />

means that the chipset will be located somewhere close <strong>to</strong><br />

the center of the motherboard, and will be far away from<br />

connec<strong>to</strong>r. An integrated solution seems <strong>to</strong> be the trend<br />

right now. A discrete solution is mainly used on plug-in<br />

cards, and they are used <strong>to</strong> upgrade current computers<br />

that don’t have the <strong>USB</strong> 3.0 capability.<br />

From the device side, we have seen <strong>USB</strong> 3.0 s<strong>to</strong>rage devices<br />

most of the time. Now people are coming out with devices<br />

such as HD cameras or <strong>USB</strong> 3.0 multi-function docking<br />

stations <strong>to</strong> utilize the high-speed interface. People used<br />

<strong>to</strong> develop <strong>USB</strong> 3.0-<strong>to</strong>-SATA bridge ICs <strong>to</strong> adapt existing<br />

SATA HDDs, but more and more vendors are implementing<br />

<strong>USB</strong> 3.0 SSD controllers so that it can directly interface<br />

with NAND flashes. This will reduce the cost <strong>to</strong> convert<br />

from <strong>USB</strong>3àSATA and SATAàNAND interfaces.<br />

<strong>USB</strong> usage in embedded systems so far has been largely centered<br />

on dealing with the loss of serial and parallel ports on<br />

PCs and lap<strong>to</strong>ps, the loss of parallel interface printers, and<br />

with capitalizing on the low cost and convenience of <strong>USB</strong><br />

thumb drives for transporting information. However, <strong>USB</strong><br />

offers many other capabilities that are available <strong>to</strong> solve other<br />

problems in the embedded space. We expect <strong>to</strong> see these uses<br />

grow in the future with <strong>USB</strong> Wi-Fi, <strong>USB</strong> s<strong>to</strong>rage,<strong>USB</strong> Ethernet,<br />

<strong>USB</strong> printers, <strong>USB</strong> docking, <strong>USB</strong>-based audio visual,<br />

<strong>USB</strong> moni<strong>to</strong>rs and so on. Plug and play and higher speed<br />

with <strong>USB</strong> 3.0 and built-in OS driver support for several of<br />

these device classes is driving the <strong>USB</strong> implementation as a<br />

primary standard in the embedded space.<br />

www.eecatalog.com/usb 3


EECatalog SPECIAL FEATURE<br />

Derek Fung, Total Phase: For <strong>USB</strong> 3.0,<br />

the major interest has been for bandwidthintensive<br />

applications such as mass s<strong>to</strong>rage<br />

and video. But these applications represent<br />

only a small portion of the overall <strong>USB</strong><br />

embedded device market. <strong>USB</strong> is becoming<br />

more ubiqui<strong>to</strong>us in new microcontrollers; consequently<br />

we are seeing many first-time <strong>USB</strong> developers. We’ve seen<br />

huge interest in <strong>USB</strong> training classes that we offer. While<br />

people always clamor for<br />

more speed at the high-end,<br />

you cannot underestimate<br />

the growth and proliferation<br />

of devices at full- and highspeed.<br />

EECatalog: What does<br />

Intel’s recent addition of <strong>USB</strong><br />

3.0 in Series 6/7 chipsets<br />

(for Gen 3 Core “Ivy Bridge”<br />

CPUs) mean <strong>to</strong> the embedded<br />

market?<br />

Lunn, FTDI: Adding <strong>USB</strong> 3.0 in<strong>to</strong> the Intel chipset will<br />

certainly improve the availability of the technology <strong>to</strong> the<br />

general market. In essence, the user gets <strong>USB</strong> 3.0 for free.<br />

This will push <strong>USB</strong> 3.0 in<strong>to</strong> the mainstream peripheral<br />

market, as OEMs know that this type of SuperSpeed port<br />

will be there. This will encourage more and more applications<br />

<strong>to</strong> adopt it, with the end result that users will see the<br />

Designing with<br />

Intel ® Embedded<br />

Processors?<br />

Visit Vi i<br />

www.embeddedintel.com<br />

Intel’s official support and<br />

Windows 8 inclusion of<br />

<strong>USB</strong> 3.0 will help drive the<br />

industry in<strong>to</strong> mainstream<br />

adoption…<br />

benefits of the higher performance of this technology. With<br />

5 Gbps capability, it may be that system configurations<br />

could change. For example, devices such as ultrabooks and<br />

tablets may be able <strong>to</strong> offload internal s<strong>to</strong>rage and be able<br />

<strong>to</strong> run at acceptable speeds from external drives, or <strong>USB</strong><br />

SuperSpeed could be used <strong>to</strong> drive moni<strong>to</strong>rs thus eliminating<br />

dedicated graphics busses. Finally, the real “shot in<br />

the arm” for <strong>USB</strong> 3.0 will be Windows 8 including native<br />

support later this year.<br />

Embedded Intel ® Solutions<br />

delivers in-depth product, technology<br />

and design information <strong>to</strong> engineers<br />

and embedded developers who design with<br />

Intel ® Embedded processors<br />

Embedded<br />

Solutions<br />

<strong>Subscribe</strong> scribe Toda Today ay at<br />

www.embeddedintel.com<br />

Free!<br />

4 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012<br />

Intel ®<br />

Spring 2012<br />

Gold Sponsors<br />

Scan this<br />

QR code<br />

<strong>to</strong> subscribe<br />

Standards Vie for Mobile<br />

Medical Leadership p<br />

www.embeddedintel.com<br />

Social and d Mobile Mobile<br />

Players rs Change Change<br />

the Game Game<br />

Body Body Area Area<br />

Networking working wo Heats Heats<br />

Up in n Medical MMedical<br />

Field Field ield<br />

Multicore Mult ulticore re Is IIs<br />

Key Key ey y<br />

<strong>to</strong> <strong>to</strong> oInno IInnovation<br />

novatio ation on in in in<br />

Medical edical al Applications<br />

AApplic A plicat atio ation ons ns<br />

Hundal, Icron: With computers<br />

now shipping with<br />

<strong>USB</strong> 3.0 included, there is no<br />

need <strong>to</strong> have a third-party<br />

controller, thus <strong>USB</strong> 3.0 adoption<br />

will start <strong>to</strong> take off.<br />

Kendall, NXP: Ivy Bridge CPU<br />

doesn’t really include the <strong>USB</strong><br />

3.0 function. It is the chipset<br />

“PantherPoint” that has the<br />

<strong>USB</strong> 3.0 function. For sure,<br />

integrating the <strong>USB</strong> 3.0 controller in<strong>to</strong> the chipset means<br />

one less component needed on the PCB. Systems with smaller<br />

footprints (such as tablet PCs) can be designed. A discrete<br />

solution usually provides two ports, but chipsets can provide<br />

up <strong>to</strong> four ports now. That means more connecting ports for<br />

consumers <strong>to</strong> plug in. And cost is already included in the<br />

system chipset. Consumers don’t have <strong>to</strong> pay extra (or are<br />

already paying) for this feature.


Integrated <strong>USB</strong> 3.0 controller with Ivy Bridge platforms<br />

is a key driver in driving higher bandwidth audio visual,<br />

graphics and high-def video in embedded applications.<br />

We should see more high-end entertainment, consumer<br />

devices and productivity embedded devices in the near<br />

future .<br />

Fung, Total Phase: Intel’s<br />

official support and Windows<br />

8 inclusion of <strong>USB</strong> 3.0 will<br />

help drive the industry in<strong>to</strong><br />

mainstream adoption, but<br />

there has been huge progress<br />

in the deployment of <strong>USB</strong><br />

3.0 well before Intel’s entry<br />

– <strong>USB</strong> 3.0 ports are already<br />

common on new computer<br />

designs. For devices, the <strong>USB</strong><br />

Implementer’s Forum has<br />

pointed out that the pace of<br />

certified <strong>USB</strong> 3.0 devices has<br />

already surpassed previous<br />

iterations of the pro<strong>to</strong>col.<br />

We’ve seen many high-performance<br />

<strong>USB</strong> 3.0 drives with prices beginning <strong>to</strong> reach<br />

parity with their older <strong>USB</strong> 2.0 counterparts and coupled<br />

with Intel’s official support, we expect <strong>to</strong> see an acceleration<br />

of the <strong>USB</strong> 3.0 adoption rate.<br />

Intel is supporting both<br />

Thunderbolt and <strong>USB</strong><br />

3.0/2.0 so expect both<br />

standards <strong>to</strong> co-exist in the<br />

prosumer space, where the<br />

cus<strong>to</strong>mer is willing <strong>to</strong> pay a<br />

premium for that additional<br />

throughput.<br />

EECatalog SPECIAL FEATURE<br />

While early-adopter focus has been primarily about speed<br />

and not power, we are optimistic that more devices will<br />

take advantage of the power management aspects of <strong>USB</strong><br />

3.0 and it will become more ubiqui<strong>to</strong>us in delivering a<br />

better user experience as the cost of implementing and<br />

adding <strong>USB</strong> 3.0 drops.<br />

EECatalog: Where do you see<br />

opportunities for other highspeed<br />

interconnects such as<br />

Thunderbolt in embedded<br />

applications, either instead<br />

of or along with <strong>USB</strong>?<br />

Lunn, FTDI: Given the<br />

higher data rates that<br />

Thunderbolt and <strong>USB</strong> 3.0<br />

offer, they are highly suited<br />

<strong>to</strong> transferring significant<br />

amounts of data in a shorter<br />

time. This really equates <strong>to</strong><br />

memory s<strong>to</strong>rage, perhaps<br />

as a localized alternative <strong>to</strong><br />

NAS s<strong>to</strong>rage for video/media<br />

files or for streaming media files such as video, both in<br />

the home and commercially. Thunderbolt has already been<br />

shown <strong>to</strong> be capable of providing an interface for MAC/<br />

PC moni<strong>to</strong>rs and as the Thunderbolt interface allows for<br />

www.eecatalog.com/usb 5


COME TO<br />

RTECC<br />

REGISTER<br />

IT’S COMPLIMENTARY!<br />

AND MORE AWESOME<br />

THAN WORK!<br />

RTECC.COM<br />

REAL-TIME AND EMBEDDED<br />

COMPUTING CONFERENCE<br />

WWW.RTECC.COM<br />

W<br />

TAKE TAKE A A DAY DAY TO TO LEARN LEARN N ABOUT AABO ABOUT<br />

THE THE NEWESSSST NEWEST IDEAS IIDEA IDEAS IN IN TTHE<br />

EEMBEDDED<br />

EMBEDDED BEDDDED<br />

IN INDUSTRY.<br />

CHECK OUT THE LATEST DEMOS.<br />

LISTEN TO TALKS FROM THE<br />

EXPERTS.<br />

GET OUT OF YOUR OFFICE.<br />

RETURN WITH INSIGHT ABOUT<br />

THE FUTURE OF THE INDUSTRY.


many pro<strong>to</strong>cols over one connec<strong>to</strong>r this may allow for simplified<br />

product designs with fewer connec<strong>to</strong>rs and simpler<br />

cabling.<br />

The difficulty for Thunderbolt is that many existing<br />

peripherals run on <strong>USB</strong>, which is well established, and<br />

<strong>to</strong> ask consumers <strong>to</strong> move <strong>to</strong> Thunderbolt will require a<br />

lot of new equipment or converter boxes <strong>to</strong> allow legacy<br />

hardware <strong>to</strong> continue <strong>to</strong> work. This may be a difficult task<br />

and as such we may see Thunderbolt and <strong>USB</strong> co-exist for<br />

some time while Thunderbolt or the faster <strong>USB</strong> 3.0 begin<br />

<strong>to</strong> carve out new applications.<br />

Hundal, Icron: Intel is supporting both Thunderbolt and<br />

<strong>USB</strong> 3.0/2.0 so expect both standards <strong>to</strong> co-exist in the<br />

prosumer space, where the cus<strong>to</strong>mer is willing <strong>to</strong> pay a<br />

premium for that additional throughput.<br />

Kendall, NXP: Today, comparable external connectivity <strong>to</strong><br />

<strong>USB</strong> 3.0 is Thunderbolt, in terms of speed (Gbps) and consumer<br />

availability. But a Thunderbolt solution in general is still<br />

more expensive compared <strong>to</strong> a <strong>USB</strong> 3.0 solution. A Thunderbolt<br />

cable (from Apple) will cost more than $40, but a <strong>USB</strong> 3.0 cable<br />

could be just a few dollars. In order <strong>to</strong> implement Thunderbolt,<br />

the system needs <strong>to</strong> have a Thunderbolt controller, which adds<br />

extra cost <strong>to</strong> the system design. As mentioned previously,<br />

Intel chipsets already have <strong>USB</strong> 3.0 integrated, therefore, no<br />

additional cost is added. Maybe Thunderbolt is mainly for the<br />

high-end market compared <strong>to</strong> <strong>USB</strong> 3.0. <strong>USB</strong> 3.0 is backwardcompatible<br />

with <strong>USB</strong> 2.0. People can still use their existing<br />

<strong>USB</strong> 2.0 devices on the <strong>USB</strong> 3.0 ports. But Thunderbolt is only<br />

backward-compatible with DisplayPort.<br />

Thunderbolt and <strong>USB</strong> will co-exist on computing platforms.<br />

Thunderbolt will be more adopted for high-bandwidth graphics<br />

and multiple video streams for the professional and high-end<br />

enthusiasts where the high bandwidth is effectively utilized,<br />

while <strong>USB</strong> 3.0 will serve most mainstream low-cost humaninterface<br />

devices and external s<strong>to</strong>rage and embedded devices.<br />

Very consumer friendly with plug and play – it just works.<br />

Fung, Total Phase: We view Thunderbolt as complementary<br />

<strong>to</strong> <strong>USB</strong> since it enables the ability <strong>to</strong> extend PCIe out of a<br />

lap<strong>to</strong>p more easily than current ExpressCard slots. Thunderbolt<br />

enables devices <strong>to</strong> easily bridge <strong>to</strong> PCIe, but given that<br />

PCIe is very raw, developers often prefer a higher-level pro<strong>to</strong>col<br />

(like <strong>USB</strong>!) for communication. Therein lies one of the<br />

core benefits of <strong>USB</strong>.<br />

EECatalog: The <strong>USB</strong>-IF recently announced two new initiatives:<br />

the <strong>USB</strong> audio/visual device class specification<br />

and a new power delivery specification using the VBUS<br />

line in the <strong>USB</strong> cable. What impacts do you expect <strong>to</strong> see<br />

for these in embedded applications?<br />

EECatalog SPECIAL FEATURE<br />

Lunn, FTDI: The power-delivery class is particularly interesting<br />

as this allows peripherals and hosts <strong>to</strong> supply power.<br />

Also at 100W it will be suitable for powering most peripheral<br />

devices from the <strong>USB</strong> port. Cabling will be simplified as<br />

both data and power go through the same connec<strong>to</strong>r. Also in<br />

time we may see a standardization of all power connec<strong>to</strong>rs<br />

being a <strong>USB</strong> connec<strong>to</strong>r, making it simpler for consumers <strong>to</strong><br />

power devices from a small range of adapters.<br />

Hundal, Icron: <strong>USB</strong> audio/visual device class specification<br />

on its own will mean improved interoperability and the new<br />

power-delivery spec will increase utility. Taken <strong>to</strong>gether, we<br />

will see an increase in embedded <strong>USB</strong> applications which is<br />

great for the market.<br />

Kendall, NXP: <strong>USB</strong> audio/visual class specification is a<br />

new specification from <strong>USB</strong>-IF and it can serve certain AV<br />

applications, especially <strong>USB</strong>-based docking or similar. But<br />

it does not provide support similar <strong>to</strong> HDMI or DisplayPort<br />

for higher resolution applications and over longer cable<br />

lengths (like a few meters). We believe for space constrained<br />

embedded applications, <strong>USB</strong> would be adopted but we<br />

anticipate the audio visual interface <strong>to</strong> co-exist, as feasible.<br />

We anticipate <strong>USB</strong> power delivery <strong>to</strong> gain significant market<br />

traction and gain tremendous momentum across the board<br />

for a multitude of applications once the final specification<br />

is released.<br />

Fung, Total Phase: We expect great things on these two<br />

fronts. One of the great features of <strong>USB</strong> is the fact that you<br />

can power and operate a device through a single connection.<br />

The new power delivery expands that horizon even more<br />

and combined with the new A/V class, a single <strong>USB</strong> port can<br />

be the gateway for comprehensive, single-port docking solutions<br />

for the next generation of mobile devices, ushering in<br />

a new era of consumer convenience.<br />

Video over <strong>USB</strong> does exist <strong>to</strong>day, but the development of<br />

the A/V class makes it an open standard, which ultimately<br />

benefits the consumer. In summary, the new initiatives<br />

make it simpler and more convenient for consumers <strong>to</strong> use<br />

<strong>USB</strong> devices, and that will help accelerate adoption.<br />

Cheryl Berglund Coupé is edi<strong>to</strong>r of EECatalog.<br />

com. Her articles have appeared in EE Times,<br />

Electronic Business, Microsoft Embedded Review<br />

and Windows Developer’s Journal and<br />

she has developed presentations for the Embedded<br />

Systems Conference and ICSPAT. She has<br />

held a variety of production, technical marketing and writing<br />

positions within technology companies and agencies in the<br />

Northwest.<br />

www.eecatalog.com/usb 7


Advanced <strong>USB</strong> Bridge ICs -<br />

Delivering Greater System Value<br />

By Dave Sroka & Gordon Lunn, Future Devices Technology International (FTDI)<br />

Universal serial bus (<strong>USB</strong>) interfaces continue <strong>to</strong> be the most abundant<br />

in the market, as they offer a means of easily moving data,<br />

while ensuring that high levels interoperability are made possible<br />

and enabling inexpensive implementation <strong>to</strong> be realized. However,<br />

in all products the underlying need <strong>to</strong> innovate continues and this<br />

is certainly true of <strong>USB</strong>, with system designers now facing ever<br />

shortening development cycles and the need optimize cost.<br />

<strong>USB</strong> bridge ICs present a convenient and cost-effective way <strong>to</strong><br />

add a <strong>USB</strong> port. There are a considerable number of IC offerings<br />

now available, but as with any industry sec<strong>to</strong>r the variation in<br />

features and functionality that they possess is critical. Some<br />

bridge ICs are better attuned <strong>to</strong> meet the exacting demands of<br />

the electronic design community than others.<br />

There are a number of major issues that the modern design engineer<br />

faces when wishing <strong>to</strong> incorporate <strong>USB</strong> in<strong>to</strong> their system<br />

design. The following article will look at implementation trade-offs<br />

and how certain semiconduc<strong>to</strong>r manufacturers have responded <strong>to</strong><br />

them. In light of current environmental guidelines, such as Energy<br />

Star, the power consumption of electronics hardware is a major<br />

issue. As a result implementation of a <strong>USB</strong> connectivity solution<br />

should not heavily impinge on the system’s <strong>to</strong>tal power budget.<br />

Device FT200XD FT201X FT220X FT221X FT230X FT231X FT240X<br />

Description I²C slave<br />

<strong>to</strong> <strong>USB</strong> 2.0<br />

Full Speed<br />

Performance 3.4<br />

Mbits/sec<br />

I²C slave<br />

<strong>to</strong> <strong>USB</strong> 2.0<br />

Full Speed<br />

3.4<br />

Mbits/sec<br />

SPI/FT1248<br />

(4-bits) <strong>to</strong><br />

<strong>USB</strong> 2.0<br />

Full Speed<br />

0.5<br />

MByte/sec<br />

SPI/FT1248<br />

(8-bits) <strong>to</strong><br />

<strong>USB</strong>2.0 Full<br />

Speed<br />

1<br />

MByte/sec<br />

With electronic products and equipment becoming increasing<br />

packed with features and functionality, maximizing utilization of<br />

available board space is paramount. As a result it is highly beneficial<br />

if the specified <strong>USB</strong> connectivity solution has compact dimensions so<br />

that it can be implemented in<strong>to</strong> systems that are space constrained.<br />

In many cases, the <strong>USB</strong> interconnect is now starting <strong>to</strong> act as the<br />

principal route through which <strong>to</strong> power portable electronics goods.<br />

This has led <strong>to</strong> an increase of current sourcing levels that the standard<br />

can support. Previously <strong>USB</strong> supported a current of 500 mA<br />

through a standard downstream port (SDP), but <strong>to</strong> keep recharging<br />

periods as short as possible an updated version of the <strong>USB</strong> charging<br />

specification has now been ratified. This permits1.8 A of current<br />

<strong>to</strong> be carried (more than trebling the charging capacity) through a<br />

dedicated charging port (DCP) - where both the data lines have been<br />

shorted out. Differentiating between a DCP and an SDP is crucial<br />

if the advantages of enhanced charging are <strong>to</strong> be realized. The <strong>USB</strong><br />

charging circuits with DCP detection that have been used so far<br />

have been fairly complex in nature. They have required inclusion of<br />

a large quantity of discrete components. Often they also required<br />

intervention by the system microcontroller, which detracted from<br />

overall system performance as processing capacity was sacrificed<br />

<strong>to</strong> support the detection process and enable battery charging.<br />

Lastly, this detection and enabling function was not au<strong>to</strong>matic and<br />

would require software code generation and engineering support<br />

for implementation and validation.<br />

FTDI’s team of <strong>USB</strong> experts are fully aware of the difficulties that<br />

design engineers now have <strong>to</strong> deal with. In response, the company<br />

has developed the X-Chip series of advanced <strong>USB</strong> bridge ICs. These<br />

ICs boast a far more comprehensive feature set than competing IC<br />

offerings on the market. This allows design engineers <strong>to</strong> tackle the<br />

various system level challenges discussed earlier, as well as being<br />

able <strong>to</strong> deliver higher <strong>USB</strong><br />

Basic UART<br />

<strong>to</strong> <strong>USB</strong> 2.0<br />

Full Speed<br />

3<br />

Mbaud<br />

Full UART<br />

<strong>to</strong> <strong>USB</strong> 2.0<br />

Full Speed<br />

3<br />

MBaud<br />

CBUS Pins * 1 6 1 1 4 4 2<br />

Clock<br />

Oscilla<strong>to</strong>r<br />

EE/MTP<br />

Memory<br />

Packages 10-pin<br />

DFN<br />

Figure 1: The X-Chip Series<br />

FIFO <strong>to</strong><br />

<strong>USB</strong> 2.0<br />

Full Speed<br />

1<br />

Mbyte/sec<br />

Internal Internal Internal Internal Internal Internal Internal<br />

Internal Internal Internal Internal Internal Internal Internal<br />

16-pin<br />

SSOP/<br />

16-pin QFN<br />

16-pin<br />

SSOP/<br />

16-pin QFN<br />

20-pin<br />

SSOP/<br />

20-pin QFN<br />

16-pin<br />

SSOP/<br />

16-pin QFN<br />

20-pin<br />

SSOP/<br />

20-pin QFN<br />

24-pin<br />

SSOP/<br />

24-pin QFN<br />

charging currents <strong>to</strong> their<br />

products without being<br />

forced <strong>to</strong> compromise on<br />

system performance.<br />

DCP Detection<br />

The integrated functionality<br />

within the X-Chip enables<br />

au<strong>to</strong>matic detection of<br />

connection <strong>to</strong> a DCP, so<br />

that system logic can be<br />

switched from data transfer<br />

mode over <strong>to</strong> charging<br />

mode. If a DCP is detected,<br />

the IC asserts a signal on<br />

one of its output pins <strong>to</strong> indicate this <strong>to</strong> the system. The number of<br />

discrete components needed for this task is low and the intervention<br />

of the system microcontroller is no longer required. In addition, as<br />

the function is hard-wired in<strong>to</strong> the X-Chip devices there is no need<br />

<strong>to</strong> develop the function independently - thus software development<br />

time and overall project schedule is shortened. . A description of the<br />

products in the X-Chip series is shown in Figure 1, with a comparison<br />

between its DCP detection and that of conventional <strong>USB</strong> connectivity<br />

solutions being shown in Figures 2 and 3 respectively.<br />

8 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


Figure 2: X-Chip Simplifies DCP Detection Circuit<br />

Other Features<br />

In addition <strong>to</strong> taking care of the DCP detection, the members of<br />

the X-Chip series all exhibit low power consumption. By employing<br />

advanced semiconduc<strong>to</strong>r process, as well as having a core that runs<br />

at 1.8 V rather than the 3.3 V normally used, these ICs draw less than<br />

8 mA when fully active (approximately a third less than the majority<br />

of competing devices on the market) and a mere 125 μA while it is<br />

in suspend mode. A built-in PLL clocking mechanism means that<br />

further board space can be saved and fewer components need <strong>to</strong> be<br />

sourced, as an external oscilla<strong>to</strong>r is not required. In addition, the<br />

ability <strong>to</strong> output a system clock from the configurable pins means<br />

that added flexibility for the system implementation is possible.<br />

X-Chip devices all contain a small amount of non-volatile (2 kBytes)<br />

EE memory that can offer great system utility. Commonly used for<br />

s<strong>to</strong>rage and configuration of product descrip<strong>to</strong>rs, this multi-time<br />

programmable (MTP) memory can be key <strong>to</strong> facilitating other<br />

platform requirements that OEMs may have. For example, manufacturing<br />

data, or product revision information could be s<strong>to</strong>red, or the<br />

unique FTDI Chip ID, programmed in<strong>to</strong> the device could be used in<br />

an encryption or security implementation. In the end, having a small<br />

EE re-programmable memory could save the cost of adding another<br />

device <strong>to</strong> the bill of materials and free up board space.<br />

As the number of IO pins that must be supported has a huge<br />

influence on the footprint of the <strong>USB</strong> controller on the printed<br />

circuit board, any effort <strong>to</strong> optimize these configurations is well<br />

spent. In the X-Chip series, the IOs have been optimized <strong>to</strong> the<br />

feature set and the number of pin kept <strong>to</strong> a minimum. While this<br />

means more parts are offered in the series, it does also translate<br />

that each part is more optimized. In addition, as the X-Chip offers<br />

many system level features (PLL, EE memory and internal regula<strong>to</strong>rs),<br />

the requirement for IO support of these functions could<br />

be eliminated in the board design, assuming a good match of the<br />

feature <strong>to</strong> the system requirement.<br />

By specifying highly integrated, more feature-rich bridge ICs, the<br />

complexity of bringing <strong>USB</strong> <strong>to</strong> systems can be greatly reduced. The<br />

X-Chip furnishes the industry with a <strong>USB</strong> interface solution which<br />

has the timing, memory and the DCP detection functionality all<br />

integrated in<strong>to</strong> its silicon. The value proposition that the X-Chip<br />

series can deliver is extensive, including, saving board space,<br />

reducing the number of external components, enhancing system<br />

performance, curbing overall system cost, lowering power budget<br />

and shortening the development process. By understanding and<br />

utilizing as many of these features as possible, FTDI is confident<br />

that your end product design can be optimized.<br />

CONTACT INFORMATION<br />

Future Technology Devices<br />

International Limited (USA)<br />

7235 NW Evergreen Parkway<br />

Suite 600<br />

Hillsboro, OR 97124-5803<br />

USA<br />

+1 (503) 547-0988 Telephone<br />

+1 (503) 547-0987 Fax<br />

us.sales@ftdichip.com<br />

http://www.ftdichip.com<br />

www.eecatalog.com/usb 9


Voyager M3i<br />

<strong>USB</strong> 3.0 Pro<strong>to</strong>col Analyzer & Exerciser System<br />

By LeCroy<br />

The Voyager M3i is LeCroy’s flagship <strong>USB</strong> 3.0 validation<br />

platform that provides end-<strong>to</strong>-end testing of <strong>USB</strong> systems<br />

and software. When used for <strong>USB</strong> analysis, the Voyager sits<br />

in the data path and transparently records the <strong>USB</strong> traffic<br />

<strong>to</strong> provide unambiguous visibility of the exchange between<br />

host and device.<br />

Approved for <strong>USB</strong>-IF Compliance Testing<br />

Designed from the start <strong>to</strong> address compliance testing, the<br />

Voyager platform is available with an advanced exerciser<br />

capable of generating both <strong>USB</strong> 2.0 and 3.0 traffic. Sample<br />

scripts are included that allow the Voyager <strong>to</strong> emulate a<br />

host or device and programmatically send illegal or erroneous<br />

traffic <strong>to</strong> a device. A fully au<strong>to</strong>mated compliance<br />

checker is also available <strong>to</strong> verify conformance <strong>to</strong> the <strong>USB</strong><br />

3.0 specification.<br />

Features and Benefits<br />

CATC Trace - Captured traffic is displayed using the legendary<br />

CATC Trace which has become the industry’s de<br />

fac<strong>to</strong> standard for <strong>USB</strong> pro<strong>to</strong>col analysis. With LeCroy’s<br />

intuitive interface users can easily navigate from the packet<br />

layer up <strong>to</strong> the logical transfer layer allowing fast debug of<br />

pro<strong>to</strong>col issues.<br />

Unmatched Accuracy - The Voyager provides fast-locking<br />

on the SuperSpeed signal and is the only analyzer that<br />

records every 10-bit symbol for uncompromised visibility<br />

<strong>to</strong> problems on the bus.<br />

Non-Intrusive Analysis - While inline, the analyzer seamlessly<br />

moni<strong>to</strong>rs low power states while accurately showing<br />

all link transitions time-stamped within the display.<br />

Analyze <strong>USB</strong> 3.0 & 2.0 - Concurrent high-speed and<br />

SuperSpeed recording allows end-<strong>to</strong>-end viewing of data<br />

transfers across a <strong>USB</strong> 3.0 hub.<br />

Intelligent Triggering - The LeCroy <strong>USB</strong> 3.0 analyzers<br />

provide real time hardware-based triggering <strong>to</strong> pinpoint<br />

pro<strong>to</strong>col events of interest. Trigger events can be specified<br />

at the lowest levels including bus states and ordered sets<br />

(Link up, SKP, etc…), control transfers, error conditions,<br />

and header fields.<br />

4GB Recording Capacity - The Voyager features 4GB<br />

recording memory plus <strong>USB</strong> and Gbe links for uploading<br />

recorded traffic <strong>to</strong> the host PC. Use pre-capture filtering<br />

<strong>to</strong> extend capacity further - or use spool-<strong>to</strong>-disk capture <strong>to</strong><br />

record bus events for hours or even days.<br />

Comprehensive Class Decoding - Comprehensive <strong>USB</strong><br />

device classes are decoded au<strong>to</strong>matically eliminating the<br />

tedious process of decoding transactions manually. This<br />

includes Mass S<strong>to</strong>rage, UASP, 3.0 Hub, PTP/Still Image,<br />

Media Transfer Pro<strong>to</strong>col (MTP), Printer, PictBridge, and all<br />

popular <strong>USB</strong> device classes<br />

Compatible Operating Systems:<br />

<br />

<br />

Availability:<br />

The powerful Voyager M3i and the portable Advisor T3 are<br />

available in both <strong>USB</strong> 2.0/3.0 models; or in <strong>USB</strong> 2.0 configurations<br />

that are upgradeable <strong>to</strong> support <strong>USB</strong> 3.0<br />

CONTACT INFORMATION<br />

LeCroy Corporation - Pro<strong>to</strong>col<br />

Solutions Division<br />

3385 Scott Blvd.<br />

Santa Clara, CA 95054<br />

408 653-1262 Telephone<br />

408-727-6622 Fax<br />

PSGsales@lecroy.com<br />

www.lecroy.com<br />

10 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


Advisor T3<br />

<strong>USB</strong> 3.0 Pro<strong>to</strong>col Analyzer<br />

By LeCroy<br />

LeCroy’s Advisor T3 is an ultra-portable SuperSpeed <strong>USB</strong><br />

2.0/3.0 analyzer that delivers unmatched accuracy at an<br />

extraordinary price. Based on LeCroy’s market-leading Voyager<br />

verification system, the<br />

Advisor T3 includes the same<br />

market-leading reliability as<br />

the flagship system.<br />

Comprehensive Triggering -<br />

Essential for efficient testing of<br />

<strong>USB</strong> 2.0 and <strong>USB</strong> 3.0, the Advisor<br />

T3 includes hardware-based event<br />

triggering that can be specified<br />

at every level - from logical bus<br />

states <strong>to</strong> mass s<strong>to</strong>rage commands.<br />

Accurate and Reliable - The<br />

Advisor T3 provides the same<br />

loss-less capture of <strong>USB</strong> 2.0<br />

and 3.0 traffic as the Voyager<br />

system including SuperSpeed<br />

link training, LFPS events,<br />

state changes, and raw 10-bit<br />

symbols.<br />

Portable and Affordable - The<br />

Advisor’s unique small formfac<strong>to</strong>r<br />

fits within any briefcase yet boasts 2GB of recording<br />

memory. The system also offers spool-<strong>to</strong>-disk capture, making<br />

it well suited for testing software drivers or analyzing system<br />

performance over extended periods.<br />

Insight with Confidence -<br />

For system debug, error recovery, and performance optimization,<br />

the Voyager and Advisor T3 systems help ensure<br />

that hardware and software for <strong>USB</strong> 3.0 deliver excellent<br />

compatibility and interoperability.<br />

CONTACT INFORMATION<br />

LeCroy Corporation - Pro<strong>to</strong>col<br />

Solutions Division<br />

3385 Scott Blvd.<br />

Santa Clara, CA 95054<br />

408 653-1262 Telephone<br />

408-727-6622 Fax<br />

PSGsales@lecroy.com<br />

www.lecroy.com<br />

www.eecatalog.com/usb 11


Low-cost Cortex-M0 <strong>USB</strong> solutions with<br />

Smart Card interface<br />

Delivering robust <strong>USB</strong> performance at a low price point, these low-cost devices are compelling<br />

replacements for 8/16-bit <strong>USB</strong> microcontrollers. The highly fl exible <strong>USB</strong> architecture is, quite<br />

simply, a better approach <strong>to</strong> <strong>USB</strong>. NXP offers the widest range of ARM-based <strong>USB</strong> solutions, as<br />

well as easy-<strong>to</strong>-use software and integrated development platforms that make NXP a one-s<strong>to</strong>p<br />

shop for <strong>USB</strong>.<br />

Features<br />

ARM Cortex-M0 processor, running at frequencies of up <strong>to</strong><br />

50 MHz<br />

Memory:<br />

- Up <strong>to</strong> 128 kB on-chip fl ash program memory<br />

- Total of 12 kB SRAM data memory<br />

- Up <strong>to</strong> 4 kB EEPROM<br />

- <strong>USB</strong> drivers-HID, MSD and CDC, EEROM API, 32-b Divide API<br />

- In-System Programming (ISP-UART, <strong>USB</strong>) and In-Application<br />

Programming (IAP) via on-chip bootloader software<br />

Debug options:<br />

- Standard JTAG test/debug interface. Serial Wire Debug<br />

- Boundary scan for simplifi ed board testing<br />

Up <strong>to</strong> 54 General-Purpose I/O (GPIO) pins with confi gurable<br />

pull-up/pull-down resis<strong>to</strong>rs, repeater mode, and open-drain<br />

mode<br />

- Two GPIO grouped interrupt modules enable an interrupt<br />

based on a programmable pattern of input states of a<br />

group of GPIO pins<br />

NXP 50-MHz, 32-bit<br />

ARM Cortex-M0 TM<br />

microcontrollers LPC11U00<br />

- High-current source output driver (20 mA) on one pin (P0_7)<br />

- High-current sink driver (20 mA) on two true open-drain<br />

pins (P0_4 and P0_5)<br />

Four general-purpose counter/timers with a <strong>to</strong>tal of<br />

up <strong>to</strong> 5 capture inputs and 13 match outputs<br />

Programmable Windowed WatchDog Timer (WWDT) with a<br />

dedicated, internal low-power WatchDog Oscilla<strong>to</strong>r (WDO)<br />

Analog peripherals:<br />

- 10-bit ADC with input multiplexing among eight pins<br />

Serial interfaces:<br />

- <strong>USB</strong> 2.0 Full-Speed device controller<br />

- USART with fractional baud-rate generation<br />

- USART supports an asynchronous Smart Card interface<br />

(ISO 7816-3)<br />

- Two SSP controllers with FIFO and multi-pro<strong>to</strong>col<br />

capabilities<br />

- I2C-bus interface supporting the full I2C-bus specifi cation<br />

and Fast-mode Plus (Fm+)<br />

12 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


Clock generation:<br />

- Crystal oscilla<strong>to</strong>r with an operating range of<br />

1 <strong>to</strong> 25 MHz (system oscilla<strong>to</strong>r)<br />

- 12 MHz Internal RC oscilla<strong>to</strong>r (IRC) trimmed <strong>to</strong> 1% accuracy<br />

- Internal low-power, low-frequency WatchDog Oscilla<strong>to</strong>r<br />

- PLL allows CPU operation up <strong>to</strong> the maximum CPU rate<br />

with the system oscilla<strong>to</strong>r or the IRC as clock sources<br />

A second, dedicated PLL is provided for <strong>USB</strong><br />

- Clock output function<br />

Power control:<br />

- Four reduced power modes: Sleep, Deep-sleep,<br />

Power-down, and Deep power-down<br />

- Power profi les residing in boot ROM<br />

- Processor wake-up from Deep-sleep and Power-down<br />

modes via reset, selectable GPIO pins, watchdog interrupt,<br />

or <strong>USB</strong> port activity<br />

Power-On Reset (POR)<br />

Brownout detect with four separate thresholds for interrupt<br />

and forced reset<br />

LPC11U00<br />

ARM<br />

CORTEX-M0<br />

Up <strong>to</strong> 50 MHz<br />

High-speed GPIO (Up <strong>to</strong> 54)<br />

32-bit Timers (2)<br />

16-bit Timers (2)<br />

Systick Timer<br />

Windowed WDT<br />

Power Control<br />

PMU, power modes, BOD,<br />

single V dd power supply, POR<br />

Clock Generation Unit<br />

12 MHz, 1% IRC OSC,<br />

Watchdog OSC,<br />

1-25 MHz System OSC,<br />

System PLL<br />

AHB-LITE Bus<br />

APB Bus<br />

Bridge<br />

Flash<br />

Up <strong>to</strong> 128 kB<br />

SRAM<br />

Up <strong>to</strong> 12 kB<br />

EEPROM<br />

Up <strong>to</strong> 4 kB<br />

ROM<br />

<strong>USB</strong> drivers in ROM for HID,<br />

MSC and CDC, EEPROM API,<br />

32-bit divide API<br />

SSP/SPI (2)<br />

I 2 C<br />

<strong>USB</strong><br />

USART /<br />

Smart card interface<br />

SERIAL INTERFACES<br />

ADC<br />

8-channel, 10-bit<br />

SYSTEM ANALOG<br />

http://www.nxp.com/products/microcontrollers/<br />

Unique device serial number for identifi cation<br />

Single 3.3 V power supply (1.8 <strong>to</strong> 3.6 V)<br />

Temperature range -40 <strong>to</strong> +85 °C<br />

Available in 48-pin LQFP, 64-pin LQFB, 48-pin TFBGA,<br />

and 33-pin HVQFN package<br />

Pin-compatible with the LPC134x series<br />

Maximizing connectivity, minimizing power<br />

Connectivity options on the LPC11U00 series include two<br />

Synchronous Serial Port (SSP) interfaces, I2C with Fast-mode<br />

Plus feature for 10x higher bus-drive capability, a Universal<br />

Synchronous-Asynchronous Receiver/Transmitter (USART) and<br />

a Smart Card interface. The Smart Card interface (ISO7816-3)<br />

provides a plug-and-play interface for Smart Cards, making<br />

the LPC11U00 a good fi t for e-commerce applications.<br />

Small form-fac<strong>to</strong>r mobile & consumer apps<br />

As an extension of NXP’s proven LPC1100 family, the LPC11U00<br />

series delivers up <strong>to</strong> 128 kB Flash, up <strong>to</strong> 12 kB SRAM, up <strong>to</strong> 4 kB<br />

EEPROM a variety of serial interfaces, four system timers with<br />

PWM functionality, an 8-channel, 10-bit ADC, and up <strong>to</strong> up <strong>to</strong><br />

54 GPIOs. In addition <strong>to</strong> several standard package offerings,<br />

the LPC11U00 series is offered in a miniature 4.5 x 4.5 mm<br />

TFBGA48 package, making it especially suited for small<br />

form-fac<strong>to</strong>r mobile and consumer applications.<br />

www.eecatalog.com/usb 13


TM<br />

Total Phase Beagle <strong>USB</strong> Analyzers<br />

The Right Tool for Any Job<br />

Beagle <strong>USB</strong> 12 Pro<strong>to</strong>col Analyzer<br />

Moni<strong>to</strong>r Full- and Low-speed <strong>USB</strong><br />

Descrip<strong>to</strong>r Parsing<br />

<br />

<br />

<br />

<br />

growth rate of 178% 1 <br />

<br />

<br />

<br />

<br />

<br />

<br />

approach in designing our line of Beagle pro<strong>to</strong>col<br />

<br />

Beagle <strong>USB</strong> 480 Pro<strong>to</strong>col Analyzer<br />

Moni<strong>to</strong>r High-, Full- and Low-speed <strong>USB</strong><br />

Instant <strong>USB</strong> Class-Level Decoding<br />

Class decoding of <strong>USB</strong> 2.0 data with the Beagle <strong>USB</strong> 480 analyzer<br />

<br />

<br />

testing <strong>to</strong>ol expense.<br />

Beagle <strong>USB</strong> 12 Pro<strong>to</strong>col Analyzer<br />

<br />

<br />

<br />

Beagle <strong>USB</strong> 480 Pro<strong>to</strong>col Analyzer<br />

<br />

<br />

<br />

<strong>USB</strong> and receive instant <strong>USB</strong> class-level decoding.<br />

14 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012<br />

Beagl<br />

<br />

<br />

<br />

<br />

<br />

<br />

filter d<br />

capture<br />

<br />

<br />

with ou


s<br />

er<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Beagle <strong>USB</strong> 5000 SuperSpeed Pro<strong>to</strong>col Analyzer<br />

Moni<strong>to</strong>r <strong>USB</strong> 3.0 and <strong>USB</strong> 2.0 traffic<br />

<br />

Data Center Software moni<strong>to</strong>ring <strong>USB</strong> 3.0 data and LTSSM View with the Beagle <strong>USB</strong> 5000 analyzer<br />

Beagle <strong>USB</strong> 5000 SuperSpeed Pro<strong>to</strong>col Analyzer<br />

<br />

<br />

<br />

<br />

<br />

<br />

filter data, or set external triggers for <strong>USB</strong> 3.0 and 2.0<br />

captures.<br />

<br />

<br />

with our award-winning Data Center <br />

Beagle <strong>USB</strong> 5000 SuperSpeed Pro<strong>to</strong>col Analyzer <br />

<br />

<br />

<br />

<br />

<br />

<br />

filter data, or set external triggers for <strong>USB</strong> 3.0 and 2.0 <br />

captures.<br />

<br />

1<br />

<strong>USB</strong> 2011: SuperSpeed Comes <strong>to</strong> Market<br />

<br />

Software. Whether<br />

with our award-winning Data Center <br />

Data Center Software moni<strong>to</strong>ring <strong>USB</strong> 3.0 data and LTSSM View with the Beagle <strong>USB</strong> 5000 analyzer<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Software. Whether<br />

<br />

1<br />

<strong>USB</strong> 2011: SuperSpeed Comes <strong>to</strong> Market<br />

www.eecatalog.com/usb 15


EECatalog SPECIAL FEATURE<br />

Going Native with SuperSpeed<br />

Why access <strong>to</strong> native 10b data is essential <strong>to</strong> troubleshooting <strong>USB</strong> 3.0 designs.<br />

By Mike Micheletti, LeCroy<br />

One of the critical technical advances that enable modern<br />

high-speed serial data links, such as SuperSpeed <strong>USB</strong> 3.0, is a<br />

data encoding scheme called 8b/10b.<br />

8b/10b encoding is a proven means of overcoming a technical<br />

issue that arises when designing systems that use high data<br />

rates <strong>to</strong> transfer data over long distances. Depending on the<br />

data rate and physical transmission medium, “long” in this<br />

context can refer <strong>to</strong> a few feet or many miles. 8b/10b encoding<br />

introduces the concept of a “native 10b data stream” which is<br />

the actual information transmitted over the physical link.<br />

The 10b data stream is essentially a “scrambled” version of the<br />

8b data stream. It is this decoded 8b data which is then reassembled<br />

in<strong>to</strong> the frames and data payloads that are familiar<br />

<strong>to</strong> users of previous generations of <strong>USB</strong>. The native 10b data<br />

stream is only visible at the very lowest levels of the PHY<br />

layer. It is the PHY layer’s responsibility <strong>to</strong> convert the native<br />

10b data stream in<strong>to</strong> the 8b<br />

patterns. In the process, the<br />

PHY layer can detect transmission<br />

errors received in the<br />

10b patterns. This represents<br />

important debug information<br />

which remains hidden from<br />

the user if only the higher-level<br />

8b data stream is available for<br />

view.<br />

All commands and data transferred<br />

on a SuperSpeed <strong>USB</strong><br />

3.0 data link are entirely in 10b symbols. Only analyzers that<br />

capture and preserve the native 10b symbols allow users <strong>to</strong> see<br />

what was actually transmitted and received.<br />

Only analyzers that capture<br />

and preserve the native 10b<br />

symbols allow users <strong>to</strong> see<br />

what was actually transmitted<br />

and received.<br />

Differential Receivers<br />

The technical issues that are addressed by 8b/10b encoding<br />

arise due <strong>to</strong> the nature of the differential receivers that make<br />

such high-speed data links possible. To understand the use of<br />

8b/10b encoding, we first need <strong>to</strong> understand some requirements<br />

of differential receivers. Differential receivers were one<br />

in a series of key technical developments that enabled longdistance,<br />

high-speed serial data links.<br />

Back in the early days of digital electronics, signal transmission<br />

was accomplished by having the receiver measure the DC<br />

voltage level of the incoming signal against a common ground<br />

shared by transmitter and receiver. In this simple world, using<br />

TTL logic as an example, a voltage of 0V represented a logical<br />

“0” and a voltage of +5V represented a logical “1” (Figure 1).<br />

The clock was also common <strong>to</strong> both receiver and transmitter so<br />

the receiver could easily determine when <strong>to</strong> measure the signal<br />

for the next bit.<br />

There were a number of problems<br />

in trying <strong>to</strong> extend this<br />

technology <strong>to</strong> higher data<br />

rates and longer distances,<br />

and one key problem was the<br />

inability <strong>to</strong> provide a stable<br />

and common ground reference<br />

level when systems became<br />

physically separated (Figure<br />

2). The development of differential<br />

receivers provided<br />

a solution, where the signal level is measured between two<br />

conduc<strong>to</strong>rs, rather than against a common ground. While<br />

the nominal “ground voltage level” might vary appreciably<br />

Figure 1: A representation of a short string of data bits (01011010) as measured at the output of the transmitter, where there is a clean signal<br />

available,<br />

16 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


Figure 2: The signal as it might arrive at the receiver, showing added noise, DC bias and offset.<br />

Figure 3: After passing through the differential receiver, much of the noise and the DC bias has been removed<br />

(since these effects are largely common <strong>to</strong> both conduc<strong>to</strong>rs). The signal allows for recovery of the clock, which<br />

in turn allows the bits <strong>to</strong> be timed and decoded correctly for accurate data transmission <strong>to</strong> be completed.<br />

from one location <strong>to</strong> another, existing technology such as<br />

twisted-pair conduc<strong>to</strong>rs helped ensure that the DC offset was<br />

essentially the same for both conduc<strong>to</strong>rs, and therefore the<br />

differential voltage between the two remained constant and<br />

measurable by the receiver.<br />

Differential receivers were also able <strong>to</strong> extract the clock signal<br />

(<strong>to</strong> obtain precise data bit location) from the incoming signal<br />

by observing the rate of change of signals on the incoming<br />

transmission. By extracting the clock from the data, the<br />

receiver is able <strong>to</strong> “lock on” <strong>to</strong> the incoming signal and correctly<br />

translate the incoming signal back in<strong>to</strong> data bits as originally<br />

transmitted by the remote device (Figure 3).<br />

The Need for 8b/10b Encoding<br />

However, there were some restrictions <strong>to</strong> this DC voltage<br />

approach. One of those restrictions was the need <strong>to</strong> ensure<br />

that the incoming data provided variations in signal level at<br />

a sufficient rate that the receiver could continue <strong>to</strong> recover<br />

the clock from the incoming signal. For example, if the data<br />

being transmitted consisted of long strings of 0s (or of 1s), the<br />

receiver would see what appeared <strong>to</strong> be no signal on the line,<br />

and the “lock” would be lost.<br />

A second problem was that, <strong>to</strong> function well, the differential<br />

receivers (which are AC-coupled) required the incoming data<br />

<strong>to</strong> effectively be DC-neutral; in other words, that over periods<br />

EECatalog SPECIAL FEATURE<br />

of time longer than a few bits<br />

that the number of 1s received<br />

roughly matches the number of<br />

0s received. If the signal is not<br />

DC-balanced, the DC component<br />

of the signal charges the<br />

capaci<strong>to</strong>r of the high-pass filter<br />

used as the AC coupler, and dis<strong>to</strong>rts<br />

the signal input.<br />

Both these constraints are<br />

not typical of real data, which<br />

often contains long strings of<br />

0s or 1s (for example as filler at<br />

the end of a data file).<br />

The solution <strong>to</strong> this issue<br />

was the development of an<br />

encoding scheme, in which the<br />

“real data” is encoded using a<br />

scheme which ensures that no<br />

more than five “0” values or<br />

five “1” values will ever occur<br />

in a row, and also ensures that<br />

over time the <strong>to</strong>tal number of<br />

1s transmitted closely matches<br />

the <strong>to</strong>tal number of 0s. In<br />

order <strong>to</strong> accomplish this, each<br />

8-bit byte is encoded in<strong>to</strong> a<br />

10-bit symbol. By adding two<br />

extra bits <strong>to</strong> each byte, the potential range of data symbols is<br />

four times as large as the possible range of original 8b bytes.<br />

By careful selection of values from this much larger range of<br />

possible symbols, each 8b byte can be encoded using a 10b<br />

symbol chosen <strong>to</strong> ensure that no more than five “0” values<br />

or five “1” values occurred in a row. [For more details on how<br />

this encoding scheme works, see http://en.wikipedia.org/<br />

wiki/8b/10b_encoding.]<br />

Furthermore, since the 1:1 encoding of 8-bit bytes in<strong>to</strong> 10-bit<br />

symbols uses only one quarter of the available 10-bit symbols<br />

(since the addition of two extra bits creates four times as many<br />

unique combinations in the 10b space as in the 8b space), a<br />

second set of symbol codes can be selected for every possible<br />

8b byte, and these are selected <strong>to</strong> help compensate for excessive<br />

0 or 1 values in the previously transmitted symbol(s). So<br />

in 8b/10b encoding, each data byte has two different symbols,<br />

one selected <strong>to</strong> have slightly more “1” values and the other<br />

<strong>to</strong> have slightly more “0” values. These different symbols are<br />

called positive and negative disparity, and the transmitter<br />

keeps track of the running disparity and selects the appropriate<br />

symbol for the next byte <strong>to</strong> compensate for any disparity<br />

introduced by the previous symbol, resulting in a signal which<br />

is DC-balanced.<br />

The entire 8b/10b encoding and managing this “running disparity”<br />

is handled by the network’s physical layer (PHY), and<br />

www.eecatalog.com/usb 17


EECatalog SPECIAL FEATURE<br />

Figure 4: Data <strong>to</strong> be transmitted is passed <strong>to</strong> the PHY layer, where the data is encoded in<strong>to</strong> a 10b<br />

data stream and transmitted <strong>to</strong> the receiver, then decoded back <strong>to</strong> an 8b data stream.<br />

in commercial <strong>USB</strong> 3.0 transceivers this process is completely<br />

transparent <strong>to</strong> higher levels of the firmware/software stack,<br />

which see only 8b data values. A typical commercial <strong>USB</strong><br />

3.0 transceiver, such as the Texas Instruments TSUB1310A,<br />

takes the incoming 5 Gb/s high-speed serial 10b data stream,<br />

Analyzer with PIPE PHY Analyzer with cus<strong>to</strong>m PHY<br />

When 8b/10b encoding errors occur, the PIPE PHY<br />

may set a flag that indicates a 10b symbol did not<br />

decode properly. But it’s not possible <strong>to</strong> see the actual<br />

10b symbols that were received. The analyzer simply<br />

labels the characters <strong>to</strong> imply an error. At best, such an<br />

analyzer may attempt <strong>to</strong> reverse calculating the invalid<br />

character, but with no running disparity information the<br />

actual 10b character received cannot be determined.<br />

decodes the native 10b in<strong>to</strong> 8b traffic,<br />

and passes the 8b data stream <strong>to</strong> the<br />

<strong>USB</strong> controller via a 16-bit parallel bus<br />

operating at 250 MHz. This PHY interface<br />

for the PCI Express and <strong>USB</strong> 3.0<br />

architectures (PIPE) is a term borrowed<br />

from PCI Express. The only traffic visible<br />

<strong>to</strong> the <strong>USB</strong> controller is the 8b data<br />

stream.<br />

However, when designing or troubleshooting<br />

SuperSpeed <strong>USB</strong> devices, it is<br />

critical <strong>to</strong> understand that the native<br />

data traffic actually being transmitted<br />

in a <strong>USB</strong> 3.0 data link is always being<br />

transmitted entirely in 10b symbols<br />

(Figure 4).<br />

Designing <strong>USB</strong> 3.0 Test<br />

Equipment<br />

For SuperSpeed <strong>USB</strong> links, test<br />

equipment intended <strong>to</strong> investigate<br />

pro<strong>to</strong>col issues must be designed <strong>to</strong><br />

give engineers visibility <strong>to</strong> the native<br />

10b traffic, so that low-level errors<br />

associated with the 8b/10b encoding can be identified and<br />

eliminated. A <strong>USB</strong> pro<strong>to</strong>col analyzer typically captures<br />

a “trace” of the data traffic passing between devices, and<br />

provides error identification, decoding and displays of<br />

this traffic <strong>to</strong> enable an engineer <strong>to</strong> locate and eliminate<br />

When encoding errors occur, analyzers using cus<strong>to</strong>m<br />

logic designed <strong>to</strong> capture the native 10b data show that<br />

the symbol was not valid by marking in red. The actual<br />

10b symbol (3A9) can be easily seen by “drilling down”<br />

<strong>to</strong> the native 10b trace recording, allowing developers<br />

<strong>to</strong> see transmission errors or bit flip errors. Running<br />

disparity is also preserved allowing users <strong>to</strong> distinguish<br />

running disparity errors from other encoding errors.<br />

Figure 5: A comparison of information provided <strong>to</strong> the user by an analyzer that captures only decoded 8b data (on left) and an analyzer that<br />

captures the native 10b data (on right).<br />

18 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


pro<strong>to</strong>col errors. If the recorded traffic is collected as 8-bit<br />

data, the engineer is blind <strong>to</strong> pro<strong>to</strong>col errors that may be<br />

occurring at the native 10b level.<br />

There are two basic approaches <strong>to</strong> designing a pro<strong>to</strong>col analyzer’s<br />

data-capture circuitry. Some <strong>USB</strong> 3.0 analyzers rely on<br />

commercially available SuperSpeed PIPE PHYs as described<br />

above. The main limitation when considering test equipment<br />

that uses <strong>USB</strong> 3.0 PIPE PHYs is that the interface on these<br />

chips does not preserve the 10-bit symbols on the bus. Since<br />

the 8b/10b encoding/decoding and running disparity process<br />

occurs within the transceiver, “off-the-shelf” PIPE PHYs convert<br />

the data stream <strong>to</strong> 8-bit patterns before transferring the<br />

data <strong>to</strong> the analyzer trace memory. In the process, it discards<br />

the original 10-bit patterns including running disparity.<br />

Without the running disparity information, it becomes impossible<br />

<strong>to</strong> accurately recreate the 10b symbols, especially when<br />

an invalid 10b symbol is received. While the PIPE PHY may<br />

indicate receipt of an invalid 10b symbol, it does not identify<br />

which invalid 10b symbol was received. Also, while PIPE PHYs<br />

may indicate a running disparity error, they do not identify<br />

the disparity value that was received or the previous symbol’s<br />

running disparity.<br />

The more appropriate approach <strong>to</strong> designing the PHY for use<br />

in a <strong>USB</strong> 3.0 pro<strong>to</strong>col analyzer is <strong>to</strong> cus<strong>to</strong>m-design the PHY <strong>to</strong><br />

allow direct access <strong>to</strong> and capture of the native 10b data traffic<br />

used in <strong>USB</strong> 3.0. This approach provides obvious advantages<br />

in maintaining the actual data transmitted between devices,<br />

and allows the user direct visibility <strong>to</strong> errors occurring in the<br />

10b level.<br />

Showing Actual 8b/10b Codes<br />

Header packets and link commands are designed <strong>to</strong> <strong>to</strong>lerate a<br />

single bad symbol within their packet delimiters. When these<br />

errors occur, SuperSpeed devices are required <strong>to</strong> accept these<br />

packets as long as three out of four framing symbols are valid.<br />

Both analyzer approaches can detect when 10-bit symbol<br />

errors occur. The difference (highlighted in Figure 5) indicates<br />

that PIPE PHY-based analyzers do not show the actual 10-bit<br />

symbol when it contains an error. This is easy <strong>to</strong> see using<br />

<strong>USB</strong>-IF Link Layer test case 7.05 (Header Packet Framing<br />

Robustness) that intentionally corrupts the HP framing. Only<br />

analyzers that capture and preserve native 10b symbols allow<br />

users <strong>to</strong> see what was actually received.<br />

This is important in attempting <strong>to</strong> resolve problems in developing<br />

new SuperSpeed <strong>USB</strong> 3.0 products, since although a<br />

PIPE PHY-based product may be able <strong>to</strong> inform the user in<br />

invalid symbol was received, no other information about the<br />

symbol is available. Engineers cannot differentiate between,<br />

for example, an encoding error associated with a specific 8b<br />

byte and a hardware issue that repeatedly introduces incorrect<br />

bits in<strong>to</strong> specific locations in the data stream. The inability<br />

<strong>to</strong> directly identify the invalid symbols means more time lost<br />

and additional, more expensive test equipment required in<br />

EECatalog SPECIAL FEATURE<br />

tracking down the source of the problem so that it might be<br />

resolved.<br />

Both analyzer approaches can detect and report errors in the<br />

payload portion of headers, data frames, and link commands<br />

(using CRC checks). However, analyzers that utilize the PIPE<br />

PHY only have access <strong>to</strong> the 8-bit bytes <strong>to</strong> analyze the traffic.<br />

This is normal for commercial PHYs because higher layers only<br />

use the 8-bit values. However, when it comes <strong>to</strong> test equipment,<br />

developers generally want <strong>to</strong> capture the most detailed<br />

picture possible of traffic on the bus (for example, the header<br />

packet framing error example above).<br />

In the event developers using PIPE PHY based analyzers need<br />

visibility <strong>to</strong> 10-bit errors in link or header framing, the only<br />

alternative is attaching a scope <strong>to</strong> the system-under-test <strong>to</strong><br />

capture the raw bit information.<br />

Figure 6: Both the Voyager M3i and Advisor T3, shown above, use<br />

cus<strong>to</strong>m PHY designs and feature true 10b symbol capture for uncovering<br />

the root cause issues affecting <strong>USB</strong> 3.0 link stability.<br />

LeCroy’s <strong>USB</strong> 3.0 analyzers, the Voyager M3i and the Advisor<br />

T3, both utilize cus<strong>to</strong>m PHY designs and feature true 10b<br />

symbol capture (Figure 6). When it comes <strong>to</strong> debugging link<br />

layer or 8b/10b encoding issues, users will benefit having this<br />

additional information from the analyzer. Visibility <strong>to</strong> the<br />

native 10b symbols captured at the physical layer can help<br />

uncover root cause issues effecting link stability, resulting in<br />

faster problem resolution and quicker time-<strong>to</strong>-market for new<br />

<strong>USB</strong> 3.0 product designs.<br />

Mike Micheletti is <strong>USB</strong> product manager for the<br />

LeCroy Pro<strong>to</strong>col Solutions Group, which includes<br />

the company’s <strong>USB</strong> 3.0 analyzers, the Voyager M3i<br />

and the Advisor T3 which utilize cus<strong>to</strong>m designs<br />

using deserializer components and feature true<br />

10b symbol capture.<br />

www.eecatalog.com/usb 19


EECatalog SPECIAL FEATURE<br />

<strong>USB</strong> Aims for Truly Universal<br />

<strong>USB</strong> is making leaps and bounds <strong>to</strong> become a truly universal connec<strong>to</strong>r. The mentality<br />

of not only advancing current technology, but branching out and re-using IP in<br />

new areas has rightly made <strong>USB</strong> a leader in the industry.<br />

By Tim McKee, Intel Corporation<br />

The <strong>USB</strong> pro<strong>to</strong>col is expanding its application <strong>to</strong> become<br />

a completely universal connection medium. It seems that<br />

the <strong>USB</strong> Implementers Forum (<strong>USB</strong>-IF) will not s<strong>to</strong>p until<br />

the <strong>USB</strong> cable can be used for any technological connection<br />

that one can imagine. <strong>USB</strong> has pressed forward in the standard<br />

pro<strong>to</strong>col by releasing the SuperSpeed <strong>USB</strong> 3.0, but is<br />

also developing specifications <strong>to</strong> expand the applications<br />

of <strong>USB</strong>. The increased data rate provided by SuperSpeed<br />

has greatly increased the possibilities of product extension,<br />

and the IF is taking full advantage. The three most<br />

relevant specifications <strong>to</strong> making <strong>USB</strong> a truly universal<br />

transfer pro<strong>to</strong>col are Super Speed Inter-chip (SSIC), <strong>USB</strong><br />

Power Delivery and <strong>USB</strong> Audio/Video (A/V).<br />

Super Speed Inter-chip (SSIC) Optimized<br />

for Mobile Devices<br />

The <strong>USB</strong> 3.0 promoters group has teamed up with the<br />

MIPI Alliance <strong>to</strong> define SSIC, a low-power,<br />

high-bandwidth chip-<strong>to</strong>-chip interconnect<br />

based on the <strong>USB</strong> pro<strong>to</strong>col over the MIPI<br />

M-PHY. The M-PHY makes use of Reference<br />

M-PHY MODULE Interface (RMMI) instead<br />

of the <strong>USB</strong> standard PIPE interface between<br />

the link and the physical layer (Figure 1).<br />

Because of its low power consumption, SSIC<br />

is being optimized for internal use on mobile<br />

devices. Using the <strong>USB</strong> pro<strong>to</strong>col in a chip-<strong>to</strong>chip<br />

solution is not a new idea all <strong>to</strong>gether.<br />

Hi-Speed <strong>USB</strong> utilized this idea as well, using<br />

high-speed inter-chip (HSIC) <strong>to</strong> replace I2C.<br />

The newer SSIC will feature much higher<br />

data rates and power efficiency.<br />

Current chip interconnects have begun <strong>to</strong><br />

limit the capabilities of smartphones and<br />

tablets, but SSIC plans <strong>to</strong> expand capabilities<br />

rather than limit them. The target for<br />

per-lane data rate over SSIC starts with 1.2<br />

<strong>to</strong> 2.9 Gbits/s and will eventually reach 5.8<br />

Gbits/s. On the power threshold, the aim is<br />

for between 1 and 5 picojoules per bit per<br />

second. In high-speed mode, the power level<br />

would amount <strong>to</strong> an average of approximately<br />

20 milliwatts. These power levels paired with<br />

low pin count and high data rates make this<br />

technology very attractive <strong>to</strong> the mobile<br />

device industry.<br />

Another advantage of SSIC will be its cost of development.<br />

Current competing technology offers its specification <strong>to</strong><br />

peripheral chip designers for a one-time fee of $100,000.<br />

SSIC will be royalty-free <strong>to</strong> all members of the MIPI Alliance<br />

and the <strong>USB</strong> 3.0 Promoters group that are at the adopterlevel<br />

when using the technology for “mobile terminals with<br />

voice capabilities.” This specification is not the only one<br />

that adds a promising power twist <strong>to</strong> the <strong>USB</strong> pro<strong>to</strong>col.<br />

<strong>USB</strong> Power Delivery Boosts Charging Power<br />

The standard <strong>USB</strong> 3.0 specification constrains the power<br />

delivery over a <strong>USB</strong> cable <strong>to</strong> a mere 4.5 watts (5 volts, 0.9<br />

amps). <strong>USB</strong> 2.0 is even lower at 2.5 watts (5 volts, 0.5 amps).<br />

These power levels work fine for charging small form<br />

fac<strong>to</strong>r devices like smartphones and cameras. For larger<br />

electronics such as moni<strong>to</strong>rs, printers and lap<strong>to</strong>p PCs<br />

however, 4.5 watts doesn’t even come close <strong>to</strong> supplying<br />

Figure 1: Example SSIC implementation using minimal <strong>to</strong>pology modification in the link<br />

layer and above. All SSIC specifics are contained in the PHY adapter level including the<br />

PIPE3interface <strong>to</strong> RMMI bridge.<br />

20 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


the required power. Headed by the <strong>USB</strong>-IF, developers are<br />

working on a <strong>USB</strong> Power Delivery specification that will<br />

deliver power levels up <strong>to</strong> 100 watts (5 volts, 20 amps),<br />

an adequate level for many more consumer electronics<br />

(Figure 2).<br />

Negotiating a device’s voltage and amperage upon connection<br />

(already included in the <strong>USB</strong> specification), along<br />

with the new, higher power levels, creates a unique powering<br />

situation. Any <strong>USB</strong><br />

connec<strong>to</strong>r will be capable<br />

of supplying power <strong>to</strong> lowpower<br />

devices like mice<br />

and keyboards, high-power<br />

24-inch moni<strong>to</strong>rs, and<br />

everything in between. More<br />

wattage is not the only thing<br />

that this new spec will offer.<br />

Bidirectional power delivery is also included, allowing<br />

one <strong>to</strong> change power source without <strong>to</strong>uching the cable<br />

between two devices. Allowing charge direction <strong>to</strong> change<br />

creates a type of shared power when devices are connected.<br />

Whichever connected device has more power could charge<br />

the other and, in a way, equalize the power levels. The<br />

power delivery should operate on current standard cables<br />

and connec<strong>to</strong>rs, making for a near seamless transition <strong>to</strong><br />

this new addition <strong>to</strong> the <strong>USB</strong> family.<br />

EECatalog SPECIAL FEATURE<br />

Figure 2: With <strong>USB</strong> Power Delivery, a much larger range of consumer devices will be able <strong>to</strong> utilize power over a <strong>USB</strong> cable. This figure shows some<br />

of the added device types as compared <strong>to</strong> other <strong>USB</strong> specifications.<br />

That mess of wires behind<br />

the desk may be seeing its<br />

final days.<br />

This development could easily eliminate the need for<br />

peripheral devices <strong>to</strong> have anything more than one <strong>USB</strong><br />

cable plugged in <strong>to</strong> operate completely with a host PC.<br />

Removing the need for an AC/DC power converter will<br />

drive down prices of any <strong>USB</strong> product that was formerly<br />

externally powered as well. Imagine sitting at your desk<br />

and having only one clunky power block plugged in<strong>to</strong><br />

your wall, and everything else powered through <strong>USB</strong>.<br />

That mess of wires behind the desk may be seeing its final<br />

days. A notebook PC could<br />

rely solely on a <strong>USB</strong> connection<br />

for power. With help<br />

from <strong>USB</strong> Power Delivery<br />

technology,we can see a scenario<br />

where your computer<br />

moni<strong>to</strong>r can have one cable<br />

connected that supplies not<br />

only power, but also audio<br />

and video with another one of <strong>USB</strong>s new specifications,<br />

<strong>USB</strong> A/V.<br />

Promise of Lower Cost High-Definition<br />

A/V Delivery<br />

Today, high-definition audio and video delivery only<br />

brings <strong>to</strong> mind HDMI as a technology that can supply<br />

true HD video with sound. HDMI is a newer technology<br />

that started in the early 21st century that delivers great<br />

www.eecatalog.com/usb 21


EECatalog SPECIAL FEATURE<br />

quality and reliability from my experience. The only<br />

downfall that comes with the HDMI cable is the price. A<br />

high-quality,one-meter cable can cost anywhere from $20<br />

<strong>to</strong> $60 at your local electronics s<strong>to</strong>re. On the other hand,<br />

reliable <strong>USB</strong> standard cables can be found at the same s<strong>to</strong>re<br />

for fewer than$10. It is for this reason and many others<br />

that there is excitement <strong>to</strong> see <strong>USB</strong> A/V hit the market.<br />

<strong>USB</strong> has already solidified its name in the market as a<br />

reliable data-transfer mechanism and is a standard port<br />

on every computer on the market. Boasting up <strong>to</strong> 10x the<br />

speeds of Hi-Speed <strong>USB</strong> 2.0, SuperSpeed <strong>USB</strong> 3.0 will be<br />

amply capable of transferring high-definition audio and<br />

video over its established, dependable pro<strong>to</strong>col. The biggest<br />

challenge with transferring audio and video comes with<br />

achieving continuously correct timing. A small error in an<br />

audio stream can be heard by<br />

a user and is considered unacceptable.<br />

Video on the other<br />

hand is a little more lenient.<br />

One or two pixels in error are<br />

mostly unrecognizable, but<br />

missing a whole frame can<br />

ruin the user’s experience.<br />

Eliminating errors while<br />

keeping the audio and video<br />

in sync makes an A/V connec<strong>to</strong>r<br />

difficult <strong>to</strong> create with<br />

quality that we expect from <strong>USB</strong>. Fresco Logic was able <strong>to</strong><br />

give a live demo of the A/V technology at Computex 2012<br />

Taipai, boasting full HD over a <strong>USB</strong> 3.0 cable <strong>to</strong> a secondary<br />

moni<strong>to</strong>r. Although there is no specific date as <strong>to</strong> when the<br />

A/V technology will come <strong>to</strong> the consumer, the aim is <strong>to</strong> use<br />

it in ultrabooks, tablets, smartphones, pico projec<strong>to</strong>rs, HD<br />

displays and TVs. It seems as though <strong>USB</strong> A/V will become a<br />

direct competi<strong>to</strong>r with HDMI and boast a much lower price<br />

point due <strong>to</strong> <strong>USB</strong>’s low cost implementation. Could we see a<br />

shift in the audio/video connection market? I guess we will<br />

just have <strong>to</strong> wait and see.<br />

<strong>USB</strong> connec<strong>to</strong>rs throughout<br />

a house provide the<br />

possibility of having a fully<br />

networked “smart house.”<br />

Leaps Toward Universal<br />

<strong>USB</strong> is making leaps and bounds <strong>to</strong> make it a truly universal<br />

connec<strong>to</strong>r. The mentality of not only advancing current<br />

technology, but branching out and re-using IP in new areas<br />

has rightly made <strong>USB</strong> a leader in the industry. Seeing all<br />

these advances in <strong>USB</strong> technology makes me think about<br />

the future: Today’s computing power of a lap<strong>to</strong>p computer<br />

held in the palm of your hand. <strong>USB</strong> wall sockets throughout<br />

your house instead of the standard three-prong outlet that<br />

we use <strong>to</strong>day. An entertainment system using only <strong>USB</strong><br />

cables for data and power. All of these ideas could soon be a<br />

reality for the common consumer.<br />

What could be the next? <strong>USB</strong> connec<strong>to</strong>rs throughout a<br />

house provide the possibility of having a fully networked<br />

“smart house.” An Internet connection could be achieved<br />

by simply plugging in a device<br />

<strong>to</strong> be charged. Looking ahead<br />

<strong>to</strong>ward the next generation of<br />

standard <strong>USB</strong>, the challenge<br />

becomes how far the transfer<br />

speed can be pushed without<br />

making major changes in the<br />

design that <strong>USB</strong> has used<br />

for years. Communication<br />

mediums are beginning <strong>to</strong><br />

test the limitations of the<br />

traditional copper wire.<br />

Creativity and pioneering are crucial <strong>to</strong> the continuing<br />

development of technologies that are used every day. The<br />

possibilities are endless and it’s innovative technologies<br />

like <strong>USB</strong> that are helping <strong>to</strong> lead the way.<br />

Tim McKee is a hardware/software engineer for<br />

Intel I/O Technology and Standards. He is a recent<br />

graduate from Oregon State University with<br />

a degree in electrical and computer engineering.<br />

He currently works on hardware proof-of-concept<br />

pro<strong>to</strong>types and compliance software<br />

22 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


The Cohabitation of NAND<br />

Flash and <strong>USB</strong> 3.0<br />

Many fac<strong>to</strong>rs influence data-transfer performance, including<br />

the type of s<strong>to</strong>rage used in a device. The s<strong>to</strong>rage options<br />

available <strong>to</strong> designers offer performance and price tradeoffs.<br />

NAND flash, a type of non-volatile memory, is used<br />

in mobile products <strong>to</strong> s<strong>to</strong>re phone numbers, apps, pho<strong>to</strong>s,<br />

videos and music. As <strong>USB</strong> 3.0<br />

becomes ubiqui<strong>to</strong>us in highperformance<br />

mobile devices,<br />

the question is whether the<br />

NAND flash in a device can<br />

effectively handle <strong>USB</strong> 3.0<br />

throughput.<br />

NAND Flash Formats<br />

NAND flash is packaged in a<br />

variety of ways. You may be<br />

familiar with it as the secure data (SD) cards that slip in<strong>to</strong><br />

your digital camera, or a <strong>USB</strong> flash drive that you carry around<br />

<strong>to</strong> transfer files. Those <strong>USB</strong> flash drives (sometimes called<br />

“jump drives” or “thumb drives”) can offer blazing speed like<br />

the Lexar Tri<strong>to</strong>n’s 155 Mbps read/150 Mbps write, or slower<br />

speeds like the give aways handed out at trade shows.<br />

NAND flash appears in ultrabooks<br />

as solid state drives (SSDs). SSDs<br />

consume about one-third the<br />

power of hard disk drives (HDDs)<br />

because SSDs do not have any<br />

mechanical moving parts. SSDs<br />

are also about 3X faster than<br />

HDDs. However, SSDs cost about<br />

3X more than HDDs, so ultrabook<br />

manufacturers typically keep<br />

SSDs <strong>to</strong> 128GB or less.<br />

NAND speed is limited only by<br />

the price that mobile device<br />

manufacturers are willing <strong>to</strong><br />

pay. Every year, the price of<br />

NAND flash drops, so manufacturers<br />

are able <strong>to</strong> add in more<br />

and faster NAND memory for<br />

the same price.<br />

EECatalog SPECIAL FEATURE<br />

As <strong>USB</strong> 3.0 becomes ubiqui<strong>to</strong>us in mobile devices, can NAND flash handle<br />

the throughput?<br />

By Eric Huang, Synopsys, Inc.<br />

The question that you need<br />

<strong>to</strong> answer for your product<br />

is: In which tier will it<br />

compete?<br />

Figure 1: Possible sources of latency<br />

When designing products that will ship two years from now,<br />

it’s key <strong>to</strong> consider the future cost and performance of NAND<br />

flash. NAND flash performance also affects <strong>USB</strong> performance,<br />

which can determine design decisions around which generation<br />

of <strong>USB</strong> <strong>to</strong> implement.<br />

Fac<strong>to</strong>rs Affecting<br />

<strong>USB</strong> Performance<br />

Both hardware and software<br />

will affect the performance of<br />

the connection between a <strong>USB</strong><br />

device (e.g., <strong>USB</strong> flash drive),<br />

and a host, (e.g., PC, tablet<br />

PC, game console, digital TV).<br />

Figure 1 shows possible sources<br />

of latency, with a <strong>USB</strong> 3.0 xHCI<br />

host on the left, and a <strong>USB</strong> 3.0 peripheral on the right. Minimizing<br />

latency in both the hardware and software, on the host<br />

and the device, will ensure optimal <strong>USB</strong> performance.<br />

The operating system plays a part on the hardware as well<br />

as the software. If the software layers are loaded down<br />

with lots of applications or software, the system will slow<br />

www.eecatalog.com/usb 23


EECatalog SPECIAL FEATURE<br />

down in the same way a PC does when <strong>to</strong>o many windows<br />

are open. In addition, the speed of the application and the<br />

quality of the drivers will impact performance. A wellwritten<br />

driver uses memory correctly and uses parameter<br />

settings in <strong>USB</strong> <strong>to</strong> maximize throughput.<br />

Hosts and devices with high-performance hardware that<br />

offer plenty of CPU cycles allow the <strong>USB</strong> <strong>to</strong> take advantage<br />

of fast throughput. First-in, first-out (FIFO) memories<br />

s<strong>to</strong>red in local RAM must be adequately sized <strong>to</strong> receive<br />

and process incoming and outgoing data, and the bus on the<br />

hardware must be fast enough <strong>to</strong> move the data from the<br />

<strong>USB</strong> controller <strong>to</strong> the CPU. If the RAM allocated is either<br />

<strong>to</strong>o slow or <strong>to</strong>o small, the system will wait for the FIFO <strong>to</strong><br />

empty (data <strong>to</strong> be transferred elsewhere) before moving<br />

more data through <strong>USB</strong>.<br />

The hardware must be synchronized with the OS and<br />

driver <strong>to</strong> transfer data in<strong>to</strong> the system RAM or NAND for<br />

use by the CPU. For example, if a video card and the <strong>USB</strong><br />

3.0 host are competing for bandwidth on the same hardware<br />

bus, <strong>USB</strong> throughput will decrease.<br />

The <strong>USB</strong> 3.0 PHY must be<br />

built <strong>to</strong> transmit cleanly<br />

and, more importantly, <strong>to</strong><br />

receive and clean up data<br />

after it travels through the<br />

<strong>USB</strong> cable. Keep in mind that<br />

the <strong>USB</strong> cable can also affect<br />

throughput: A bad cable,<br />

poorly constructed, can<br />

interfere with traffic travelling<br />

between the client and<br />

the host.<br />

On the client side, the same hardware and software fac<strong>to</strong>rs<br />

can affect throughput <strong>to</strong> and from the peripheral (e.g.,<br />

smart phone or flash drive). In addition, if the peripheral<br />

includes a spinning <strong>USB</strong> hard drive or a <strong>USB</strong> printer inkjet<br />

head, mechanical limitations can affect speed as well.<br />

This also means that the NAND memory (hardware) is<br />

one part of the system (possibly in both the host and the<br />

device) that can impact throughput. Slower NAND can<br />

slow overall throughput, while faster NAND, like that<br />

found in the Lexar Tri<strong>to</strong>n flash drive, can make good use<br />

of <strong>USB</strong> 3.0 bandwidth (as shown in the video demo here).<br />

The Ideal System<br />

<strong>USB</strong> throughput is not a function of just the controller<br />

and the PHY, but includes an entire system of software,<br />

buses, operating systems and cables. Even when the controller<br />

and PHY can achieve SuperSpeed <strong>USB</strong> 3.0 speeds<br />

of 400 megabytes per sec (MBps), or 4 Gbps, performance<br />

is proven on an ideal system of high-performing parts. In<br />

the system used in the video referenced above that dem-<br />

NAND speed is limited only<br />

by the price that mobile<br />

device manufacturers are<br />

willing <strong>to</strong> pay.<br />

onstrates the performance of the DesignWare® <strong>USB</strong> 3.0<br />

PHY and controller, RAM was used for s<strong>to</strong>rage instead of<br />

NAND. Since RAM is instantaneous, the demo wasn’t limited<br />

by NAND read/write speeds. This helped <strong>to</strong> idealize<br />

the system by eliminating a possible latency.<br />

Even when most of a system can handle <strong>USB</strong> 3.0 speeds,<br />

NAND flash speed often remains a limitation. However, as<br />

the demand for fast access increases, so do NAND speeds.<br />

Apple’s most recent launch of the new MacBook Pro advertises<br />

read speeds of 500 MBps. So it is possible <strong>to</strong> read data<br />

incredibly quickly off the NAND flash. This capability<br />

allows huge spreadsheets and large video files <strong>to</strong> appear on<br />

screen faster, and editing, saving and compiling <strong>to</strong> be done<br />

in a flash. The NAND flash in such systems is designed <strong>to</strong><br />

deliver performance that can support <strong>USB</strong> 3.0 speeds.<br />

What Will Your Market Bear?<br />

A fundamental consideration for determining whether <strong>to</strong><br />

implement faster NAND flash is the target market. In a<br />

given market, there can be one <strong>to</strong> three market leaders<br />

that make the fastest, fanciest “tier 1” products. These<br />

market leaders make the most money both by margin<br />

and by volume. The rest of<br />

the market players fight for<br />

the lower-margin business.<br />

Companies making “tier 2”<br />

products generate revenue<br />

by differentiating on one<br />

or two features. Companies<br />

making “tier 3” products<br />

typically make money based<br />

on volume. Many companies<br />

offer products that fit in<strong>to</strong><br />

different tiers. This year’s tier 2 product can be costreduced<br />

in the second year, and price-reduced <strong>to</strong> compete<br />

with tier 3 the third year.<br />

If you are competing with the market leaders in tier 1<br />

products, <strong>USB</strong> 3.0 is now a requirement. In the case of<br />

smartphones and tablets, TI’s OMAP 5 and Samsung<br />

Exynos 5 have already moved.<br />

If you are competing with tier 2 products, you either<br />

target <strong>to</strong> move your product in<strong>to</strong> tier 1, or hold a strong<br />

feature lead in tier 2 <strong>to</strong> command a price premium over<br />

your competi<strong>to</strong>rs. In both of these cases, adopting <strong>USB</strong><br />

3.0 is required—either <strong>to</strong> move in<strong>to</strong> tier 1, or <strong>to</strong> give your<br />

cus<strong>to</strong>mers the value that they demand. Staying with <strong>USB</strong><br />

2.0 while the competition adopts <strong>USB</strong> 3.0 will allow your<br />

competition <strong>to</strong> take over the feature lead, and therefore<br />

the price premium.<br />

In tier 3 products, it is possible that <strong>USB</strong> 2.0 will be good<br />

enough for the next few years. However, it is just as likely<br />

that <strong>USB</strong> 3.0 will be required <strong>to</strong> maintain a foothold in the<br />

24 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


market. Tier 3 products without <strong>USB</strong> 3.0 may simply need<br />

<strong>to</strong> compromise on price even further.<br />

The Future of Cohabitation<br />

By 2014 or 2015 most, if not all,tier 1 and tier 2 products<br />

will support <strong>USB</strong> 3.0, so system design starts this year<br />

must include <strong>USB</strong> 3.0 <strong>to</strong> compete. Product architects<br />

should demand that NAND be upgraded <strong>to</strong> keep up with<br />

<strong>USB</strong> 3.0. Operating at over 100 Mbps, this new breed of<br />

NAND is much faster than <strong>to</strong>day’s SD memory and 3x<br />

faster than effective <strong>USB</strong> 2.0 speeds. Tier 1 products will<br />

push the speed limits of NAND <strong>to</strong> over 400 MBps (4Gbps)<br />

as consumers get used <strong>to</strong>, and require, <strong>USB</strong> 3.0 speeds.<br />

The question that you need <strong>to</strong> answer for your product is:<br />

In which tier will it compete? If you want <strong>to</strong> win against<br />

market leaders’ tier 1 products by offering the highest performance,<br />

you need <strong>USB</strong> 3.0. It’s only after that decision<br />

EECatalog SPECIAL FEATURE<br />

is made that you need <strong>to</strong> find the NAND flash that meets<br />

your system’s required speed. As NAND flash technology<br />

gets faster and cheaper and <strong>USB</strong> 3.0 adoption becomes<br />

ubiqui<strong>to</strong>us, <strong>USB</strong> will, in fact drive the broader use of fast<br />

NAND flash. Fast NAND will complement <strong>USB</strong> 3.0 and<br />

cohabitate in every electronic product in true harmony.<br />

Eric Huang is currently senior product marketing<br />

manager for Semiconduc<strong>to</strong>r <strong>USB</strong> Digital IP<br />

at Synopsys, Inc. He has been working on <strong>USB</strong><br />

since 1995, starting with the world’s first BIOS<br />

that supported <strong>USB</strong> keyboards and mice. He also<br />

served as chairman of the <strong>USB</strong> On-The-Go Working<br />

Group for the <strong>USB</strong> Implementers Forum from 2004-2006.<br />

Huang received an M.B.A. from Santa Clara University, an M.S.<br />

in engineering from University of California Irvine, and a B.S. in<br />

engineering from the University of Minnesota.<br />

A network dedicated edicated edicate <strong>to</strong> <strong>to</strong> the the needs needs of<br />

of f<br />

engineers, developers, s, de designers designers and<br />

and<br />

engineering managers gers<br />

Engineers’ <strong>Guide</strong> <strong>to</strong><br />

PCI Express Solutions<br />

Three Generations of<br />

Choices for Developers<br />

PCI-SIG Looks Ahead <strong>to</strong> Gen 4<br />

The Marriage of PCI Express and<br />

SSDs Looks Solid<br />

Debugging PCI Express 3.0<br />

Annual Industry <strong>Guide</strong><br />

Solutions for engineers and embedded developers<br />

using PCI Express technologies<br />

EECatalog www.eecatalog.com/pcie<br />

Engineers’ <strong>Guide</strong> <strong>to</strong><br />

Transportation Systems<br />

Digital Signage Goes Mobile<br />

Embedded Computers in Today’s Railway<br />

Systems<br />

Use of Hall-Effect Rotary-<br />

Position Sensors in<br />

Transportation Applications<br />

Embedded Firewalls:<br />

Seatbelts for the<br />

Internet of Things<br />

Annual Industry <strong>Guide</strong><br />

Technology and applications for the embedded<br />

www.eecatalog.com/transport electronic design of transportation systems<br />

Gold Sponsors<br />

www.eecatalog.com<br />

Engineers’ <strong>Guide</strong><br />

<strong>to</strong> Embedded Linux<br />

& Android<br />

Featured Products<br />

Yoc<strong>to</strong> Project – Big in<br />

Embedded Linux<br />

Enea Linux PlatformBuilder<br />

Is Device Security a Major Challenge for<br />

Open Source Software?<br />

Android Dives in<strong>to</strong> Embedded Despite<br />

From TeamF1: SecureF1rst<br />

Network Attached<br />

Fragmentation Risks<br />

S<strong>to</strong>rage Solution<br />

Annual Industry <strong>Guide</strong><br />

Solutions for engineers and embedded developers<br />

using Embedded Linux and Android<br />

From EMAC: PPC-E7+<br />

EECatalog www.eecatalog.com/embeddedlinux<br />

www.eecatalog.com/usb 25<br />

Gold<br />

Sponsor<br />

Featured Products<br />

LeCroy’s PCI Express® Pro<strong>to</strong>col<br />

Analysis and Test Tools<br />

VersaLogic’s Mamba single board<br />

computer (SBC) provides extreme<br />

performance and high reliability<br />

for the most demanding embedded<br />

applications.<br />

From PLX Technology:<br />

ExpressLane PCI Express 3.0<br />

EECatalog<br />

Transportation Designs<br />

Move Full Speed Ahead<br />

Scan this<br />

QR code<br />

<strong>to</strong> subscribe<br />

Platinum Sponsor<br />

Gold Sponsors<br />

Scan this<br />

QR code<br />

<strong>to</strong> subscribe


EECatalog SPECIAL FEATURE<br />

The Way of the Future<br />

<strong>USB</strong> has revolutionized data transfer across most aspects of the industry, delivering<br />

speed, effortless charging and plug-and-play simplicity. See what’s new, what’s improved<br />

– and a few issues you still need <strong>to</strong> be aware of.<br />

By Gregory Quirk, Mouser Electronics<br />

In <strong>to</strong>day’s fast-paced world of computers, peripherals<br />

and mobile devices, <strong>USB</strong> inspires confidence as the most<br />

widely accepted, reliable form of connectivity out there.<br />

The Universal Serial Bus is a set of interface specifications<br />

for high-speed wired communication between electronic<br />

systems. <strong>USB</strong> is everywhere, with over six billion devices<br />

connecting with <strong>USB</strong> worldwide.<br />

While <strong>USB</strong> 2.0 is still widely<br />

used, smartphones that<br />

can take advantage of the<br />

improvements offered by<br />

<strong>USB</strong> 3.0 are on the way.<br />

Since the release of <strong>USB</strong> version 2.0 in 2001, data rates<br />

have increased from 480 Mbps (megabits per second) <strong>to</strong> 5<br />

Gbps in <strong>USB</strong> 3.0, as has maximum bus power and device<br />

current draw. The most significant change <strong>to</strong> <strong>USB</strong> 3.0 has<br />

been the introduction of two additional differential data<br />

pairs in parallel with the existing data bus, thus increasing<br />

the number of connections from four <strong>to</strong> nine. This allows<br />

full-duplex, simultaneous transfer of data as opposed <strong>to</strong> the<br />

half-duplex unidirectional <strong>USB</strong> 2.0 bus.<br />

In addition <strong>to</strong> increased date transfer rates, the new specification<br />

also increases the amount of current available <strong>to</strong><br />

power external devices from 500ma <strong>to</strong> 900ma.<br />

“Since its introduction in 2001, high-speed <strong>USB</strong> technology<br />

has revolutionized data transfer across most aspects of the<br />

industry, delivering speed, effortless charging and plugand-play<br />

simplicity,” says Kevin Hess, vice president of<br />

technical marketing at Mouser Electronics. “<strong>USB</strong> 3.0 has<br />

revolutionized the plug-and-play potential of <strong>USB</strong> once<br />

more, delivering greater flexibility for power and faster<br />

data transfer rates, opening the potential <strong>to</strong> be utilized in<br />

an even broader range of consumer applications.”<br />

In 2010, the number of devices with <strong>USB</strong> 3.0 ports reached<br />

about 100 million units, with approximately 70 million <strong>USB</strong><br />

3.0 (SuperSpeed) devices shipped in 2011 alone. One reason<br />

for the traction of <strong>USB</strong> 3.0, aside from the technical advantages<br />

over <strong>USB</strong> 2.0 and existing consumer familiarity with<br />

<strong>USB</strong>, is the openness of the connection. The xHCI specification<br />

was released in May 2010, allowing operating systems,<br />

including the open-source Linux community, <strong>to</strong> integrate<br />

the <strong>USB</strong> stack. Like Linux, <strong>USB</strong> is royalty free.<br />

Speed Increase<br />

There are many advantages that <strong>USB</strong> 3.0 offers. The first,<br />

and most obvious, is the increased transfer speed, which<br />

gave <strong>USB</strong> 3.0 the nickname of SuperSpeed <strong>USB</strong>. While the<br />

theoretical <strong>to</strong>p speed of nearly 5 Gbps is not easy <strong>to</strong> meet,<br />

most speed tests have resulted in anywhere from a 3x <strong>to</strong><br />

10x improvement over the previous version. In one test, it<br />

would take about 14 minutes <strong>to</strong> transfer 25GB of data over<br />

<strong>USB</strong> 2.0, while the same amount of information only <strong>to</strong>ok<br />

four minutes using <strong>USB</strong> 3.0.<br />

This advancement is one of the key reasons for acceptance<br />

of the new <strong>USB</strong> standard. More devices are capable<br />

Fig 1: Amphenol’s <strong>USB</strong> 3.0 SuperSpeed GSB3 series connec<strong>to</strong>rs are<br />

among the latest technology for next-generation designs. Pho<strong>to</strong>s:<br />

Courtesy of Mouser Electronics<br />

26 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


of s<strong>to</strong>ring more information, such as HD video and high<br />

megapixel pictures, or hard drives with larger capacity<br />

found in stand-alone hard drives or portable video players<br />

like iPads. When transferring from one device <strong>to</strong> the<br />

other, the greater speed enabled by SuperSpeed <strong>USB</strong> saves<br />

the consumer a considerable amount of time.<br />

Low Power Transfer<br />

In addition <strong>to</strong> the greater speed, <strong>USB</strong> 3.0 fundamentally<br />

changes the way that data is transferred. Previously, the<br />

<strong>USB</strong> device would “poll” the computer <strong>to</strong> see if new data was<br />

trying <strong>to</strong> be transferred and it prevented the computer from<br />

entering a low power state <strong>to</strong> conserve battery life. While<br />

EECatalog SPECIAL FEATURE<br />

this did not consume a significant amount of power, when<br />

using a lap<strong>to</strong>p, every bit of battery life counts. Instead of this<br />

technique, SuperSpeed employs an asynchronous method of<br />

determining if data is available and will only turn on when<br />

you attempt <strong>to</strong> read or write <strong>to</strong> the connected device.<br />

More power is available for <strong>USB</strong> devices so that they can<br />

charge faster. Unfortunately, this is still not sufficient <strong>to</strong><br />

turn off the “not charging” indica<strong>to</strong>r on the iPad without<br />

an included power driver, as the iPad requires 2.1A of<br />

power and <strong>USB</strong> 3.0 offers 0.9A.<br />

Fig 2: Distribu<strong>to</strong>r Mouser Electronics has developed an entire <strong>USB</strong> 3.0 technology training microsite on its website. Pho<strong>to</strong>s: Courtesy of Mouser<br />

Electronics<br />

www.eecatalog.com/usb 27


EECatalog SPECIAL FEATURE<br />

However, not everything about <strong>USB</strong> 3.0 is an improvement<br />

over the previous version. The cable length and <strong>to</strong>tal distance<br />

have been decreased. While this may not be an issue<br />

for most consumer applications, it could potentially cause<br />

some concerns for commercial use – especially when it is<br />

not convenient <strong>to</strong> have the host machine close <strong>to</strong> the connected<br />

devices. However in those cases, people can weigh<br />

the speed benefits with the convenience, or they could<br />

turn <strong>to</strong> alternative methods, such as wireless technology.<br />

Fig 3: Wurth Electronics manufacturers the newest cable assemblies<br />

with <strong>USB</strong> 3.0 ports. Pho<strong>to</strong>s: Courtesy of Mouser Electronics<br />

Circuit Protection<br />

At data communication speeds of 5Gbps, protecting these<br />

circuits from electrostatic discharge (ESD) is a significant<br />

challenge. In addition <strong>to</strong> higher data rates, the <strong>USB</strong> 3.0<br />

standard defines up <strong>to</strong> six data communication channels,<br />

and continuous shrinkage in IC geometries is making<br />

these circuits more susceptible <strong>to</strong> electrostatic discharge<br />

damage. The parasitic capacitance of a protection device<br />

has always been a major issue, but along with a low<br />

clamping voltage, these characteristics are now critical<br />

selection criteria for designers.<br />

Some protection-device manufacturers have designed their<br />

products for a minimal parasitic capacitance <strong>to</strong> maximize<br />

signal integrity while others have maximized clamping performance<br />

at the cost of higher capacitance. Understanding<br />

the trade-offs between these selection criteria across the<br />

different protection technologies such as varis<strong>to</strong>rs, polymers<br />

and silicon is key <strong>to</strong> achieving a successful design.<br />

With many different ESD protection technologies available<br />

on the market <strong>to</strong>day for <strong>USB</strong> 3.0 protection, it has been<br />

shown that SPA TVS Diode Arrays, such as the SP3011,<br />

offer superior clamping performance versus competing<br />

technologies, extremely low loading capacitance, and are<br />

ideal for protecting high-speed <strong>USB</strong> 3.0 data lines.<br />

However, not everything<br />

about <strong>USB</strong> 3.0 is an<br />

improvement over the<br />

previous version.<br />

Future Deployment<br />

“With the faster performance and higher s<strong>to</strong>rage capacity in<br />

a given amount of time made possible by SuperSpeed <strong>USB</strong>,<br />

more systems will be employing <strong>USB</strong> 3.0 in the future,” concludes<br />

Mouser’s Hess. “While <strong>USB</strong> 2.0 is still widely used,<br />

smartphones that can take advantage of the improvements<br />

offered by <strong>USB</strong> 3.0 are on the way. This will greatly boost consumer<br />

acceptance, especially given the already widespread<br />

integration of HD pho<strong>to</strong>graphy and recording capabilities<br />

in<strong>to</strong> handheld devices. With an expected 160 million smartphones<br />

<strong>to</strong> be sold in 2013, many of which are expected <strong>to</strong><br />

utilize <strong>USB</strong> 3.0, SuperSpeed is the way of the future.”<br />

Gregory Quirk is a technical writer for Mouser Electronics.<br />

Many of his articles on the latest technologies, applications and<br />

trends, including audio, energy harvesting, lighting, sensors<br />

and medical can be found at www.mouser.com. Quirk has been<br />

a technical writer since 2004, focusing on semiconduc<strong>to</strong>r components,<br />

consumer devices and business trends. He has written<br />

numerous articles for industry publications and presented at<br />

technical conferences. His expertise has been sought by the financial<br />

community on multiple occasions <strong>to</strong> predict design-wins<br />

in popular consumer products.<br />

28 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


SuperSpeed <strong>USB</strong> 3.0 for<br />

Smarter Phones<br />

By Eric Huang, Sr. Product Marketing Manager for Semiconduc<strong>to</strong>r <strong>USB</strong> Digital IP, Synopsys, Inc.<br />

Consumers demand more from phones. Children message<br />

friends. Students e-mail teachers. Parents track their kids’ locations.<br />

Grandparents download pho<strong>to</strong>s. In every country, in every<br />

city, consumers record more HD videos and take more high-res<br />

pictures. This forces a transition from basic phones <strong>to</strong> smartphones,<br />

and from smartphones <strong>to</strong> smarter phones. Yet, no matter<br />

how “smart” a phone is, it is useless if it can’t work all day, offer<br />

plenty of s<strong>to</strong>rage, and deliver fast data transfer. To address this<br />

need, device manufacturers will transition from <strong>USB</strong> 2.0 <strong>to</strong> <strong>USB</strong><br />

3.0 <strong>to</strong> save power, improve performance, and add functionality,<br />

so consumers can carry their media, music, video camera, digital<br />

camera, and internet everywhere, anytime.<br />

Consumers’ appetite for smartphones and tablets will grow as price<br />

points come down and features increase. Mobile devices with capabilities<br />

like recording HD video need more memory and the ability<br />

<strong>to</strong> transfer data faster. Marketers will say the wireless cloud is the<br />

answer. No way. Wireless is not the answer. Not only will mobile<br />

devices need more memory and faster data transfer, but they’ll<br />

also need <strong>to</strong> squeeze every bit of CPU power and every second of<br />

battery life <strong>to</strong> deliver maximum time for talking and surfing the<br />

internet—requirements that the cloud cannot address.<br />

Only SuperSpeed <strong>USB</strong> (aka <strong>USB</strong> 3.0) will meet the need for lowpower<br />

data transfers with high throughput. <strong>USB</strong> 3.0 provides<br />

faster performance—up <strong>to</strong> 10x faster than <strong>USB</strong> 2.0, and at least<br />

10x faster than going <strong>to</strong> the cloud. In addition, <strong>USB</strong> 3.0 offers lower<br />

power consumption per Gb transferred than either option. <strong>USB</strong> 3.0<br />

reduces both CPU loading and on-chip bus interrupts, so the CPU<br />

cycles can be dedicated <strong>to</strong> functions<br />

like graphics processing, in<br />

order <strong>to</strong> maximize SoC performance.<br />

Transitioning from <strong>USB</strong><br />

2.0 <strong>to</strong> <strong>USB</strong> 3.0 in SoC designs will<br />

enable phones with longer battery<br />

lives, faster data transfers,<br />

and greater access <strong>to</strong> s<strong>to</strong>rage.<br />

More S<strong>to</strong>rage Needs<br />

More Speed<br />

Smartphones will continue <strong>to</strong><br />

grow in market share as service<br />

providers push data packages<br />

that generate additional revenue,<br />

while consumers pull on<br />

the demand side by requesting<br />

more features and higher data<br />

speeds. A recent example of a<br />

smarter phone is the iPhone<br />

EECatalog SPECIAL FEATURE<br />

4S. Users take eight megapixel pictures and record 1080p video.<br />

To s<strong>to</strong>re this digital content, the iPhone 4S contains up <strong>to</strong> 64<br />

GB of memory. Future phones will contain 128 GB of memory<br />

or more. Users fill the iPhone memory with pictures of family<br />

vacations, wild parties, college graduations, camping trips, and<br />

visits <strong>to</strong> the zoo.<br />

Will LTE, 3G phone networks, and the cloud be sufficient for<br />

moving pictures and videos quickly and s<strong>to</strong>ring them forever? It’s<br />

unlikely. The amount of data created will be larger than the data<br />

<br />

slowed down with the success of the first iPhone). Instead, pictures<br />

and video will be s<strong>to</strong>red on external hard drives for posterity, but<br />

only after being transferred <strong>to</strong> a PC first. Transferring and s<strong>to</strong>ring<br />

videos, pictures, and other data forever in the cloud is slow and can<br />

be costly, so users will require <strong>USB</strong> 3.0 for fast transfer <strong>to</strong> PCs.<br />

How <strong>USB</strong> 3.0 Blows Away the Cloud<br />

While the cloud seems like a convenient, low-cost entity for<br />

everyone <strong>to</strong> s<strong>to</strong>re their personal pho<strong>to</strong>s and videos, it is not the<br />

best long-term solution. The cost of a 1 TB <strong>USB</strong> 3.0 hard drive<br />

<strong>to</strong>day is less than $100, and 1 TB of memory will s<strong>to</strong>re a lifetime<br />

of pictures and videos. On the other hand, s<strong>to</strong>ring 1 TB<br />

in the cloud costs thousands of dollars per year, and restricts<br />

consumers <strong>to</strong> a single service or set of devices. In addition, the<br />

data transfer for just 10 GB of data through the cloud for the<br />

s<strong>to</strong>rage of one HD video would be costly–service providers will<br />

only support this if it makes them more money.<br />

www.eecatalog.com/usb 29


EECatalog SPECIAL FEATURE<br />

Even with existing slow networks, service providers have redefined<br />

what an “unlimited” data plan includes by putting limits<br />

on data usage. So the cloud isn’t a viable long-term s<strong>to</strong>rage option<br />

for most consumers. Mainstream users will likely choose a <strong>USB</strong><br />

3.0 external drive <strong>to</strong> continue <strong>to</strong> be the backup method of choice<br />

for digital media and data. Most consumers will transfer their<br />

content <strong>to</strong> PCs or other hardware for safekeeping.<br />

Upgrade, Download<br />

Consumers want <strong>to</strong> download their personally created or purchased<br />

digital movies and content on <strong>to</strong> their smart phone.<br />

If you own an iPhone <strong>to</strong>day or ever have upgraded from one<br />

iPhone <strong>to</strong> another, you know how many long hours it takes <strong>to</strong><br />

move your media from one device <strong>to</strong> the other. With even more<br />

data <strong>to</strong> transfer between future phones, <strong>USB</strong> 2.0 isn’t going <strong>to</strong><br />

cut it. Consumers will demand the faster data rates that <strong>USB</strong> 3.0<br />

offers. The table below shows the relative speed and complexity<br />

of four generations of <strong>USB</strong> specifications.<br />

Longer Battery Life with Higher Performance<br />

In the future, smartphones will have a SuperSpeed <strong>USB</strong> 3.0 device<br />

port acting as a peripheral <strong>to</strong> sync with your lap<strong>to</strong>p. SuperSpeed<br />

<strong>USB</strong> transfers large amounts of data and reduces the power consumed.<br />

How? During data transfer, <strong>USB</strong> 3.0 requires about 2x<br />

the power, but provides 10x the speed. This means that you can<br />

transfer 10 GBs of data in 1/10th the time using <strong>USB</strong> 3.0 while<br />

consuming only 20% of the power of <strong>USB</strong> 2.0 for the transfer.<br />

Once the transfer has completed, <strong>USB</strong> 3.0 s<strong>to</strong>ps transmitting. <strong>USB</strong><br />

2.0 transmits continuously, but <strong>USB</strong> 3.0 turns off. Therefore, the<br />

“passive” power consumption is also lower, which allows the battery<br />

<strong>to</strong> last longer. Even if the battery is charging from a host at<br />

the time, the system runs cooler, allowing CPU cycles, bus cycles, or<br />

interrupts <strong>to</strong> be available for other functions. Those cycles enable<br />

greater functionality while <strong>USB</strong> 3.0 operates, so it doesn’t consume<br />

the processing performance from other on-chip functions.<br />

Mostly a <strong>USB</strong> Peripheral, Sometimes a <strong>USB</strong><br />

Host<br />

In the same way that <strong>USB</strong> 2.0-based phones work <strong>to</strong>day, <strong>USB</strong><br />

3.0-based smartphones will also be used as a <strong>USB</strong> 3.0 peripheral.<br />

This means that your PC, TV, or game console is the host, and<br />

your phone is the peripheral. You plug your phone in<strong>to</strong> a TV. The<br />

TV (host) reads the pictures or video off the phone (peripheral or<br />

device), and you watch the images on your TV. The TV manages and<br />

requests the data from the phone.<br />

However, internally, SuperSpeed <strong>USB</strong> 3.0-based smartphones will<br />

contain a <strong>USB</strong> 3.0 dual-role device controller. This single <strong>USB</strong> 3.0<br />

port acts as either a peripheral (device) port or a host port. This<br />

helps the smartphone act as a lap<strong>to</strong>p substitute when using the<br />

<strong>USB</strong> 3.0 port in host mode. Users can plug it in<strong>to</strong> a <strong>USB</strong> 3.0 docking<br />

station that provides power <strong>to</strong> charge the phone through one <strong>USB</strong><br />

3.0 port, and uses other <strong>USB</strong> 3.0 ports <strong>to</strong> connect <strong>to</strong> a moni<strong>to</strong>r, keyboard,<br />

mouse, and external hard drive. A good illustration of this<br />

concept in <strong>USB</strong> 3.0 <strong>to</strong>day is the Targus <strong>USB</strong> 3.0 Docking Station.<br />

The docking station can act as a <strong>USB</strong> 3.0 peripheral while the<br />

smartphone acts as a host. As a <strong>USB</strong> 3.0 host, the smartphone can<br />

connect and manage the input and output <strong>to</strong> the moni<strong>to</strong>r from the<br />

<strong>USB</strong> keyboard and mouse. <strong>USB</strong> 3.0 makes this more compelling by<br />

offering fast data rates <strong>to</strong> enable high-resolution video streaming<br />

and support video transfer <strong>to</strong> the HDMI and DVI ports <strong>to</strong> view<br />

video on the consumer’s moni<strong>to</strong>r. <strong>USB</strong> 3.0 video in these designs<br />

will be supported by chips from companies like DisplayLink, which<br />

transfer video data from <strong>USB</strong> 3.0 <strong>to</strong> HDMI. For a demonstration of<br />

the DisplayLink product, visit the To <strong>USB</strong> or Not <strong>to</strong> <strong>USB</strong> Blog.<br />

SuperSpeed <strong>USB</strong> 3.0 Smartphones<br />

<strong>USB</strong> 3.0 provides faster performance with lower power consumption<br />

for mobile devices by reducing the overall loading on the CPU<br />

and on-chip bus. Data transfers across the system bus in<strong>to</strong> memory<br />

faster, and then s<strong>to</strong>ps transmitting on the system bus. The <strong>USB</strong><br />

core s<strong>to</strong>ps, and the DMA s<strong>to</strong>ps transferring data (because there<br />

is no more data <strong>to</strong> transfer). Therefore, <strong>USB</strong> 3.0 uses less power,<br />

resulting in longer battery life. This means more CPU cycles and<br />

more bus bandwidth are available <strong>to</strong> support high-value features<br />

such as graphics processing.<br />

Today, the availability of <strong>USB</strong> 3.0 devices, dual-role devices, and<br />

host IP controllers and PHYs gives system makers more options<br />

for integrating features and add-on products that consumers<br />

want. With the availability of smartphones with SuperSpeed <strong>USB</strong><br />

3.0, the entire ecosystem of adjacent <strong>USB</strong> 3.0 market segments<br />

will be positively impacted including tablet PCs, personal computers,<br />

digital s<strong>to</strong>rage, TVs, set-<strong>to</strong>p boxes, and digital still and<br />

video cameras. To be ready for this next generation of SuperSpeed<br />

<strong>USB</strong> 3.0-ready smartphones, new products must support <strong>USB</strong><br />

3.0—are your products ready?<br />

In his role as senior product marketing manager for semiconduc<strong>to</strong>r<br />

<strong>USB</strong> digital IP, Eric Huang is responsible for managing<br />

<strong>USB</strong> 3.0 and <strong>USB</strong> 2.0 IP. Huang worked on <strong>USB</strong> at the beginning<br />

in 1995 with the world’s first BIOS that supported <strong>USB</strong><br />

keyboards and mice while at Award Software. After a departure<br />

in<strong>to</strong> embedded systems software for real-time operating systems,<br />

Huang returned <strong>to</strong> <strong>USB</strong> cores and software at inSilicon,<br />

the world’s leading supplier of <strong>USB</strong> IP at the time. inSilicon was<br />

later acquired by Synopsys in 2002.<br />

30 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


Among the important trends in the medical market <strong>to</strong>day<br />

is the increase in healthcare spending. In their 2011 World<br />

Health Statistics report, the World Health Organization<br />

said that, on a global basis, the health economy is growing<br />

considerably faster than Gross Domestic Product (GDP).<br />

They went on <strong>to</strong> say that, from 2000 <strong>to</strong> 2008, health<br />

spending rose from 8.3% of <strong>to</strong>tal GDP, <strong>to</strong> 8.5%, and the<br />

per-capita <strong>to</strong>tal expenditure on health at the average<br />

exchange rate rose from (US$) $484 <strong>to</strong> $854. This is a substantial<br />

increase during the eight year period.<br />

As a result of this increasing global investment in healthcare,<br />

more medical devices are becoming end-user items.<br />

Today, medical devices are not restricted <strong>to</strong> hospitals and<br />

doc<strong>to</strong>rs’ offices. Rather, we are seeing a significant trend<br />

<strong>to</strong>ward home healthcare, where more and more medical<br />

equipment is being designed for home use. Products such<br />

as remote-moni<strong>to</strong>ring devices for blood pressure and<br />

glucose levels, as well as new drug delivery systems, are<br />

becoming commonplace in<br />

the homes of patients with<br />

chronic conditions.<br />

This market trend is also<br />

encouraging innovation in<br />

the field of medical electronics.<br />

As personal medical<br />

devices are becoming more<br />

ubiqui<strong>to</strong>us, companies are<br />

looking in<strong>to</strong> developing<br />

products with lower power consumption and the smallest<br />

possible form fac<strong>to</strong>rs, and they’re adding connectivity <strong>to</strong><br />

enable the easy exchange of data.<br />

The medical industry has long unders<strong>to</strong>od the benefits of<br />

standards such as <strong>USB</strong> <strong>to</strong> implement the exchange of data<br />

in medical facilities, which it is now deploying for remote<br />

in-home patient moni<strong>to</strong>ring. <strong>USB</strong>’s fast, reliable and “plug<br />

and play” nature is almost perfect for medical applications<br />

where devices need <strong>to</strong> be portable, robust and easily upgradable.<br />

Companies are also coming up with new techniques<br />

that directly insert isolation within the <strong>USB</strong> signal path,<br />

which eliminates the need for external isolation components<br />

and therefore helps <strong>to</strong> minimize the size and cost<br />

of products. The medical industry is truly leveraging <strong>USB</strong><br />

technology across a wide variety of healthcare devices.<br />

EECatalog SPECIAL FEATURE<br />

Growth of <strong>USB</strong> in Medical Devices<br />

<strong>USB</strong> is becoming the de-fac<strong>to</strong> standard for wired connectivity in healthcare devices.<br />

By Manasi Khare, Microchip Technology Inc.<br />

PHDC is essentially the <strong>USB</strong><br />

stack designed specifically<br />

for medical devices with<br />

<strong>USB</strong> connectivity.<br />

The Continua Health Alliance was formed <strong>to</strong> provide<br />

design guidelines and product certification programs, and<br />

has become a benchmark organization in the medicaldevice<br />

industry. In particular, it is working with the <strong>USB</strong><br />

Personal Healthcare Device Class (PHDC) specification <strong>to</strong><br />

leverage seamless interoperability between devices. This<br />

effort means that <strong>USB</strong> will likely remain the backbone of<br />

wired connectivity in healthcare devices for some time.<br />

<strong>USB</strong> Standardization for Medical Devices<br />

As <strong>USB</strong> interface adoption in a variety of medical devices<br />

increased, a common standard was essential <strong>to</strong> maintain<br />

interoperability. In particular, interoperability was required<br />

<strong>to</strong> guarantee that different devices produced by different<br />

vendors could successfully communicate with each other<br />

and exchange meaningful data. The Continua Health Alliance<br />

began with this goal in mind. They have united elegant<br />

technology and medical devices with healthcare-industry<br />

leaders <strong>to</strong> empower patients <strong>to</strong> exchange vital medical<br />

information, and improve the<br />

way they manage health and<br />

wellness. It has established<br />

an ecosystem of connected<br />

personal health products and<br />

created design guidelines<br />

based on connectivity standards.<br />

There are nearly 250<br />

technology, medical-device<br />

and healthcare companies<br />

that have joined this alliance<br />

<strong>to</strong> conform <strong>to</strong> the interoperability between devices and provide<br />

an opportunity <strong>to</strong> truly manage personalized health<br />

and wellness. The complete list of active Continua Health<br />

Alliance participating member companies can be found<br />

at http://www.continuaalliance.org/about-the-alliance/<br />

member-companies.html.<br />

Seeing the growing need for seamless interoperability<br />

between personal healthcare devices and <strong>USB</strong> hosts, in 2007<br />

the <strong>USB</strong> Implementer’s Forum (<strong>USB</strong>-IF) developed the <strong>USB</strong><br />

Personal Healthcare Device Class (PHDC). The introduction<br />

of PHDC allowed personal healthcare devices – such as<br />

blood-pressure moni<strong>to</strong>rs or glucose meters – <strong>to</strong> connect via<br />

<strong>USB</strong> <strong>to</strong> consumer electronics such as PCs or mobile health<br />

appliances. In 2008, the Continua Health Alliance approved<br />

the <strong>USB</strong> PHDC and established a product-certification program<br />

that formalizes interoperability conformation using<br />

www.eecatalog.com/usb 31


EECatalog SPECIAL FEATURE<br />

Figure 1: Typical PHDC-based healthcare system<br />

this <strong>USB</strong> standard. Since then, the Continua Alliance has<br />

regularly provided updated design guidelines that allow<br />

devices <strong>to</strong> maintain seamless interoperability.<br />

The Personal Healthcare Device Class<br />

(PHDC)<br />

PHDC is essentially the <strong>USB</strong> stack designed specifically<br />

for medical devices with <strong>USB</strong> connectivity, and it was<br />

designed <strong>to</strong> enable seamless interoperability between<br />

personal-healthcare devices and <strong>USB</strong> hosts. It defines the<br />

functionality necessary for personal-healthcare devices <strong>to</strong><br />

send standardized data and messages <strong>to</strong> hosts over <strong>USB</strong>,<br />

using industry standards such as the IEEE 11073-20601<br />

Optimized Exchange Pro<strong>to</strong>col. A typical PHDC-based<br />

healthcare system is shown in Figure 1.<br />

Similar <strong>to</strong> the <strong>USB</strong> 2.0 specifications that define various<br />

device classes such as human interface device (HID), communications<br />

device class (CDC) and Mass S<strong>to</strong>rage, the<br />

PHDC specification has been further sub-categorized in<strong>to</strong><br />

the following three themes, each focusing on a specific<br />

area for the typical usage of personal medical device:<br />

1. Physical Fitness: For devices that focus on enabling<br />

people <strong>to</strong> stay healthy and fit, such as exercise watches,<br />

heart-rate moni<strong>to</strong>rs and exercise bikes.<br />

2. Disease Management: For devices that focus on<br />

detecting, moni<strong>to</strong>ring and treating diseases, such as<br />

drug-delivery systems.<br />

3. Independent Aging: For devices that help seniors live unassisted,<br />

such as activity moni<strong>to</strong>rs and medication reminders.<br />

The above categorization system helps define the data and<br />

message structure for each device, depending on its usage<br />

and focus area. The PHDC specification does not use a new<br />

data or messaging format <strong>to</strong> exchange data. Instead, it<br />

uses the existing IEEE 11073-20601 Optimized Exchange<br />

Pro<strong>to</strong>col, which allows for vendor-defined data and messaging<br />

standards (Figure 2).<br />

The software architecture of the PHDC stack ensures<br />

code robustness, portability and reliability in embedded<br />

systems development. A <strong>USB</strong> PHDC-based solution can be<br />

seen as a tiered system consisting of the core <strong>USB</strong> PHDC<br />

stack and an IEEE Optimized Exchange Pro<strong>to</strong>col that<br />

communicates with the stack and translates the data <strong>to</strong><br />

external API applications that the devices can use. Several<br />

layers of software abstraction isolate the end application<br />

from low-level communication drivers, allowing code<br />

portability and ease of use. A high-level view of a typical<br />

PHDC-based system is shown in Figure 3.<br />

The PHDC specification has simplified <strong>USB</strong> communication<br />

for personal healthcare devices, and has expanded the<br />

use of <strong>USB</strong> <strong>to</strong> a vast array of personal-healthcare devices.<br />

Additionally, the PHDC stack is helping companies achieve<br />

faster time <strong>to</strong> market for their products, while leveraging<br />

cross-business expertise and enabling the market expansion<br />

of personal healthcare devices.<br />

The complete PHDC specification can be viewed at<br />

http://www.usb.org/developers/devclass_docs/Personal_<br />

Healthcare_1.zip.<br />

32 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


Figure 2: PHDC’s data-exchange mechanism<br />

A Look Ahead<br />

With PHDC in place, another challenge that remains for<br />

employing <strong>USB</strong> in medical devices is <strong>to</strong> overcome electrical<br />

isolation issues. To accomplish this goal, companies are<br />

focusing more on EMC and ESD tests that will offer consumers<br />

safer and more robust <strong>USB</strong> devices.<br />

The Continua Health A lliance recently made its most recent<br />

design guidelines available <strong>to</strong> anyone as a free download.<br />

Figure 3: High-level view of a <strong>USB</strong> PHDC-based solution<br />

EECatalog SPECIAL FEATURE<br />

These design guidelines were previously available only<br />

<strong>to</strong> Continua Alliance members during interoperability<br />

testing. Why this is important? The guidelines can now<br />

help all medical developers build end-<strong>to</strong>-end, plug-andplay<br />

systems more efficiently, by facilitating seamless<br />

connectivity between personal connected healthcare<br />

devices and services, such as smart phones and remote<br />

moni<strong>to</strong>ring devices. It will also allow vendors <strong>to</strong> create<br />

devices that make the collection and sharing of personal<br />

www.eecatalog.com/usb 33


EECatalog SPECIAL FEATURE<br />

health data convenient and secure for consumers and<br />

healthcare providers, liberating system integra<strong>to</strong>rs <strong>to</strong><br />

develop innovative solutions.<br />

To request a design guideline document from Continua,<br />

please visit http://www.continuaalliance.org/products/<br />

design-guidelines.html.<br />

Conclusion<br />

As home-based medical care becomes more pervasive, the<br />

personal healthcare products market continues <strong>to</strong> grow. To<br />

better enable this growing trend, companies are adopting<br />

interoperability standards that allow consumers <strong>to</strong> use a<br />

wider variety of devices and connect them <strong>to</strong>gether for<br />

remote-moni<strong>to</strong>ring purposes. The Continua Health Alliance<br />

continues <strong>to</strong> work with the PHDC specification <strong>to</strong><br />

leverage seamless interoperability between devices. As a<br />

result, <strong>USB</strong> is becoming the de-fac<strong>to</strong> standard for wired<br />

connectivity in healthcare devices.<br />

Additional Resources<br />

Microchip Technology offers a free PHDC stack that is<br />

compatible with all of our 8-bit, 16-bit and 32-bit <strong>USB</strong><br />

<strong>USB</strong> <strong>Technologies</strong> ONLINE<br />

PIC® microcontrollers. You can download the stack <strong>to</strong>day,<br />

as a part of the Microchip Libraries for Applications, at<br />

www.microchip.com/mla. Inside the library, PHDC code<br />

examples are labeled as <strong>USB</strong>\Device – PHDC, such as<br />

Device – PHDC – Blood Pressure Moni<strong>to</strong>r.<br />

If you have any questions related <strong>to</strong> the subjects covered in<br />

this article, please contact us at http://support.microchip.com.<br />

Manasi Khare is senior corporate applications<br />

engineer at Microchip Technology, focusing on<br />

<strong>USB</strong> applications based upon Microchip’s analog<br />

devices and PIC microcontrollers. She joined the<br />

company in 2006. Before joining Microchip, she<br />

received an MS degree in Electrical Engineering<br />

from West Virginia University in 2005. As a part of her<br />

Master’s thesis research, she worked on the statistical analysis<br />

portion of an iris-recognition system. Her work was published<br />

in the journal IEEE Transaction on Information Forensics<br />

and Security, in 2006. After graduation, Manasi briefly<br />

worked for the International Biometric Group in New York, NY<br />

as a Research Associate Engineer.<br />

Explore...<br />

➔ Top S<strong>to</strong>ries and News<br />

➔ Valuable Articles<br />

➔ White Papers<br />

➔ Expert Opinions (Blogs)<br />

➔ Exclusive Videos<br />

www.eecatalog.com/usb<br />

➔ Prdouct Briefs and Case Studies<br />

Sign up for the quarterly<br />

<strong>USB</strong> email newsletter,<br />

visit www.eecatalog.com/usb<br />

34 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


ICs<br />

8-bit <strong>USB</strong> PIC Microcontrollers<br />

from Microchip<br />

As <strong>USB</strong> reaches ubiquity in the Personal Computing<br />

nications<br />

interface for embedded applications. With<br />

the advent of inexpensive <strong>USB</strong> microcontrollers, the<br />

availability of free software enabling fast development,<br />

and the vast installed base of <strong>USB</strong>-connected<br />

consumer devices, the interface has become the defac<strong>to</strong><br />

standard for off-board serial communication.<br />

Microchip offers a wide variety of highly integrated<br />

8-bit MCUs designed <strong>to</strong> add cost-effective <strong>USB</strong> device<br />

capability <strong>to</strong> any application.<br />

FEATURES & BENEFITS<br />

◆ <strong>USB</strong> 2.0 Compliant Full/Low Speed Interface ensures<br />

compatibility with all standard communication<br />

classes<br />

◆ Flexible Input Voltage Options allow many of our<br />

<strong>USB</strong> MCUs <strong>to</strong> operate from battery power up <strong>to</strong> 5.5<br />

Volts<br />

◆ <br />

accuracy from the internal oscilla<strong>to</strong>r, thus eliminating<br />

cost and board space<br />

◆ <br />

<br />

features, such as charging and power supply control<br />

circuitry.<br />

◆ controllers<br />

contain all hardware necessary <strong>to</strong> easily<br />

<br />

proximity sensors in<strong>to</strong> your embedded system<br />

TECHNICAL SPECS<br />

◆ Full Speed <strong>USB</strong> Device Mode<br />

◆ <br />

performance<br />

◆ ules<br />

◆ <br />

Microchip Technology Inc.<br />

AVAILABILITY<br />

A comprehensive portfolio of 8-bit PIC MCUs with <strong>USB</strong> is<br />

available now. The following is a list of featured devices.<br />

PIC16F1459, PIC18F14K50, PIC18F26J50, PIC18F27J53<br />

PIC18F46J50, PIC18F47J53, PIC18F67J50, PIC16F86J55,<br />

PIC18F87J50, PIC18F97J94.<br />

All devices in Microchip’s 8-bit <strong>USB</strong> portfolio are supported<br />

by the Microchip Application Libraries (MLA),<br />

MPLAB® X IDE, and the MPLAB XC8 compiler. For a<br />

complete list of available products and <strong>to</strong>ols, please visit<br />

www.microchip.com/8bit.<br />

APPLICATION AREAS<br />

<br />

<br />

Portable handheld devices<br />

ing,<br />

Pedometers<br />

CONTACT INFORMATION<br />

Microchip Technology Inc.<br />

2355 W. Chandler Blvd.<br />

Chandler, AZ 85224<br />

USA<br />

888-MCU-MCHP Toll Free<br />

480-792-7200 Telephone<br />

480-792-7277 Fax<br />

here2help@microchip.com<br />

www.microchip.com<br />

<br />

ICs


ICs<br />

Microchip Technology Inc.<br />

External <strong>USB</strong> Bridges from Microchip<br />

Microchip’s <strong>USB</strong> bridges enable systems designers <strong>to</strong><br />

implement <strong>USB</strong> connectivity without having <strong>to</strong> have much<br />

knowledge about the pro<strong>to</strong>cols themselves. For most applications,<br />

connectivity <strong>to</strong> industry-standard pro<strong>to</strong>cols are<br />

<br />

but are not necessarily the key value-add functionality. By<br />

providing a simple way <strong>to</strong> add <strong>USB</strong> connectivity <strong>to</strong> their<br />

systems, it enables them focus more on implementing their<br />

value-added functionality in their systems.<br />

FEATURES & BENEFITS<br />

◆ Complete Plug and Play Solutions - Evaluation board and<br />

supporting software provide an “out of the box” solu-<br />

<br />

expertise.<br />

◆ <br />

<br />

<br />

chip configurations. This can help <strong>to</strong> simplify<br />

designs allowing for pin function flexibility.<br />

◆ Small Form Fac<strong>to</strong>r Increasing Ease of Adding <strong>to</strong> Existing<br />

Systems - Very small footprint packages including 20-pin<br />

<br />

additional board space for adding <strong>USB</strong> connectivity <strong>to</strong><br />

existing systems.<br />

TECHNICAL SPECS<br />

◆ MCP2200 <strong>USB</strong>-<strong>to</strong>-UART Serial Converter<br />

<br />

<br />

<br />

<br />

<br />

<br />

◆ MCP2210 <strong>USB</strong>-<strong>to</strong>-SPI Pro<strong>to</strong>col Converter<br />

<br />

<br />

<br />

<br />

AVAILABILITY<br />

<br />

<br />

evaluation board for the MCP2200 <strong>USB</strong>-<strong>to</strong>-UART device.<br />

The board allows for easy demonstration and evaluation<br />

of the MCP2200. The accompanying software allows the<br />

special device features <strong>to</strong> be configured and controlled. The<br />

board is powered from <strong>USB</strong> and has a test point associ-<br />

ated with each GPIO pin. In addition, two of these pins are<br />

connected <strong>to</strong> LEDs which can be used <strong>to</strong> indicate <strong>USB</strong>-<strong>to</strong>-<br />

UART traffic when the associated pins are configured as<br />

TxLED and RxLED pins respectively. MCP2210 Evaluation<br />

Kit (ADM00421) The MCP2210 Evaluation Kit is a development<br />

and evaluation platform for the MCP2210 device. The<br />

MCP2210 Motherboard is designed <strong>to</strong> work <strong>to</strong>gether with<br />

the MCP2210 Breakout Board. The motherboard provides<br />

the test points needed for measurements and it also contains<br />

the following SPI slave chips:<br />

<br />

<br />

<br />

<br />

are SPI slaves controlled by the MCP2210.<br />

The MCP2210 Evaluation Board Demo software can be<br />

used <strong>to</strong> demonstrate the MCP2210 as a <strong>USB</strong>-<strong>to</strong>-SPI (Master)<br />

<br />

Utility software allows cus<strong>to</strong>m device configuration. A DLL<br />

package is also available in order <strong>to</strong> allow development of<br />

cus<strong>to</strong>m software using the MCP2210.<br />

APPLICATION AREAS<br />

<br />

s<strong>to</strong>rage or transfer<br />

<br />

<br />

multi-meters, data loggers<br />

<br />

CONTACT INFORMATION<br />

Microchip Technology Inc.<br />

2355 W. Chandler Blvd.<br />

Chandler, AZ 85224<br />

USA<br />

888-MCU-MCHP Toll Free<br />

480-792-7200 Telephone<br />

480-792-7277 Fax<br />

here2help@microchip.com<br />

www.microchip.com<br />

<br />

ICs


ICs<br />

Featured 16-bit PIC® MCU<br />

and dsPIC® DSC <strong>USB</strong><br />

devices from Microchip<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

FEATURES & BENEFITS<br />

◆ <br />

◆ <br />

◆ <br />

◆ <br />

<br />

◆ <br />

<br />

Microchip Technology Inc.<br />

TECHNICAL SPECS<br />

◆ <strong>USB</strong> Device with eXtreme Low Power MCU<br />

<br />

<br />

<br />

<br />

<br />

<br />

◆ <br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

AVAILABILITY<br />

<br />

<br />

CONTACT INFORMATION<br />

Microchip Technology Inc.<br />

2355 W. Chandler Blvd.<br />

Chandler, AZ 85224<br />

USA<br />

888-MCU-MCHP Toll Free<br />

480-792-7200 Telephone<br />

480-792-7277 Fax<br />

here2help@microchip.com<br />

www.microchip.com<br />

<br />

ICs


Middleware<br />

Micro Digital Inc<br />

smx<strong>USB</strong>H (Host Stack),<br />

smx<strong>USB</strong>D (Device Stack),<br />

smx<strong>USB</strong>O (OTG)<br />

Compatible Operating Systems: SMX ® RTOS, Easily ported <strong>to</strong><br />

proprietary environments, stand alone, and other RTOS’s<br />

<strong>USB</strong> Support: <strong>USB</strong> Host, Device, On-The-Go<br />

smx<strong>USB</strong>H (Host Stack), smx<strong>USB</strong>D (Device Stack), and<br />

smx<strong>USB</strong>O (On The Go) are robust solutions for adding<br />

<strong>USB</strong> connectivity <strong>to</strong> embedded devices. Written in<br />

ANSI-C, their clean, modular design makes <strong>USB</strong> implementation<br />

surprisingly easy. Developed explicitly for use<br />

in embedded devices, smx<strong>USB</strong> has small code and RAM<br />

footprints. For smx<strong>USB</strong>H (Host), with the mass s<strong>to</strong>rage<br />

class driver, typical code and RAM sizes are 29KB and<br />

6KB, respectively, including a typical driver for the<br />

<strong>USB</strong> host controller. For smx<strong>USB</strong>D (Device) with mass<br />

s<strong>to</strong>rage emulation, typical code and RAM sizes are 15KB<br />

and 6KB, respectively, including a typical driver for the<br />

<strong>USB</strong> device controller. smx<strong>USB</strong>O (OTG) adds 7KB code.<br />

While optimally supported by SMX ® RTOS, smx<strong>USB</strong><br />

is portable and can be easily ported <strong>to</strong> proprietary<br />

environments, other RTOSs, and is often used standalone.<br />

Read and write performance are excellent, and<br />

are listed in the product data sheets.<br />

Available with smx<strong>USB</strong>H, or separately, are host class<br />

drivers including audio, mass s<strong>to</strong>rage, HID, printer, hub,<br />

serial, mouse, keyboard, CDC ACM (modem), RFID, Serial<br />

<strong>USB</strong> <strong>to</strong> serial adapter, <strong>USB</strong> <strong>to</strong> Ethernet adapter, RFID, Sierra<br />

wireless, video, and WiFi with WPA. With smx<strong>USB</strong>D are<br />

device class emula<strong>to</strong>rs for serial, multiport serial, mouse,<br />

mass s<strong>to</strong>rage, audio with MIDI, video, MTP/PTP, Ethernet<br />

over <strong>USB</strong> (RNDIS), Device Firmware Upgrade (DFU), and<br />

composite. Device class emula<strong>to</strong>rs are Windows compatible<br />

and do not require cus<strong>to</strong>m Windows drivers, except<br />

multiport serial and DFU which are included.<br />

Used with the smxFS, DOS/FAT-compatible file system,<br />

smx<strong>USB</strong>H (Host) supports mass s<strong>to</strong>rage devices such as<br />

Thumb Drives and <strong>USB</strong> hard drives. smx<strong>USB</strong>D (Device)<br />

used with smxFS turns an embedded device in<strong>to</strong> a Windows-compatible<br />

<strong>USB</strong> Drive. Both solutions provide an<br />

easy way of transferring files <strong>to</strong> and from an embedded<br />

device.<br />

FEATURES & BENEFITS<br />

◆ Small code and RAM foot print.<br />

◆ Easily adapted <strong>to</strong> proprietary environments, commercial<br />

RTOSs, or standalone use. Pre-integrated<br />

with SMX RTOS.<br />

◆ Full support for many <strong>USB</strong> host and device controllers,<br />

including those on popular processor chips.<br />

◆ With smxFS (file system), smx<strong>USB</strong>H enables easy<br />

<strong>USB</strong> Thumb Drive support.<br />

◆ smx<strong>USB</strong>D enables easy connection <strong>to</strong> Windows PCs<br />

without requiring cus<strong>to</strong>m Windows drivers<br />

TECHNICAL SPECS<br />

◆ Support for <strong>USB</strong> 1.1, <strong>USB</strong> 2.0 and OTG<br />

◆ Full source code in ANSI-C with 90 days of support<br />

and maintenance.<br />

◆ Support for wide range of 16 and 32 bit processors:<br />

ARM, Cortex, Blackfin, ColdFire, PowerPC, RX, SH,<br />

x86 and others.<br />

◆ Supplied with complete, easy-<strong>to</strong>-read manuals,<br />

which include detailed sections on porting.<br />

◆ Support for a wide range of processor on-chip <strong>USB</strong><br />

controllers, external <strong>USB</strong> controllers such as the<br />

ST-Ericsson (NXP) ISP family, Maxim, Synopsys, and<br />

OHCI, UHCI and EHCI compliant controllers.<br />

AVAILABILITY<br />

CONTACT INFORMATION<br />

Micro Digital Inc<br />

2900 Bris<strong>to</strong>l Street<br />

Suite G 204<br />

Costa Mesa, CA 92626<br />

USA<br />

714.437.7333 Telephone<br />

714.432.490 Fax<br />

sales@smxr<strong>to</strong>s.com<br />

www.smxr<strong>to</strong>s.com<br />

Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012<br />

Now<br />

APPLICATION AREAS<br />

Wide range of consumer and embedded devices that can<br />

benefit from <strong>USB</strong> connectivity.<br />

Middleware


Middleware<br />

Embedded <strong>USB</strong><br />

Compatible Operating Systems: FreeRTOS, Keil RTX, MQX,<br />

Nucleus, Quadros RTXC, ThreadX, u-velOSity, uC/OS-II, CMX<br />

RTX, eCOS, emBOS, EUROS, ‘no-RTOS’, cus<strong>to</strong>m schedulers &<br />

super loops.<br />

<strong>USB</strong> Support: <strong>USB</strong> Host, Device & OTG<br />

Embedded <strong>USB</strong> for Professionals<br />

HCC Embedded has been supplying professional middleware<br />

<strong>to</strong> the embedded industry for more than a decade.<br />

Our software is ‘white labeled’ by many of the industry’s<br />

leading RTOS companies and is deployed in thousands<br />

of successful and innovative applications. HCC is a company<br />

focused entirely on embedded communications<br />

and s<strong>to</strong>rage. In order <strong>to</strong> effectively deploy our software,<br />

we have created an advanced embedded framework that<br />

enables our software <strong>to</strong> easily drop in<strong>to</strong> any environment<br />

– regardless of processor, <strong>to</strong>ols or RTOS. This means that<br />

our <strong>USB</strong> stacks not only give you access <strong>to</strong> excellent software<br />

technology, but also enable you <strong>to</strong> create applications<br />

that can use rich media and lightning fast data transfer.<br />

FEATURES & BENEFITS<br />

◆ <strong>USB</strong> Host: HCC’s <strong>USB</strong> Host stack is a scalable suite that<br />

enables an embedded host <strong>to</strong> control a variety of <strong>USB</strong><br />

devices including pen-drives, printers, audio devices,<br />

joysticks, virtual serial ports and network interfaces.<br />

The embedded <strong>USB</strong> host stack supports EHCI, OHCI<br />

and non-standard <strong>USB</strong> controllers.<br />

◆ <strong>USB</strong> Device: HCC’s <strong>USB</strong> device stack allows developers<br />

<strong>to</strong> integrate <strong>USB</strong> device functionality in<strong>to</strong> their embedded<br />

devices. It is available with a comprehensive suite<br />

of class drivers that gives the device many functional<br />

possibilities, including operating as a pen-drive, virtual<br />

serial port, joystick, audio system or a network card.<br />

◆ <strong>USB</strong> OTG: On-the go acts as a switch between the <strong>USB</strong><br />

host and device stacks, determined by the state of the ID<br />

pin. In many cases, OTG software is not required. HCC<br />

provides the hooks for this configuration as standard with<br />

the E<strong>USB</strong> host and device stacks. HCC also provides a<br />

full software OTG stack that supports the SRP and HNP<br />

pro<strong>to</strong>cols for negotiating between two connected devices<br />

in order <strong>to</strong> decide which one shall operate as the host.<br />

◆ AllSpeeds & Transfer Types: HCC <strong>USB</strong> comprehensively<br />

supports all <strong>USB</strong> End-point/Transfer Types and Interface<br />

Speeds including Low (1.5Mbs), Full (12Mbs) and High<br />

Speed (480Mbps). Transfer types include Control, Interrupt,<br />

Bulk, and Isochronous, providing the base for the<br />

widest possible range of class drivers.<br />

◆ Composite, Compound & Complex Devices: HCC<br />

provides support for multiple <strong>USB</strong> functions <strong>to</strong> be used<br />

on the same device.<br />

TECHNICAL SPECS<br />

CONTACT INFORMATION<br />

HCC Embedded<br />

◆ Extensive Class Driver Support - External Hub - Mass<br />

S<strong>to</strong>rage - Remote NDIS (RNDIS) - CDC Abstract Control<br />

Model (CDC_ACM) - CDC Ethernet Control Model<br />

(CDC- ECM) - CDC Ethernet Emulation Module (CDC-<br />

EEM) - OBEX devices - FTDI <strong>USB</strong> serial devices - Audio<br />

- Midi - Human Interface Device (HID) - Media Transfer<br />

Pro<strong>to</strong>col - Printers - PICTBRIDGE - Personal Healthcare<br />

Device (PHCD)<br />

◆ HCC’s unique position as a middleware developer<br />

means that we can offer tight integration of file<br />

systems, serial and Ethernet interfaces <strong>to</strong> support<br />

communications between different pro<strong>to</strong>cols. Connecting<br />

different devices <strong>to</strong> a PC used <strong>to</strong> involve many<br />

hardware inter- faces and pro<strong>to</strong>cols – e.g. Ethernet<br />

ports, serial ports, ATA/IDE interfaces, audio ports,<br />

video adapters etc. HCC <strong>USB</strong> provides the capability<br />

<strong>to</strong> share a single high- speed bus between many<br />

peripheral types - connecting TCP/IP networks over<br />

<strong>USB</strong> interfaces either as local or remote network<br />

adapters.<br />

AVAILABILITY<br />

Immediately for Atmel AVR32, SAM3/7/9; ARM Cortex-<br />

M0/M3/M4, ARM7/9/11; Freescale ColdFire, Kinetis,<br />

PowerPC, i.MX; Infineon C164; Microchip PIC24, PIC32;<br />

NXP LPC1000/2000/3000/4000; Renesas SH-2A, RX600;<br />

STMicro STM32; Texas Instruments MSP430, Stellaris,<br />

C2000, Hercules.<br />

APPLICATION AREAS<br />

Any embedded application requiring <strong>USB</strong> Connectivity.<br />

HCC Embedded<br />

444 East 82nd Street<br />

New York, NY 10028<br />

USA<br />

+1 212 734 1345 Telephone<br />

info@hcc-embedded.com<br />

www.hcc-embedded.com<br />

<br />

Middleware


VIEWPOINT<br />

The Evolving Needs of the<br />

Developer Community<br />

Engineers working on their first <strong>USB</strong> device <strong>to</strong>day could very well be working on a<br />

high-performance <strong>USB</strong> 3.0 product in the space of a few years. This engineer doesn’t<br />

have the time or the luxury of re-learning a new class of <strong>USB</strong> analyzer every year.<br />

By Derek Fung, Total Phase<br />

In the past, only hardware engineers had the budget <strong>to</strong><br />

purchase <strong>USB</strong> pro<strong>to</strong>col analyzers. The introduction of new,<br />

low-cost pro<strong>to</strong>col analyzers helped place these devices in the<br />

hands of software, driver and firmware engineers as well. As<br />

the cost for these devices has come down, new features make<br />

it even easier for new <strong>USB</strong> engineers <strong>to</strong> start using these <strong>to</strong>ols.<br />

Intuitive real-time class decoding and instantaneous view/<br />

filter of trace captures are just two of the features which save<br />

time for engineers.<br />

Across our many thousands of <strong>USB</strong> cus<strong>to</strong>mers, several consistent<br />

trends have emerged. These trends may have their roots<br />

in <strong>USB</strong> 2.0, but they are becoming more important in the<br />

expanding market of <strong>USB</strong> 3.0 and beyond.<br />

Engineers Want Tools <strong>to</strong> Make Them More<br />

Efficient<br />

Engineers demand <strong>USB</strong> <strong>to</strong>ols that will help them see multiple<br />

issues in a simple, yet highly configurable interface that fits<br />

their individual needs. With the increasing complexity of <strong>USB</strong><br />

devices, these <strong>to</strong>ols must support engineers as they iteratively<br />

test and debug their systems. Real-time feedback is crucial. As<br />

tweaks are made in firmware, Verilog, etc., embedded engineers<br />

do not want <strong>to</strong> be adversely impacted by slow <strong>to</strong>ols. Pro<strong>to</strong>col<br />

analyzers need <strong>to</strong> move with the same speed as the engineer<br />

so that they can quickly highlight trouble points through<br />

iterative changes. Otherwise, engineers are left wasting time<br />

waiting for the <strong>to</strong>ol <strong>to</strong> catch up and time is money.<br />

Engineers Want Tools that Fit the Way they<br />

Work<br />

Engineers don’t want <strong>to</strong> change the way they work <strong>to</strong> fit the<br />

<strong>to</strong>ol. Much like integrated development environments provide<br />

real-time visibility in<strong>to</strong> software, developers need the same<br />

real-time data interactivity with their pro<strong>to</strong>col analyzer. No<br />

more waiting for downloads <strong>to</strong> complete before analysis and<br />

debugging begins. Developers want <strong>to</strong>ols that arrive at their<br />

labs and simply work right out of the box when they plug them<br />

in–no special configurations, no long learning curve <strong>to</strong> become<br />

productive; just plug and debug.<br />

Engineers Want Tools Optimized for Their<br />

Specific Job<br />

With the near ubiqui<strong>to</strong>us availability of <strong>USB</strong> in microcontrollers<br />

of all shapes and sizes, we have seen an explosion in<br />

<strong>USB</strong> development as engineers are leaving older and slower<br />

pro<strong>to</strong>cols behind and adopting <strong>USB</strong>. Engineers that are new <strong>to</strong><br />

<strong>USB</strong> appreciate solutions such as pro<strong>to</strong>col analyzers that help<br />

them more easily adapt <strong>to</strong> the additional complexities of <strong>USB</strong><br />

versus the older, slower pro<strong>to</strong>cols. Additionally, as the market<br />

has exploded, more engineers are demanding highly specialized<br />

<strong>to</strong>ols that are truly optimized for their job. For example,<br />

field engineers need lightweight <strong>to</strong>ols that can be powered<br />

from the host without sacrificing power or features of realtime<br />

interactivity.<br />

Many experienced engineers need <strong>to</strong> leverage advanced features<br />

such as advanced state machine-based triggers <strong>to</strong> detect<br />

complex or especially hard-<strong>to</strong>-find problems. These advanced<br />

features enable them <strong>to</strong> get the most out of their experience.<br />

Other very experienced engineers don’t want <strong>to</strong> be constrained<br />

by manufacturer GUIs; they want the option of seeing raw data<br />

efficiently so that they can do specialized cus<strong>to</strong>m analysis.<br />

These three trends point <strong>to</strong> a maturing and broadening <strong>USB</strong><br />

market. While developers may range from inexperienced <strong>to</strong><br />

expert, they all point <strong>to</strong> the same fundamental needs: efficient<br />

<strong>to</strong>ols that work the way they want them <strong>to</strong>, with advanced<br />

features they can grow in<strong>to</strong>. Engineers working on their<br />

first <strong>USB</strong> device <strong>to</strong>day could very well be working on a highperformance<br />

<strong>USB</strong> 3.0 product in the space of a few years. This<br />

engineer doesn’t have the time or the luxury of re-learning a<br />

new class of <strong>USB</strong> analyzer every year. Engineers want a <strong>to</strong>ol<br />

suite that will grow with their need.<br />

Derek Fung is the VP of business at Total Phase.<br />

He has over 10 years’ experience managing the<br />

sales, marketing and operations of all Total Phase<br />

products, including the line of Beagle <strong>USB</strong> pro<strong>to</strong>col<br />

analyzers.<br />

40 Engineers’ <strong>Guide</strong> <strong>to</strong> <strong>USB</strong> <strong>Technologies</strong> 2012


a designeast summit<br />

ESC Bos<strong>to</strong>n returns this fall, bigger and better than ever with four days<br />

of non-s<strong>to</strong>p technical training, education and product evaluation across<br />

5 summits, all in one location.<br />

September 17 - 20, 2012<br />

Hynes Convention Center Bos<strong>to</strong>n, MA<br />

east.ubmdesign.com<br />

DESIGN East is comprised of:<br />

DESIGN East is your one-s<strong>to</strong>p shop and the most effi cient way <strong>to</strong> update<br />

your skills & knowledge and discover the newest technologies & products<br />

— and it’s your best opportunity <strong>to</strong> learn better & faster design techniques<br />

so you can create new solutions for your biggest challenges on the job<br />

Sharpen the skills you need now:<br />

5 Summits with 120+ educational & training sessions<br />

conference tracks<br />

Android Certifi cate Program<br />

Visionary Keynotes<br />

150+ Exhibi<strong>to</strong>rs showcasing the newest products & technologies<br />

30+ Sponsored Training Sessions & DESIGN East Theater<br />

Happy Hours, Product Teardowns, Giveaways and more!<br />

Learn more at east.ubmdesign.com<br />

Register<br />

Now!


Adding Connectivity <strong>to</strong> Your Design<br />

Microchip off ers support for a variety of wired and wireless communication pro<strong>to</strong>cols,<br />

including peripheral devices and solutions that are integrated with a PIC® Microcontroller<br />

(MCU) or dsPIC® Digital Signal Controller (DSC).<br />

Microchip’s Solutions include:<br />

<strong>USB</strong><br />

8-, 16- and 32-bit <strong>USB</strong> MCUs for basic, low-cost<br />

applications <strong>to</strong> complex and highly integrated systems<br />

along with free license software libraries including<br />

support for <strong>USB</strong> device, host, and On-The-Go.<br />

Ethernet<br />

PIC MCUs with integrated 10/100 Ethernet MAC,<br />

standalone Ethernet controllers and EUI-48/EUI-<br />

64 enabled MAC address chips.<br />

CAN<br />

8-, 16- and 32-bit MCUs and 16-bit DSCs with<br />

integrated CAN, stand-alone CAN controllers, CAN<br />

I/O expanders and CAN transceivers.<br />

LIN<br />

LIN Bus Master Nodes as well as LIN Bus Slave Nodes for<br />

8-bit PIC MCUs and 16-bit dsPIC DSCs. The physical layer<br />

connection is supported by CAN and LIN transceivers.<br />

Wi-Fi®<br />

Innovative wireless chips and modules allowing a<br />

wide range of devices <strong>to</strong> connect <strong>to</strong> the Internet.<br />

Embedded IEEE Std 802.11 Wi-Fi transceiver modules<br />

and free TCP/IP stacks.<br />

ZigBee®<br />

Certifi ed ZigBee Compliant Platform (ZCP) for the<br />

ZigBee PRO, ZigBee RF4CE and ZigBee 2006 pro<strong>to</strong>col<br />

stacks. Microchip’s solutions consist of transceiver<br />

products, PIC18, PIC24 and PIC32 MCU and dsPIC DSC<br />

families, and certifi ed fi rmware pro<strong>to</strong>col stacks.<br />

MiWi TM<br />

MiWi and MiWi P2P are free proprietary pro<strong>to</strong>col<br />

stacks developed by Microchip for short-range<br />

wireless networking applications based on the IEEE<br />

802.15.4 WPAN specifi cation.<br />

BEFORE YOUR NEXT WIRED<br />

OR WIRELESS DESIGN:<br />

1. Download free software libraries<br />

2. Find a low-cost development <strong>to</strong>ol<br />

3. Order samples<br />

www.microchip.com/usb<br />

www.microchip.com/ethernet<br />

www.microchip.com/can<br />

www.microchip.com/lin<br />

www.microchip.com/wireless<br />

Wi-Fi Comm Demo Board<br />

(DV102411)<br />

The Microchip name and logo, the Microchip logo, dsPIC, MPLAB and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks are the property of their registered owners.<br />

©2012 Microchip Technology Inc. All rights reserved. 03/12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!