Renesas RX62T User guide

User’s Manual
RX62T Group
32
Renesas Starter Kit User’s Manual
RENESAS MCU RX Family / RX600 Series
All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www.renesas.com).
www.renesas.com
Rev.3.00 Nov 2011
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 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.
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 Renesas Electronics data sheets or data books, etc.
“Standard”: 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.
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 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.
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 and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
Disclaimer
By using this Renesas Starter Kit (RSK), the user accepts the following terms:
The RSK is not guaranteed to be error free, and the entire risk as to the results and performance of the RSK is assumed by the User. The RSK is provided by Renesas on an “as is” basis without warranty of any kind whether express or implied, including but not limited to the implied warranties of satisfactory qualit y, fitness for a particular purpose, title and non-infringement of intellectual property rights with regard to the RSK. Renesas expressly disclaims all such warranties. Renesas or its affiliates shall in no event be liable for any loss of profit, loss of data, loss of contract, loss of business, damage to reputation or goodwill, any economic loss, any reprogramming or recall costs (whether the foregoing losses are direct or indirect) nor shall Renesas or its affiliates be liable for any other direct or indirect special, incidental or consequential damages arising out of or in relation to the use of this RSK, even if Renesas or its affiliates have been advised of the possibility of such damages.
Precautions
The following precautions should be observed when operating any RSK product:
This Renesas Starter Kit is only intended for use in a laboratory environment under ambient temperature and humidity conditions. A safe separation distance should be used between this and any sensitive equipment. Its use outside the laboratory, classroom, study area or similar such area invalidates conformity with the protection requirements of the Electromagnetic Compatibility Directive and could lead to prosecution.
The product generates, uses, and can radiate radio frequency energy and may cause harmful interference to radi o communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment causes harmful interference to radio or television reception, which can be determined by turning the equipment off or on, you are encouraged to try to correct the interference by one or more of the following measures;
ensure attached cables do not lie across the equipment
reorient the receiving antenna
increase the distance between the equipment and the receiver
connect the equipment into an outlet on a circuit different from that which the receiver is connected
power down the equipment when not in use
consult the dealer or an experienced radio/TV technician for help NOTE: It is recommended that wherever
possible shielded interface cables are used.
The product is potentially susceptible to certain EMC phenomena. To mitigate against them it is recommended that the following measures be undertaken;
The user is advised that mobile phones should not be used within 10m of the product when in use.
The user is advised to take ESD precautions when handling the equipment.
The Renesas Starter Kit does not represent an ideal reference design for an end product and does not fulfil the regulatory standards for an end product.
How to Use This Manual
1. Purpose and Target Readers
This manual is designed to provide the user with an understanding of the RSK hardware functionality, and electrical characteristics. It is intended for users designing sample code on the RSK platform, using the many different incorporated peripheral devices.
The manual comprises of an overview of the capabilities of the RSK product, but does not intend to be a guide to embedded programming or hardware design. Further details regarding setting up the RSK and development environment can found in the tutorial manual.
Particular attention should be paid to the precautionary notes when using the manual. These notes occur within the body of the text, at the end of each section, and in the Usage Notes section.
The revision history summarizes the locations of revisions and additions. It does not list all revisions. Refer to the text of the manual for details.
The following documents apply to the RX62T Group. Make sure to refer to the latest versions of these documents. The newest versions of the documents listed may be obtained from the Renesas Electronics Web site.
Document Type Description Document Title Document No.
User’s Manual Describes the technical details of the RSK
hardware.
Software Manual Describes the functionality of the sample code,
and its interaction with the Renesas Peripheral Driver Library (RPDL)
Tutorial Provides a guide to setting up RSK environment,
running sample code and debugging programs.
Quick Start Guide Provides simple instructions to setup the RSK and
run the first sample, on a single A4 sheet.
Schematics Full detail circuit schematics of the RSK. RSKRX62T
Hardware Manual Provides technical details of the RX62T
microcontroller.
RSKRX62T User’s Manual
RSKRX62T Software Manual
RSKRX62T Tutorial Manual
RSKRX62T Quick Start Guide
Schematics RX62T Group
Hardware Manual
REJ10J2194
REJ10J2197
REJ10J2195
REJ10J2196
RJJ99J0072
R01UH0034EJ0110
2. List of Abbreviations and Acronyms
Abbreviation Full Form
ADC Analogue-to-Digital Converter bps bits per second CAN Controller-Area Network CPU Central Processing Unit CRC Cyclic Redundancy Check DMA Direct Memory Access E1 On-chip Debugger EMC Electromagnetic Compatibility ESD Electrostatic Discharge HEW High-performance Embedded Workshop IIC Philips™ Inter-Integrated Circuit connection bus IRQ Interrupt Request LCD Liquid Crystal Display LED Light Emitting Diode MCU Micro-controller Unit MTU Multifunction Timer Unit PC Program Counter PWM Pulse Width Modulation RSK Renesas Starter Kit RAM Random Access Memory SFR Special Function Register UART Universal Asynchronous Receiver/Transmitter USB Universal Serial Bus
Table of Contents
1. Overview............................................................................................................................................7
1.1 Purpose...................................................................................................................................................................... 7
1.2 Features..................................................................................................................................................................... 7
2. Power Supply.....................................................................................................................................8
2.1 Requirements ............................................................................................................................................................ 8
2.2 Power-Up Behaviour................................................................................................................................................. 8
3. Board Layout .....................................................................................................................................9
3.1 Component Layout.................................................................................................................................................... 9
3.2 Board Dimensions................................................................................................................................................... 10
3.3 Component Placement .............................................................................................................................................11
4. Connectivity..................................................................................................................................... 13
4.1 Internal RSK Connections ...................................................................................................................................... 13
4.2 Debugger Connections............................................................................................................................................ 14
5. User Circuitry...................................................................................................................................15
5.1 Reset Circuit ........................................................................................................................................................... 15
5.2 Clock Circuit........................................................................................................................................................... 15
5.3 Switches.................................................................................................................................................................. 15
5.4 LEDs....................................................................................................................................................................... 15
5.5 Potentiometer.......................................................................................................................................................... 16
5.6 Debug LCD Module ............................................................................................................................................... 16
5.7 RS232 Serial Port.................................................................................................................................................... 16
5.8 Controller-Area Network (CAN)............................................................................................................................ 17
5.9 Local-Interconnect Network (LIN)......................................................................................................................... 17
6. Configuration ...................................................................................................................................18
6.1 Modifying the RSK................................................................................................................................................. 18
6.2 MCU Configuration................................................................................................................................................ 18
6.3 ADC Configuration................................................................................................................................................. 19
6.4 RS232 Serial Port Configuration ............................................................................................................................ 20
6.5 LIN Configuration .................................................................................................................................................. 21
6.6 CAN Configuration................................................................................................................................................. 22
6.7 IRQ & General I/O Pin Configuration.................................................................................................................... 23
6.8 Multi-Function Timer Pulse Unit (MTU) Configuration ........................................................................................ 26
6.9 Power Supply Configuration................................................................................................................................... 26
6.10 Clock Configuration................................................................................................................................................ 27
7. Headers ............................................................................................................................................28
7.1 Application Headers................................................................................................................................................ 28
7.2 Microcontroller Ring Headers ................................................................................................................................ 30
8. Code Development...........................................................................................................................34
8.1 Overview................................................................................................................................................................. 34
8.2 Compiler Restrictions ............................................................................................................................................. 34
8.3 Mode Support.......................................................................................................................................................... 34
8.4 Debugging Support................................................................................................................................................. 34
8.5 Address Space......................................................................................................................................................... 35
9. Additional Information.....................................................................................................................36
RSKRX62T REJ10J2194-0300
Rev.3.00 RENESAS STARTER KIT
Nov 08, 2011

