USB OTG and Embedded Host. 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 1



Similar documents
Tutorial for MPLAB Starter Kit for PIC18F

Chapter 13. PIC Family Microcontroller

USB On-The-Go. A tutorial

STM32 F-2 series High-performance Cortex-M3 MCUs

Data Transfer between Two USB Flash SCSI Disks using a Touch Screen

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

PIC32 Microcontroller Families

MX PIC24F Educational Module User Manual

Embedded Ethernet Solutions

Ways to Use USB in Embedded Systems

How To Use Nuc123 (Nuc123) For A Week

Bluetooth 4.0 Solutions for Apple ios Devices. Bluegiga Technologies

Focus Product Selector Guide

Atmel Norway XMEGA Introduction

Focus Product Selector Guide

Design Considerations in Adding USB Communications to Embedded Applications

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

Focus Product Selector Guide

Low-Voltage/Low-Power MCU Solutions from Silicon Labs

Introduction. Getting familiar with chipkit Pi

Real-time Operating Systems Lecture 27.1

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Microcontrollers in Practice

Lab Experiment 1: The LPC 2148 Education Board

SABRE Lite Development Kit

Java Embedded Applications

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

STM32L. Ultra-low-power Cortex -M3 devices

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

DevKit1207 Evaluation Kit

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Hardware Configurations for the i.mx Family USB Modules

Products. CM-i586 Highlights. Página Web 1 de 5. file://c:\documents and Settings\Daniel\Os meus documentos\humanoid\material_o...

Focus Product Selector Guide

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

An introduction to nxpusblib. March 2012

SBC6245 Single Board Computer

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

Am186ER/Am188ER AMD Continues 16-bit Innovation

FLYPORT Wi-Fi G

7a. System-on-chip design and prototyping platforms

Microchip Technology. February 2008 Valerio Moretto Slide 1

ET-BASE AVR ATmega64/128

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Scalar Network Analyzer

2.0 Command and Data Handling Subsystem

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Smartphone Quick-Jack Solution FASTER TO PRODUCT FASTER TO MARKET

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

USB Port PCI Express Card

TivaWare USB Library USER S GUIDE SW-TM4C-USBL-UG Copyright Texas Instruments Incorporated

SBC8600B Single Board Computer

ZigBee Technology Overview

System Design Issues in Embedded Processing

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Video/Cameras, High Bandwidth Data Handling on imx6 Cortex-A9 Single Board Computer

Display Message on Notice Board using GSM

Network connectivity controllers

Adding WiFi to Your Embedded System. WPG Americas & Gainspan Titus Wandinger (WPG) & Su Li (Gainspan) April 23, 2013

USB Port PCI Express Card

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

RTS5401. USB 3.0 Super-Speed HUB Controller DATASHEET. Doc Rev th Apr i Rev 0.90

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

POCKET SCOPE 2. The idea 2. Design criteria 3

Project 4: Pseudo USB Simulation Introduction to UNIVERSAL SERIAL BUS (USB) STANDARD

16-bit Microcontrollers. High-Performance PIC24 Microcontroller Family.

SBC8100 Single Board Computer

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

Open1788 User Manual. Features

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

PU-USBX. USB over Ethernet Extender OPERATION MANUAL

SuperSpeed USB Host: Jeff Ravencraft, USB-IF president and chairman

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

Designing VM2 Application Boards

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

Serial port interface for microcontroller embedded into integrated power meter

EEM870 Embedded System and Experiment Lecture 1: SoC Design Overview

USB Port Extender Kit

Embedded Component Based Programming with DAVE 3

SOFTDENT Practice Management Software v14.0 System Requirements. Server. Workstation (without digital imaging)

The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)

IRT84. Irt84. Datasheet. EMV L1 compliant terminal with ISO14443A/B. 1

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

How To Connect A Port Replicator With An Ethernet To A Usb Port From A Usb Device

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

Technical Training Course Catalog

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Transcription:

USB OTG and Embedded Host 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 1

Topics Nomenclature USB Universe USB OTG versus Embedded Host USB Embedded Host USB On-The-Go USB OTG Device Must have features OTG Architecture Application Examples Microchip USB OTG Features Microchip USB OTG Product Portfolio Meeting the needs of Product Makers Summary 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 2

Nomenclature Embedded Host also Mini Host, a Type A host class product with fixed capabilities to save cost and complexity Peripheral Device, a Type B class product that requires a host or embedded host or OTG OTG A Type AB product, a combination of Embedded host and Peripheral 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 3

USB Universe Traditional Host / Peripheral Host Peripheral OTG 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 4

On-The-Go Versus Embedded Host OTG Embedded Host Limited host capabilities Limited host capabilities Possess dual role - host or peripheral Posses single role host capability to switch between the two Devices have only Mini-A receptacle Devices have Mini-AB receptacle Does not require Host Negotiation OTG devices must have Host Protocol (HNP) and optionally Negotiation Protocol (HNP) and support Session Request Protocol Session Request Protocol (SRP) (SRP) Do not operate either as hub or full host as normal host does 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 5

Embedded Host Limited resources Target Peripheral List Must be capable of supplying at least 8mA on VBUS High-, Full-, Low-speed may be supported Of the 4 USB transfer modes Mandatory to support Control and could support Bulk, Interrupt and Isochronous based on target peripheral list Example Set Top box 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 6

USB On-The-Go Meeting the requirements of connectivity in standardized method for small form factor devices Supplement to USB 2.0 specification Gives dual role (Host and Peripheral) capability to the devices and to switch between the two Low power requirements to facilitate USB on small foot print devices 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 7

