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

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
The USB is an interface for personal computer peripheral devices and is defined by the USB
standard Rev. 1.1. The USB module in this LSI operates based on the USB standard Rev. 1.1.
18.4.1
The USB function core has five endpoints.
The USB function core can select three alternate specifications from a combination of endpoint 2
enable/disable and IN/OUT, and the maximum packet size (MaxPacketSize) of endpoint 1.
The USB function core supports a control transfer by endpoint 0, interrupt transfer by endpoints 1
to 3, and bulk transfer by endpoints 4 and 5.
A control transfer is comprised of multiple transactions. In a SETUP transaction, a command sent
from the host is first decoded in the USB function core.
When a SETUP token has been received, FVS0O and FVSR0I are initialized, the EP0OTC bit is
set to 1 and command reception is enabled. If a USB standard command other than GetDescriptor
or SetDescriptor is received, the SETUPF and EP0OTF flags are set to 1 and the USB standard
command reception is informed to the slave CPU (when SETICNT = 0). In this case, the
remaining transactions of the control transfer are processed in the USB function core and the slave
CPU performs no operations.
On the other hand, if a GetDescriptor or SetDescriptor command or device class specific
command is received, the SETUPF and EP0OTS flags are set to 1 (when SETICNT=0). The slave
Rev. 3.00 Jan 25, 2006 page 602 of 872
REJ09B0286-0300
Configu-
ration
1
Configu-
ration
1
Operation
USB Function Core Functions
Interface
0
Interface
1
Alternate
Specification
0
1
2
Alternate
Specification
0
IN/OUT
IN/OUT
IN/OUT
IN
Endpoint 3
Endpoint 0
FIFO
8 bytes
FIFO
16 bytes
for each
IN/OUT
IN
IN/OUT
IN
IN
Endpoint 4
Endpoint 1
FIFO
(Maximum)
2048 bytes
FIFO
16 bytes
32 bytes
IN/OUT
OUT
IN/OUT
IN
OUT
None
Endpoint 5
Endpoint 2
FIFO
2048 bytes
(Maximum)
FIFO
16 bytes
16 bytes
None

Related parts for h8s-2158