Presentation is loading. Please wait.

Presentation is loading. Please wait.

HL CE M, lehmann usb_tele ESC spring.ppt 1 - 9/8/2015, 10:22 START first foil.

Similar presentations


Presentation on theme: "HL CE M, lehmann usb_tele ESC spring.ppt 1 - 9/8/2015, 10:22 START first foil."— Presentation transcript:

1

2 HL CE M, lehmann usb_tele ESC spring.ppt 1 - 9/8/2015, 10:22 START first foil

3 HL CE M, lehmann usb_tele ESC spring.ppt 2 - 9/8/2015, 10:22 USB based Microcontroller in Telecom Peripherals for PC's...the interfacing solution

4 HL CE M, lehmann usb_tele ESC spring.ppt 3 - 9/8/2015, 10:22 Agenda  USB basics - Why USB - Bus structure - Enumeration, speed - Layer model - Physical interface - Transfer, transaction, packet  USB - ISDN Terminal Adapter (TA) - Standard TA (PC ISDN card) - USB TA - Endpoints usage, ISDN data format - Hardware implementation, Buffering - B-channel performance - Layer model USB TA  PC ISDN card - D-channel signalization through USB - D-channel performance - Hardware platform, tools - SAB-C541U

5 HL CE M, lehmann usb_tele ESC spring.ppt 4 - 9/8/2015, 10:22 Siemens / USB the interfacing solution Universal Serial Bus

6 HL CE M, lehmann usb_tele ESC spring.ppt 5 - 9/8/2015, 10:22 Why USB ? Universal Serial Bus  Ease of Use - Plug and Play capabilities for “Outside the Box” peripherals You wanna more?!

7 HL CE M, lehmann usb_tele ESC spring.ppt 6 - 9/8/2015, 10:22 USBUSB Universal Serial Bus USB Target Applications PERFORMANCEPERFORMANCEAPPLICATIONSAPPLICATIONS ATTRIBUTESATTRIBUTES HIGH SPEED 50 - 1000 Mb/s VideoDiskLAN High Bandwidth Very Low Latency Ease of Use Very Low cost Ease of Use Dynamic Attach-Detach Multiple Peripherals Very Low cost Ease of Use Dynamic Attach-Detach Multiple Peripherals Low cost Guaranteed Latency Higher Bandwidth Ease of Use Low cost Guaranteed Latency Higher Bandwidth Ease of Use LOW SPEED 10 - 100 Kb/s LOW SPEED 10 - 100 Kb/s Interactive Devices (Game, VR) Interactive Devices (Game, VR) MEDIUM SPEED 500Kb/s - 10Mb/s MEDIUM SPEED 500Kb/s - 10Mb/s ISDN, POTS, PBX, Audio, Imaging, Bulk Devices ISDN, POTS, PBX, Audio, Imaging, Bulk Devices 1394+ " firewire" USB focus on LOW COST, HIGH VOLUME applications!

8 HL CE M, lehmann usb_tele ESC spring.ppt 7 - 9/8/2015, 10:22 USB in 1996: Initially introduced as an additional connector for new applications. USB PC Connectivity Vision Universal Serial Bus Keyboard Mouse SerialPort ParallelPort SCSIPort Sound/GamePorts GraphicsPort LAN Modem GraphicsPort LAN USB Future: The PC evolves into a simpler, easier to use appliance. USBUSBUSB Telephony, Modem, Keyboard, Mouse,Game ports, Serial ports Device,Digital Audio, Printer, Scanner

9 HL CE M, lehmann usb_tele ESC spring.ppt 8 - 9/8/2015, 10:22 Hardware Overview... Universal Serial Bus USB  Topology - Tiered Star (Distributes Connectivity Points) - 127 logical connections (upto 5 meters per segment) - Upto 6 tiers -... Monitor Speaker Pen Mouse Kbd Mic Phone PC HUB HOST/HUB

10 HL CE M, lehmann usb_tele ESC spring.ppt 9 - 9/8/2015, 10:22...Topology... Universal Serial Bus  Host - One PC host per system  Hub - Provides connecting ports, power, terminations - Self-Powered or Bus Powered  Device, Function and End-points - Device is a collection of function(s) - Function is a collection of end-points - Upto 127 functions and 16 end-points per function

11 HL CE M, lehmann usb_tele ESC spring.ppt 10 - 9/8/2015, 10:22 Host Root Hub Device HUB Device HUB  Hot Plug and Play feature - Device attachment on Hub port - Device is detected - Downstream port is enabled - Configuration of Device by Host Device USB Configuration Process Enumeration  Host Software is responsible for Device configuration Host Root Hub Device HUB Device HUB Universal Serial Bus, details  Process of Configuration is accomplished via Control Transfers

