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

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 EP4TF interrupt is specified as a USBIB or USBIC interrupt according to the INTSELR0 setting, the corresponding interrupt
Send an IN token packet
Figure 18.13 Operation on Receiving an IN Token (EP4-IN: Initial FIFO Is Empty)
Receive an IN data
Send an IN token
2. When an EP4TS interrupt is specified as a USBIB or USBIC interrupt according to the INTSELR0 setting, the corresponding interrupt
handshake packet
handshake packet
packet (64 bytes)
Re-transmission
Receive a NAK
Send an ACK
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.)
USB Host
packet
Send NAK to the slave CPU
Receive an IN token packet
Send ACK to the slave CPU
Receive an IN token packet
Send NAK to the host CPU
USB Function Core
packet (64 bytes)
Send an IN data
Receive ACK
Section 18 Universal Serial Bus Interface (USB)
the EP4 transmit buffer is empty
Request an USBID interrupt
Request RFU transmission
transmit buffer (pre-read)
Disable data read because
Read data from the EP4
Modify the RFU pointer
Write data to the EP4
and request the RFU
Request an USBID
interrupt (EP4TF) *
Rev. 3.00 Jan 25, 2006 page 617 of 872
Core Interface
transmit buffer
transmission
(EP4TS) *
2
1
can be written to, and modify
The following procedure is
if an EP2TF interrupt occurs
Read the RFU pointer, write
Read USBIFR0 and check
Read the RAM-FIFO, send
Initiate the USBID interrupt
Initiate the USBID interrupt
data to EP4 RAM-FIFO for
the number of bytes which
the same as that when
Read TSFR0 and check
if a TF interrupt occurs
Modify the RFU pointer
Clear the EP4TF bit of
the initial FIFO is full.
REJ09B0286-0300
Complete the USBID
ACK, and write to the
Set the EP4TE bit of
interrupt processing
the RFU pointer
transmit buffer
and send ACK
PTTER0 to 1
Slave CPU
TFSR0 to 0
processing
processing
or not
or not

Related parts for h8s-2158