50
Ver 1.4
MITSUBISHI MICROCOMPUTERS
7640 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
1.21 UNIVERSAL SERIAL BUS
The Universal Serial Bus (USB) has the following fea-
tures:
Complete USB Specification (version 1.1) Compatibility
Error Handling capabilities
FIFOs:
Endpoint 0:
IN 16-byte
Endpoint 1:
IN 512-byte OUT 800-byte
Endpoint 2:
IN 32-byte
Endpoint 3:
IN 16-byte
Endpoint 4:
IN 16-byte
Five independent IN endpoints
Five independent OUT endpoints
Complete Device Configuration
Supports All Device Commands
Supports Full-Speed Functions
Support of All USB Transfer Types:
Isochronous
Bulk
Control
Interrupt
Suspend/Resume Operation
On-chip USB Transceiver with voltage converter
Start-of-frame interrupt and output pin
OUT 16-byte
OUT 32-byte
OUT 16-byte
OUT 16-byte
1.21.1 USB Function Control Unit (USBFCU)
The implementation of the USB by this device is ac-
complished chiefly through the device’s USB Function
Control Unit. The Function Control Unit’s overall pur-
pose is to handle the USB packet protocol layer. The
Function Control Unit notifies the MCU that a valid to-
ken has been received. When this occurs, the data
portion of the token is routed to the appropriate FIFO.
The MCU transfers the data to, or from, the host by
interacting with that endpoint’s FIFO and CSR regis-
ter (see Figure 1.51).
The USB Function Control Unit is composed of five
sections:
Serial Interface Engine (SIE)
Generic Function Interface (GFI)
Serial Engine Interface Unit (SIU)
Microcontroller Interface (MCI)
USB Transceiver
1.21.1.1 Serial Interface Engine
The SIE interfaces to the USB serial data and handles
deserialization/serialization of data, NRZI encoding/
decoding, clock extraction, CRC generation and
checking, bit stuffing, and other specifications pertain-
ing to the USB protocol such as handling inter-packet
time-outs and PID decoding 1.
1.21.1.2 Generic Function Interface
The GFI handles all USB standard requests from the
host through the control endpoint (endpoint 0), and
handles Bulk, Isochronous and Interrupt transfers
through Endpoints 1-4. The GFI handles read pointer
reversal for re-transmission of the current data set;
write pointer reversal for re-reception of the last data
set, and data toggle synchronization.
1.21.1.3 Serial Engine Interface Unit
The SIU block decodes the Address and Endpoint
fields from the USB host.
1.21.1.4 Microcontroller Interface Unit
The MCI block handles the microcontroller interface
and performs address decoding and synchronization
of control signals.
1.21.1.5 USB Transceiver
The USB transceiver, designed to interface with the
physical layer of the USB, is compliant with the USB
Specification (version 1.1) for high speed devices. It
consists of two 6-ohm drivers, a receiver, and Schmitt
triggers for single-ended receive signals.
CPU
MCI
SIU
GFI
FIFOs
SIE
T
D
+
D
-
Fig. 1.51. USB Function Control Unit Block Diagram