12 HL CE M, lehmann usb_tele ESC spring.ppt 11 - 9/8/2015, 10:22 Universal Serial Bus Hardware Overview - Bus transactions - Speed:12Mbps full-speed 1.5Mbps low-speed - Isochronous and Asynchronous - Media access controlled by host - Configuration, Hot Plug-And-Play - Dynamic insertion-removal - Autoconfiguration on change - Physical Layer - 2-wire differential signaling, NRZI coded with bit stuffing - Supply Sourcing +5V - Signaling at CMOS 3.3V - 4 pin connector, 4 wire cable

13 HL CE M, lehmann usb_tele ESC spring.ppt 12 - 9/8/2015, 10:22 Device Abstractions... - Device - Common features and interactions of devices - Typically controlled by system software Universal Serial Bus - Function - Highest level I/F between device driver and function - End Point - Ultimate data source or sink at the device end - Each endpoint is unidirectional and has a transfer type associated with it‘s Peripheral

14 HL CE M, lehmann usb_tele ESC spring.ppt 13 - 9/8/2015, 10:22...Device Abstractions Device Driver Function USB Software USB Device I/F Host Controller USB Hardware Function Abstraction Device Abstraction Physical Connect Universal Serial Bus PC Device, like modem, keyboard mouse, etc Endpoint

15 HL CE M, lehmann usb_tele ESC spring.ppt 14 - 9/8/2015, 10:22 USB Transfer types...basics  Control (e.g.: configuration, messages) - bursty, host initiated (bus management, configuration) - guaranteed bandwith of max. 10% - error-free data delivery guaranteed  Interrupt (e.g.: mouse, joystick....) - small bursty, low bandwidth required - error-free data delivery guaranteed - polling is used (by host) to check for "interrupt events” - polling intervall programmable. From1msto 255ms (FS) 10msto 255ms (LS)  Isochronous (e.g.: audio, telephony.....) - for data which need to be periodically sent - predictable latency on data delivery. - no error check, error-free data delivery is not guaranteed  Bulk (e.g.: printer, scanner, still camera.....) - non periodic, bursty, ideal for large amounts of data - error-free data delivery guaranteed

16 HL CE M, lehmann usb_tele ESC spring.ppt 15 - 9/8/2015, 10:22 Frame = 1msprinter Contro l USB Frame Model example Stereo Audio Telephony SOF low-speed Isochronou s Bul k Interrup t...basics printer any LS device like keyboard, mouse, etc. Bul k

17 HL CE M, lehmann usb_tele ESC spring.ppt 16 - 9/8/2015, 10:22 max. 5m CABLE connector 'upstream' Connectors and Cables  Connectors - 4-Position with shielded housing - Positive Retention - Blind Mating Capabilities Universal Serial Bus Power pair HOST PC / HUB CABLE connector 'downstream' 'downstream' HUB / DEVICE Differential Signal pair

18 HL CE M, lehmann usb_tele ESC spring.ppt 17 - 9/8/2015, 10:22 USB Hub Function  Port Control - Connection detect - Port Enable/ Disable - Reset/ Resume Signaling  Data Switch - Signal Regeneration - Robustness/ Recovery  Power Distribution Upstream ConnectivityHubRepeater Downstream ConnectivityHubRepeater Disabled Port Enabled Ports Universal Serial Bus

19 HL CE M, lehmann usb_tele ESC spring.ppt 18 - 9/8/2015, 10:22 Power Distribution  Significant capability of USB - Eliminate wall adaptors  Hubs may be self-powered or bus-powered - Two current levels: 100 & 500 mA - Overcurrent protection for safety - Wire gauge options: 20-28 AWG  Suspend - All devices support suspend - Enter suspend state after seeing idle bus for 3 ms - Suspend current  500  A from bus  Resume - USB devices can cause “remote wake-up” e.g. Modem wakes up the system Universal Serial Bus

20 HL CE M, lehmann usb_tele ESC spring.ppt 19 - 9/8/2015, 10:22 Voltage Drop  Voltage drop per wire/connector:0.125 V  Budget for power switch:0.100 V Bus-Powered Function Bus-Powered Hub Host or Powered Hub 4.65V (min)4.40V (min) Universal Serial Bus 4.0V (as a resulting low value)

21 HL CE M, lehmann usb_tele ESC spring.ppt 20 - 9/8/2015, 10:22 Data Signaling  Bi-directional, half-duplex link  Embedded clock and data  Differential signal pair  12 Mbit / sec Full Speed (FS) bit rate  1.5 Mbit / sec Low Speed (LS) bit rate Universal Serial Bus