1. Overview

1.1 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.

1.2 Features

This RSK provides an evaluation of the following features:
Renesas microcontroller programming
User code debugging
User circuitry such as switches, LEDs and a potentiometer
Sample application
Sample peripheral device initialisation code
The RSK board contains all the circuitry required for microcontroller operation.
REJ10J2194-0300 Rev.3.00 Page 7 of 40 Nov 08, 2011
RSKRX62T 2. Power Supply

2. Power Supply

2.1 Requirements

This RSK is supplied with an E1 debugger. The debugger is able to power the RSK board with up to 200mA. When the RSK is connected to another system then that system should supply power to the RSK. All RSK and RSK+ boards have an optional centre positive supply connector using a 2.0mm barrel power jack.
This RSK supports one voltage input. Details of the external power supply connection are shown in Tab le 2-1 below.
Connector Supply Voltages J13 Setting J14 Setting
PWR
This RSK should only be supplied with a regulated power supply.
Regulated, 5V DC Do Not Fit Do Not Fit
Table 2-1: Main Power Supply Requirements

2.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 any switch, the LEDs will flash at a rate controlled by the potentiometer.
REJ10J2194-0300 Rev.3.00 Page 8 of 40 Nov 08, 2011
RSKRX62T 3. Board Layout

3. Board Layout

3.1 Component Layout

Figure 3-1 below shows the top component layout of the board.
Application Headers
Reset Switch
RS232 Serial
Debug LCD
connector
LIN connector
CAN connector
JA5
J3
J4
JA6
Application Board Interface Potentiometer
RX62T
J1
JA1
J2
JA2
Figure 3-1: Board Layout
Power Jack
Power LED
E1 Interface
User LEDs
Boot LED
E20 Interface
User/Boot
Switch
User Switches
REJ10J2194-0300 Rev.3.00 Page 9 of 40 Nov 08, 2011
RSKRX62T 3. Board Layout

3.2 Board Dimensions

Figure 3-2 below gives the board dimensions and connector positions. All the through-hole connectors are on a common 0.1 inch grid for easy interfacing.
5.00mm
3.81mm
J3
RX62T
3.2mm
JA1JA5
J2
RES
45.00mm
SERIAL
PWR
E1
3.00mm
92.71mm
13.88mm
14.00mm
17.78mm
24.13mm
31.75mm
LCD
74.93mm
82.55mm
85.00mm
100.00mm
7.0mm
J4
E20
J1
JA6 JA2
106.68mm
115.00mm
120.00mm
RV1
86.36mm
99.06mm
SW1
48.26mm
50.80mm
55.88mm
SW2
SW3/
BOOT
27.00mm
Figure 3-2: Board Dimensions
REJ10J2194-0300 Rev.3.00 Page 10 of 40 Nov 08, 2011
RSKRX62T 3. Board Layout

3.3 Component Placement

Figure 3-3 below shows placement of individual components on the top-side PCB – bottom-side component placement can be seen in Figure 3-4, overleaf. Component types and values can be looked up using the board schematics.
Figure 3-3: Top-Side Component Placement
REJ10J2194-0300 Rev.3.00 Page 11 of 40 Nov 08, 2011
Loading...
+ 25 hidden pages