English
Language : 

HD6417727BP160CV Datasheet, PDF (772/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 23 USB Function Controller
to the host automatically. When reading of the receive data is completed following data reception,
1 is written to the USBTRG/EP1 RDFN bit. This operation empties the FIFO that has just been
read, and makes it ready to receive the next packet.
23.6.5 EP2 Bulk-In Transfer (Dual FIFOs)
USB function
Application
IN token reception
Valid data
in EP2 FIFO?
Yes
No
NACK
Data transmission to host
ACK
USBIFR0/EP2 TR interrupt
Write 1 to USBIER0/EP2
EMPTY enable bit
Space
in EP2 FIFO?
No
USBIFR0/EP2 Interrupt
Yes EMPTY status request
bit automatically
set 1
USBIFR0/EP2 EMPTY status
bit automatically cleared to 0
USBIFR0/EP2 EMPTY
interrupt
Write one-packet data to
USBEP2 data register
Write 1 to EP2 packet
enable bit
(USBTRG/EP2 PKTE = 1)
Figure 23.11 EP2 Bulk-In Transfer Operation
Rev.6.00 Mar. 27, 2009 Page 714 of 1036
REJ09B0254-0600