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

  • 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 13
SH7285/SH7286 USB Function Module
USB to Serial Conversion Application Note
2.4.3 Status Stage
The direction of the data transaction in the Status stage differs from that of the Data stage; the data OUT transaction is
executed during the Status stage of the control IN transfer, and the data OUT transaction is executed during the Status
stage of the control OUT transfer.
(1) Status Stage of the Control IN Transfer
The USB host sends an OUT token and a 0-byte data packet. The USB device first receives the OUT token and then
receives the 0-byte data packet. Then, it returns an ACK handshake to the USB host.
The USB function module receives the OUT token and the 0-byte data packet, and automatically sends an ACK
handshake to the USB host. Then, the USB function module generates the data receive complete interrupt using the
EP0oTS bit in the USBIFR0 register.
The sample program sets the
EP0oFIFO read complete bit (USBTRG/EP0oRFDN) during an interrupt to wait for the
next interrupt.
Figure 2.11 shows an operation flowchart of the control IN transfer by the sample program.
Figure 2.11 Status Stage (Control IN Transfer)
REJ05B1152-0100/Rev.1.00 May 2008 Page 14 of 35
Vue de la page 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 34 35

Commentaires sur ces manuels

Pas de commentaire