On April 1st, 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.
Send any inquiries to http://www.renesas.com/inquiry
.
Page 2
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.
2. 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.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. 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.
5. 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.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such informatio n 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.
7. 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 Ren esas E lectronics data sheets or dat a books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electron ic appliances; machine tools; personal electronic equipment; and industrial robots.
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 appl i cations or purposes that pose a d irect threat to human life.
8. 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.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as t he occu rrence o f failure at a certai n rate an d malfunct io ns under cert ain u se con dition s. Further,
Renesas Electronics prod ucts 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.
10. 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.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12. 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.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation an d also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
Chapter 4. User Circuitry.........................................................................................................................................8
4.1. Fitting the Target RSK to the RSK application board...................................................................................8
4.3. USB Controller..............................................................................................................................................9
Chapter 6. Code Development .............................................................................................................................17
This document may be, wholly or partially, subject to change without notice.
All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Renesas
Technology Europe Limited.
Trademarks
All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or
organisations.
CPU Central Processing Unit RTE Renesas Technology Europe Ltd.
HEW High-performance Embedded Workshop RSO Renesas Solutions Organisation.
USB Universal Serial Bus RSK Renesas Starter Kit
PC Program Counter NIC Network Interface Controller
E10A ‘E10A for Starter Kits’ Emulator
http://www.eu.renesas.com/
3
Page 6
Chapter 2.Purpose
This RSK Application Board is an evaluation tool for using Renesas microcontrollers with Ethernet and USB interfaces. It is used in
conjunction with the RSK for the microcontroller to be evaluated.
Features include:
• Mounting connections to allow RSK to be added to top of board.
• Interface to standard RSK ‘Application Interface’ connectors.
• Interface to Memory Expansion connectors.
• Power connector for +5V (reverse polarity protected), with on-board regulated 3.3V conversion and level translation to
allow operation with RSK boards working at either +5V or +3.3V.
• LAN9118-MT NIC and RJ45 Ethernet connector with integral status LEDs.
• ISP1761BE USB Hi-Speed 2.0 Host Controller with:
o 1 Host/Slave USB (Mini AB) connector and
o 2 Host USB (Standard A) connectors.
• 512 kByte Static Ram arranged as 256k x 16 bit words.
4
Page 7
Chapter 3.Board Layout
3.1.Component References
The following diagram shows the component references for the board.
Figure 3-1: Component References
5
Page 8
3.2.Board Component functions
The following diagram the shows the functions of the components on the board.
USB
Mini AB
USB
Std A
RJ45
J4
J5
J3
J2
Application Board Interface
JA5JA1
JA6JA2
Application Board Interface
+5V DC
J1
JA3
Memory Extension Interface
Figure 3-2: Board Layout
6
Page 9
3.3.Board Dimensions
The following diagram gives the board dimensions and connector positions. All through hole connectors are on a common 0.1” grid for easy
interfacing.
Figure 3-3 : Board Dimensions
7
Page 10
Chapter 4.User Circuitry
4.1.Fitting the Target RSK to the RSK application board
The board is supplied with 2x 24 way sockets, 2x 26 way sockets and 1 x 50 way socket.
These should be soldered on the underside of the host RSK in JA1, JA2, JA5, JA6 and JA3 positions.
The RSK should be plugged into the equivalent connectors on the RSK LCD application board.
A separate application note is available to explain how to configure the host RSK to enable it to connect to this
application board.
The board is designed to be 5V I/O tolerant. Therefore this board can be connected to an RSK with 5V I/O.
4.2.Network Controller
The network functionality is provided by the SMCS LAN9118-MT non-PCI Ethernet controller.
Refer to the manufacturer’s datasheet for more information on this peripheral.
The Ethernet controller is configured to use a 16 bit data bus. It uses single 16 bit read and write strobes.
Byte or long word accesses are not available for this device.
The chip select used for the network controller is CS1 which is on JA3 pin 27.
Please note the timing. This will require programming the bus controller for the Host RSK.
5ns
A[7:1]
0ns
CSn,RDn
35ns
Data
40ns
0ns
Valid
Figure 4-1: Ethernet controller read timing
8
Page 11
A[7:1]
5ns
5ns
CSn,WRn
Data
35ns
10ns
Valid
5ns
Figure 4-2: Ethernet controller write timing
The Ethernet controller can drive two interrupts.
IRQ0 is the IRQ from the Ethernet controller.
IRQ2 is the PME output from the Ethernet controller. PME interrupts can be enabled on the IRQ pin, so this can
be disabled for host RSKs with fewer interrupt lines, if the PME interrupt is required.
Both interrupts are pulled high to 3.3V by 1K resistors.
4.3.USB Controller
The Universal Serial Bus functionality is provided by the Philips ISP1761 controller.
Refer to the manufacturer’s datasheet for more information on this peripheral.
This peripheral provides 2 Host type A and one O n the Go Host/Pe riphe ral mini AB type USB controller.
The ISP1761 controller is configured to use a 16 bit data bus. It uses single 16 bit read and write strobes.
Byte or long word accesses are not available for this device.
The chip select used for the USB controller is CS2 which is o n JA3 pin 28.
Please note the timing. This will require programming the bus controller for the Host RSK.
9
Page 12
A[17:1]
5ns
CSn,RDn
Data
A[17:1]
5ns
35ns
40ns
Valid
Figure 4-3: USB controller read timing
5ns
20ns
0ns
5ns
CSn,WRn
Data
8ns
Valid
5ns
Figure 4-4: USB controller write timing
The ISP1761 controller can drive two interrupts.
IRQ1 is the HC_IRQ from the ISP1761 controller.
IRQ3 is the DC_IRQ output from the ISP1761 controller. DC_IRQ interrupts can be enabled on the HC_IRQ pin,
so this can be disabled for host RSKs with fewer interrupt lines, if the DC_IRQ interrupt is required.
Both interrupts are pulled high to 3.3V by 1K resistors.
10
Page 13
4.4.SRAM
The board is provided with 512 kilobytes of static RAM arranged as 256k x 16 b i t words.
This RAM is byte addressable, provided the host RSK supports this.
The chip select used for the RAM is CS3 which is on JA3 pin 45.
Please note the timing. This will require programming the bus controller for the Host RSK.
5ns
A[18:1]
CSn,RDn
Data
A[18:1]
5ns
15ns
20ns
Figure 4-5: SRAM read timing
5ns
20ns
0ns
Valid
5ns
CSn,WRn
Data
Figure 4-6: SRAM write timing
11
8ns
Valid
5ns
Page 14
4.5.Option Links
Table 4-1 below describes the function of the option links contained on this CPU board. The default configuration is indicated by BOLD
text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R2 3V power select
R7 Write Strobe Select
R8 Write Strobe Select High Byte writes from WR1n
R9 Write Strobe Select
R10 Write Strobe Select Low Byte writes from WR0n
Regulator drives Board_3V3
High Byte writes from WR1n
Low Byte writes from WR0n
Table 4-1: JA1 Option Link Settings
Board_3V from RSK
WR1n not connected R8, R9, R10
WR1n not connected
WR0n not connected R7, R8, R10
WR0n not connected
R7, R9, R10
R7, R8, R9
12
Page 15
Chapter 5.Headers
5.1.Application Headers
This information is supplied for reference. Only pins marked are connected on this board.
These connections are
Table 5-1 and belowTable 5-2 show the standard application header connections.
23 Open drain IRQAEC IRQ3 24I²C Bus - (3rd pin) IIC_EX
I²C Bus
25
IIC_SDA 26 I²C Bus IIC_SCL
Table 5-1: JA1 Standard Generic Header
13
Page 16
JA2
Pin Generic Header Name CPU board
Signal Name
Pin Header Name CPU board
Signal Name
1 Open drain RESn 2 External Clock Input EXTAL
3 Open drain NMIn 4 Regulated Supply 1 Vss1
5 Open drain output WDT_OVF 6 Serial Port SCIaTX
7 Open drain WUP IRQ0 8 Serial Port SCIaRX
9 Open drain IRQ1 10 Serial Port SCIaCK
11 Up/down MO_UD 12 Serial Port Handshake CTS/RTS
13 Motor control MO_Up 14 Motor control MO_Un
15 Motor control MO_Vp 16 Motor control MO_Vn
17 Motor control MO_Wp 18 Motor control MO_Wn
19 Output TMR0 20 Output TMR1
21 Input TRIGa 22 Input TRIGb
23 Open drain IRQ2 24 Tristate Control TRSTn
25 SPARE - 26 SPARE -
Table 5-2: JA2 Standard Generic Header
Table 5-3 and Table 5-4 below show the optional generic header connections