Smart Configurator Using The E Studio; Introduction - Renesas RX Series User Manual

Rx23w group. solution starter kit for rx23w smart configurator
Hide thumbs Also See for RX Series:
Table of Contents

Advertisement

Renesas Solution Starter Kit for RX23W
4. Smart Configurator Using the e
studio
2
4. Smart Configurator Using the e
studio
2
4.1

Introduction

The Smart Configurator plug-in for the RX23W has been used to generate the sample code discussed in this
document. Smart Configurator for e
studio is a plug-in tool for generating template 'C' source code and
2
project settings for the RX23W. When using Smart Configurator, it provides the user with a visual way of
configuring the target device, clocks, software components, hardware resources and interrupts for the project;
thereby bypassing the need, in most cases, to refer to sections of the Hardware Manual.
Once the user has configured the project, the 'Generate Code' function is used to generate three code
modules for each specific MCU feature selected.
These code modules are named 'Config_xxx.h',
'Config_xxx.c', and 'Config_xxx_user.c', where 'xxx' is an acronym for the relevant MCU feature, for example
'S12AD'.
Within these code modules, the user is then free to add custom code to meet their specific
requirement.
However, these files require custom code to be added between the following comment
delimiters:
/* Start user code for adding. Do not edit comment generated here */
/* End user code. Do not edit comment generated here */
Smart Configurator will locate these comment delimiters, and preserve any custom code inside the delimiters
on subsequent code generation operations. This is useful if, after adding custom code, the user needs to re-
visit Smart Configurator to change any MCU operating parameters.
Note: If code is added outside the above user code area, it will be lost if code generation is executed again
with Smart Configurator.
By following the steps detailed in this Tutorial, the user will generate an e
studio project called SC_Tutorial.
2
The fully completed Tutorial project is contained in the RSSK Web Installer
(https://www.renesas.com/rsskrx23w/install/e2) and may be imported into e
studio by following the steps in
2
the Quick Start Guide. This Tutorial is intended as a learning exercise for users who wish to use the Smart
Configurator to generate their own custom projects for e
studio.
2
The SC_Tutorial project uses interrupts for switch inputs, the ADC module, the Compare Match Timer (CMT),
the Serial Communications Interface (SCI) and uses these modules to perform A/D conversion and display the
results via the virtual COM port in a terminal program and also on the PMOD display connected to the RSSK.
* USB serial communication requires a USB serial driver manufactured by FTDI. Please download from the
following URL. Please contact FTDI for driver installation and questions.
https://www.ftdichip.com/Drivers/D2XX.htm
Following a tour of the key user interface features of Smart Configurator in the tabbed pages (board, clocks,
components and pins), as well as a demonstration of building a project, the reader is guided through each of
the peripheral function configuration pages and familiarised with the structure of the template code, including
the process of adding their own code to the user code areas provided by the Smart Configurator.
R20UT4449EG0100 Rev. 1.00
Page 13 of 64
Aug.30.19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx200 seriesRssk

Table of Contents