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

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)
Rev. 3.00 Jan 25, 2006 page 612 of 872
REJ09B0286-0300
Figure 18.8 Operation on Receiving an OUT Token (EP5-OUT: Initial FIFO Is Empty)
Notes: 1. When an EP5TS interrupt is specified as a USBIB or USBIC interrupt according to the INTSELR0 setting, the corresponding
Send an OUT data
handshake packet
Receive an ACK
packet (64 bytes)
Send an OUT
token packet
USB Host
2. If the RAM-FIFO size is increased (defined as larger size), the pointer need not be modified after each data processing.
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.)
Receive an OUT data
Send ACK to the host
USB Function Core
Receive an OUT
packet (64 bytes)
token packet
the slave CPU
Send ACK to
Write data to the EP5
Request an USBID
interrupt (EP5TS) *
Request to modify
Core Interface
Request RFU
the RFU pointer
transmission
receive buffer
1
if an EP5TS interrupt occurs
check if the EP5 RAM-FIFO
Read USBIFR0 and check
Initiate the USBID interrupt
Read the RFU pointer and
Modify the RFU pointer *
write data to RAM-FIFO,
Read TSFR0 and check
Read the receive buffer,
if a TS interrupt occurs
Process RAM-FIFO data
Clear the EP5TS bit of
Modify the RFU pointer
Complete the USBID
contains 64-byte data
interrupt processing
and send ACK
and send ACK
Slave CPU
TSFR0 to 0
processing
or not
or not
2

Related parts for h8s-2158