To our customers,
Old Company Name in Catalogs and Other Documents
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Corporation, and Renesas
Electronics Corporation
took over all the business of both
companies.
Therefore, although the old company name remains in this document, it is a valid
Renesas
Electronics document. We appreciate your understanding.
Renesas Electronics website:
http://www.renesas.com
April 1
st
, 2010
Renesas Electronics Corporation
Issued by:
Renesas Electronics Corporation
(http://www.renesas.com)
Send any inquiries to
http://www.renesas.com/inquiry.
Notice
1.
All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from errors in or omissions from the information included herein.
Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an
application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly specified in a Renesas Electronics data sheets or data books, etc.
Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”:
Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further,
Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a
Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire
control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
“Standard”:
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
M66591GP
ASSP (USB2.0 Peripheral Controller)
REJ03F0101-0100Z
Rev.1.00
Nov. 30, 2004
1
Overview
1.1 Overview
The M66591 is a general-purpose USB (Universal Serial Bus) device controller compliant with the Universal Serial
Bus Specification Revision 2.0 and supports both Hi-Speed and Full-Speed transfer.
The USB Hi-Speed and Full-Speed transceiver are built-in, and the M66591 meets control, bulk and interrupt
transfer types which are defined in the Universal Serial Bus Specification Revision 2.0.
The M66591 has a 3.5K byte FIFO and 7 endpoints (maximum) for data transfer.
Further, being equipped with the split bus (DMA interface) which is independent from the CPU bus interface, the
M66591 is suitable for use in systems that require large capacity data transfer at Hi-Speed.
1.2 Features
♦
♦
♦
♦
Universal Serial Bus Specification Revision 2.0 compliant
Built-in USB transceiver
Supports both Hi-Speed (480M bps) and Full-Speed (12M bps)
USB protocol layer by hardware
•
Bit stuffing encoding and decoding
•
CRC (Cyclic Redundancy Check) generation and checking
•
NRZI (Non Return Zero Invert) encoding and decoding
•
Packet detection
•
USB address checking
Hi-Speed and Full-Speed detection by hardware
Supports the following USB transfer types
•
Control transfer (PIPE0)
•
Bulk transfer (PIPE1~PIPE4)
•
Interrupt transfer (PIPE5~PIPE6)
Built-in FIFO buffer (3.5K bytes) for endpoints
Up to 7 endpoints selectable
Data transfer condition selectable for each PIPE
•
Hi-Speed
- PIPE0: Control transfer, continuous transfer mode, 256-byte FIFO
- PIPE1~2: Bulk in or bulk out transfer, 512-byte FIFO, double buffer
- PIPE3~4: Bulk in or bulk out transfer, 512-byte FIFO, single buffer
- PIPE5~6: Interrupt in transfer, 64-byte FIFO, single buffer
•
Full-Speed
- PIPE0: Control transfer, continuous transfer mode, 256-byte FIFO
- PIPE1~2: Bulk in or bulk out transfer, continuous transfer mode, 512-byte FIFO, double buffer
- PIPE3~4: Bulk in or bulk out transfer, continuous transfer mode, 512-byte FIFO, single buffer
- PIPE5~6: Interrupt in transfer, 64-byte FIFO, single buffer
Automatic response for Set Address request
Supports the following input frequency
•
12 / 24 / 48MHz
Supports 16-bit CPU I/F and 8/16-bit DMA transfer
Supports separate/multiplex bus
•
16-bit separate/multiplex bus
Supports 8-bit split bus (DMA interface)
USB status output for power management
1.8V/3.3V interface power supply
Application
•
Digital camera, printer, external storage device and all Hi-Speed USB PC peripheral device
♦
♦
♦
♦
♦
♦
♦
♦
♦
♦
♦
♦
♦
Rev.1.00 Nov. 30, 2004 page 1 of 131
M66591GP
1.3 Pin Configuration
The pin configuration (top view) of the M66591 is shown in Figure 1.1.
DGND(GND)
DGND(GND)
SD0/PA0
D7/AD7
D6/AD6
D5/AD5
D4/AD4
D3/AD3
D2/AD2
42
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
SD1/PA1
SD2/PA2
SD3/PA3
SD4/PA4
SD5/PA5
SD6/PA6
SD7/PA7
INT
RD_N
WR0_N
WR1_N
CS_N
VDD
DGND(GND)
DREQ
DACK
DSTB_N
DEND
RST_N
VIF
41
D1/AD1
VDD
D15
D14
D13
D12
D10
D11
VIF
D9
D8
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
10
12
13
14
15
16
17
18
19
20
11
1
2
3
4
5
6
7
8
9
40
39
38
37
36
35
34
33
32
D0
A7/ALE
A6
A5
A4
A3
A2
A1
SUSP_ON
CONF_ON
VDD
DGND(GND)
VIF
MPBUS
TEST1
TEST0
XOUT
XIN
DGND(GND)
VDD
M66591GP
(Top View)
31
30
29
28
27
26
25
24
23
22
21
DFP
AFEDGND
BIASGND
AFEAVDD
AFEAVDD
AFEAVDD
DGND(GND)
AFEAGND
AFEAGND
REFRIN
VBUS
DHP
TR_ON
RPU
BIASVDD
AFEDVDD
PLLGND
M66591GP: 80pin LQFP (0.4mm pitch, Outline: 80P6R-A)
Figure 1.1 Pin Configuration of M66591
Rev.1.00 Nov. 30, 2004 page 2 of 131
PLLVDD
DFM
DHM
M66591GP
The pin functions of the M66591 are shown in Table 1.1.
Table 1.1 Pin Functions of M66591
Item
CPU
interface
D7/AD7-D1/AD
1, D0
Input/Output
Pin Name
D15-D8
Input/Output
Input/Output
Name / Function
Data Bus
These are data bus to access the registers from the CPU.
Data Bus / Address Bus
When select to 16-bit separate bus, these pins are used as D7-D0 of data bus.
When select to 16-bit multiplex bus, D7-D0 input/output and AD7-AD1 input are
performed at time-sharing. In this case, AD0 is not used.
A7/ALE, A6-A1
Input
Address Bus / Address Latch Enable
When select to 16-bit separate bus, these pins are address bus to access the
registers from the CPU.
When select to 16-bit multiplex bus, A7 becomes the ALE pin, latching addresses
at the falling edge. A6-A1 are not used.
CS_N
RD_N
WR1_N
WR0_N
MPBUS
Input
Input
Input
Input
Input
Chip Select
When this pin is low level, M66591 is selected.
Read Strobe
Data are read from registers at low level.
D15-D8 Byte Write Strobe
The data (D15-D8) are written to the registers at the rising edge.
D7-0 Byte Write Strobe
The data (D7-D0) are written to the registers at the rising edge.
Bus Mode Select
The 16-bit separate bus is selected at low level.
The 16-bit multiplex bus is selected at high level.
This pin should not be switched after H/W reset.
Interrupt
interface
INT
Output
Interrupt
Interrupts are requested to the CPU. Polarity of this pin can be selected by register
setting.
DMA
interface
SD7/PA7-SD0/
PA0
DREQ
Output
Input/Output
Split Bus / General-purpose Port
These pins are used to select either split bus (DMA Interface) or general-purpose
port (GPIO).
DMA Request
This pin is used to request DMA transfer of the D0_FIFO port. Polarity of this pin
can be selected by register setting.
DACK
Input
DMA Acknowledge
DMA transfer of the D0_FIFO port is enabled in either low or high level. Polarity of
this pin can be selected by register setting.
DSTB_N
Input
Split Bus Strobe
This pin is used as data strobe signal when the D0_FIFO port has been set to the
split bus (DMA Interface).
When the RWstb bit of the Data Pin & FIFO/DMA Control Pin Configuration
Register 2 is set to “1” (RD/WR strobe mode), this pin is used as data strobe signal.
DEND
Input/Output
Transfer Terminal
When the PIPE direction is “IN”, this pin receives transfer complete signal as an
input signal from any other peripheral chip or the CPU.
When the PIPE direction is “OUT”, this pin indicates the last data transferred as the
output signal. Polarity of this pin can be set by a register.
USB
interface
DHM
DFP
DFM
Input/Output
Input/Output
Input/Output
DHP
Input/Output
USB Hi-Speed Data
Connect the D+ signal of USB bus.
USB Hi-Speed Data
Connect the D- signal of USB bus.
USB Full-Speed Data
Connect this pin to DHP via a 43Ω 1% resistance.
USB Full-Speed Data
Connect this pin to DHM via a 43Ω 1% resistance.
1
1
1
1
1
1
1
1
8
1
1
1
1
1
1
7
8
Pin
Count
8
Rev.1.00 Nov. 30, 2004 page 3 of 131