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
.
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.
User’s Manual
Renesas Starter Kit for H8/36079
User’s Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
H8 FAMILY/ H8/300H Tiny Series
Chapter 3. Power Supply........................................................................................................................................3
3.2. Power – Up Behaviour .................................................................................................................................3
Chapter 6. User Circuitry.........................................................................................................................................7
6.4. Serial port.....................................................................................................................................................7
7.2. User mode..................................................................................................................................................14
Chapter 10. Code Development ...........................................................................................................................19
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.
LED Light Emitting Diode RSK Renesas Starter Kit
PC Program Counter E8A E8A On-chip debugger module
http://www.eu.renesas.com/
1
Chapter 2.Purpose
This RSK is an evaluation tool for Renesas microcontrollers.
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.
2
Chapter 3.Power Supply
3.1. Requirements
This RSK operates from a 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 E8A 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.
3
Chapter 4. Board Layout
4.1. Component Layout
The following diagram shows top layer component layout of the board.
LCD Display
Microcontroller
pin headers
Application board interface
JA1
LCD
J1
MCU
J2
J3
Reset switch
RS232 Serial
Power LED
Power
J4
E8A Header
User LEDs
Boot LED
JA2
Application board interface Potentiometer
User switches
Figure 4-1: Board Layout
4
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.
Figure 4-2 : Board Dimensions
5
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
6
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, Pin7
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 E8A debugger.
SW2* Connects to an IRQ line for user controls. IRQ2n, Pin 53
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.
WKP5/ADTRG,
Pin 22
(Port 5 pin 5)
(Port 1, pin 6)
IRQ0n, Pin 51
(Port 1, pin 4)
6.2. LEDs
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 5.4 21
LED1 Orange Port 1.0 23
LED2 Red Port 2.3 47
LED3 Red Port 1.7 54
Colour Microcontroller Port Pin
function
Table 6-2: LED Port
Microcontroller
Pin Number
6.3. Potentiometer
A single turn potentiometer is connected to AN4 (PB.4) 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 SCI3 is connected to the standard RS232 header. Serial port SCI3_2 can optionally be connected to the RS232. The
connections to be fitted are listed in the table 6-3.
7
Description Function Circuit Net Name Device Pin
SCI3 Programming serial port TxD 46
SCI3 Programming serial port RxD 45
SCI3_2 Spare Serial Port TxD2 50
SCI3_2 Spare Serial Port RxD2 49
Table 6-3: Serial Port settings
The SCI3_2 port is also available on J4 and JA2. The SCI3 port is available on J3.
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 J1.
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 (P24) 31
5 R/W (Wired to Write only) - 6 DLCDE+ 100k pull down to ground (P12) 25
7 No Connection - 8 No connection 9 No Connection - 10 No connection 11 DLCDD4 (P50) 13 12 DLCDD5 (P51) 14
13 DLCDD6 (P52) 19 14 DLCDD7 (P53) 20
Table 6-4 Debug LCD Module Connections
Pin Circuit Net Name Device
6.6. Option Links
Pin
Table 6-5 below describes the function of the option links associated with E8A configuration. The default configuration is indicated by
BOLD text.
8
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R2 E8A
R5 E8A
R7 E8A
Fitted if one of the following
condition is satisfied:
1. The CPU operating voltage is
5V
2. E8A is used to supply 3V3 to
the board
Fitted if one of the following
condition is satisfied:
1. The CPU operating voltage is
5V
2. E8A is used to supply 3V3 to
the board
Fitted if one of the following
condition is satisfied:
1. The CPU operating voltage is
5V
2. E8A is used to supply 3V3 to
Removed if none of the conditions
are satisfied
Removed if none of the conditions
are satisfied
Removed if none of the conditions
are satisfied
R5, R7, R9, R10
R2, R7, R9, R10
R2, R5, R9, R10
the board
R9 E8A
Fitted if one of the following
condition is satisfied:
Removed if none of the conditions
are satisfied
R2, R5, R7, R10
1. The CPU operating voltage is
5V
2. E8A is used to supply 3V3 to
the board
R10 E8A
Fitted if one of the following
condition is satisfied:
Removed if none of the conditions
are satisfied
R2, R5, R7, R9
1. The CPU operating voltage is
5V
2. E8A is used to supply 3V3 to
the board
R11 E8A
Enables E8A
Table 6-5: E8A configuration links
Table 6-6 below describes the function of the option links associated with Serial Port configuration. The default configuration is indicated
by BOLD text.
9
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R16 Serial Port
Configuration
Connects serial port SCI3_2 (Rx) to
D-type connector (SERIAL).
Disconnects serial port SCI3_2
(Tx) from D-type connector
R18
(SERIAL).
R18 Serial Port
Configuration
Connects serial port SCI3_2 (Tx) to
D-type connector (SERIAL).
Disconnects serial port SCI3_2
(Rx) from D-type connector
R16
(SERIAL).
R40 Serial Port
Disables Serial Communication
Enables Serial Communication
Configuration
Table 6-6: Serial Port configuration links
Table 6-7 below describes the function of the option links associated with Power Source configuration. The default configuration is
indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R20 Power Source
Board can be powered from PWR
Disable external power connector
connector
R28 Power Source
Fitted if CPU operating voltage is
Removed if CPU operating
R29, R30
3V3
R29 Power Source Fitted if CPU operating voltage is 5V
R30 Power Source
Board can be powered from
external source (JA1 header pin 1)
R31 Power Source Fitted if CPU operating voltage is
3V3
R32 Power Source
Fitted if CPU operating voltage is
5V
R33 Power Source
Enables Low Voltage Detection
(LVD) Circuitry.
R47 Power Source Board can be powered from external
source (JA1 header pin 2)
R54 Power Source Fitted if 3V3 device
voltage is not 3V3
Removed if CPU operating
voltage is not 5V
Board can’t be powered from
external source (JA1 header pin 1)
Removed if CPU operating
voltage isn’t 3V3
Removed if CPU operating
voltage is not 5V
Disables Low Voltage Detection
(LVD) Circuitry.
Can be enables jumper J6 set
Board can’t be powered from
external source
(JA1 header pin 2)
Removed if not 3V3 device
R28, R30
R28, R29
R32
R31
Table 6-7: Power configuration links
Table 6-8 below describes the function of the option links associated with CPU Reset configuration. The default configuration is indicated
by BOLD text.
10
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R38 CPU reset signal
Enables CPU reset signal
Disables CPU reset signal, but it
can be enabled if jumper J7 set
Table 6-8: Reset configuration links
Table 6-9 below describes the function of the option links associated with Analog Voltage Source configuration. The default configuration
is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R42 Analog Voltage
Source
R43 Analog Voltage
Source
Analog Voltage Source from external
connector. (JA1 header pin 1)
Analog voltage source from on
board Vcc.
Analog voltage source from on
board Vcc.
Analog Voltage Source from
external connector.
R43
R42
Table 6-9: Analog Voltage Source configuration links
Table 6-10 below describes the function of the option links associated with External Subclock Oscillator configuration. The default
configuration is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
Table 6-11 below describes the function of the option links associated with Real Time Clock Oscillator Source configuration. The default
configuration is indicated by BOLD text.
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
Table 6-11: Real Time Clock Oscillator Source configuration links
Table 6-12 below describes the function of the option links associated with Processor Oscillator Source configuration. The default
configuration is indicated by BOLD text.
11
Option Link Settings
Reference Function Fitted Alternative (Removed) Related To
R56 Processor
Oscillator
Source
R59 Processor
Oscillator
Source
R61 Processor
Oscillator
Source
R64 External main
Oscillator
Table 6-13 below describes the function of the option links associated with other configuration. The default configuration is indicated by
BOLD text.
Reference Function Fitted Alternative (Removed) Related To
Table 6-14 below describes the function of the option links associated with External main Oscillator configuration. The default
configuration is indicated by BOLD text.
Reference Function Fitted Alternative (Removed) Related To
R60 External main
Oscillator
Table 6-15 below describes the function of the option links associated with IIC configuration. The default configuration is indicated by
BOLD text.
Reference Function Fitted Alternative (Removed) Related To
R66 IIC Data
Enables WKP signal
Table 6-13: Other configuration links
Option Link Settings
Parallel resistor for crystal
Table 6-14: External main Oscillator configuration links
Option Link Settings
Enables IIC data transmission
Disables ADTRGn signal
Disables WKP signal R57
Not fitted
Disables IIC data transmission R68
R58
R68 IIC Clock
Enables IIC clock
Table 6-15: IIC configuration links
Disables IIC clock R66
6.7. Oscillator Sources
A crystal oscillator is fitted on the RSK and used to supply the main clock input to the Renesas microcontroller. details the Table 6-6
12
oscillators that are fitted and alternative footprints provided on this RSK:
The CPU Board includes a simple latch circuit that links the mode selection and reset circuit. This provides an easy method for swapping
the device between Boot Mode and User mode. This circuit is not required on customer’s boards as it is intended for providing easy
evaluation of the operating modes of the device on the RSK. Please refer to the hardware manual for more information on the
requirements of the reset circuit.
The Reset circuit operates by latching the state of the boot switch on pressing the reset button. This control is subsequently used to
modify the port pin P24 states as required.
The port pin P24 must change state only while the reset signal is active to avoid possible device damage.
The reset is held in the active state for a fixed period by a pair of resistors and a capacitor. Please check the reset requirements carefully
to ensure the reset circuit on the user’s board meets all the reset timing requirements.
13
Chapter 7. Modes
This RSK supports Boot mode and User mode.
Details of programming the FLASH memory is described in the H8/38347 Group Hardware Manual.
7.1. Boot mode
The boot mode settings for this RSK are shown in Table 7-1: Boot Mode pin settings below:
TEST NMI P85 LSI State after Reset End
0 Low High Boot Mode
Table 7-1: Boot Mode pin settings
The software supplied with this RSK supports Boot mode using an E8A and HEW only. However, hardware exists to enter boot mode
manually, do not connect the E8A in this case. Press and hold the SW1/BOOT. The pin NMI (microcontroller pin 35) is held in its boot state
while reset is pressed and released. Release the boot button. The BOOT LED will be illuminated to indicate that the microcontroller is in
boot mode.
When neither the E8A is connected nor the board is placed in boot mode as above, the TEST pin is connected to Ground; the NMI pin is
pulled high by a 10k resistor, the P8.5 pin is pulled high with a 4.7k resistor.
When an E8A is used the port P85 and NMI are controlled by the E8A.
7.2. User mode
Because the NMI pin is pulled high, this RSK will always boot in User mode when the E8A is not connected and the boot switch is not
depressed. Refer to H8/36079 Group Hardware Manual for details of User mode.
7-1: Boot Mode pin settings
X: Don’t care
below:
TEST NMI P85 LSI State after Reset End
0 High X User Mode
Table 7-2: User Mode pin settings
The user mode settings for this RSK are shown in Table
14
Chapter 8. Programming Methods
The board is intended for use with HEW and the supplied E8A debugger. Refer to H8/36079 Group Hardware Manual for details of
programming the microcontroller without using these tools.
15
Chapter 9. Headers
9.1. Microcontroller Headers
Table 9-1 to show theTable 9-4 microcontroller pin headers and their corresponding microcontroller connections. The header pins
connect directly to the microcontroller pin unless otherwise stated.
Note: For all code debugging using Renesas software tools, the RSK board must be connected to a PC USB port via an E8A. An E8A pod
is supplied with the RSK product.
10.2. Mode Support
HEW connects to the Microcontroller and programs it via the E8A. Mode support is handled transparently to the user.
10.3. Breakpoint Support
HEW supports breakpoints on the user code, both in RAM and ROM.
Double clicking in the breakpoint column in the code sets the breakpoint. Breakpoints will remain unless they are double clicked to remove
them.
10.4. Memory Map
Figure 10-1: Memory Map
19
Chapter 11.Component Placement
Figure 11-1: Component Placement
20
Chapter 12. Additional Information
For details on how to use High-performance Embedded Workshop (HEW, refer to the HEW manual available on the CD or from the web
site.
For information about the H8/36079 series microcontrollers refer to the H8/36079Group, H8/36077Group hardware manual.
For information about the H8/36079 assembly language, refer to the H8/300H Series Software Manual.
Online technical support and information is available at:
Technical Contact Details
America:
Europe:
Japan:
General information on Renesas Microcontrollers can be found on the Renesas website at: