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
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
Chapter 3.Board Layout
3.1.Component References
The following diagram shows the component references for the board.
Figure 3-1: Component References
5
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
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
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
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 On the Go Host/Peripheral 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
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
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
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
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
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