OTG Must have features A limited Host capability Full-speed operation as a peripheral (high-speed optional) Full-speed support as a host (low-speed and high-speed optional) Targeted Peripheral List (Device classes) Session Request Protocol Host Negotiation Protocol One, and only one connection: a Micro-AB receptacle Bus current of minimum 8mA Means for communicating messages to the user 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 8

USB Device Classes Floppy Drive Mouse Data Glove Thumb Drive Ethernet Adapter PICkit 2 Starter Kit Joystick External Hard Drive Mass Storage Device Class (MSD) Modem Keyboard Communication Device Class (CDC) ICD2 Human Interface Device Class (HID) Custom Class (Vendor Class) Many more USB classes. 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 9

Session Request Protocol (SRP) Peripheral requests host to start a session Host OTG Controls Device Host activates power bus for peripheral, session commences Host OTG Controls Device Power Bus When session ends, bus is turned off, conserving power Host OTG Controls Device 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 10

Host Negotiation Protocol (HNP) Peripheral Starts as Host, Interrogates peripheral Host OTG Controls Device If peripheral is device, then it remains host Host OTG Controls Device If peripheral is host, then it becomes device Device OTG Controls Host 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 11

Mini-AB Connectors An OTG device contains a single Mini-AB receptacle that functions as either a host or a peripheral e.g. PDA An OTG device acts as host when Mini-A plug is inserted Mini-AB Receptacle An OTG device acts as device when Mini-B plug is inserted Only Mini-B receptacle is used for devices that operate as peripheral only e.g. cameras Only Mini-A receptacle is used for devices that operate as embedded host only e.g. set top box Mini-B Receptacle Mini-A Receptacle 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 12

OTG Architecture Host HID MSC CDC Generic USB Protocol Driver Host Controller Device (HCD) Peripheral USB Protocol Layer Peripheral Controller Device (PCD) Transceiver Driver Host Controller Regs. Peripheral Controller Regs. OTG Dual Role Device Regs. On-The-Go Transceiver Regs. 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 13

Application Examples Host Peripheral Application Mobile Phone Still Image Camera Printer MP3 Player Mobile Phone Still Image Camera MP3 Player Mass Storage Scanner Still Image Camera Mobile Phone Printer Mass Storage Still Image Camera Scanner Mass Storage MP3 Player Mass Storage Exchange contact information Email pictures, upload pictures to web Upload/download/broadcast music Uplaod/download files Scan business cards Exchange pictures Email pictures, upload pictures to web Print pictures Store pictures Print pictures Print scanned image Print files stored on device Exchange songs Upload/download songs 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 14

PIC24FJ256GB110 Family USB OTG USB On-the-Go 64-256KB Flash 16 KB RAM CTMU ADC, 10-bit, 16 ch. Analog Comp. - 3 Watchdog 16 MIPS 16-bit Core 16-bit ALU Register File 16 x 16 17 x 17 MPY Address Generation JTAG & Emu. Interface Memory Bus Barrel Shifter Interrupt Control Peripheral Bus GP I/O 16-bit Timers - 5 Input Capture - 9 Out Comp./PWM - 9 UART - 4 SPI TM -3 I 2 C TM -3 RTCC Peripheral Pin Select PMP CRC 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 15

PIC24FJ256GB1 General Purpose Family USB On-the-Go, 256KB Flash Features Performance 16 MIPS @ 32 MHz Program Memory Self programming Flash supports EEPROM emulation 256KB,192 KB, 128 KB, 64 KB 10,000 erase write cycles 16 KB RAM 100, 80, 64-pin TQFP Packages Internal Oscillator Low Power Modes JTAG Boundary Scan & Flash Memory Programming 3.3 V operation Low power 2.6uA at 2V Sleep power <100nA Availability Samples - NOW Production NOW USB OTG (device, mini-host, host) Internal Boost Regulator requires minimal external components Separate 3.3V regulator Transparent RAM buffer interface Peripherals 4 x UART w/lin and IrDA interfaces 3 x I 2 C 3 x SPI 16 ch. x 10-bit A/D (500 ksps) 5 x 16-bit general purpose timers 9 x IC, 9 x OC/PWM Each IC and OC/PWM includes a dedicated 16-bit scaling timer Total of individual 21 timers Peripheral Pin Select Select peripherals, map to pins 3 x comparators CTMU Charge/Time Measurement Unit Hardware RTCC and Hardware CRC Parallel Master Port 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 16

Microchip meeting the needs of product makers Selection of USB products from 8 to 32bit MCU portfolio Peripheral Embedded Host OTG Feature rich products USB v2.0 On-The-Go (OTG) compliant Capacitive touch sensing for touch screens and capacitive switches Lowest power, highest memory Cost effective, BOM saving, board space saving Meeting user demand of friendliness, upgradeability and expandability Meeting multiple applications requirements with low BOM cost Support Seamless 8-/16-/32-bit toolchain Free software to get up and running 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 17

Summary First to have USB OTG implementation on 16bit MCU The only 16bit MCU integrated with OTG and CTMU Microchip solution caters the markets of OTG and embedded host segments Complete software support, via free USB class drivers (Host / Peripheral) for USB applications Large memory and rich peripheral set PIC s maintains pin, peripheral and software compatibility with Microchip s PIC32 USB microcontroller family 2008 Microchip Technology Incorporated. All Rights Reserved. Slide 18