Renesas RX Series User Manual
Hide thumbs Also See for RX Series:

Advertisement

Quick Links

RX23T Group
32
32
RENESAS MCU
RX Family / RX200 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).
Renesas Starter Kit Tutorial Manual
For CS+
Rev. 1.00 Aug 2015

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RX Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas RX Series

  • Page 1 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).
  • Page 2 Electronics product for any application for which it is not intended. 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 which the product is not intended by Renesas Electronics.
  • Page 3 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...
  • Page 4 The following documents apply to the RX23T 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...
  • Page 5 Application Programming Interface Bits per second Compare Match Timer COMmunications port referring to PC serial port Central Processing Unit Digital Versatile Disc Renesas On-chip Debugging Emulator Graphical User Interface Integrated Development Environment Interrupt Request Liquid Crystal Display Light Emitting Diode...
  • Page 6: Table Of Contents

    Table of Contents 1. Overview ..........................7 Purpose ..............................7 Features ..............................7 2. Introduction ........................8 Code Generator Plug in ..........................8 3. Tutorial Project Workspace ....................9 Introduction ..............................9 Starting CS+ ............................... 9 Configuring the Debug Tool (E1) ......................12 Build Configuration ...........................
  • Page 7: Overview

    RENESAS STARTER KIT Aug 24, 2015 1. Overview Purpose This RSK is an evaluation tool for Renesas microcontrollers. This manual describes how to get the RSK tutorial started, and basic debugging operations. Features This RSK provides an evaluation of the following features: •...
  • Page 8: Introduction

    RSKRX23T 2. Introduction 2. Introduction This manual is designed to answer, in tutorial form, the most common questions asked about using a Renesas Starter Kit (RSK). The tutorials help explain the following: • How do I compile, link, download and run a simple program on the RSK? •...
  • Page 9: Tutorial Project Workspace

    CS+ is an integrated development tool that allows the user to write, compile, program and debug a software project on the RX, 78K, RL and V850 family of Renesas microcontrollers. CS+ will have been installed during the installation of the software support for the Renesas Starter Kit product. This manual will describe the stages required to create and debug the supplied tutorial code.
  • Page 10 RSKRX23T Tutorial Project Workspace • CS+ will present a ‘Create Project’ dialog box. • Select all sub-projects by clicking on each checkbox and observe the information displayed under the ‘Subproject information’ heading as you select each project. • Specify a name and location for the new project and click on ‘Create’...
  • Page 11 RSKRX23T Tutorial Project Workspace • To change the active project, right- click on the project/subproject name and select “Set x as Active Project” (x represents the project name). • The File folder contains four subfolders. This structure is common to all projects. •...
  • Page 12: Configuring The Debug Tool (E1)

    RSKRX23T Tutorial Project Workspace Configuring the Debug Tool (E1) Note: The Tutorial sample project’s settings are pre-configured. This section is intended to familiarise the user with the debug tool settings for when they create their own project. • The Project Tree will be displayed on the left-hand pane of CS+.
  • Page 13: Build Configuration

    RSKRX23T Tutorial Project Workspace Build Configuration The build configurations are selected from the build tool’s Property panel. The options available are ‘DefaultBuild’, ‘Debug’ and ‘Release’. ‘DefaultBuild’ and ‘Debug’ are configured for use with the debugger. ‘Release’ is configured for the final ROM programmable code. A common difference between the two builds is the optimisation setting and the addition of debug information.
  • Page 14: Building The Tutorial Program

    RSKRX23T Building the Tutorial Program 4. Building the Tutorial Program The tutorial project build settings have been pre-configured in the toolchain options. To view the toolchain options double-click on CC-RX(Build Tool) from the Project Tree and select the available tabs. It is important when changing settings to be aware of the current configuration before modifying the settings.
  • Page 15: Connecting The Debugger

    For this tutorial the E1 debugger will provide power to the RSK, no external power supply is required. The Quick Start Guide provided with the Renesas Starter Kit board gives detailed instructions on how to connect the E1 to the host computer. The following assumes that the steps in the Quick Start Guide have been followed and the E1 drivers have been installed.
  • Page 16: Downloading And Running The Tutorial

    RSKRX23T Downloading and Running the Tutorial 5. Downloading and Running the Tutorial Downloading the Program Code Now that the code has been built in CS+ it needs to be downloaded to the RSK. • Click on the program download button. Alternatively, select Debug from the Menu bar and click on Download.
  • Page 17: Reviewing The Tutorial Program

    RSKRX23T 6. Reviewing the Tutorial Program 6. Reviewing the Tutorial Program This section will look at each section of the tutorial code and basic debugging functionality in CS+. Program Initialization Before the main program can run, the microcontroller must be configured. Due to the debugger configuration used for the Tutorial project and the rest of the sample projects, the user will not be able to step through the hardware initialization code.
  • Page 18: Main Functions

    RSKRX23T 6. Reviewing the Tutorial Program Main Functions This section will look at the program code called from with the ‘main()’ function, and how it works. • Right click the ‘R_SCI1_Serial_Receive()’ function call and select ‘Go to Here’ to execute the program up to this line. The ‘R_LCD_Init()’...
  • Page 19 RSKRX23T 6. Reviewing the Tutorial Program • The program counter should come to a halt at the ‘R_SCI1_Start’ function. • Step over the function by clicking the ‘Step Over’ button. Alternatively, press F10. ‘ ’ R_SCI1_Start() function enables the SCI interrupts. The program then proceeds to the main while() loop.
  • Page 20 RSKRX23T 6. Reviewing the Tutorial Program The program proceeds to display the result of the A/D conversion on the LCD and in the terminal window. In addition, the running count of A/D conversions performed is displayed in binary form using LEDs 0-3 on the RSK.
  • Page 21: Additional Information

    Copyright 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 Electronics Europe Limited. © 2015 Renesas Electronics Europe Limited. All rights reserved.
  • Page 22 REVISION HISTORY RSKRX23T Tutorial Manual Rev. Date Description Page Summary  1.00 Aug 24, 2015 First Edition issued Page 22 of 25...
  • Page 23 Renesas Starter Kit Manual: Tutorial Manual Publication Date: Rev. 1.00 Aug 24, 2015 Published by: Renesas Electronics Corporation...
  • Page 24 SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 9251 Yonge Street, Suite 8309 Richmond Hill, Ontario Canada L4C 9T3...
  • Page 25 RX23T Group R20UT3319EG0100...

This manual is also suitable for:

Rx200 seriesRx23t

Table of Contents