Presentation is loading. Please wait.

Presentation is loading. Please wait.

October 10, 20001. 2 USB 2.0 Peripheral Design Options Dave Podsiadlo Product Marketing Manager Cypress Semiconductor Single-Chip, Internal.

Similar presentations


Presentation on theme: "October 10, 20001. 2 USB 2.0 Peripheral Design Options Dave Podsiadlo Product Marketing Manager Cypress Semiconductor Single-Chip, Internal."— Presentation transcript:

1 October 10, 20001

2 2 USB 2.0 Peripheral Design Options Dave Podsiadlo Product Marketing Manager Cypress Semiconductor dpz@cypress.com Single-Chip, Internal Microcontroller

3 October 10, 20003 Peripheral Design Options w PHY-PLD/ASIC w Multi-chip: function + external CPU w Single-chip, internal microcontroller w ASIC Integration

4 October 10, 20004 External PHY Multi-Chip: Function + External CPU Single-chip, Internal uController ASIC Design effort MEDIUMMEDIUMLOWHIGH Time to market LONGMEDIUMSHORTLONG NRE costs LOW/HIMEDIUMLOWHIGH Parts cost MEDIUMMEDIUMMEDIUMLOW Pin count HIGHMEDIUMLOWLOW Design Tradeoffs Quick to market Lowest development cost Modest price Quick to market Lowest development cost Modest price

5 October 10, 20005 Single-Chip Issues 1. How fast is it? Can it keep up with the new 480 Mbit/sec rate? Can it get data on and off chip quickly enough? 2. How easy is development? How much of my USB 1.1 experience is usable? 3. How easily does it connect to my system? How much glue logic do I need? Does it introduce any performance bottlenecks? 4. How cost effective is it? What can I replace that’s already in my system?

6 October 10, 20006 1. How Fast Is It? w An internal microprocessor should not touch 480 Mbit/sec data – Instead, optimize the channel that moves data on and off chip using specialized logic u DMA u Other – Use the CPU for USB housekeeping, I/O, etc. w Fast data transfers require fast control logic – Adaptable to many interfaces u ATA, EPP, etc.

7 October 10, 20007 Speed Example: ATA Hard Drive w Internal data transfer rate is 40 Mbytes/sec. w Avg. sustained transfer rate is 15 Mbytes/sec. w Channel rate is 66.6 Mbytes/sec. – The closer the interface gets to this number, the better it services the drive’s internal buffer u Higher overall performance w USB 2.0 – 13 Bulk packets per microframe max – 13 * 512 * 8 * 1000 = 53,248,000 bytes/sec. 7200 RPM, 512 Kbyte Internal Buffer

8 October 10, 20008 ATA Hard Drive Data Rates USB Host Buffer Head 40 Disk Drive USB 2.0 Controller USB6020-50IF 15 Sustained

9 October 10, 20009 2. How Easy Is Development? w Continuity with USB 1.1 is the key – Everything you know about 1.1 plus a little extra – (Thank you, USB 2.0 architects) – Differences are real improvements u PING-NYET w Minimize changes – Use the same microprocessor – Hide the protocol enhancements in hardware u Chirp, PING-NYET, DATA2/1/0, etc. – Use the same interface logic – Use the same development tools

10 October 10, 200010 Packet Size Comparison ControlBulkInterruptIsochronous 8, 16, 32, 64 1-6410236451210241024 USB 1.1 USB 2.0 Transfer type Packet size

11 October 10, 200011 An Efficient Design Plan w Write ‘1.1’ code using the new endpoint structure w Debug & test using existing tools & OS w Later, run at 2.0 speeds with only slight modification – Configure larger endpoint buffers to take advantage of USB 2.0 high bandwidth

12 October 10, 200012 3. How Well Does It Connect to My System? w How much ‘glue’ logic is required? w How does it handle two clock domains? – USB & interface logic – May require a FIFO w Data paths – 8 bit – 16 bit w No speed bottlenecks allowed

13 October 10, 200013 4. How Cost Effective Is It? w Look for a family of parts – ‘Economy’ through ‘Full function’ – Code compatibility up and down the family w Consider the full system cost – The internal microprocessor may replace one already in your system – Interface as peripheral, use internal processor only as a USB housekeeper – USB 2.0 changes the cost equation u Internal processor can be a tiny percentage of the chip area

14 October 10, 200014 16 Single-Chip Example Low level protocol CRC, PID encode- decode, chirp Deliver WORDS Token Processor EP0, Ping, ACK/NAK/ STALL/ NYET "Chapter 9" Outside Interface High speed logic clock extraction serialize/ deserialize bit stuff NRZI SYNC, EOP 16 Endpoints Endpoint FIFOS & control logic 16 CPU 48 MHz 8051 Program & Data RAM Download Code Data Channel GPIF

15 October 10, 200015 USB Speed: Large Endpoint Buffers And “Zero Time” DMA 512 512 512 512 EP2 EP4 512 512 512 512 EP2 512 512 512 512 EP6 EP8 512 512 512 512 EP6 512 512 512 512 EP2 512 512 EP6 1024 1024 EP2 1024 1024 EP6 1024 1024 EP2 1024 1024 1024 1024 1024 512 512 EP8 EP0 IN&OUT EP1 IN EP1 OUT 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 512 512 EP8

16 October 10, 200016 Interface Speed: GPIF N1N2N3N4N5 Cycles / branch Data Bus CTL1 OE CTL1 Val 12/321 drive 11 111 Decision Point? 0100 1 1 z 1 0 00 drivezz 0 WR Strobe data out ready address out RDY WR 20.8 nsec Edge Resolution

17 October 10, 200017 Design Ease: Same Tools

18 October 10, 200018 Value: Three Packages 56 SSOP 8x18x2.3 mm56 mm Price Champ

19 October 10, 200019 Summary: Challenges and Solutions 1. Speed – USB: Large, multiple-buffered endpoints – Interface: fat, dedicated data pipe & fast control logic 2. Development ease – Leverage USB 1.1 experience using same tools 3. System integration – CPU, system glue logic inside 4. Cost effective – Internal microcontroller – Planned family


Download ppt "October 10, 20001. 2 USB 2.0 Peripheral Design Options Dave Podsiadlo Product Marketing Manager Cypress Semiconductor Single-Chip, Internal."

Similar presentations


Ads by Google