Renesas CPU Board M3A-HS19 Manuel d'utilisateur Page 22

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 35
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 21
SH7285/SH7286 USB Function Module
USB to Serial Conversion Application Note
Table 3.1 Specifications
Features Description
Detect a connection to the USB host After the hardware detects a connection, the port pulls up the D+ pin.
Control transfer
(USB standard request)
Decode requests, processes the Data stage and Status stage of
the USB request transmitted from the USB host in the control
transfer.
Sends the descriptor information shown in
Figure 3.2 through
Figure 3.4 to Get Descriptor command to connect with the USB
host PC as a USB communication class.
Descriptor samples to send to the USB host are shown in the
SetUsbInfo.h file.
Figure 3.2 shows the device descriptor sample,
Figure 3.3 and Figure 3.4 shows the configuration descriptor
samples.
Table 3.2 lists Vendor ID and Product ID of the sample.
Control transfer
(USB communication class request)
Executes the following USB communication class commands:
Get Line Coding, Set Line Coding, Set Control Line State, and Send
Break
Bulk IN/OUT transfer Executes the bulk IN/OUT transfer.
Serial/USB communication
conversion
(1) Sends the received data from the USB host in bulk OUT transfer
to the serial device by serial OUT communication.
(2) Sends the received data from the serial device by serial IN
communication to the USB host in bulk IN transfer.
Figure 3.2 Device Descriptor Sample
Note:
Table 3.2 lists the default value of the vendor ID and product ID in the device descriptor sample. These values MUST
be changed when applied to the user system.
Table 3.2 Vendor ID and Product ID Sample
ID Value Description
Vendor ID 0x045B Renesas Technology
Product ID 0x0020 Renesas SH7285 Serial-USB
/* Descriptor Information */
/* Device Descriptor */
unsigned char DeviceItem[] = {
0x12,0x01,0x10,0x01,
0x02, /* Communication Class */
0x00,0x00,0x08,
0x5B, /* Vendor = Renesas Technology */
0x04, /* ""Attention"" Please use your company Vendor ID */
0x20, /* Product ID 0x0020 */
0x00,0x00,0x01,0x00,0x00,
0x03, /* Strings Descriptor iSerialNumber */
0x01
};
DeviceType deviceDiscriptorGVar[] = {
{18,DeviceItem}
};
REJ05B1152-0100/Rev.1.00 May 2008 Page 22 of 35
Vue de la page 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 34 35

Commentaires sur ces manuels

Pas de commentaire