Renesas M3A-HS85 Technical Information Seite 3

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 37
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 2
SH7285/SH7286 USB Function Module
USB to Serial Conversion Application Note
REJ05B1152-0100/Rev.1.00 May 2008 Page 1 of 35
SH7285/SH7286 USB Function Module
USB to Serial Conversion Application Note
Preface
This document describes how to implement USB to serial conversion system as an application example for the SH7285
and SH7286 MCU’s USB function module. This document and the sample program described are examples of the USB
function module, and are therefore not guaranteed by Renesas.
Target Devices
SH7285 and SH7286 MCUs
1. Introduction........................................................................................................................................ 2
1.1 Specifications .................................................................................................................................... 2
1.2 Functions...........................................................................................................................................2
1.3 Applicable Conditions........................................................................................................................ 2
2. Applications ....................................................................................................................................... 3
2.1 Features ............................................................................................................................................ 3
2.2 USB Communication via the USB Function Module......................................................................... 3
2.3 Detecting a Connection to the USB Host.......................................................................................... 4
2.4 Control Transfer ................................................................................................................................6
2.4.1 Setup Stage....................................................................................................................................... 8
2.4.2 Data Stage ...................................................................................................................................... 10
2.4.3 Status Stage....................................................................................................................................14
2.5 Bulk Transfer................................................................................................................................... 16
2.5.1 Bulk OUT Transfer .......................................................................................................................... 17
2.5.2 Bulk IN Transfer ..............................................................................................................................19
3. USB to Serial Conversion System Using the USB Function Module.............................................. 21
3.1 Overview .........................................................................................................................................21
3.2 Operation Flowchart........................................................................................................................ 25
3.3 Serial Communication..................................................................................................................... 27
3.3.1 Serial OUT Communication ............................................................................................................27
3.3.2 Serial IN Communication ................................................................................................................ 28
3.4 Setting Environment........................................................................................................................ 29
3.4.1 USB Host Computer Setting ...........................................................................................................29
3.4.2 PC-PC Communication Settings..................................................................................................... 32
4. References......................................................................................................................................33
Seitenansicht 2
1 2 3 4 5 6 7 8 ... 36 37

Kommentare zu diesen Handbüchern

Keine Kommentare