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

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
Notes: 1. When an EP5TF interrupt is specified as a USBIB or USBIC interrupt according to the INTSELR0 setting, the corresponding interrupt
Figure 18.9 Operation on Receiving an OUT Token (EP5-OUT: Initial FIFO Is Full)
Send an OUT data
handshake packet
Send an OUT data
handshake packet
packet (64 bytes)
Receive an ACK
packet (64bytes)
Receive a NAK
2. When an EP5TS interrupt is specified as a USBIB or USBIC interrupt according to the INTSELR0 setting, the corresponding interrupt
Re-transmission
Send an OUT
Send an OUT
token packet
token packet
USB Host
occurs. In this case, if a USBIB or USBIC interrupt occurs, interrupt source determination process is not required. (Note that TFFR0 must
be accessed to clear the flags.)
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.)
Send ACK to the slave CPU
Send NAK to the slave CPU
Send ACK to the host CPU
Send NAK to the host CPU
Receive an OUT data
Receive an OUT data
USB Function Core
Receive an OUT
packet (64 bytes)
Receive an OUT
packet (64 bytes)
token packet
token packet
Section 18 Universal Serial Bus Interface (USB)
Request RFU transmission
Request RFU transmission
Request an USBID interrupt
Request to modify the RFU
A RAM-FIFO full error
Write data to the EP5
Request to rewind the
Write data to the EP5
Request an USBID
interrupt (EP5TF) *
Core Interface
Rev. 3.00 Jan 25, 2006 page 613 of 872
receive buffer
receive buffer
RFU pointer
(EP5TS) *
occurs
pointer
2
1
as that when the initial FIFO is empty.
The following procedure is the same
if an EP5TF interrupt occurs
Initiate the USBID interrupt
Read USBIFR0 and check
Rewind the RFU pointer
Read data and modify
Read TFFR0 and check
Write data to RAM-FIFO
if a TF interrupt occurs
Modify the RFU pointer
A RAM-FIFO full error
Clear the EP5TF bit of
REJ09B0286-0300
Complete the USBID
interrupt processing
interrupt processing
Initiate the USBID
the RFU pointer
and send ACK
and send ACK
and send ACK
Slave CPU
TFFR0 to 0
processing
occurs
or not
or not

Related parts for h8s-2158