h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 662

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 18 Universal Serial Bus Interface (USB)
18.4.3
Figures 18.6 to 18.9 show the USB function core and LSI firmware operations when the USB
function core receives an OUT token (OUT transaction). An OUT transaction is used for data
stage and status stage of control transfer, interrupt transfer, and bulk transfer.
Rev. 3.00 Jan 25, 2006 page 610 of 872
REJ09B0286-0300
Note: * When an EP2TS interrupt is specified as a USBIB or USBIC interrupt according to the INTSELR0 setting, the corresponding
Figure 18.6 Operation on Receiving an OUT Token (EP2-OUT: Initial FIFO Is Empty)
Send an OUT data
handshake packet
Receive an ACK
Send an OUT
packet (8 bytes)
token packet
interrupt occurs. In this case, if a USBIB or USBIC interrupt occurs, interrupt source determination process is not required.
(Note that TSFR0 must be accessed to clear the flags.)
USB Host
Operation on Receiving an OUT Token (Endpoints 0, 2, and 5)
Receive an OUT data
USB Function Core
Receive an OUT
packet (8 bytes)
Send ACK to
the slave CPU
token packet
Send ACK to
the host
Write data to EP2 FIFO
Request an USBID
interrupt (EP2TS)
Core Interface
Modify FVSR2
Modify FVSR2
Read USBIFR0 and check
an EP2TS interrupt occurs
Read TSFR0 and check if
if the EP2 FIFO contains
Read FVSR2 and check
if a TS interrupt occurs
Clear the EP2TS bit of
Complete the USBID
interrupt processing
interrupt processing
Initiate the USBID
Slave CPU
8-byte data
Read EPDR2
TSFR0 to 0
or not
or not

Related parts for h8s-2158