Chapter 3. Power Supply........................................................................................................................................5
3.2. Power – Up Behaviour .................................................................................................................................5
Chapter 6. User Circuitry.........................................................................................................................................9
6.4. Serial port.....................................................................................................................................................9
7.2. User mode..................................................................................................................................................19
7.4. Single chip mode........................................................................................................................................19
Chapter 10. Code Development ...........................................................................................................................28
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 HEW High-performance Embedded Workshop
LED Light Emitting Diode RSK Renesas Starter Kit
PC Program Counter E10A On-chip debugger module
http://www.eu.renesas.com/
3
Chapter 2. Purpose
This RSK is an evaluation tool for Renesas microcontrollers.
This manual describes the technical details of the RSK hardware. The Quick Start Guide and Tutorial Manual provide details of the
software installation and debugging environment.
Features include:
• Renesas Microcontroller Programming.
• User Code Debugging.
• User Circuitry such as Switches, LEDs and potentiometer.
• User or Example Application.
• Sample peripheral device initialisation code.
The RSK board contains all the circuitry required for microcontroller operation.
4
Chapter 3. Power Supply
3.1. Requirements
This RSK operates from a 5V power supply. The Sigma Delta ADC part of RSK operates from a separate 5V power supply.
A diode provides reverse polarity protection only if a current limiting power supply is used.
All RSK boards are supplied with an E10A debugger. This product is able to power the RSK board with up to 300mA. When the RSK is
connected to another system then that system should supply power to the RSK.
All RSK boards have an optional centre positive supply connector using a 2.0mm barrel power jack.
Warning
The RSK is neither under nor over voltage protected. Use a centre positive supply for this board.
3.2. Power – Up Behaviour
When the RSK is purchased the RSK board has the ‘Release’ or stand alone code from the example tutorial code pre-programmed into the
Renesas microcontroller. On powering up the board the user LEDs will start to flash. After 200 flashes, or after pressing a switch the LEDs
will flash at a rate controlled by the potentiometer.
5
App
p
App
Chapter 4.
Board Layout
4.1. Component Layout
The following diagram shows top layer component layout of the board.
lication board interface
LCD Display
SDADC Inputs
Microcontroller
LCD
JA5
JA1
J3
MCU
J4
Reset switch
RS232 Serial
Power
Power LED
E8 Header
JA3
J2
in headers
SDADC Power
JA6
lication board interface
Figure 4-1: Board Layout
J1
JA2
Potentiometer
E10A Header
User LEDs
User switches
6
4.2. 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.
RING
ApplicationHeader
80.01mm
85.00mm
100.00mm
JA3
14.00mm
5.00mm
3.81mm
Figure 4-2 : Board Dimensions
7
Chapter 5. Block Diagram
Figure 5-1 shows the CPU board components and their connectivity.
Figure 5-2 shows the connections to the RSK.
Figure 5-1: Block Diagram
Figure 5-2 : RSK Connections
8
Chapter 6. User Circuitry
6.1. Switches
There are four switches located on the CPU board. The function of each switch and its connection are shown in Table 6-1.
Switch Function Microcontroller
RES When pressed, the RSK microcontroller is reset. RESn, Pin91
SW1/BOOT* Connects to an IRQ input for user controls.
The switch is also used in conjunction with the RES switch to place the device in
BOOT mode when not using the E10A debugger.
SW2* Connects to an IRQ line for user controls. IRQ5n, Pin 126
SW3* Connects to the ADC trigger input. Option link allows connection to IRQ line.
The option is a pair of 0R links. For more details on option links, please refer to
Sec 6.6.
Table 6-1: Switch Functions
*Refer to schematic for detailed connectivity information.
There are six LEDs on the RSK board. The green ‘POWER’ LED lights when the board is powered. The orange BOOT LED indicates the
device is in BOOT mode when lit. The four user LEDs are connected to an IO port and will light when their corresponding port pin is set low.
Table 6-2, below, shows the LED pin references and their corresponding microcontroller port pin connections.
LED Reference (As
shown on silkscreen)
LED0 Green Port A.0 17
LED1 Orange Port A.2 19
LED2 Red Port 1.7 60
LED3 Red Port 1.6 62
Colour Microcontroller Port Pin
function
Table 6-2: LED Port
Microcontroller
Pin Number
6.3. Potentiometer
A single turn potentiometer is connected to AN0 (P5.0) of the microcontroller. This may be used to vary the input analogue voltage value to
this pin between AVCC and Ground.
6.4. Serial port
Serial port SCI2 is connected to the standard RS232 header. Serial ports SCI4 can optionally be connected to the RS232 header by fitti ng
option resistors. The connections to be fitted are listed in the
Table 6-3.
9
Description Function Circuit Net
Name
SCI2 Spare Serial Port TxD2 69 R31 R37, R32
SCI2 Spare Serial Port RxD2 68 R30 R36, R33
SCI4 Programming serial port TxD4 107 R37 R6, R31, R32
SCI4 Programming serial port RxD4 108 R36 R5, R30, R33
Table 6-3: Serial Port settings
The SCI2 port is also available on J2 and JA2. The SCI3 port is available on JA6.
Device
Pin
Fit for RS232 Remove for
RS232
6.5. Debug LCD Module
A debug LCD module is supplied to be connected to the connector LCD. This should be fitted so that the debug LCD module lies over J3.
Care should be taken to ensure the pins are inserted correctly into LCD. The debug LCD module uses a 4 bit interface to reduce the pin
allocation. No contrast control is provided; this is set by a resistor on the supplied display module. The module supplied with the RSK only
supports 5V operation.
Table 6-4 shows the pin allocation and signal names used on this connector.
LCD
Pin Circuit Net Name Device
Pin
1 Ground - 2 5V Only 3 No Connection - 4 DLCDRS (P34) 94
5 R/W (Wired to Write only) - 6 DLCDE+ 100k pull down to ground (P36) 92
7 No Connection - 8 No connection 9 No Connection - 10 No connection 11 DLCDD4 (P20) 52 12 DLCDD5 (P21) 53
13 DLCDD6 (P22) 54 14 DLCDD7 (P23) 55
Table 6-4 Debug LCD Module Connections
Pin Circuit Net Name Device
Pin
10
6.6. Option Links
Table 6-5 below describes the function of the option links contained on this RSK board and associated with Serial Port Configuration. The
default configuration is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R5 Serial Port
Configuration
R6 Serial Port
Configuration
R15 Serial Port
Configuration
R19 Serial Port
configuration
R28 Serial Port
Configuration
R30 Serial Port
Configuration
R31 Serial Port
Configuration
Connects programming port (Rx)
to E8 connector.
Connects programming port (Tx)
to E8 connector.
Connects serial port SCI3 (Tx) to
D-type connector (SERIAL).
Disables RS232 Serial
Transceiver
Connects serial port SCI3 (Tx) to
D-type connector (SERIAL).
Routes serial port RXD2 (Rx) to
microcontroller pins.
Routes serial port TXD2 (Tx) to
microcontroller pins.
Disconnects programming port
(Rx) from E8 connector.
Disconnects programming port
(Tx) from E8 connector.
Disconnects serial port SCI3
(Rx) from D-type connector
(SERIAL).
Enables RS232 Serial
Transceiver
Disconnects serial port SCI3
(Tx) from D-type connector
(SERIAL).
Disconnects serial port RXD2 (Rx)
from microcontroller pins.
Disconnects serial port TXD2 (Tx)
from microcontroller pins.
R6
R5
R28
-
R15
R31, R32, R33
R30, R32, R33
R32 Serial Port
Configuration
R33 Serial Port
Configuration
R36 Serial Port
Configuration
R37 Serial Port
Configuration
Routes serial port RS232TX (JA6) to
microcontroller pins.
Routes serial port RS232RX (JA6) to
microcontroller pins.
Connects programming port (Rx) to
external connectors (not E8).
Connects programming port (Tx) to
external connectors (not E8).
Table 6-5: Serial port configuration links.
Disconnects serial port
RS232TX (JA6) from
microcontroller pins.
Disconnects serial port
RS232TX (JA6) from
microcontroller pins.
Disconnects programming port
(Rx) from external connectors
(not E8).
Disconnects programming port
(Tx) from external connectors
(not E8).
R30, R31, R33
R30, R31, R32
R5, R6, R37
R5, R6, R36
11
Loading...
+ 23 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.