22 HL CE M, lehmann usb_tele ESC spring.ppt 21 - 9/8/2015, 10:22 Low Speed  1.5 Mb/s - Unshielded, untwisted cable - Saves EMI suppression costs - 1.5% Frequency tolerance  Driver characteristics - Rise/ Fall time: Min 75ns, Max 300ns - Required on low speed functions and on the downstream ports of Hubs  Allows very-low-cost devices to be built without compromising data rate for faster devices - Mice, keyboards, most user interface peripherals don’t need fast data rate  Eliminates need for shielded twisted pair cable (3 meters)  Allows use of less-expensive IC process technology Universal Serial Bus

23 HL CE M, lehmann usb_tele ESC spring.ppt 22 - 9/8/2015, 10:22 USB Connections and Terminations D- D+ R1R1 R 1 = 15K  ±5% R 2 = 1.5K  ±5% F.S./L.S. USB Transceiver Transceiver (45  Outputs) Host or Hub Port Z O = 90  ±15% 5 Meters Max. F.S. USB Transceiver Transceiver (45  Outputs) Hub Port 0 or Full Speed Function R1R1 R2R2 D- D+ R1R1 R 1 = 15K  ±5% R 2 = 1.5K  ±5% F.S./L.S. USB Transceiver Transceiver (45  Outputs) Host or Hub Port 3 Meters Max. L.S. USB Transceiver Transceiver (45  Outputs) Low Speed Function R1R1 R2R2 D+ D- D+ D- Twisted Pair Shielded Universal Serial Bus V CC GND Untwisted, Unshielded

24 HL CE M, lehmann usb_tele ESC spring.ppt 23 - 9/8/2015, 10:22 Transfer - Transaction - Packet (1)  Host Software initiates Transfer from or to a target USB Device  Host software splits up one Transfer into one or more Transactions  Transactions are set up based on the Device's characteristics (Packet Size, Transfer Type) Transaction n-1Transaction n-2Transaction n-3 Transfer n Transaction n-1 Universal Serial Bus, details

25 HL CE M, lehmann usb_tele ESC spring.ppt 24 - 9/8/2015, 10:22 Transfer - Transaction - Packet (2)  Host Software schedules and executes Transactions during 1ms Frames  Each Frame consists of several Transactions from different Transfers Universal Serial Bus, details

26 HL CE M, lehmann usb_tele ESC spring.ppt 25 - 9/8/2015, 10:22 Transfer - Transaction - Packet (3)  Each Transaction consists of a series of packets  Token Packet defines the Type of Transaction  Data Packet carries the payload to or from a Device  Handshake Packet provides feedback about correct data transfer to sender Universal Serial Bus, details

27 HL CE M, lehmann usb_tele ESC spring.ppt 26 - 9/8/2015, 10:22 Packet Formats Sync.Packet ID Device Address ENDP Nr CRCEOP 8 bits 7 bits4 bits5 bits2 bits Sync.Packet IDData FieldCRCEOP 8 bits 16 bits 2 bits0-1023 bytes Sync.Packet IDEOP 8 bits 2 bits Token Packet Data Packet Handshake/ Low Speed Preamble Sync.Packet IDFrame NumberCRCEOP 8 bits 11 bits5 bits2 bits SOF Token Packet Universal Serial Bus, details

28 HL CE M, lehmann usb_tele ESC spring.ppt 27 - 9/8/2015, 10:22 IN Transaction without errors  Token Packet defines the direction of the succeding Data Packet (here: IN = Data Packet from Device to Host)  Data Packet carries the payload  Handshake Packet reports error free reception of Data Packet IN Packet from Host Data Packet from USB Device to Host ACK Packet from Host ONE TRANSACTION Universal Serial Bus, details SyncEOPSync PID Data EOPSync PID ACK EOP PID IN Token Data Packet (Payload)

29 HL CE M, lehmann usb_tele ESC spring.ppt 28 - 9/8/2015, 10:22 Low Speed - Full Speed Transaction  Protocol overhead for FS and LS Transfers is 13 bytes Payload for FS and LS is 8 bytes  FS Transfer : 13 + 8 = 21 full speed bytes times  LS Transfer : 13 * 8 + 8 * 8 = 168 full speed byte times (excluding Preamble)  ~9,5% of bandwidth wasted TokenData Packet (8 bytes) Hand- shake one full speed transaction Preamble full speed low speed low speed Token full speed low speed PreambleData Packet (8 bytes) Hand- shake Universal Serial Bus, details

30 HL CE M, lehmann usb_tele ESC spring.ppt 29 - 9/8/2015, 10:22 END last foil


Download ppt "HL CE M, lehmann usb_tele ESC spring.ppt 1 - 9/8/2015, 10:22 START first foil."

Similar presentations


Ads by Google