Használati útmutató Microchip ATSAMD20J16

Olvassa el alább 📖 a magyar nyelvű használati útmutatót Microchip ATSAMD20J16 (31 oldal) a nincs kategorizálva kategóriában. Ezt az útmutatót 4 ember találta hasznosnak és 2 felhasználó értékelte átlagosan 4.5 csillagra

Oldal 1/31
Atmel Microcontrollers
AT09333: USB Host Interface (UHI) for
Communication Class Device (CDC)
APPLICATION NOTE
Introduction
USB Host Interface (UHI) for Communication Class Device (CDC) provides
an interface for the configuration and management of USB CDC serial host.
The outline of this documentation is as follows:
API Overview
Quick Start Guide for USB Host Communication Device Class Module
(UHI CDC)
Configuration File Examples
For more details for Atmel® Software Framework (ASF) USB Host Stack,
refer to following application note:
AVR4950: ASF - USB Host Stack
Atmel-42338B-USB-Host-Interface-UHI-for-Communication-Class-Device-CDC_AT09333_Application Note-12/2015
Table of Contents
Introduction......................................................................................................................1
1. Software License....................................................................................................... 4
2. API Overview.............................................................................................................5
2.1. Macro Definitions..........................................................................................................................5
2.1.1. Interface with USB Host Core (UHC).............................................................................5
2.2. Function Definitions......................................................................................................................5
2.2.1. Functions Required by UHC.......................................................................................... 5
2.2.2. UHI for Communication Device Class........................................................................... 6
3. Quick Start Guide for USB Host Communication Device Class Module (UHI CDC)
.................................................................................................................................10
3.1. Basic Use Case..........................................................................................................................10
3.1.1. Setup Steps................................................................................................................. 10
3.1.2. Usage Steps................................................................................................................ 10
3.2. Advanced Use Cases................................................................................................................. 11
3.3. Enable USB High Speed Support.............................................................................................. 12
3.3.1. Setup Steps................................................................................................................. 12
3.3.2. Usage Steps................................................................................................................ 12
3.4. Multiple Classes Support............................................................................................................12
3.4.1. Setup Steps................................................................................................................. 12
3.4.2. Usage Steps................................................................................................................ 12
3.5. Dual Roles Support.................................................................................................................... 12
3.5.1. Setup Steps................................................................................................................. 13
3.5.2. Usage Steps................................................................................................................ 13
4. Configuration File Examples....................................................................................15
4.1. conf_usb_host.h......................................................................................................................... 15
4.1.1. UHI CDC Single...........................................................................................................15
4.1.2. UHI CDC Multiple (Composite)....................................................................................16
4.2. conf_clock.h................................................................................................................................17
4.2.1. AT32UC3A0, AT32UC3A1, AT32UC3B Devices (USBB)............................................ 17
4.2.2. AT32UC3A3 and AT32UC3A4 Devices (USBB with High Speed Support)................. 17
4.2.3. AT32UC3C, ATUCXXD, ATUCXXL3U, ATUCXXL4U Devices (USBC).......................18
4.2.4. SAM3X and SAM3A Devices (UOTGHS: USB OTG High Speed)..............................19
4.3. conf_clocks.h..............................................................................................................................20
4.3.1. SAM D21 Devices (USB).............................................................................................20
4.4. conf_board.h...............................................................................................................................23
4.4.1. AT32UC3A0, AT32UC3A1, AT32UC3B Devices (USBB)............................................ 23
4.4.2. AT32UC3A3 and AT32UC3A4 Devices (USBB with High Speed Support)................. 23
4.4.3. AT32UC3C, ATUCXXD, ATUCXXL3U, ATUCXXL4U Devices (USBC).......................23
4.4.4. SAM3X and SAM3A Devices (UOTGHS: USB OTG High Speed)..............................24
4.4.5. SAM D21 Devices (USB).............................................................................................25
Atmel AT09333: USB Host Interface (UHI) for Communication Class Device (CDC) [APPLICATION
NOTE]
Atmel-42338B-USB-Host-Interface-UHI-for-Communication-Class-Device-CDC_AT09333_Application Note-12/2015
2
5. USB Host Basic Setup.............................................................................................26
5.1. USB Host User Configuration.....................................................................................................26
5.2. USB Host User Callback............................................................................................................ 26
5.3. USB Host Setup Steps............................................................................................................... 27
5.3.1. USB Host Controller (UHC) - Prerequisites................................................................. 27
5.3.2. USB Host Controller (UHC) - Example Code.............................................................. 27
5.3.3. USB Device Controller (UHC) - Workflow....................................................................28
5.4. conf_clock.h Examples...............................................................................................................28
6. Document Revision History..................................................................................... 30
Atmel AT09333: USB Host Interface (UHI) for Communication Class Device (CDC) [APPLICATION
NOTE]
Atmel-42338B-USB-Host-Interface-UHI-for-Communication-Class-Device-CDC_AT09333_Application Note-12/2015
3

Termékspecifikációk

Márka: Microchip
Kategória: nincs kategorizálva
Modell: ATSAMD20J16

Szüksége van segítségre?

Ha segítségre van szüksége Microchip ATSAMD20J16, tegyen fel kérdést alább, és más felhasználók válaszolnak Önnek




Útmutatók nincs kategorizálva Microchip

Útmutatók nincs kategorizálva

Legújabb útmutatók nincs kategorizálva

MOZA

MOZA SR-P Útmutató

10 Április 2025
CaterChef

CaterChef 445001 Útmutató

9 Április 2025
IFM

IFM E40581 Útmutató

9 Április 2025
Livn

Livn Bolt Útmutató

9 Április 2025
Livn

Livn Beats Útmutató

9 Április 2025
IFM

IFM O3R252 Útmutató

9 Április 2025