d6ecd04a418660f068cf75470be0043f.ppt
- Количество слайдов: 29
START first foil HL CE M, lehmann usb_tele ESC spring. ppt 1 - 3/19/2018, 04: 42
USB based Microcontroller in Telecom Peripherals for PC's . . . the interfacing solution HL CE M, lehmann usb_tele ESC spring. ppt 2 - 3/19/2018, 04: 42
Agenda q USB basics Why USB Bus structure Enumeration, speed Layer model Physical interface Transfer, transaction, packet - q 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-C 541 U - HL CE M, lehmann usb_tele ESC spring. ppt 3 - 3/19/2018, 04: 42
Siemens / USB the interfacing solution Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 4 - 3/19/2018, 04: 42
Why USB ? q Ease of Use Plug and Play capabilities for “Outside the Box” peripherals - You wanna more? ! Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 5 - 3/19/2018, 04: 42
s! on ti ca li USB Target Applications pp a ATTRIBUTES PERFORMANCE APPLICATIONS E UMLow cost Very LOW SPEED Interactive Devices LEase of Use O Dynamic Attach-Detach 10 - 100 Kb/s (Game, VR) V Multiple Peripherals H USB IG ISDN, H , , POTS, PBX, Low cost Latency MEDIUM SPEED Guaranteed T Audio Imaging, 500 Kb/s - 10 Mb/s Higher Bandwidth Bulk OS Devices Ease of Use C Video High Bandwidth OW 1394+ HIGH SPEED L Mb/s Disk Very Low Latency 50 - 1000 n "firewire" LAN Ease of Use o us oc f SB Universal Serial Bus U HL CE M, lehmann usb_tele ESC spring. ppt 6 - 3/19/2018, 04: 42
PC Connectivity Vision USB in 1996: Initially introduced as an additional connector for new applications. USB Keyboard USB Future: The PC evolves into a simpler, easier to use appliance. Serial LAN Sound/Game Modem Ports Mouse Parallel Graphics SCSI Port USB USB Telephony, Modem, Keyboard, Mouse, Game ports, Serial ports Device, Digital Audio, Printer, Scanner Universal Serial Bus Graphics Port LAN HL CE M, lehmann usb_tele ESC spring. ppt 7 - 3/19/2018, 04: 42
Hardware Overview. . . HOST/HUB Kbd USB Pen HUB Mouse Monitor Speaker PC HUB Mic Phone q Topology Tiered Star (Distributes Connectivity Points) 127 logical connections (upto 5 meters per segment) Upto 6 tiers. . . - Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 8 - 3/19/2018, 04: 42
. . . Topology. . . q Host One PC host per system - q Hub Provides connecting ports, power, terminations Self-Powered or Bus Powered - q 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 - Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 9 - 3/19/2018, 04: 42
USB Configuration Process Enumeration q Host Software is responsible for Device configuration Host q Hot Plug and Play feature Root Hub - Device attachment on Hub port - Device is detected - Downstream port is enabled - Configuration of Device by Host q Process of Configuration is accomplished via Control Transfers Device Universal Serial Bus, details Device HUB Device HL CE M, lehmann usb_tele ESC spring. ppt 10 - 3/19/2018, 04: 42
Hardware Overview - Bus transactions - Speed: 12 Mbps full-speed 1. 5 Mbps 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 +5 V - Signaling at CMOS 3. 3 V - 4 pin connector, 4 wire cable Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 11 - 3/19/2018, 04: 42
Device Abstractions. . . - 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 - Function - Highest level I/F between device driver and function - Device - Common features and interactions of devices - Typically controlled by system software Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 12 - 3/19/2018, 04: 42
. . . Device Abstractions Device, like modem, keyboard mouse, etc PC Endpoint Device Driver Function Abstraction USB Software Device Abstraction USB Device I/F Host Controller Physical Connect USB Hardware Function Endpoint Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 13 - 3/19/2018, 04: 42
USB Transfer types q Control (e. g. : configuration, messages) bursty, host initiated (bus management, configuration) guaranteed bandwith of max. 10% error-free data delivery guaranteed q 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. From 1 ms to 255 ms (FS) 10 ms to 255 ms (LS) q 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 q Bulk (e. g. : printer, scanner, still camera. . . ) non periodic, bursty, ideal for large amounts of data error-free data delivery guaranteed - . . . basics HL CE M, lehmann usb_tele ESC spring. ppt 14 - 3/19/2018, 04: 42
USB Frame Model example Control Bulk Stereo Audio printer Telephony SOF Frame = 1 ms low-speed printer Bulk Isochronous . . . basics Interrupt any LS device like keyboard, mouse, etc. HL CE M, lehmann usb_tele ESC spring. ppt 15 - 3/19/2018, 04: 42
Connectors and Cables q Connectors 4 -Position with shielded housing Positive Retention Blind Mating Capabilities - HOST PC / HUB CABLE connector 'upstream' HUB / DEVICE CABLE connector 'downstream' Power pair max. 5 m max. Differential Signal pair Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 16 - 3/19/2018, 04: 42
USB Hub Function q Port Control Downstream Connectivity Upstream Connectivity - Connection detect - Port Enable/ Disable - Reset/ Resume Signaling q Data Switch Hub Repeater - Signal Regeneration - Robustness/ Recovery q Power Distribution Enabled Ports Disabled Port Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 17 - 3/19/2018, 04: 42
Power Distribution q Significant capability of USB Eliminate wall adaptors q Hubs may be self-powered or bus-powered Two current levels: 100 & 500 m. A Overcurrent protection for safety Wire gauge options: 20 -28 AWG q Suspend All devices support suspend Enter suspend state after seeing idle bus for 3 ms Suspend current 500 A from bus q Resume USB devices can cause “remote wake-up” e. g. Modem wakes up the system - Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 18 - 3/19/2018, 04: 42
Voltage Drop 4. 65 V (min) Host or Powered Hub 4. 40 V (min) Bus-Powered Hub Bus-Powered Function 4. 0 V (as a resulting low value) q Voltage drop per wire/connector: q Budget for power switch: Universal Serial Bus 0. 125 V 0. 100 V HL CE M, lehmann usb_tele ESC spring. ppt 19 - 3/19/2018, 04: 42
Data Signaling q Bi-directional, half-duplex link q Embedded clock and data q Differential signal pair q 12 Mbit / sec Full Speed (FS) bit rate q 1. 5 Mbit / sec Low Speed (LS) bit rate Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 20 - 3/19/2018, 04: 42
Low Speed q 1. 5 Mb/s Unshielded, untwisted cable Saves EMI suppression costs 1. 5% Frequency tolerance q Driver characteristics Rise/ Fall time: Min 75 ns, Max 300 ns Required on low speed functions and on the downstream ports of Hubs q 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 q Eliminates need for shielded twisted pair cable (3 meters) - q Allows use of less-expensive IC process technology Universal Serial Bus HL CE M, lehmann usb_tele ESC spring. ppt 21 - 3/19/2018, 04: 42
USB Connections and Terminations VCC F. S. /L. S. USB Transceiver (45 Outputs) Host or Hub Port R 2 D+ R 1 D+ Twisted Pair Shielded ZO = 90 ± 15% 5 Meters Max. D- GND R 1 = 15 K ± 5% R 2 = 1. 5 K ± 5% GND D+ D- Untwisted, Unshielded D- GND R 1 GND Universal Serial Bus 3 Meters Max. R 1 = 15 K ± 5% R 2 = 1. 5 K ± 5% (45 Outputs) Hub Port 0 or Full Speed Function D+ R 1 F. S. USB Transceiver VCC R 2 D- L. S. USB Transceiver (45 Outputs) Low Speed Function HL CE M, lehmann usb_tele ESC spring. ppt 22 - 3/19/2018, 04: 42
Transfer - Transaction - Packet (1) Transfer n Transaction n-1 Transaction n-2 Transaction n-3 Transaction n-1 q Host Software initiates Transfer from or to a target USB Device q Host software splits up one Transfer into one or more Transactions q Transactions are set up based on the Device's characteristics (Packet Size, Transfer Type) Universal Serial Bus, details HL CE M, lehmann usb_tele ESC spring. ppt 23 - 3/19/2018, 04: 42
Transfer - Transaction - Packet (2) q Host Software schedules and executes Transactions during 1 ms Frames q Each Frame consists of several Transactions from different Transfers Universal Serial Bus, details HL CE M, lehmann usb_tele ESC spring. ppt 24 - 3/19/2018, 04: 42
Transfer - Transaction - Packet (3) q Each Transaction consists of a series of packets Data Packet carries the payload to or from a Device Universal Serial Bus, details Token Packet defines the Type of Transaction Handshake Packet provides feedback about correct data transfer to sender HL CE M, lehmann usb_tele ESC spring. ppt 25 - 3/19/2018, 04: 42
Packet Formats 8 bits Sync. 8 bits 7 bits 4 bits 5 bits 2 bits Device ENDP Packet ID CRC EOP Address Nr 8 bits 11 bits Token Packet 5 bits 2 bits SOF Token Packet Sync. Packet ID Frame Number CRC EOP 8 bits 0 -1023 bytes 16 bits 2 bits Sync. Packet ID Data Field CRC EOP 8 bits Sync. 2 bits Packet ID EOP Universal Serial Bus, details Data Packet Handshake/ Low Speed Preamble HL CE M, lehmann usb_tele ESC spring. ppt 26 - 3/19/2018, 04: 42
IN Transaction without errors Data Packet from USB Device to Host IN Packet from Host Sync PID EOP IN Token Sync PID Data Packet (Payload) EOP ACK Packet from Host Sync PID ACK EOP ONE TRANSACTION q Token Packet defines the direction of the succeding Data Packet (here: IN = Data Packet from Device to Host) q Data Packet carries the payload q Handshake Packet reports error free reception of Data Packet Universal Serial Bus, details HL CE M, lehmann usb_tele ESC spring. ppt 27 - 3/19/2018, 04: 42
Low Speed - Full Speed Transaction q Protocol overhead for FS and LS Transfers is 13 bytes Token Data Packet (8 bytes) Payload for FS and LS is 8 bytes q FS Transfer : 13 + 8 = 21 full speed bytes times Handshake one full speed transaction Preamble Token full speed low speed Preamble Data Packet (8 bytes) full speed low speed Universal Serial Bus, details Handshake low speed q LS Transfer : 13 * 8 + 8 * 8 = 168 full speed byte times (excluding Preamble) q ~9, 5% of bandwidth wasted HL CE M, lehmann usb_tele ESC spring. ppt 28 - 3/19/2018, 04: 42
END last foil HL CE M, lehmann usb_tele ESC spring. ppt 29 - 3/19/2018, 04: 42
d6ecd04a418660f068cf75470be0043f.ppt